Skip to content

Commit b0018a3

Browse files
committed
Set debug-level to warning, line up messages
1 parent ac30e3f commit b0018a3

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

plugwise_usb/nodes/circle.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -893,9 +893,9 @@ async def clock_synchronize(self) -> bool:
893893
if abs(clock_offset.total_seconds()) < MAX_TIME_DRIFT:
894894
return True
895895

896-
_LOGGER.info(
897-
"Reset clock of node %s because time drifted %s seconds (max %s seconds)",
898-
self._mac_in_str,
896+
_LOGGER.warning(
897+
"Reset realtime clock of node %s because time drifted %s seconds (max %s seconds)",
898+
self.name,
899899
str(int(abs(clock_offset.total_seconds()))),
900900
str(MAX_TIME_DRIFT),
901901
)

plugwise_usb/nodes/circle_plus.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,9 @@ async def clock_synchronize(self) -> bool:
9494
if abs(clock_offset.total_seconds()) < MAX_TIME_DRIFT:
9595
return True
9696

97-
_LOGGER.info(
97+
_LOGGER.warning(
9898
"Reset realtime clock of node %s because time has drifted %s seconds while max drift is set to %s seconds)",
99-
self._node_info.mac,
99+
self.name,
100100
str(int(abs(clock_offset.total_seconds()))),
101101
str(MAX_TIME_DRIFT),
102102
)

0 commit comments

Comments
 (0)