There was an error while loading. Please reload this page.
1 parent 77e0503 commit 807d146Copy full SHA for 807d146
1 file changed
plugwise/helper.py
@@ -508,7 +508,7 @@ def _get_toggle_state(
508
if "switches" in data:
509
data["switches"][name] = state.text == "on"
510
self._count += 1
511
- if toggle == "domestic_hot_water_comfort_mode":
+ if toggle == "domestic_hot_water_comfort_mode" and not self._dhw_allowed_modes:
512
self._dhw_allowed_modes = ["comfort", "eco"]
513
514
def _get_plugwise_notifications(self) -> None:
0 commit comments