Log which device has the time discrepancy (#69595)

pull/69509/head
Jason Hunter 2022-04-07 12:04:09 -04:00 committed by Paulus Schoutsen
parent 7803845af1
commit 0b2f0a9f7c
1 changed files with 2 additions and 1 deletions

View File

@ -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,
)