Skip to content

Commit 7d1195c

Browse files
committed
Switch defaults
1 parent d96fbea commit 7d1195c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

plugwise/helper.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -800,12 +800,12 @@ def _presets(self, loc_id: str) -> dict[str, list[float]]:
800800
if not self._cooling_present or self._cooling_enabled:
801801
presets[directive.attrib["preset"]] = [
802802
float(preset["setpoint"]),
803-
DEFAULT_PW_MAX,
803+
DEFAULT_PW_MIN,
804804
]
805805
else:
806806
presets[directive.attrib["preset"]] = [
807807
float(preset["setpoint"]),
808-
DEFAULT_PW_MIN,
808+
DEFAULT_PW_MAX,
809809
]
810810
else:
811811
presets[directive.attrib["preset"]] = [
@@ -1258,12 +1258,12 @@ def _schedules(
12581258
if not self._cooling_present or self._cooling_enabled:
12591259
schedule[directive.attrib["time"]] = [
12601260
float(entry["setpoint"]),
1261-
DEFAULT_PW_MAX,
1261+
DEFAULT_PW_MIN,
12621262
]
12631263
else:
12641264
schedule[directive.attrib["time"]] = [
12651265
float(entry["setpoint"]),
1266-
DEFAULT_PW_MIN,
1266+
DEFAULT_PW_MAX,
12671267
]
12681268
elif "preset" in entry:
12691269
schedule[directive.attrib["time"]] = [

0 commit comments

Comments
 (0)