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 7cc5b2a commit a16c19cCopy full SHA for a16c19c
plugwise/helper.py
@@ -863,9 +863,9 @@ def _get_appliance_data(self, d_id: str) -> DeviceData:
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)
+ data["cooling_state"] = (
+ data["cooling_state"] and data["modulation_level"] == 100
+ )
869
870
return data
871
0 commit comments