We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a560643 commit 5fec0d3Copy full SHA for 5fec0d3
2 files changed
plugwise_usb/nodes/circle.py
@@ -888,7 +888,7 @@ async def clock_synchronize(self) -> bool:
888
_LOGGER.info(
889
"Reset clock of node %s because time has drifted %s sec",
890
self._mac_in_str,
891
- str(clock_offset.seconds),
+ str(int(abs(clock_offset.total_seconds()))),
892
)
893
if self._node_protocols is None:
894
raise NodeError(
plugwise_usb/nodes/circle_plus.py
@@ -91,7 +91,7 @@ async def clock_synchronize(self) -> bool:
91
92
"Reset realtime clock of node %s because time has drifted %s seconds while max drift is set to %s seconds)",
93
self._node_info.mac,
94
95
str(MAX_TIME_DRIFT),
96
97
clock_set_request = CirclePlusRealTimeClockSetRequest(
0 commit comments