Skip to content

Commit 5ad3121

Browse files
committed
Remove unneeded counting for Anna + OnOff
1 parent 67e4a95 commit 5ad3121

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

plugwise/helper.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1010,8 +1010,6 @@ def _process_c_heating_state(self, data: DeviceData) -> None:
10101010
# Anna + OnOff heater: use central_heating_state to show heating_state
10111011
# Solution for Core issue #81839
10121012
if self.smile_name == "Smile Anna":
1013-
if "heating_state" not in data["binary_sensors"]:
1014-
self._count += 1
10151013
data["binary_sensors"]["heating_state"] = data["c_heating_state"]
10161014

10171015
# Adam + OnOff cooling: use central_heating_state to show heating/cooling_state

0 commit comments

Comments
 (0)