From c91ca1ae7ae5d64db04e94236344dbaf2b6a1928 Mon Sep 17 00:00:00 2001 From: Sander Peterse Date: Tue, 15 Oct 2024 19:53:13 +0200 Subject: [PATCH] Replaced deprecated call async_forward_entry_setup (will be removed HA 2025.6). --- custom_components/indego/__init__.py | 7 +------ custom_components/indego/manifest.json | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/custom_components/indego/__init__.py b/custom_components/indego/__init__.py index 273b359..80e9875 100644 --- a/custom_components/indego/__init__.py +++ b/custom_components/indego/__init__.py @@ -229,12 +229,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: async def load_platforms(): _LOGGER.debug("Loading platforms") - await asyncio.gather( - *( - hass.config_entries.async_forward_entry_setup(entry, platform) - for platform in INDEGO_PLATFORMS - ) - ) + await hass.config_entries.async_forward_entry_setups(entry, INDEGO_PLATFORMS) try: await indego_hub.update_generic_data_and_load_platforms(load_platforms) diff --git a/custom_components/indego/manifest.json b/custom_components/indego/manifest.json index 6bc3974..a686634 100644 --- a/custom_components/indego/manifest.json +++ b/custom_components/indego/manifest.json @@ -7,6 +7,6 @@ "codeowners": ["@jm-73", "@eavanvalkenburg", "@sander1988"], "requirements": ["pyIndego==3.2.2"], "iot_class": "cloud_push", - "version": "5.7.5", + "version": "5.7.6", "loggers": ["custom_components.indego", "pyIndego"] }