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

This commit is contained in:
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

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)