Ensure onvif webhook can be registered (#92295)

This commit is contained in:
J. Nick Koston
2023-04-30 20:16:25 +02:00
committed by Franck Nijhof
parent 00a28caa6d
commit 5bd54490ea
+1
View File
@@ -769,6 +769,7 @@ class WebHookManager:
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
)