mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 04:37:06 +00:00
Log lutron_caseta exception on pairing failure (#140776)
This commit is contained in:
parent
49721a541a
commit
ee37b32ca1
@ -123,7 +123,8 @@ class LutronCasetaFlowHandler(ConfigFlow, domain=DOMAIN):
|
|||||||
assets = None
|
assets = None
|
||||||
try:
|
try:
|
||||||
assets = await async_pair(self.data[CONF_HOST])
|
assets = await async_pair(self.data[CONF_HOST])
|
||||||
except (TimeoutError, OSError):
|
except (TimeoutError, OSError) as exc:
|
||||||
|
_LOGGER.debug("Pairing failed", exc_info=exc)
|
||||||
errors["base"] = "cannot_connect"
|
errors["base"] = "cannot_connect"
|
||||||
|
|
||||||
if not errors:
|
if not errors:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user