diff --git a/custom_components/precoscombustiveis/__init__.py b/custom_components/precoscombustiveis/__init__.py index 479f85c..b463df6 100644 --- a/custom_components/precoscombustiveis/__init__.py +++ b/custom_components/precoscombustiveis/__init__.py @@ -34,7 +34,7 @@ async def async_setup(hass: HomeAssistant, config: ConfigType): async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry): """Set up the component from a config entry.""" - hass.config_entries.async_setup_platforms(entry, PLATFORMS) + await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS) return True