diff --git a/custom_components/duofern/__init__.py b/custom_components/duofern/__init__.py index 6c93da4..4a663b0 100644 --- a/custom_components/duofern/__init__.py +++ b/custom_components/duofern/__init__.py @@ -130,8 +130,7 @@ def setup(hass: HomeAssistant, config: ConfigType) -> bool: async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: """Setup the Duofern Config entries (entities, devices, etc...)""" - for component in DUOFERN_COMPONENTS: - await hass.config_entries.async_forward_entry_setups(entry, component) + await hass.config_entries.async_forward_entry_setups(entry, DUOFERN_COMPONENTS) return True