Ensure onvif webhook can be registered (#92295)
parent
a08cda3cfe
commit
4fcf05c202
|
@ -769,6 +769,7 @@ class WebHookManager:
|
||||||
return
|
return
|
||||||
|
|
||||||
webhook_id = self._webhook_unique_id
|
webhook_id = self._webhook_unique_id
|
||||||
|
self._async_unregister_webhook()
|
||||||
webhook.async_register(
|
webhook.async_register(
|
||||||
self._hass, DOMAIN, webhook_id, webhook_id, self._async_handle_webhook
|
self._hass, DOMAIN, webhook_id, webhook_id, self._async_handle_webhook
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue