Skip to content

Commit

Permalink
Fix regression in rainbird (#92745)
Browse files Browse the repository at this point in the history
  • Loading branch information
gjohansson-ST committed May 7, 2023
1 parent 6fe596b commit 5b8e72f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/rainbird/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 5b8e72f

Please sign in to comment.