From 10ee2a8de70e93dc5be85b1992ec4d30c2188344 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Fri, 5 May 2023 08:23:12 -0500 Subject: [PATCH] tweak --- homeassistant/components/onvif/event.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/homeassistant/components/onvif/event.py b/homeassistant/components/onvif/event.py index c7ee38b3603..530d70bdaf2 100644 --- a/homeassistant/components/onvif/event.py +++ b/homeassistant/components/onvif/event.py @@ -398,6 +398,10 @@ class PullPointManager: sync_result = await self._pullpoint_service.SetSynchronizationPoint() LOGGER.debug("%s: SetSynchronizationPoint: %s", self._name, sync_result) + # Immediately renew the subscription since some cameras will + # will ignore the InitialTerminationTime parameter. + await self._async_call_pullpoint_subscription_renew() + # Always schedule an initial pull messages self.async_schedule_pull_messages(0.0)