diff --git a/custom_components/jablotron80/__init__.py b/custom_components/jablotron80/__init__.py index 1f8ab46..97dac72 100644 --- a/custom_components/jablotron80/__init__.py +++ b/custom_components/jablotron80/__init__.py @@ -49,9 +49,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: DATA_OPTIONS_UPDATE_UNSUBSCRIBER: entry.add_update_listener(options_update_listener), } - - for component in PLATFORMS: - await hass.config_entries.async_forward_entry_setup(entry,component) + await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS) return True async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry):