Fix regression in rainbird (#92745)

This commit is contained in:
G Johansson
2023-05-07 17:11:55 +02:00
committed by GitHub
parent 6fe596b64f
commit 5b8e72feda

View File

@@ -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)