diff --git a/custom_components/ingv_centro_nazionale_terremoti/__init__.py b/custom_components/ingv_centro_nazionale_terremoti/__init__.py index 4d5ac23..dd2eff6 100755 --- a/custom_components/ingv_centro_nazionale_terremoti/__init__.py +++ b/custom_components/ingv_centro_nazionale_terremoti/__init__.py @@ -87,7 +87,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: _LOGGER.debug("Feed entity coordinator added for %s", entry.entry_id) async_cleanup_entity_registry(hass=hass, entry=entry) - hass.config_entries.async_setup_platforms(entry, PLATFORMS) + await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS) entry.async_on_unload(entry.add_update_listener(async_reload_entry)) return True diff --git a/hacs.json b/hacs.json index 301b4a2..c057cb0 100644 --- a/hacs.json +++ b/hacs.json @@ -4,5 +4,5 @@ "filename": "ingv_centro_nazionale_terremoti.zip", "country": ["IT"], "render_readme": true, - "homeassistant": "2022.11.0" + "homeassistant": "2023.02.0" }