Revert "Forget auth token when going offline so we can reconnect (#26630)" (#30705)

This reverts commit 2d6d6ba90e.
This commit is contained in:
Phil Bruckner 2020-01-12 14:21:07 -06:00 committed by GitHub
parent 96bf8bc395
commit 89c04c94e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -132,8 +132,6 @@ class AmcrestChecker(Http):
offline = not self.available
if offline and was_online:
_LOGGER.error("%s camera offline: Too many errors", self._wrap_name)
with self._token_lock:
self._token = None
dispatcher_send(
self._hass, service_signal(SERVICE_UPDATE, self._wrap_name)
)