Skip to content

Commit d0e9196

Browse files
committed
Ruffed
1 parent 5673130 commit d0e9196

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

plugwise_usb/nodes/circle_plus.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,9 @@ async def clock_synchronize(self) -> bool:
8888
# )
8989
_LOGGER.debug("HOI circle+ clock=%s", clock_response.timestamp)
9090
_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
91+
clock_offset = (
92+
clock_response.timestamp.replace(microsecond=0) - _dt_req_to_circle
93+
)
9294
if abs(clock_offset.total_seconds()) < MAX_TIME_DRIFT:
9395
return True
9496
_LOGGER.info(

0 commit comments

Comments
 (0)