<component name="ChangeListManager">
<list default="true" id="352ce63a-b52a-41a2-979b-becda7920939" name="Default" comment=".">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
- <change beforePath="$PROJECT_DIR$/scripts/lib/weatherstation.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/weatherstation.php" afterDir="false" />
+ <change beforePath="$PROJECT_DIR$/scripts/lib/scenes.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/scenes.php" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<workItem from="1688631283455" duration="69000" />
<workItem from="1688631448099" duration="605000" />
<workItem from="1688647175964" duration="439000" />
- <workItem from="1688714739367" duration="44000" />
+ <workItem from="1688714739367" duration="177000" />
+ <workItem from="1688731476610" duration="479000" />
</task>
<task id="LOCAL-00502" summary=".">
<created>1641726946298</created>
<option name="project" value="LOCAL" />
<updated>1687259667913</updated>
</task>
- <option name="localTasksCounter" value="558" />
+ <option name="localTasksCounter" value="559" />
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
if (getState('salonAutoMode') != '1') {
return;
}
+ $d = date('w');
$hours = intval(date('H'));
- if ($hours <= 9) {
- $scene = 'tamise';
- } else if ($hours <= 22) {
- $scene = 'day';
- } else {
- $scene = 'tamise';
+ if ($d < 5) {
+ if ($hours <= 9) {
+ $scene = 'tamise';
+ } else if ($hours <= 22) {
+ $scene = 'day';
+ } else {
+ $scene = 'tamise';
+ }
+ }else{
+ if ($hours <= 9) {
+ $scene = 'tamise';
+ } else {
+ $scene = 'day';
+ }
}
execScene('salon/' . $scene, false);
}