diff --git a/custom_components/sodexo/__init__.py b/custom_components/sodexo/__init__.py index 634087a..abeebe3 100644 --- a/custom_components/sodexo/__init__.py +++ b/custom_components/sodexo/__init__.py @@ -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):