Do not fail if Reolink ONVIF cannot be connected (#104947)
This commit is contained in:
parent
214f214122
commit
cd86318b4b
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ class ReolinkHost:
|
||||||
if self._onvif_push_supported:
|
if self._onvif_push_supported:
|
||||||
try:
|
try:
|
||||||
await self.subscribe()
|
await self.subscribe()
|
||||||
except NotSupportedError:
|
except ReolinkError:
|
||||||
self._onvif_push_supported = False
|
self._onvif_push_supported = False
|
||||||
self.unregister_webhook()
|
self.unregister_webhook()
|
||||||
await self._api.unsubscribe()
|
await self._api.unsubscribe()
|
||||||
|
|
Loading…
Add table
Reference in a new issue