We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5673130 commit d0e9196Copy full SHA for d0e9196
plugwise_usb/nodes/circle_plus.py
@@ -88,7 +88,9 @@ async def clock_synchronize(self) -> bool:
88
# )
89
_LOGGER.debug("HOI circle+ clock=%s", clock_response.timestamp)
90
_LOGGER.debug("HOI _dt_req_to_circle=%s", _dt_req_to_circle)
91
- clock_offset = clock_response.timestamp.replace(microsecond=0) - _dt_req_to_circle
+ clock_offset = (
92
+ clock_response.timestamp.replace(microsecond=0) - _dt_req_to_circle
93
+ )
94
if abs(clock_offset.total_seconds()) < MAX_TIME_DRIFT:
95
return True
96
_LOGGER.info(
0 commit comments