Skip to content

Commit 10130a8

Browse files
committed
Debug
1 parent d72087f commit 10130a8

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

plugwise/common.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,10 @@ def _get_groups(self) -> None:
209209
continue # pragma: no cover
210210

211211
if members := self._collect_members(group):
212+
LOGGER.debug("HOI members: %s", members)
212213
self._new_groups.append(group_id)
213214

215+
LOGGER.debug("HOI get_existing_groups: %s", self._existing_groups)
214216
if (
215217
group_id in self._existing_groups
216218
and self.gw_entities[group_id]["name"] == group_name

plugwise/smile.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
DOMAIN_OBJECTS,
1717
GATEWAY_REBOOT,
1818
LOCATIONS,
19+
LOGGER.
1920
MAX_SETPOINT,
2021
MIN_SETPOINT,
2122
NONE,
@@ -106,12 +107,14 @@ def get_all_gateway_entities(self) -> None:
106107
Collect and add switching- and/or pump-group entities.
107108
Finally, collect the data and states for each entity.
108109
"""
110+
LOGGER.debug("HOI 1 get_all_gateway_entities data: %s", self.gw_entities)
109111
if self._get_appliances() and self._is_thermostat:
110112
self.therms_with_offset_func = (
111113
self._get_appliances_with_offset_functionality()
112114
)
113115

114116
self._scan_thermostats()
117+
LOGGER.debug("HOI 2 get_all_gateway_entities data: %s", self.gw_entities)
115118
self._get_groups()
116119
self._all_entity_data()
117120

0 commit comments

Comments
 (0)