Use IP addresses instead of mDNS names when wled discovered (#33608)

This commit is contained in:
Paulus Schoutsen committed 2020-04-04 23:52:25 -07:00
1 parent ab7afbdaf7
commit 6a297b3758
6 files changed
+35 -33

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ async def test_config_entry_not_ready(
hass: HomeAssistant, aioclient_mock: AiohttpClientMocker
) -> None:
"""Test the WLED configuration entry not ready."""
aioclient_mock.get("http://example.local:80/json/", exc=aiohttp.ClientError)
aioclient_mock.get("http://192.168.1.123:80/json/", exc=aiohttp.ClientError)
entry = await init_integration(hass, aioclient_mock)
assert entry.state == ENTRY_STATE_SETUP_RETRY