Skip to content

Commit

Permalink
fix: fix warning for async_forward_entry_setup (#2294)
Browse files Browse the repository at this point in the history
  • Loading branch information
Petro31 authored Jun 30, 2024
1 parent 50a03cc commit 7ea65fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions custom_components/alexa_media/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions custom_components/alexa_media/media_player.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7ea65fc

Please sign in to comment.