From 5c6656dcac069d5e72f6052a53e07d2ec20b4857 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Tue, 24 Jan 2023 16:32:55 -1000 Subject: [PATCH] Migrate legacy nest to use async_forward_entry_setups (#86573) Replaces deprecated async_setup_platforms with async_forward_entry_setups --- homeassistant/components/nest/legacy/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/nest/legacy/__init__.py b/homeassistant/components/nest/legacy/__init__.py index ee660b8062f..271706b16c0 100644 --- a/homeassistant/components/nest/legacy/__init__.py +++ b/homeassistant/components/nest/legacy/__init__.py @@ -141,7 +141,7 @@ async def async_setup_legacy_entry(hass: HomeAssistant, entry: ConfigEntry) -> b if not await hass.async_add_executor_job(hass.data[DATA_NEST].initialize): return False - hass.config_entries.async_setup_platforms(entry, PLATFORMS) + await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS) def validate_structures(target_structures): all_structures = [structure.name for structure in nest.structures]