Skip to content

Commit 68f5731

Browse files
committed
Add _counter debugging
1 parent 150ad12 commit 68f5731

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

plugwise/data.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
from plugwise.constants import (
1111
ADAM,
1212
ANNA,
13+
LOGGER,
1314
MAX_SETPOINT,
1415
MIN_SETPOINT,
1516
NONE,
@@ -46,6 +47,7 @@ def _update_zones(self) -> None:
4647
"""
4748
for location_id, zone in self._zones.items():
4849
data = self._get_location_data(location_id)
50+
_LOGGER.debug("HOI entity_count for %s: %s", location_id, self._count)
4951
zone.update(data)
5052

5153
def _update_gw_entities(self) -> None:
@@ -79,6 +81,7 @@ def _update_gw_entities(self) -> None:
7981
self._update_for_cooling(entity)
8082

8183
remove_empty_platform_dicts(entity)
84+
LOGGER.debug("HOI entity_count for %s: %s", entity_id, self._count)
8285

8386
def _detect_low_batteries(self) -> list[str]:
8487
"""Helper-function updating the low-battery binary_sensor status from a Battery-is-low message."""

0 commit comments

Comments
 (0)