</component>
<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$/scripts/homeassistant_device_event.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/homeassistant_device_event.php" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<workItem from="1688750143650" duration="1624000" />
<workItem from="1688808953960" duration="594000" />
<workItem from="1688849303515" duration="1558000" />
- <workItem from="1688897001591" duration="13379000" />
+ <workItem from="1688897001591" duration="14386000" />
</task>
<task id="LOCAL-00502" summary=".">
<created>1641726946298</created>
<option name="project" value="LOCAL" />
<updated>1687259667913</updated>
</task>
- <option name="localTasksCounter" value="565" />
+ <option name="localTasksCounter" value="566" />
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
}
const HA_WC_SWITCH = 'sensor.0x0c4314fffe7ce957_action';
const HA_CUBE_BUREAU = 'sensor.0x00158d00042d7082_action';
-const HA_CUBE_BUREAU_SIDE = 'sensor.0x00158d00042d7082_side';
const HA_SWITCH_BEDROOM = 'binary_sensor.switch_bedroom';
const HA_CUBE_BATHROOM = 'sensor.0x00158d0005c19a86_action';
const HA_CUBE_SALON_1 = 'sensor.0x00158d00029ba2b6_action';
$forceConfig = 'bureau';
$action = 'cubeBureau';
break;
- case HA_CUBE_BUREAU_SIDE:
- $forceConfig = 'bureau';
- $action = 'setCubeFace';
- break;
+
case HA_SWITCH_BEDROOM:
$forceConfig = 'chambre';
$action = 'chambreToggle';
$action();
-function setCubeFace() {
- setState('cube_face_' . $_GET['id'], $_GET['state']);
-}
-
function getCubeFace($id = null) {
if (null === $id) {
$id = $_GET['id'];