<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/coffee.php" beforeDir="false" afterPath="$PROJECT_DIR$/config/coffee.php" afterDir="false" />
- <change beforePath="$PROJECT_DIR$/scripts/cron/cron.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/cron/cron.php" afterDir="false" />
- <change beforePath="$PROJECT_DIR$/scripts/domoticz_device_event.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/domoticz_device_event.php" afterDir="false" />
- <change beforePath="$PROJECT_DIR$/scripts/lib/ecomode.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/ecomode.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/scripts/lib/scenes.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/scenes.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/scripts/lib/velib.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/velib.php" afterDir="false" />
</list>
<workItem from="1649747856888" duration="2527000" />
<workItem from="1649833630727" duration="738000" />
<workItem from="1649835938314" duration="1458000" />
- <workItem from="1649877396831" duration="6279000" />
- </task>
- <task id="LOCAL-00475" summary=".">
- <created>1619641979806</created>
- <option name="number" value="00475" />
- <option name="presentableId" value="LOCAL-00475" />
- <option name="project" value="LOCAL" />
- <updated>1619641979806</updated>
+ <workItem from="1649877396831" duration="7495000" />
</task>
<task id="LOCAL-00476" summary=".">
<created>1619777485542</created>
<option name="project" value="LOCAL" />
<updated>1649878545445</updated>
</task>
- <option name="localTasksCounter" value="524" />
+ <task id="LOCAL-00524" summary=".">
+ <created>1649892845510</created>
+ <option name="number" value="00524" />
+ <option name="presentableId" value="LOCAL-00524" />
+ <option name="project" value="LOCAL" />
+ <updated>1649892845510</updated>
+ </task>
+ <option name="localTasksCounter" value="525" />
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
'chambre/off/exceptcheminee' => [
['type' => 'function', 'function' => 'chambreAuto', 'args' => [false]],
['type' => 'state', 'key' => 'chambre', 'value' => 0],
- ['type' => 'hue', 'group' => $chambre, 'scene' => array('on' => false, 'brightness' => 0)],
+ ['type' => 'hue', 'group' => $chambre, 'scene' => array('on' => false)],
// ['type' => 'insteon', 'command' => '0?1332=I=0=0'],
['type' => 'domoticz', 'scene' => 19, 'command' => false, 'priority' => true],
],
['type' => 'domoticz', 'scene' => 42, 'command' => false, 'priority' => true],
['type' => 'function', 'function' => 'bureauAuto', 'args' => [false]],
['type' => 'state', 'key' => 'bureau_gradient', 'value' => 'off'],
- ['type' => 'hue', 'group' => $bureau, 'scene' => array('on' => false, 'brightness' => 0)],
- ['type' => 'hue', 'light' => 23, 'scene' => array('on' => false, 'brightness' => 0)],
+ ['type' => 'hue', 'group' => $bureau, 'scene' => array('on' => false)],
+ ['type' => 'hue', 'light' => 23, 'scene' => array('on' => false)],
],
'bureau/off' => [
['type' => 'scene', 'scene' => 'bureau/base/off'],
['type' => 'ecomode', 'mode' => '0'],
],
'home/hueoff' => [
- ['type' => 'hue', 'group' => 17, 'scene' => ['on' => false, 'brightness' => 0, 'effect' => 'none']],
+ ['type' => 'hue', 'group' => 17, 'scene' => ['on' => false, 'effect' => 'none']],
],
'wc/on' => [
['type' => 'function', 'function' => 'wcOn'],
['type' => 'function', 'function' => 'squeezePlayByName', 'args' => ['Nuit d\'été', $squeezeboxPlayers['WC'], 100, false]],
],
'wc/off' => [
- ['type' => 'hue', 'group' => $wc, 'scene' => ['on' => false, 'brightness' => 0, 'effect' => 'none']],
+ ['type' => 'hue', 'group' => $wc, 'scene' => ['on' => false, 'effect' => 'none']],
['type' => 'function', 'function' => 'stopSqueezeboxPlayer', 'args' => [$squeezeboxPlayers['WC'], false]],
['type' => 'state', 'key' => 'wc', 'value' => 0],
['type' => 'function', 'function' => 'wcVMCOff'],
],
'cuisine/off' => [
['type' => 'scene', 'scene' => 'cuisine/hotte/off'],
- //['type' => 'hue', 'group' => $cuisine, 'scene' => array('on' => false, 'brightness' => 0)]
+ //['type' => 'hue', 'group' => $cuisine, 'scene' => array('on' => false)]
],
'cuisine/toaster/toggle' => [
['type' => 'domoticz', 'device' => '1453', 'command' => 'Toggle', 'priority' => true],
$autoRooms = ['bureau', 'chambre', 'salon', 'cour'];
- if (in_array($e[0], $autoRooms)) {
+ if (in_array($e[0], $autoRooms) && count($e) == 2) {
setState($e[0] . 'Off', $e[1] === 'off' ? '1' : '0');
- if ($fromUserAction && $e[1] !== 'auto' && count($e) == 2) {
+ if ($fromUserAction && $e[1] !== 'auto') {
call_user_func($e[0] . 'Auto', false);
-
}
}