Do not fail if Reolink ONVIF cannot be connected (#104947)

pull/104985/head
starkillerOG 2023-12-04 10:44:29 +01:00 committed by GitHub
parent bf63674af2
commit 3316f6980d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ class ReolinkHost:
if self._onvif_push_supported:
try:
await self.subscribe()
except NotSupportedError:
except ReolinkError:
self._onvif_push_supported = False
self.unregister_webhook()
await self._api.unsubscribe()