From 62b6d03321787d748d9f07f6c42be72a97d6d4a8 Mon Sep 17 00:00:00 2001 From: Jason Hunter Date: Thu, 7 Apr 2022 12:04:09 -0400 Subject: [PATCH] Log which device has the time discrepancy (#69595) --- homeassistant/components/onvif/device.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/onvif/device.py b/homeassistant/components/onvif/device.py index 1d08ec04f46..f45362c6e6c 100644 --- a/homeassistant/components/onvif/device.py +++ b/homeassistant/components/onvif/device.py @@ -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, )