<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/media.php" beforeDir="false" afterPath="$PROJECT_DIR$/config/media.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="1773390371781" duration="506000" />
<workItem from="1774028822942" duration="792000" />
<workItem from="1774430967346" duration="6359000" />
- <workItem from="1774441121722" duration="2703000" />
+ <workItem from="1774441121722" duration="7403000" />
</task>
<task id="LOCAL-00502" summary=".">
<created>1641726946298</created>
<option name="project" value="LOCAL" />
<updated>1687259667913</updated>
</task>
- <option name="localTasksCounter" value="644" />
+ <option name="localTasksCounter" value="645" />
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
['type' => 'scene', 'scene' => 'chambre/nightlights'],
['type' => 'hue', 'group' => $chambre, 'scene' => 'dawn', 'delay' => 1],
['type' => 'scene', 'scene' => 'chambre/rideaux/open', 'delay' => 31],
- ['type' => 'scene', 'scene' => 'chambre/deshumidificateur/on'],
['type' => 'scene', 'scene' => 'chambre/planetarium/off'],
['type' => 'function', 'function' => 'bedbrightness', 'args' => [255]],
['type' => 'phonetask', 'phone' => 'vincent', 'task' => 'Matin'],
['type' => 'state', 'key' => 'chambre', 'value' => 0],
['type' => 'scene', 'scene' => 'chambre/rideaux/close'],
['type' => 'function', 'function' => 'bedbrightness', 'args' => [$bedlowscreenbrightness]],
- ['type' => 'scene', 'scene' => 'chambre/deshumidificateur/off'],
['type' => 'phonetask', 'phone' => 'vincent', 'task' => 'Va Au Lit'],
],
'chambre/bed' => [
['type' => 'nightmode', 'mode' => '1'],
['type' => 'ecomode', 'mode' => '1'],
['type' => 'scene', 'scene' => 'chambre/off/exceptcheminee'],
- ['type' => 'scene', 'scene' => 'chambre/deshumidificateur/off'],
['type' => 'function', 'function' => 'bedbrightness', 'args' => [$bedlowscreenbrightness]],
['type' => 'scene', 'scene' => 'chambre/cheminee/off'],
['type' => 'scene', 'scene' => 'chambre/cheminee/off', 'delay' => 2],
['type' => 'scene', 'scene' => 'chambre/rideaux/close'],
['type' => 'scene', 'scene' => 'sdb/off'],
['type' => 'scene', 'scene' => 'chambre/planetarium/on'], // Planétarium on
- ['type' => 'scene', 'scene' => 'chambre/deshumidificateur/off'],
['type' => 'delay', 'scene' => 'chambre/planetarium/off', 'delay' => 3600], // Planétarium off dans une heure
],
'chambre/sleep' => [
['type' => 'scene', 'scene' => 'chambre/off'],
['type' => 'scene', 'scene' => 'sdb/off'],
['type' => 'scene', 'scene' => 'wc/off'],
- ['type' => 'scene', 'scene' => 'chambre/deshumidificateur/on'],
['type' => 'scene', 'scene' => 'chambre/planetarium/off'],
['type' => 'scene', 'scene' => 'cuisine/coffee/off'],
['type' => 'scene', 'scene' => 'bureau/pc/shutdown'],
['type' => 'scene', 'scene' => 'chambre/auto'],
['type' => 'scene', 'scene' => 'sdb/on'],
['type' => 'scene', 'scene' => 'cour/auto'],
- ['type' => 'scene', 'scene' => 'chambre/deshumidificateur/on'],
['type' => 'scene', 'scene' => 'chambre/rideaux/open'],
['type' => 'ecomode', 'mode' => '0'],
['type' => 'nightmode', 'mode' => '0'],
function checkPlanetarium($periodicOffCheck = true)
{
- $device = 6989;
-
$on = getState('planetarium') == '1';
$h = date('G');
if ($h >= 2 && $h <= 20) {