mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 11:08:17 +00:00
Log which device has the time discrepancy (#69595)
This commit is contained in:
parent
7803845af1
commit
0b2f0a9f7c
@ -204,9 +204,10 @@ class ONVIFDevice:
|
|||||||
|
|
||||||
if self._dt_diff_seconds > 5:
|
if self._dt_diff_seconds > 5:
|
||||||
LOGGER.warning(
|
LOGGER.warning(
|
||||||
"The date/time on the device (UTC) is '%s', "
|
"The date/time on %s (UTC) is '%s', "
|
||||||
"which is different from the system '%s', "
|
"which is different from the system '%s', "
|
||||||
"this could lead to authentication issues",
|
"this could lead to authentication issues",
|
||||||
|
self.name,
|
||||||
cam_date_utc,
|
cam_date_utc,
|
||||||
system_date,
|
system_date,
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user