Fall back to polling if webhook cannot be registered on Nuki (#91013)

fix(nuki): throw warning if webhook cannot be created
This commit is contained in:
Pascal Reeb 2023-04-11 11:13:52 +02:00 committed by GitHub
parent 95109072b5
commit 62bc8df964
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 89 additions and 74 deletions

View file

@ -13,3 +13,7 @@ class CannotConnect(exceptions.HomeAssistantError):
class InvalidAuth(exceptions.HomeAssistantError):
"""Error to indicate there is invalid auth."""
class NukiWebhookException(exceptions.HomeAssistantError):
"""Error to indicate there was an issue with the webhook."""