Ensure onvif webhook can be registered (#92295)

pull/92292/head^2
J. Nick Koston 2023-04-30 11:06:38 -05:00 committed by GitHub
parent a08cda3cfe
commit 4fcf05c202
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

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
)