Skip to content

Commit e162031

Browse files
committed
Ruffed
1 parent 9d67f93 commit e162031

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

plugwise/helper.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -489,9 +489,7 @@ def _select_dhw_mode(self, text: str, data: GwEntityData, measurement: str) -> N
489489
if self._dhw_allowed_modes and "select_dhw_mode" not in data:
490490
data["select_dhw_mode"] = text
491491
if measurement == "domestic_hot_water_comfort_mode":
492-
data["select_dhw_mode"] = (
493-
"comfort" if text == "on" else "off"
494-
)
492+
data["select_dhw_mode"] = "comfort" if text == "on" else "off"
495493

496494
def _get_toggle_state(
497495
self,

0 commit comments

Comments
 (0)