mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 04:37:06 +00:00
Fix adding Hue bridge manually by IP (#113055)
This commit is contained in:
parent
7fd5c3ed61
commit
a7a30581fc
@ -117,7 +117,7 @@ class HueFlowHandler(ConfigFlow, domain=DOMAIN):
|
||||
websession=aiohttp_client.async_get_clientsession(self.hass)
|
||||
)
|
||||
except TimeoutError:
|
||||
return self.async_abort(reason="discover_timeout")
|
||||
bridges = []
|
||||
|
||||
if bridges:
|
||||
# Find already configured hosts
|
||||
|
@ -260,8 +260,8 @@ async def test_flow_timeout_discovery(hass: HomeAssistant) -> None:
|
||||
const.DOMAIN, context={"source": config_entries.SOURCE_USER}
|
||||
)
|
||||
|
||||
assert result["type"] == "abort"
|
||||
assert result["reason"] == "discover_timeout"
|
||||
assert result["type"] == "form"
|
||||
assert result["step_id"] == "manual"
|
||||
|
||||
|
||||
async def test_flow_link_unknown_error(hass: HomeAssistant) -> None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user