mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Downgrade Hue warning (#24033)
This commit is contained in:
parent
fdf1fa48e3
commit
806903ffe0
@ -60,6 +60,7 @@ class HueBridge:
|
||||
return False
|
||||
|
||||
except CannotConnect:
|
||||
LOGGER.error("Error connecting to the Hue bridge at %s", host)
|
||||
raise ConfigEntryNotReady
|
||||
|
||||
except Exception: # pylint: disable=broad-except
|
||||
@ -161,10 +162,8 @@ async def get_bridge(hass, host, username=None):
|
||||
|
||||
return bridge
|
||||
except (aiohue.LinkButtonNotPressed, aiohue.Unauthorized):
|
||||
LOGGER.warning("Connected to Hue at %s but not registered.", host)
|
||||
raise AuthenticationRequired
|
||||
except (asyncio.TimeoutError, aiohue.RequestError):
|
||||
LOGGER.error("Error connecting to the Hue bridge at %s", host)
|
||||
raise CannotConnect
|
||||
except aiohue.AiohueException:
|
||||
LOGGER.exception('Unknown Hue linking error occurred')
|
||||
|
Loading…
x
Reference in New Issue
Block a user