From d9de456130d8bb021b572720dabb9ef0b195c78e Mon Sep 17 00:00:00 2001 From: Sindre Broch Date: Fri, 24 Feb 2023 14:15:10 +0100 Subject: [PATCH] Remove deprecated async_setup_platforms --- custom_components/flexit/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/flexit/__init__.py b/custom_components/flexit/__init__.py index 7c7f523..ba9c39f 100644 --- a/custom_components/flexit/__init__.py +++ b/custom_components/flexit/__init__.py @@ -47,7 +47,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: hass.data[FLEXIT_DOMAIN][entry.entry_id] = coordinator - hass.config_entries.async_setup_platforms(entry, PLATFORMS) + await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS) return True