From d975bf195cd0407e21a6540f9d49a2c453e17655 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Sun, 9 Jul 2023 22:26:12 +0200 Subject: [PATCH] . --- .idea/workspace.xml | 6 ++---- scripts/lib/scenes.php | 10 ++++++++-- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 126f4b2..e4085bc 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -6,8 +6,6 @@ - - diff --git a/scripts/lib/scenes.php b/scripts/lib/scenes.php index 1e0ae14..c6c2423 100644 --- a/scripts/lib/scenes.php +++ b/scripts/lib/scenes.php @@ -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'], -- 2.39.5