<project version="4">
<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/cron/cron.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/cron/cron.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/switchbot.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/switchbot.php" afterDir="false" />
+ <change beforePath="$PROJECT_DIR$/scripts/lib/squeezebox.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/squeezebox.php" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<workItem from="1642240002240" duration="1108000" />
<workItem from="1642761590471" duration="1992000" />
<workItem from="1642848701157" duration="3435000" />
- <workItem from="1642856038290" duration="5632000" />
- </task>
- <task id="LOCAL-00460" summary=".">
- <created>1616837886170</created>
- <option name="number" value="00460" />
- <option name="presentableId" value="LOCAL-00460" />
- <option name="project" value="LOCAL" />
- <updated>1616837886170</updated>
+ <workItem from="1642856038290" duration="5973000" />
</task>
<task id="LOCAL-00461" summary=".">
<created>1617266964333</created>
<option name="project" value="LOCAL" />
<updated>1642863251325</updated>
</task>
- <option name="localTasksCounter" value="509" />
+ <task id="LOCAL-00509" summary=".">
+ <created>1642864397546</created>
+ <option name="number" value="00509" />
+ <option name="presentableId" value="LOCAL-00509" />
+ <option name="project" value="LOCAL" />
+ <updated>1642864397546</updated>
+ </task>
+ <option name="localTasksCounter" value="510" />
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
'home/off' => [
['type' => 'scene', 'scene' => 'home/hueoff'],
['type' => 'ecomode', 'mode' => '2'],
- ['type' => 'function', 'key' => 'hotwaterAutoMode', 'args' => ['1']],
//['type' => 'scene', 'scene' => 'cuisine/off'],
['type' => 'scene', 'scene' => 'salon/off'],
['type' => 'scene', 'scene' => 'cour/off'],
['type' => 'scene', 'scene' => 'home/hueoff'],
['type' => 'scene', 'scene' => 'salon/media/off'],
['type' => 'scene', 'scene' => 'salon/off', 'delay' => 2],
+ ['type' => 'function', 'key' => 'hotwaterAutoMode', 'args' => ['1']],
],
'home/welcome' => [
['type' => 'scene', 'scene' => 'cuisine/on'],
],
'sdb/off' => [
['type' => 'state', 'key' => 'sdb', 'value' => 0],
- ['type' => 'function', 'key' => 'hotwaterAutoMode', 'args' => ['1']],
['type' => 'domoticz', 'scene' => 20, 'command' => false, 'priority' => true],
['type' => 'function', 'function' => 'stopSqueezeboxPlayer', 'args' => [$squeezeboxPlayers['Salle de bains'], false]],
+ ['type' => 'function', 'key' => 'hotwaterAutoMode', 'args' => ['1']],
],
'sdb/on' => [
['type' => 'state', 'key' => 'sdb', 'value' => 1],
// }
} else if ($player == $squeezeboxPlayers['Salle de bains']) {
execScene('sdb/ampli/on');
+
if (getSqueezePlayerStatus($player) < 0) {
phoneTask('Tortuga', 'sdb');
}