</component>
<component name="ChangeListManager">
<list default="true" id="352ce63a-b52a-41a2-979b-becda7920939" name="Default" comment=".">
- <change beforePath="$PROJECT_DIR$/.docker/update" beforeDir="false" afterPath="$PROJECT_DIR$/.docker/update" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" 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/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" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<workItem from="1689413321160" duration="1300000" />
<workItem from="1689419400638" duration="1484000" />
<workItem from="1689437591381" duration="3503000" />
- <workItem from="1689663231923" duration="225000" />
+ <workItem from="1689663231923" duration="380000" />
+ <workItem from="1689669472736" duration="10000" />
+ <workItem from="1689699901478" duration="329000" />
</task>
<task id="LOCAL-00502" summary=".">
<created>1641726946298</created>
<option name="project" value="LOCAL" />
<updated>1687259667913</updated>
</task>
- <option name="localTasksCounter" value="580" />
+ <option name="localTasksCounter" value="581" />
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
execScene('bureau/rideaux/toggle', true);
break;
case 'flip180':
+ haAction(HA_OFFICE_MAIN_SCREEN);
execScene('bureau/auto', true);
break;
case 'fall':
const HA_BAR = 'switch.bar';
const HA_PLANETARIUM = 'switch.0xa4c138788071821e';
+const HA_OFFICE_MAIN_SCREEN = 'switch.0xa4c138787633f01d';
+const HA_OFFICE_PLANE_SCREENS = 'switch.0xa4c138ba535d2cc5';
function haGetState($id, $attribute = null) { //ID to read - for example sensor.foo
['type' => 'scene', 'scene' => 'sdb/hotwater/auto'],
['type' => 'scene', 'scene' => 'bureau/off'],
['type' => 'scene', 'scene' => 'chambre/off'],
+ ['type'=>'ha','device'=>HA_OFFICE_PLANE_SCREENS,'action'=>'turn_off'],
+ ['type'=>'ha','device'=>HA_OFFICE_MAIN_SCREEN,'action'=>'turn_off'],
],
'home/welcome/eco/homeoffice' => [
['type' => 'scene', 'scene' => 'sdb/hotwater/auto'],
['type' => 'scene', 'scene' => 'salon/off'],
['type' => 'scene', 'scene' => 'chambre/off'],
+ ['type'=>'ha','device'=>HA_OFFICE_PLANE_SCREENS,'action'=>'turn_off'],
],
'home/welcome' => [
['type' => 'scene', 'scene' => 'cuisine/on'],
['type' => 'scene', 'scene' => 'salon/auto'],
['type' => 'scene', 'scene' => 'bureau/auto'],
+ ['type'=>'ha','device'=>HA_OFFICE_PLANE_SCREENS,'action'=>'turn_on'],
['type' => 'scene', 'scene' => 'chambre/auto'],
['type' => 'scene', 'scene' => 'sdb/on'],
['type' => 'scene', 'scene' => 'cour/auto'],