mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Silence Yeelight Discovery Log Errors (#76373)
This commit is contained in:
parent
9552250f36
commit
714d46b153
@ -269,7 +269,7 @@ class ConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
|
|||||||
await bulb.async_get_properties()
|
await bulb.async_get_properties()
|
||||||
await bulb.async_stop_listening()
|
await bulb.async_stop_listening()
|
||||||
except (asyncio.TimeoutError, yeelight.BulbException) as err:
|
except (asyncio.TimeoutError, yeelight.BulbException) as err:
|
||||||
_LOGGER.error("Failed to get properties from %s: %s", host, err)
|
_LOGGER.debug("Failed to get properties from %s: %s", host, err)
|
||||||
raise CannotConnect from err
|
raise CannotConnect from err
|
||||||
_LOGGER.debug("Get properties: %s", bulb.last_properties)
|
_LOGGER.debug("Get properties: %s", bulb.last_properties)
|
||||||
return MODEL_UNKNOWN
|
return MODEL_UNKNOWN
|
||||||
|
Loading…
x
Reference in New Issue
Block a user