Skip to content

Commit 789fde9

Browse files
committed
Improve
1 parent 3058843 commit 789fde9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugwise/helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ def _get_toggle_state(
488488
self._count += 1
489489
case "dhw_cm_switch":
490490
self._dhw_allowed_modes = ["comfort", "off"]
491-
self.select_dhw_mode = "comfort" if state.text == "on" else "off"
491+
data["select_dhw_mode"] = "comfort" if state.text == "on" else "off"
492492

493493
def _get_plugwise_notifications(self) -> None:
494494
"""Collect the Plugwise notifications."""

0 commit comments

Comments
 (0)