From be6c5557bf43014bc25a8785e93160200a90b177 Mon Sep 17 00:00:00 2001 From: jjlawren Date: Fri, 27 Jan 2023 13:13:32 -0600 Subject: [PATCH] Switch from async_setup_platforms to async_forward_entry_setups Fixes #43 --- custom_components/sonos_cloud/__init__.py | 2 +- hacs.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/custom_components/sonos_cloud/__init__.py b/custom_components/sonos_cloud/__init__.py index 0761c90..8f55ab9 100644 --- a/custom_components/sonos_cloud/__init__.py +++ b/custom_components/sonos_cloud/__init__.py @@ -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 diff --git a/hacs.json b/hacs.json index 68532d7..068d359 100644 --- a/hacs.json +++ b/hacs.json @@ -1,6 +1,6 @@ { "name": "Sonos Cloud", "country": "US", - "homeassistant": "2022.6.0", + "homeassistant": "2022.8.0", "render_readme": true }