]> _ Git - tortuga-home.git/commitdiff
.
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 25 Mar 2026 15:41:04 +0000 (16:41 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 25 Mar 2026 15:41:04 +0000 (16:41 +0100)
.idea/workspace.xml
scripts/lib/scenes.php

index e3f79b196345e7723eaeefa6d16898beda8bc740..87cedeb14fa8a28d6bba2ddf5c7bb9d04c655ecc 100644 (file)
@@ -6,7 +6,7 @@
   <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$/config/media.php" beforeDir="false" afterPath="$PROJECT_DIR$/config/media.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="1773390371781" duration="506000" />
       <workItem from="1774028822942" duration="792000" />
       <workItem from="1774430967346" duration="6359000" />
-      <workItem from="1774441121722" duration="2703000" />
+      <workItem from="1774441121722" duration="7403000" />
     </task>
     <task id="LOCAL-00502" summary=".">
       <created>1641726946298</created>
       <option name="project" value="LOCAL" />
       <updated>1687259667913</updated>
     </task>
-    <option name="localTasksCounter" value="644" />
+    <option name="localTasksCounter" value="645" />
     <servers />
   </component>
   <component name="TypeScriptGeneratedFilesManager">
index 565480515ac9dcc3e57055a37d079959509efb05..fbd345b7ba5c8078afe46a79c8d32735e451bfb9 100644 (file)
@@ -30,7 +30,6 @@ $scenes = [
         ['type' => 'scene', 'scene' => 'chambre/nightlights'],
         ['type' => 'hue', 'group' => $chambre, 'scene' => 'dawn', 'delay' => 1],
         ['type' => 'scene', 'scene' => 'chambre/rideaux/open', 'delay' => 31],
-        ['type' => 'scene', 'scene' => 'chambre/deshumidificateur/on'],
         ['type' => 'scene', 'scene' => 'chambre/planetarium/off'],
         ['type' => 'function', 'function' => 'bedbrightness', 'args' => [255]],
         ['type' => 'phonetask', 'phone' => 'vincent', 'task' => 'Matin'],
@@ -48,7 +47,6 @@ $scenes = [
         ['type' => 'state', 'key' => 'chambre', 'value' => 0],
         ['type' => 'scene', 'scene' => 'chambre/rideaux/close'],
         ['type' => 'function', 'function' => 'bedbrightness', 'args' => [$bedlowscreenbrightness]],
-        ['type' => 'scene', 'scene' => 'chambre/deshumidificateur/off'],
         ['type' => 'phonetask', 'phone' => 'vincent', 'task' => 'Va Au Lit'],
     ],
     'chambre/bed' => [
@@ -63,7 +61,6 @@ $scenes = [
         ['type' => 'nightmode', 'mode' => '1'],
         ['type' => 'ecomode', 'mode' => '1'],
         ['type' => 'scene', 'scene' => 'chambre/off/exceptcheminee'],
-        ['type' => 'scene', 'scene' => 'chambre/deshumidificateur/off'],
         ['type' => 'function', 'function' => 'bedbrightness', 'args' => [$bedlowscreenbrightness]],
         ['type' => 'scene', 'scene' => 'chambre/cheminee/off'],
         ['type' => 'scene', 'scene' => 'chambre/cheminee/off', 'delay' => 2],
@@ -81,7 +78,6 @@ $scenes = [
         ['type' => 'scene', 'scene' => 'chambre/rideaux/close'],
         ['type' => 'scene', 'scene' => 'sdb/off'],
         ['type' => 'scene', 'scene' => 'chambre/planetarium/on'], // Planétarium on
-        ['type' => 'scene', 'scene' => 'chambre/deshumidificateur/off'],
         ['type' => 'delay', 'scene' => 'chambre/planetarium/off', 'delay' => 3600], // Planétarium off dans une heure
     ],
     'chambre/sleep' => [
@@ -596,7 +592,6 @@ $scenes = [
         ['type' => 'scene', 'scene' => 'chambre/off'],
         ['type' => 'scene', 'scene' => 'sdb/off'],
         ['type' => 'scene', 'scene' => 'wc/off'],
-        ['type' => 'scene', 'scene' => 'chambre/deshumidificateur/on'],
         ['type' => 'scene', 'scene' => 'chambre/planetarium/off'],
         ['type' => 'scene', 'scene' => 'cuisine/coffee/off'],
         ['type' => 'scene', 'scene' => 'bureau/pc/shutdown'],
@@ -636,7 +631,6 @@ $scenes = [
         ['type' => 'scene', 'scene' => 'chambre/auto'],
         ['type' => 'scene', 'scene' => 'sdb/on'],
         ['type' => 'scene', 'scene' => 'cour/auto'],
-        ['type' => 'scene', 'scene' => 'chambre/deshumidificateur/on'],
         ['type' => 'scene', 'scene' => 'chambre/rideaux/open'],
         ['type' => 'ecomode', 'mode' => '0'],
         ['type' => 'nightmode', 'mode' => '0'],
@@ -973,8 +967,6 @@ function planetarium($on)
 
 function checkPlanetarium($periodicOffCheck = true)
 {
-    $device = 6989;
-
     $on = getState('planetarium') == '1';
     $h = date('G');
     if ($h >= 2 && $h <= 20) {