File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff 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 )
Original file line number Diff line number Diff 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 )
You can’t perform that action at this time.
0 commit comments