Skip to content

Commit

Permalink
fix: Use async_forward_entry_setups
Browse files Browse the repository at this point in the history
  • Loading branch information
eifinger committed Feb 6, 2023
1 parent 3d26d9a commit 7c0a18d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/foldingathomecontrol/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
hass.data[DOMAIN][entry.entry_id][UNSUB_DISPATCHERS] = []

await async_setup_services(hass)
hass.config_entries.async_setup_platforms(entry, PLATFORMS)
await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)
entry.add_update_listener(async_options_updated)

return True
Expand Down

0 comments on commit 7c0a18d

Please sign in to comment.