diff --git a/custom_components/alexa_media/__init__.py b/custom_components/alexa_media/__init__.py index 911078fd..7023b3a9 100644 --- a/custom_components/alexa_media/__init__.py +++ b/custom_components/alexa_media/__init__.py @@ -624,8 +624,8 @@ async def async_update_data() -> Optional[AlexaEntityData]: _LOGGER.debug("Loading config entry for %s", component) config_entry.async_create_task( hass, - hass.config_entries.async_forward_entry_setup( - config_entry, component + hass.config_entries.async_forward_entry_setups( + config_entry, [component] ) ) else: diff --git a/custom_components/alexa_media/media_player.py b/custom_components/alexa_media/media_player.py index 366f4be8..daa6121b 100644 --- a/custom_components/alexa_media/media_player.py +++ b/custom_components/alexa_media/media_player.py @@ -187,8 +187,8 @@ async def async_setup_entry(hass, config_entry, async_add_devices): ) config_entry.async_create_task( hass, - hass.config_entries.async_forward_entry_setup( - config_entry, component + hass.config_entries.async_forward_entry_setups( + config_entry, [component] ) ) return True