mirror of
https://github.com/home-assistant/core.git
synced 2025-07-07 21:37:07 +00:00
Log which device has the time discrepancy (#69595)
This commit is contained in:
parent
d56f6f39c1
commit
62b6d03321
@ -204,9 +204,10 @@ class ONVIFDevice:
|
||||
|
||||
if self._dt_diff_seconds > 5:
|
||||
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', "
|
||||
"this could lead to authentication issues",
|
||||
self.name,
|
||||
cam_date_utc,
|
||||
system_date,
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user