<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/rooms.php" beforeDir="false" afterPath="$PROJECT_DIR$/config/rooms.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/gradient.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/gradient.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/vmcoff.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/vmcoff.php" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<workItem from="1595313798230" duration="4966000" />
<workItem from="1595319860593" duration="474000" />
<workItem from="1595398527219" duration="1869000" />
- <workItem from="1595400793374" duration="2124000" />
- </task>
- <task id="LOCAL-00284" summary=".">
- <created>1580457418659</created>
- <option name="number" value="00284" />
- <option name="presentableId" value="LOCAL-00284" />
- <option name="project" value="LOCAL" />
- <updated>1580457418659</updated>
+ <workItem from="1595400793374" duration="2325000" />
+ <workItem from="1595445984584" duration="630000" />
+ <workItem from="1595520880245" duration="180000" />
</task>
<task id="LOCAL-00285" summary=".">
<created>1580458203776</created>
<option name="project" value="LOCAL" />
<updated>1595319345113</updated>
</task>
- <option name="localTasksCounter" value="333" />
+ <task id="LOCAL-00333" summary=".">
+ <created>1595403718905</created>
+ <option name="number" value="00333" />
+ <option name="presentableId" value="LOCAL-00333" />
+ <option name="project" value="LOCAL" />
+ <updated>1595403718906</updated>
+ </task>
+ <option name="localTasksCounter" value="334" />
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
<option name="LAST_COMMIT_MESSAGE" value="." />
</component>
<component name="WindowStateProjectService">
- <state x="1511" y="161" key="#Plugins" timestamp="1586722473970">
- <screen x="0" y="0" width="2560" height="1040" />
- </state>
- <state x="1511" y="161" key="#Plugins/0.0.2560.1040@0.0.2560.1040" timestamp="1586722473970" />
<state x="760" y="94" key="#Project_Structure" timestamp="1592377765650">
<screen x="0" y="0" width="2560" height="1040" />
</state>
<state x="760" y="94" key="#Project_Structure/0.0.2560.1040@0.0.2560.1040" timestamp="1592377765650" />
- <state x="935" y="114" width="1170" height="972" key="CommitChangelistDialog2" timestamp="1595319323341">
+ <state x="935" y="114" width="1170" height="972" key="CommitChangelistDialog2" timestamp="1595403707739">
<screen x="0" y="0" width="2560" height="1040" />
</state>
<state x="701" y="75" key="CommitChangelistDialog2/0.0.1920.1160@0.0.1920.1160" timestamp="1593086272091" />
- <state x="935" y="114" key="CommitChangelistDialog2/0.0.2560.1040@0.0.2560.1040" timestamp="1595319323341" />
+ <state x="935" y="114" key="CommitChangelistDialog2/0.0.2560.1040@0.0.2560.1040" timestamp="1595403707739" />
<state x="1060" y="275" key="FileChooserDialogImpl" timestamp="1590912263817">
<screen x="0" y="0" width="2560" height="1040" />
</state>
<screen x="0" y="0" width="2560" height="1040" />
</state>
<state x="1114" y="443" key="NewPhpFileDialog/0.0.2560.1040@0.0.2560.1040" timestamp="1595317059300" />
- <state x="1420" y="165" key="SettingsEditor" timestamp="1586722506607">
- <screen x="0" y="0" width="2560" height="1040" />
- </state>
- <state x="1420" y="165" key="SettingsEditor/0.0.2560.1040@0.0.2560.1040" timestamp="1586722506607" />
<state x="655" y="270" key="Vcs.Push.Dialog.v2" timestamp="1591870150868">
<screen x="0" y="0" width="1920" height="1160" />
</state>
$all = array_merge($favorites, [
['type' => 'light', 'scene' => 'bureau/boreal', 'label' => 'Aurore boréale'],
['type' => 'light', 'scene' => 'bureau/tchernobyl', 'label' => 'Чорнобиль'],
+ ['type' => 'light', 'scene' => 'bureau/outrun', 'label' => '80\'s'],
['type' => 'light', 'scene' => 'bureau/tonic', 'label' => 'Tonique'],
['type' => 'light', 'scene' => 'bureau/flowers', 'label' => 'Printemps floral'],
['type' => 'light', 'scene' => 'bureau/tropical', 'label' => 'Crépuscule tropical'],
['type' => 'light', 'scene' => 'cour/off', 'label' => 'éteindre'],
['type' => 'light', 'scene' => 'cour/lumineux', 'label' => 'lumineux'],
['type' => 'light', 'scene' => 'cour/daylight', 'label' => 'jour'],
- ['type' => 'light', 'scene' => 'cour/croissance', 'label' => 'grow'],
+ ['type' => 'light', 'scene' => 'cour/grow', 'label' => 'croissance'],
['type' => 'light', 'scene' => 'cour/tropical', 'label' => 'crepuscule tropical'],
['type' => 'separator', 'label' => 'Projecteurs'],
['type' => 'light', 'scene' => 'cour/projecteurs/on', 'label' => 'Allumer'],
['type' => 'state', 'key' => 'bureau_gradient', 'value' => 'tchernobyl'],
['type' => 'scene', 'scene' => 'bureau/base/on'],
],
+ 'bureau/outrun' => [
+ ['type' => 'hue', 'group' => $bureau, 'scene' => 'biXLpKpIZYDlxen'],
+ ['type' => 'state', 'key' => 'bureau_gradient', 'value' => '80'],
+ ['type' => 'scene', 'scene' => 'bureau/base/on'],
+ ],
'bureau/boreal' => [
['type' => 'state', 'key' => 'bureau_gradient', 'value' => 'boreal'],
['type' => 'hue', 'group' => $bureau, 'scene' => 'dJaWFQBb0APEgtL'],
$e = explode('/', $name);
- if ($fromUserAction && $e[1]!=='auto') {
+ if ($fromUserAction && $e[1] !== 'auto') {
if ($e[0] == 'chambre') {
chambreAuto(false);
} else if ($e[0] == 'bureau') {
bureauAuto(false);
- }else if($e[0]=='cour'){
+ } else if ($e[0] == 'cour') {
courAuto(false);
}
}
function updateCourAuto()
{
- if(isDay()){
- $scene='daylight';
- }else{
- $scene='lumineux';
+ if (isDay()) {
+ $scene = 'daylight';
+ } else {
+ $scene = 'lumineux';
}
execScene('cour/' . $scene);
}