1
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:
G Johansson 2023-05-07 17:11:55 +02:00 committed by GitHub
parent 6fe596b64f
commit 5b8e72feda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)