]> _ Git - tortuga-home.git/commitdiff
.
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 18 Apr 2024 11:46:17 +0000 (13:46 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 18 Apr 2024 11:46:17 +0000 (13:46 +0200)
.idea/workspace.xml
scripts/lib/automodes.php

index 51bf7a1d9544d80d49741962b8059e25c11b1b8c..55000aeb9feb9a00e084b237ef1ea9ae590f4193 100644 (file)
@@ -5,11 +5,8 @@
   </component>
   <component name="ChangeListManager">
     <list default="true" id="352ce63a-b52a-41a2-979b-becda7920939" name="Default" comment=".">
-      <change beforePath="$PROJECT_DIR$/.idea/dataSources.local.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/dataSources.local.xml" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/.idea/dataSources/7a96a13f-795b-43c9-b1de-56e65d9fcf95.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/dataSources/7a96a13f-795b-43c9-b1de-56e65d9fcf95.xml" afterDir="false" />
       <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/scripts/lib/homeassistant.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/homeassistant.php" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/scripts/lib/scenes.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/scenes.php" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/scripts/lib/automodes.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/automodes.php" afterDir="false" />
     </list>
     <option name="SHOW_DIALOG" value="false" />
     <option name="HIGHLIGHT_CONFLICTS" value="true" />
       <workItem from="1710247312163" duration="2244000" />
       <workItem from="1710336216495" duration="2930000" />
       <workItem from="1713261983472" duration="644000" />
-      <workItem from="1713376517416" duration="740000" />
+      <workItem from="1713376517416" duration="792000" />
+      <workItem from="1713440657070" duration="89000" />
     </task>
     <task id="LOCAL-00502" summary=".">
       <created>1641726946298</created>
       <option name="project" value="LOCAL" />
       <updated>1687259667913</updated>
     </task>
-    <option name="localTasksCounter" value="611" />
+    <option name="localTasksCounter" value="612" />
     <servers />
   </component>
   <component name="TypeScriptGeneratedFilesManager">
index 116578c832c8d99d015ba45d3c63a78111dadd2c..204e9191d59d6fe1304bcaace372251953536798 100644 (file)
@@ -87,10 +87,8 @@ function updateCourAuto()
         return;
     }
     $h = date('H');
-    if ($h >= 7 && $h <= 22) {
+    if ($h >= 7 && $h <= 21) {
         execScene('cour/projecteurs/off');
-    } else {
-        execScene('cour/projecteurs/on');
     }
     if (getState('courOff') == '1') {
         execScene('cour/off');