From 158489ed97c3530a3589de07e0025a597282ac77 Mon Sep 17 00:00:00 2001 From: Diogo Gomes Date: Fri, 30 Aug 2024 23:42:41 +0100 Subject: [PATCH] fix for 2024.7 --- custom_components/erse/__init__.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/custom_components/erse/__init__.py b/custom_components/erse/__init__.py index 3fe176c..321b1d7 100644 --- a/custom_components/erse/__init__.py +++ b/custom_components/erse/__init__.py @@ -101,10 +101,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry): hass.data[DOMAIN][entry.entry_id] = operador - for component in PLATFORMS: - hass.async_create_task( - hass.config_entries.async_forward_entry_setup(entry, component) - ) + await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS) async def async_simular(service): data = {