Skip to content
Snippets Groups Projects
Unverified Commit 38f3fa07 authored by J. Nick Koston's avatar J. Nick Koston Committed by GitHub
Browse files

Handle invalid ISY data when the device is booting (#79163)

parent 7b708f4b
No related branches found
No related tags found
No related merge requests found
......@@ -192,6 +192,10 @@ async def async_setup_entry(
raise ConfigEntryNotReady(
f"Invalid XML response from ISY; Ensure the ISY is running the latest firmware: {err}"
) from err
except TypeError as err:
raise ConfigEntryNotReady(
f"Invalid response ISY, device is likely still starting: {err}"
) from err
_categorize_nodes(hass_isy_data, isy.nodes, ignore_identifier, sensor_identifier)
_categorize_programs(hass_isy_data, isy.programs)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment