From: Vincent Date: Thu, 23 Jan 2020 10:30:29 +0000 (+0100) Subject: . X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=71829c9b288dd7a03d27dfafc5e5bcb391c44140;p=tortuga-home.git . --- diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 1b97fcb..4a4c0f4 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -3,7 +3,7 @@ - + @@ -1177,11 +1179,11 @@ - - + + - + @@ -1197,12 +1199,12 @@ - + - + diff --git a/scripts/lib/scenes.php b/scripts/lib/scenes.php index 4c27038..2c3207e 100644 --- a/scripts/lib/scenes.php +++ b/scripts/lib/scenes.php @@ -37,10 +37,10 @@ $scenes = [ ['type' => 'ifttt', 'event' => 'coffee_on'], ], 'chambre/deshumidificateur/on' => [ - ['type' => 'domoticz', 'device' => '1063', 'command' => true, 'priority' => true], + ['type' => 'domoticz', 'device' => '477', 'command' => true, 'priority' => true], ], 'chambre/deshumidificateur/off' => [ - ['type' => 'domoticz', 'device' => '1063', 'command' => false, 'priority' => true], + ['type' => 'domoticz', 'device' => '477', 'command' => false, 'priority' => true], ], 'chambre/raspberry/on' => [ ['type' => 'insteon', 'command' => '0?1138=I=0=0'], @@ -335,7 +335,6 @@ $scenes = [ ], 'bureau/base/on' => [ ['type' => 'ecomode', 'mode' => '0'], - ['type' => 'scene', 'scene' => 'bureau/plasma/on'], ['type' => 'function', 'function' => 'wakeupPC', 'args' => ['avion']], ], @@ -415,18 +414,11 @@ $scenes = [ ['type' => 'scene', 'scene' => 'bureau/base/on'], ], 'bureau/off' => [ - ['type' => 'scene', 'scene' => 'bureau/plasma/off'], ['type' => 'function', 'function' => 'bureauAuto', 'args' => [false]], ['type' => 'hue', 'group' => $bureau, 'scene' => array('on' => false, 'brightness' => 0)], ['type' => 'state', 'key' => 'bureau_gradient', 'value' => 'off'], ['type' => 'function', 'function' => 'sleepPC', 'args' => ['avion']], ], - 'bureau/plasma/on' => [ - ['type' => 'domoticz', 'device' => '477', 'command' => true, 'priority' => true], - ], - 'bureau/plasma/off' => [ - ['type' => 'domoticz', 'device' => '477', 'command' => false, 'priority' => true], - ], 'bureau/media/play' => [ ['type' => 'function', 'function' => 'bureauMediaOn'], ['type' => 'scene', 'scene' => 'bureau/screen/down'],