We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1464f9d commit 1436bc0Copy full SHA for 1436bc0
1 file changed
plugwise_usb/nodes/circle.py
@@ -903,14 +903,15 @@ async def clock_synchronize(self) -> bool:
903
self._mac_in_str,
904
int(abs(clock_offset.total_seconds())),
905
)
906
+ return await self._send_clock_set_req()
907
+
908
+ async def _send_clock_set_req(self) -> bool:
909
+ """Send CircleClockSetRequest."""
910
if self._node_protocols is None:
911
raise NodeError(
912
"Unable to synchronize clock when protocol version is unknown"
913
- return await self._send_clock_set_req()
914
- async def _send_clock_set_req(self) -> bool:
- """Send CircleClockSetRequest."""
915
set_request = CircleClockSetRequest(
916
self._send,
917
self._mac_in_bytes,
0 commit comments