From 9ce016b69a218911ae0dca5b5acf1383f05b9240 Mon Sep 17 00:00:00 2001 From: Kars de Jong Date: Thu, 2 Mar 2023 08:59:47 +0100 Subject: [PATCH] Use async_forward_entry_setups (#89) Replace deprecated async_setup_platforms with async_forward_entry_setups --- custom_components/luxtronik/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/luxtronik/__init__.py b/custom_components/luxtronik/__init__.py index d6b9023..d1d9a2c 100644 --- a/custom_components/luxtronik/__init__.py +++ b/custom_components/luxtronik/__init__.py @@ -59,7 +59,7 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry) -> b luxtronik = hass.data[DOMAIN] - hass.config_entries.async_setup_platforms(config_entry, PLATFORMS) + await hass.config_entries.async_forward_entry_setups(config_entry, PLATFORMS) def logout_luxtronik(event: Event) -> None: """Close connections to this heatpump."""