deCONZ - Increase bridge discovery robustness in config flow (#26911)
This commit is contained in:
1 parent
cbbdb95003
commit
cff7fd0ef3
2 files changed
+35
-2
No files matched your search
@@ -90,7 +90,7 @@ class DeconzFlowHandler(config_entries.ConfigFlow, domain=DOMAIN):
|
||||
with async_timeout.timeout(10):
|
||||
self.bridges = await async_discovery(session)
|
||||
|
||||
except asyncio.TimeoutError:
|
||||
except (asyncio.TimeoutError, ResponseError):
|
||||
self.bridges = []
|
||||
|
||||
if len(self.bridges) == 1:
|
||||
|
||||
Reference in new issue
Block a user