]> _ Git - tortuga-home.git/commitdiff
.
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Sun, 9 Jul 2023 20:26:12 +0000 (22:26 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Sun, 9 Jul 2023 20:26:12 +0000 (22:26 +0200)
.idea/workspace.xml
scripts/lib/scenes.php

index 126f4b2a760dcf13c72b76a6336f895fe8c0933b..e4085bc866dbe50c113e7df8d00016a2e2b63d23 100644 (file)
@@ -6,8 +6,6 @@
   <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/homeassistant_device_event.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/homeassistant_device_event.php" 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" />
     </list>
     <option name="SHOW_DIALOG" value="false" />
       <workItem from="1688750143650" duration="1624000" />
       <workItem from="1688808953960" duration="594000" />
       <workItem from="1688849303515" duration="1558000" />
-      <workItem from="1688897001591" duration="18367000" />
+      <workItem from="1688897001591" duration="21616000" />
     </task>
     <task id="LOCAL-00502" summary=".">
       <created>1641726946298</created>
       <option name="project" value="LOCAL" />
       <updated>1687259667913</updated>
     </task>
-    <option name="localTasksCounter" value="567" />
+    <option name="localTasksCounter" value="568" />
     <servers />
   </component>
   <component name="TypeScriptGeneratedFilesManager">
index 1e0ae14e56bff8045adfc317bb80c9da0e5966f1..c6c2423cb6ba83953a0706b8574845a325494d4a 100644 (file)
@@ -330,6 +330,7 @@ $scenes = [
                ['type' => 'ha', 'device' => HA_BAR, 'command' => 'toggle', 'priority' => true],
        ],
        'salon/day' => [
+               ['type' => 'ha', 'device' => 'scene.salon_on'],
                ['type' => 'domoticz', 'scene' => 45, 'command' => true, 'priority' => true],
                ['type' => 'hue', 'group' => $salon, 'scene' => '9ay5VtNcjvUZIFF', 'repeat' => 2],
                ['type' => 'state', 'key' => 'salon', 'value' => 'on'],
@@ -338,7 +339,7 @@ $scenes = [
                ['type' => 'scene', 'scene' => 'salon/bar/on'],
        ],
        'salon/lumineux' => [
-               ['type' => 'domoticz', 'scene' => 51, 'command' => true, 'priority' => true],
+               ['type' => 'ha', 'device' => 'scene.salon_lumineux'],
                ['type' => 'hue', 'group' => $salon, 'scene' => '9ay5VtNcjvUZIFF', 'repeat' => 2],
                ['type' => 'state', 'key' => 'salon', 'value' => 'on'],
                ['type' => 'scene', 'scene' => 'cuisine/on', 'delay' => 1],
@@ -347,6 +348,7 @@ $scenes = [
        ],
        'salon/off' => [
                ['type' => 'function', 'function' => 'salonAuto', 'args' => [false]],
+               ['type' => 'ha', 'device' => 'scene.salon_off'],
                ['type' => 'domoticz', 'scene' => 45, 'command' => false, 'priority' => true],
                ['type' => 'hue', 'group' => $salon, 'scene' => array('on' => false)],
                ['type' => 'state', 'key' => 'salon', 'value' => 'off'],
@@ -365,6 +367,7 @@ $scenes = [
        'salon/cineclub' => [
                ['type' => 'scene', 'scene' => 'salon/bar/off'],
                ['type' => 'function', 'function' => 'salonAuto', 'args' => [false]],
+               ['type' => 'ha', 'device' => 'scene.salon_cineclub'],
                ['type' => 'domoticz', 'scene' => 46, 'command' => true, 'priority' => true],
                ['type' => 'hue', 'group' => $salon, 'scene' => 'xpCjXtV3u7O1kYu', 'repeat' => 2],
                ['type' => 'scene', 'scene' => 'salon/cinemabase'],
@@ -375,6 +378,7 @@ $scenes = [
        'salon/cinema' => [
                ['type' => 'scene', 'scene' => 'salon/bar/off'],
                ['type' => 'function', 'function' => 'salonAuto', 'args' => [false]],
+               ['type' => 'ha', 'device' => 'scene.salon_cinema'],
                ['type' => 'domoticz', 'scene' => 47, 'command' => true, 'priority' => true],
                ['type' => 'hue', 'group' => $salon, 'scene' => 'AsU9eOyGsjEyz35', 'repeat' => 2],
                ['type' => 'scene', 'scene' => 'salon/cinemabase'],
@@ -384,6 +388,7 @@ $scenes = [
        ],
        'salon/tamise' => [
                ['type' => 'ecomode', 'mode' => '0'],
+               ['type' => 'ha', 'device' => 'scene.salon_tamise'],
                ['type' => 'domoticz', 'scene' => 48, 'command' => true, 'priority' => true],
                ['type' => 'hue', 'group' => $salon, 'scene' => 'RbjnIcLtcDuHbfU', 'repeat' => 2],
                ['type' => 'state', 'key' => 'salon', 'value' => 'tamise'],
@@ -403,6 +408,7 @@ $scenes = [
        ],
        'salon/lecturenocture' => [
                ['type' => 'function', 'function' => 'salonAuto', 'args' => [false]],
+               ['type' => 'ha', 'device' => 'scene.salon_lecturenocturne'],
                ['type' => 'domoticz', 'scene' => 49, 'command' => true, 'priority' => true],
                ['type' => 'hue', 'group' => $salon, 'scene' => 'HZiYyM6hMUMkmiY'],
                ['type' => 'state', 'key' => 'salon', 'value' => 'tamise'],
@@ -797,7 +803,7 @@ $scenes = [
                ['type' => 'domoticz', 'device' => '1439', 'command' => false],
        ],
        'cuisine/hotte/on' => [
-               ['type' => 'ha', 'device' => HA_HOTTE, 'command' => 'turn_on'],
+               ['type' => 'ha', 'device' => HA_HOTTE],
        ],
        'cuisine/hotte/off' => [
                ['type' => 'ha', 'device' => HA_HOTTE, 'command' => 'turn_off'],