Skip to content

Commit

Permalink
Update compatibility with Home Assistant 2022.12
Browse files Browse the repository at this point in the history
  • Loading branch information
rud2020 committed May 8, 2023
1 parent 8b8578a commit 672eee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/sodexo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry):
"""Set up the component from a config entry."""
hass.data.setdefault(DOMAIN, {})

hass.config_entries.async_setup_platforms(entry, PLATFORMS)
await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)
return True

async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry):
Expand Down

0 comments on commit 672eee2

Please sign in to comment.