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 63667ca commit 9842624Copy full SHA for 9842624
plugwise/helper.py
@@ -1005,7 +1005,10 @@ def _cleanup_data(self, data: DeviceData) -> None:
1005
Clean up the data dict.
1006
"""
1007
# Fix for Adam + Anna: heating_state also present under Anna, remove
1008
- if "temperature" in data["sensors"] and "heating_state" in data["binary_sensors"]:
+ if (
1009
+ "temperature" in data["sensors"]
1010
+ and "heating_state" in data["binary_sensors"]
1011
+ ):
1012
data["binary_sensors"].pop("heating_state", None)
1013
1014
# Don't show cooling-related when no cooling present,
0 commit comments