Xiaomi Device Tracker - Move "Refreshing device list" to debug (#43276)

pull/43284/head
Guy Khmelnitsky 2020-11-16 13:31:45 +02:00 committed by GitHub
parent 7280dbd431
commit 5ea55f7e89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -85,12 +85,12 @@ class XiaomiDeviceScanner(DeviceScanner):
Return the list if successful.
"""
_LOGGER.info("Refreshing device list")
_LOGGER.debug("Refreshing device list")
result = _retrieve_list(self.host, self.token)
if result:
return result
_LOGGER.info("Refreshing token and retrying device list refresh")
_LOGGER.debug("Refreshing token and retrying device list refresh")
self.token = _get_token(self.host, self.username, self.password)
return _retrieve_list(self.host, self.token)