mirror of
https://github.com/home-assistant/core
synced 2024-10-04 07:58:43 +02:00
Fix regression in rainbird (#92745)
This commit is contained in:
parent
6fe596b64f
commit
5b8e72feda
@ -37,7 +37,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
||||
)
|
||||
await coordinator.async_config_entry_first_refresh()
|
||||
|
||||
hass.data[DOMAIN][entry.entry_id] = coordinator
|
||||
hass.data.setdefault(DOMAIN, {})[entry.entry_id] = coordinator
|
||||
|
||||
await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user