Skip to content

Commit fea7ca2

Browse files
committed
HOI debug
1 parent 0ca45fa commit fea7ca2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

plugwise_usb/nodes/scan.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,9 +265,12 @@ def motion_config(self) -> MotionConfig:
265265
def reset_timer(self) -> int:
266266
"""Total minutes without motion before no motion is reported."""
267267
if self._new_motion_config.reset_timer is not None:
268+
_LOGGER.debug("HOI reset_timer new")
268269
return self._new_motion_config.reset_timer
269270
if self._motion_config.reset_timer is not None:
271+
_LOGGER.debug("HOI reset_timer")
270272
return self._motion_config.reset_timer
273+
_LOGGER.debug("HOI reset_timer default")
271274
return SCAN_DEFAULT_MOTION_RESET_TIMER
272275

273276
@property

0 commit comments

Comments
 (0)