Skip to content

Commit 51ced41

Browse files
committed
Debug log
1 parent 24af1d9 commit 51ced41

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

plugwise/common.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
from plugwise.constants import (
1111
ANNA,
1212
GROUP_TYPES,
13+
LOGGER,
1314
NONE,
1415
PRIORITY_DEVICE_CLASSES,
1516
SPECIAL_PLUG_TYPES,
@@ -213,6 +214,7 @@ def _get_groups(self) -> dict[str, GwEntityData]:
213214
group_sensors = {}
214215
group_logs = group.findall("logs")
215216
for log in group_logs:
217+
LOGGER.debug("HOI log: %s", etree.tostring(log))
216218
log_type = log.find("type").text
217219
measurement = log.find("period/measurement")
218220
if measurement is not None:

0 commit comments

Comments
 (0)