Skip to content

Commit

Permalink
Switch from async_setup_platforms to async_forward_entry_setups
Browse files Browse the repository at this point in the history
Fixes #43
  • Loading branch information
jjlawren committed Jan 27, 2023
1 parent 782dc9d commit be6c555
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion custom_components/sonos_cloud/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ async def async_get_available_players(household: str) -> list[dict]:
_LOGGER.error("No players returned from household(s): %s", households)
raise ConfigEntryNotReady

hass.config_entries.async_setup_platforms(entry, PLATFORMS)
await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)

return True

Expand Down
2 changes: 1 addition & 1 deletion hacs.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Sonos Cloud",
"country": "US",
"homeassistant": "2022.6.0",
"homeassistant": "2022.8.0",
"render_readme": true
}

0 comments on commit be6c555

Please sign in to comment.