From 78269eb60e6c192d49d53bb9f917840d4e08c456 Mon Sep 17 00:00:00 2001 From: Vincent Date: Fri, 13 Nov 2020 11:06:16 +0100 Subject: [PATCH] . --- .idea/workspace.xml | 36 +++++++++++++----------------------- scripts/lib/scenes.php | 23 ----------------------- 2 files changed, 13 insertions(+), 46 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 93e8602..6d39c3c 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -3,7 +3,7 @@ - + @@ -1297,11 +1287,11 @@ - + - + diff --git a/scripts/lib/scenes.php b/scripts/lib/scenes.php index 932fa33..0d33d3d 100644 --- a/scripts/lib/scenes.php +++ b/scripts/lib/scenes.php @@ -404,110 +404,87 @@ $scenes = [ ['type' => 'ecomode', 'mode' => '0'], ['type' => 'function', 'function' => 'wakeupPC', 'args' => ['avion']], ], - 'bureau/l61/on' => [ - ['type' => 'domoticz', 'device' => '2074', 'command' => true, 'priority' => true], - ], - 'bureau/l61/off' => [ - ['type' => 'domoticz', 'device' => '2074', 'command' => false, 'priority' => true], - ], 'bureau/lumineux' => [ - ['type' => 'scene', 'scene' => 'bureau/l61/on'], ['type' => 'hue', 'group' => $bureau, 'scene' => 'SdXwtZu5PCDjK2h'], ['type' => 'state', 'key' => 'bureau_gradient', 'value' => 'lumineux'], ['type' => 'scene', 'scene' => 'bureau/base/on'], ], 'bureau/veilleuse' => [ - ['type' => 'scene', 'scene' => 'bureau/l61/off'], ['type' => 'hue', 'group' => $bureau, 'scene' => 'ooQq4Jfbf1CleDy'], ['type' => 'state', 'key' => 'bureau_gradient', 'value' => 'veilleuse'], ['type' => 'scene', 'scene' => 'bureau/base/on'], ], 'bureau/flowers' => [ - ['type' => 'scene', 'scene' => 'bureau/l61/on'], ['type' => 'hue', 'group' => $bureau, 'scene' => 'mJ-AVlYFyL5x1cN'], ['type' => 'state', 'key' => 'bureau_gradient', 'value' => 'flowers'], ['type' => 'scene', 'scene' => 'bureau/base/on'], ], 'bureau/tchernobyl' => [ - ['type' => 'scene', 'scene' => 'bureau/l61/off'], ['type' => 'hue', 'group' => $bureau, 'scene' => 'KoByn2ehWHDdchu'], ['type' => 'state', 'key' => 'bureau_gradient', 'value' => 'tchernobyl'], ['type' => 'scene', 'scene' => 'bureau/base/on'], ], 'bureau/outrun' => [ - ['type' => 'scene', 'scene' => 'bureau/l61/off'], ['type' => 'hue', 'group' => $bureau, 'scene' => '9TzWQt6f7-EgVtm'], ['type' => 'state', 'key' => 'bureau_gradient', 'value' => 'outrun'], ['type' => 'scene', 'scene' => 'bureau/base/on'], ], 'bureau/boreal' => [ - ['type' => 'scene', 'scene' => 'bureau/l61/on'], ['type' => 'state', 'key' => 'bureau_gradient', 'value' => 'boreal'], ['type' => 'hue', 'group' => $bureau, 'scene' => 'dJaWFQBb0APEgtL'], ['type' => 'scene', 'scene' => 'bureau/base/on'], ], 'bureau/tropical' => [ - ['type' => 'scene', 'scene' => 'bureau/l61/on'], ['type' => 'hue', 'group' => $bureau, 'scene' => 'biXLpKpIZYDlxen'], ['type' => 'state', 'key' => 'bureau_gradient', 'value' => 'tropical'], ['type' => 'scene', 'scene' => 'bureau/base/on'], ], 'bureau/lounge' => [ - ['type' => 'scene', 'scene' => 'bureau/l61/off'], ['type' => 'hue', 'group' => $bureau, 'scene' => 'vvE8WAMdNpgswrw'], ['type' => 'state', 'key' => 'bureau_gradient', 'value' => 'lounge'], ['type' => 'scene', 'scene' => 'bureau/base/on'], ], 'bureau/focus' => [ - ['type' => 'scene', 'scene' => 'bureau/l61/on'], ['type' => 'hue', 'group' => $bureau, 'scene' => 'yPYgG-zQWuAA13d'], ['type' => 'state', 'key' => 'bureau_gradient', 'value' => 'space'], ['type' => 'scene', 'scene' => 'bureau/base/on'], ], 'bureau/tonic' => [ - ['type' => 'scene', 'scene' => 'bureau/l61/on'], ['type' => 'hue', 'group' => $bureau, 'scene' => 'S-YiVWKsEKipL0G'], ['type' => 'state', 'key' => 'bureau_gradient', 'value' => 'tonic'], ['type' => 'scene', 'scene' => 'bureau/base/on'], ], 'bureau/lecture' => [ - ['type' => 'scene', 'scene' => 'bureau/l61/on'], ['type' => 'hue', 'group' => $bureau, 'scene' => 'Hjr7rfz4LC9xVoB'], ['type' => 'state', 'key' => 'bureau_gradient', 'value' => 'lecture'], ['type' => 'scene', 'scene' => 'bureau/base/on'], ], 'bureau/chillout' => [ - ['type' => 'scene', 'scene' => 'bureau/l61/off'], ['type' => 'hue', 'group' => $bureau, 'scene' => '-UOMTUG6z-hMbRA'], ['type' => 'state', 'key' => 'bureau_gradient', 'value' => 'chillout'], ['type' => 'scene', 'scene' => 'bureau/base/on'], ], 'bureau/tamise' => [ - ['type' => 'scene', 'scene' => 'bureau/l61/off'], ['type' => 'hue', 'group' => $bureau, 'scene' => '8fgGg2ylE4aO3t3'], ['type' => 'state', 'key' => 'bureau_gradient', 'value' => 'tamise'], ['type' => 'scene', 'scene' => 'bureau/base/on'], ], 'bureau/beach' => [ - ['type' => 'scene', 'scene' => 'bureau/l61/on'], ['type' => 'hue', 'group' => $bureau, 'scene' => '0mPAKOl-Kw8Fwb1'], ['type' => 'state', 'key' => 'bureau_gradient', 'value' => 'beach'], ['type' => 'scene', 'scene' => 'bureau/base/on'], ], 'bureau/jellyfish' => [ - ['type' => 'scene', 'scene' => 'bureau/l61/off'], ['type' => 'hue', 'group' => $bureau, 'scene' => 'VhHVIcN-nKLwP9E'], ['type' => 'state', 'key' => 'bureau_gradient', 'value' => 'jellyfish'], ['type' => 'scene', 'scene' => 'bureau/base/on'], ], 'bureau/sharks' => [ - ['type' => 'scene', 'scene' => 'bureau/l61/off'], ['type' => 'hue', 'group' => $bureau, 'scene' => 'VhHVIcN-nKLwP9E'], ['type' => 'state', 'key' => 'bureau_gradient', 'value' => 'sharks'], ['type' => 'scene', 'scene' => 'bureau/base/on'], ], 'bureau/off' => [ - ['type' => 'scene', 'scene' => 'bureau/l61/off'], ['type' => 'function', 'function' => 'bureauAuto', 'args' => [false]], ['type' => 'hue', 'group' => $bureau, 'scene' => array('on' => false, 'brightness' => 0)], ['type' => 'state', 'key' => 'bureau_gradient', 'value' => 'off'], -- 2.39.5