mirror of
https://github.com/home-assistant/core.git
synced 2025-05-03 05:29:14 +00:00
Handle invalid ISY data when the device is booting (#79163)
This commit is contained in:
parent
7b708f4b35
commit
38f3fa0762
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user