mirror of
https://github.com/home-assistant/core.git
synced 2025-07-11 15:27:08 +00:00
This reverts commit 2d6d6ba90e5e2f179a07c4ecd7de1744e86a8025.
This commit is contained in:
parent
96bf8bc395
commit
89c04c94e0
@ -132,8 +132,6 @@ class AmcrestChecker(Http):
|
|||||||
offline = not self.available
|
offline = not self.available
|
||||||
if offline and was_online:
|
if offline and was_online:
|
||||||
_LOGGER.error("%s camera offline: Too many errors", self._wrap_name)
|
_LOGGER.error("%s camera offline: Too many errors", self._wrap_name)
|
||||||
with self._token_lock:
|
|
||||||
self._token = None
|
|
||||||
dispatcher_send(
|
dispatcher_send(
|
||||||
self._hass, service_signal(SERVICE_UPDATE, self._wrap_name)
|
self._hass, service_signal(SERVICE_UPDATE, self._wrap_name)
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user