diff --git a/custom_components/lifetime_fitness/__init__.py b/custom_components/lifetime_fitness/__init__.py index 694b138..e67b7e1 100644 --- a/custom_components/lifetime_fitness/__init__.py +++ b/custom_components/lifetime_fitness/__init__.py @@ -23,7 +23,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: hass.data.setdefault(DOMAIN, {})[entry.entry_id] = Api(hass, username, password) entry.async_on_unload(entry.add_update_listener(options_update_listener)) - hass.config_entries.async_setup_platforms(entry, PLATFORMS) + await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS) return True