Skip to content

Commit 5f6fcf6

Browse files
committed
Limit using c_heating_state to Anna-with-Elga case
1 parent 08e965b commit 5f6fcf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugwise/helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -877,7 +877,7 @@ def _get_appliance_data(self, d_id: str) -> dict[str, Any]:
877877

878878
# Elga doesn't use intended_cental_heating_state to show the generic heating state
879879
if "c_heating_state" in data:
880-
if "heating_state" in data:
880+
if self._anna_cooling_present and "heating_state" in data:
881881
if data.get("c_heating_state") and not data.get("heating_state"):
882882
data["heating_state"] = True
883883
data.pop("c_heating_state")

0 commit comments

Comments
 (0)