From 0ad86d9076cfccbb98c4cc32cc41f4655fad30af Mon Sep 17 00:00:00 2001 From: vlebourl Date: Fri, 5 May 2023 09:03:25 +0200 Subject: [PATCH] Remove deprecated async_setup_platforms --- custom_components/tahoma/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/tahoma/__init__.py b/custom_components/tahoma/__init__.py index c6da1dab..287c7b1d 100644 --- a/custom_components/tahoma/__init__.py +++ b/custom_components/tahoma/__init__.py @@ -137,7 +137,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ): log_device("Unsupported device detected", device) - hass.config_entries.async_setup_platforms(entry, SUPPORTED_PLATFORMS) + await hass.config_entries.async_forward_entry_setups(entry, SUPPORTED_PLATFORMS) device_registry = dr.async_get(hass)