mirror of
https://github.com/home-assistant/core.git
synced 2025-07-08 13:57:10 +00:00
Ensure onvif webhook can be registered (#92295)
This commit is contained in:
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…
x
Reference in New Issue
Block a user