mirror of
https://github.com/home-assistant/core.git
synced 2025-07-09 14:27:07 +00:00
Standardise geniusheub error levels (#37512)
This commit is contained in:
parent
f0dda4f875
commit
d79067db7e
@ -181,14 +181,14 @@ class GeniusBroker:
|
||||
await self.client.update()
|
||||
if self._connect_error:
|
||||
self._connect_error = False
|
||||
_LOGGER.warning("Connection to geniushub re-established")
|
||||
_LOGGER.info("Connection to geniushub re-established")
|
||||
except (
|
||||
aiohttp.ClientResponseError,
|
||||
aiohttp.client_exceptions.ClientConnectorError,
|
||||
) as err:
|
||||
if not self._connect_error:
|
||||
self._connect_error = True
|
||||
_LOGGER.warning(
|
||||
_LOGGER.error(
|
||||
"Connection to geniushub failed (unable to update), message is: %s",
|
||||
err,
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user