mirror of
https://github.com/home-assistant/core
synced 2024-07-30 21:18:57 +02:00
Standardis asuswrt error message level (#37515)
This commit is contained in:
parent
d79067db7e
commit
e3aa4679a0
@ -54,7 +54,7 @@ class AsusWrtDeviceScanner(DeviceScanner):
|
||||
self.last_results = await self.connection.async_get_connected_devices()
|
||||
if self._connect_error:
|
||||
self._connect_error = False
|
||||
_LOGGER.error("Reconnected to ASUS router for device update")
|
||||
_LOGGER.info("Reconnected to ASUS router for device update")
|
||||
|
||||
except OSError as err:
|
||||
if not self._connect_error:
|
||||
|
@ -69,9 +69,7 @@ class AsuswrtSensor(Entity):
|
||||
self._speed = await self._api.async_get_current_transfer_rates()
|
||||
if self._connect_error:
|
||||
self._connect_error = False
|
||||
_LOGGER.error(
|
||||
"Reconnected to ASUS router for %s update", self.entity_id
|
||||
)
|
||||
_LOGGER.info("Reconnected to ASUS router for %s update", self.entity_id)
|
||||
except OSError as err:
|
||||
if not self._connect_error:
|
||||
self._connect_error = True
|
||||
|
Loading…
Reference in New Issue
Block a user