</component>
<component name="ChangeListManager">
<list default="true" id="352ce63a-b52a-41a2-979b-becda7920939" name="Default" comment=".">
- <change beforePath="$PROJECT_DIR$/.idea/sshConfigs.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/sshConfigs.xml" afterDir="false" />
- <change beforePath="$PROJECT_DIR$/.idea/webServers.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/webServers.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
- <change beforePath="$PROJECT_DIR$/config/dnsmasq.conf" beforeDir="false" afterPath="$PROJECT_DIR$/config/dnsmasq.conf" afterDir="false" />
+ <change beforePath="$PROJECT_DIR$/scripts/lib/ecomode.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/ecomode.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" />
"project.structure.proportion": "0.0",
"project.structure.side.proportion": "0.2",
"ruby.rails.projectView.checked": "true",
- "settings.editor.selected.configurable": "editor.preferences.fonts.default",
+ "settings.editor.selected.configurable": "preferences.pluginManager",
"vue.rearranger.settings.migration": "true"
}
}</component>
<recent name="T:\Drive\Works\home\images\rooms" />
</key>
</component>
- <component name="RunManager" selected="Shell Script.Docker terminal">
+ <component name="RunManager" selected="Shell Script.Update DNS">
<configuration default="true" type="Applet">
<option name="POLICY_FILE" value="$APPLICATION_HOME_DIR$/bin/appletviewer.policy" />
<method v="2">
<workItem from="1689699901478" duration="2677000" />
<workItem from="1689794477505" duration="27000" />
<workItem from="1690623646625" duration="2076000" />
- <workItem from="1690896094427" duration="119000" />
+ <workItem from="1690896094427" duration="1950000" />
+ <workItem from="1690907942122" duration="34000" />
+ <workItem from="1690910375137" duration="580000" />
+ <workItem from="1691748561800" duration="648000" />
</task>
<task id="LOCAL-00502" summary=".">
<created>1641726946298</created>
<option name="project" value="LOCAL" />
<updated>1687259667913</updated>
</task>
- <option name="localTasksCounter" value="584" />
+ <option name="localTasksCounter" value="585" />
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
return false;
}
} else if ($device === 'bureau' || $device === 'bureausun') {
- if (getState('bureauOff') == '1') {
+ if (haGetState(HA_OFFICE_CURTAIN) === 'closed') {
return true;
}
- if (getDomoticzDeviceStatus(391) === 'Closed') {
- return true;
- }
- if (getState('bureau_gradient') !== 'off') {
- return false;
- }
+ return getState('bureauOff') == '1';
} else if ($device === 'wc') {
- if (getState('bureau_gradient') !== 'off') {
+ if (!getState('bureauOff')) {
return false;
}
} else if ($device === 'entree' || $device === 'cuisine') {
const HA_BAR = 'switch.bar';
const HA_PLANETARIUM = 'switch.0xa4c138788071821e';
+const HA_OFFICE_CURTAIN='cover.office_curtain';
+const HA_OFFICE_SCREEN='cover.office_screen';
+
const HA_OFFICE_MAIN_SCREEN = 'switch.0xa4c138787633f01d';
const HA_OFFICE_PLANE_SCREENS = 'switch.0xa4c138ba535d2cc5';
['type' => 'scene', 'scene' => 'bureau/auto'],
],
'bureau/screen/down' => [
- ['type' => 'ha', 'device' => 'cover.office_screen', 'command' => 'close_cover'],
+ ['type' => 'ha', 'device' => HA_OFFICE_SCREEN, 'command' => 'close_cover'],
],
'bureau/screen/up' => [
- ['type' => 'ha', 'device' => 'cover.office_screen', 'command' => 'open_cover'],
+ ['type' => 'ha', 'device' => HA_OFFICE_SCREEN, 'command' => 'open_cover'],
],
'bureau/rideaux/close' => [
- ['type' => 'ha', 'device' => 'cover.office_curtain', 'command' => 'close_cover'],
+ ['type' => 'ha', 'device' => HA_OFFICE_CURTAIN, 'command' => 'close_cover'],
],
'bureau/rideaux/open' => [
- ['type' => 'ha', 'device' => 'cover.office_curtain', 'command' => 'open_cover'],
+ ['type' => 'ha', 'device' => HA_OFFICE_CURTAIN, 'command' => 'open_cover'],
],
'bureau/rideaux/toggle' => [
- ['type' => 'ha', 'device' => 'cover.office_curtain', 'command' => 'toggle'],
+ ['type' => 'ha', 'device' => HA_OFFICE_CURTAIN, 'command' => 'toggle'],
],
'insteon/off' => [
// ['type' => 'insteon', 'command' => '0?135=I=0=0'],