Skip to content

Commit 84ec2d1

Browse files
committed
Debug more
1 parent 7ffd7da commit 84ec2d1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

plugwise/helper.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -865,6 +865,8 @@ def _rank_thermostat(
865865
if thermo_matching[appl_class] > self._thermo_locs[loc_id]["primary_prio"]:
866866
# Demote former primary
867867
if (tl_primary:= self._thermo_locs[loc_id]["primary"]):
868+
LOGGER.debug("HOI 3 tl_primary: %s", tl_primary)
869+
LOGGER.debug("HOI 4 secondary: %s", self._thermo_locs[loc_id]["secondary"])
868870
self._thermo_locs[loc_id]["secondary"].add(tl_primary)
869871

870872
# Crown primary

0 commit comments

Comments
 (0)