Skip to content

Commit 26458e5

Browse files
committed
Debug datetimes
1 parent 4d3826f commit 26458e5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

plugwise_usb/nodes/circle_plus.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ async def clock_synchronize(self) -> bool:
8585
microsecond=0,
8686
tzinfo=UTC,
8787
)
88+
_LOGGER.debug("HOI circle+ clock=%s", clock_response.timestamp.replace(microsecond=0))
89+
_LOGGER.debug("HOI _dt_of_circle=%s", _dt_of_circle)
8890
clock_offset = clock_response.timestamp.replace(microsecond=0) - _dt_of_circle
8991
if abs(clock_offset.total_seconds()) < MAX_TIME_DRIFT:
9092
return True

0 commit comments

Comments
 (0)