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 19cab15 commit 7cc5b2aCopy full SHA for 7cc5b2a
plugwise/helper.py
@@ -861,6 +861,12 @@ def _get_appliance_data(self, d_id: str) -> DeviceData:
861
self.anna_cooling_enabled = data["cooling_enabled"]
862
data.pop("cooling_enabled", None)
863
864
+ # Create updated cooling_state based on cooling_state = on and modulation = 1.0
865
+ if "cooling_state" in data:
866
+ data["cooling_state"] = data["cooling_state"] and data[
867
+ "modulation_level"
868
+ ] == float(1)
869
+
870
return data
871
872
def _rank_thermostat(
0 commit comments