We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2cf388 commit 71d3158Copy full SHA for 71d3158
plugwise/helper.py
@@ -975,10 +975,12 @@ def _get_appliance_data(self, d_id: str) -> DeviceData:
975
self._cooling_active = data["elga_status_code"] == 8
976
data.pop("elga_status_code", None)
977
# Loria/Thermastate: look at cooling_state, not at cooling_enabled, not available on R32!
978
+ # Anna + Elga >= 4.3.7: the Elga cooling-enabled state is shown but there is no cooling-switch
979
for item in ("cooling_ena_switch", "cooling_enabled"):
980
if item in data:
981
self._cooling_enabled = data[item]
982
self._cooling_active = data["cooling_state"]
983
+
984
if all(item in data for item in ("cooling_ena_switch", "cooling_enabled")):
985
data.pop("cooling_enabled")
986
0 commit comments