diff --git a/homeassistant/components/onvif/event.py b/homeassistant/components/onvif/event.py index 36e0bbbc66b0e5..a3b11fab19657b 100644 --- a/homeassistant/components/onvif/event.py +++ b/homeassistant/components/onvif/event.py @@ -769,6 +769,7 @@ def _async_register_webhook(self) -> None: return webhook_id = self._webhook_unique_id + self._async_unregister_webhook() webhook.async_register( self._hass, DOMAIN, webhook_id, webhook_id, self._async_handle_webhook )