From 4b427ec02c1dd0d9f6dd77d977c3b0e97751f844 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Tue, 24 Jan 2023 11:30:56 -1000 Subject: [PATCH] Migrate soundtouch to use async_forward_entry_setups (#86577) Replaces deprecated async_setup_platforms with async_forward_entry_setups --- homeassistant/components/soundtouch/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/soundtouch/__init__.py b/homeassistant/components/soundtouch/__init__.py index 69e0eef687e..f3fa221db7f 100644 --- a/homeassistant/components/soundtouch/__init__.py +++ b/homeassistant/components/soundtouch/__init__.py @@ -131,7 +131,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: hass.data.setdefault(DOMAIN, {})[entry.entry_id] = SoundTouchData(device) - hass.config_entries.async_setup_platforms(entry, PLATFORMS) + await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS) return True