From 14d2fbe4dd9a14f4bbc7c2e0dfc97022c8236130 Mon Sep 17 00:00:00 2001 From: Tomasz Date: Wed, 27 Nov 2024 16:12:13 +0100 Subject: [PATCH] Migrate to async_forward_entry_setups for compatibility with HA 2025 --- custom_components/enpal/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/enpal/__init__.py b/custom_components/enpal/__init__.py index 730b3b6..c2eb6e9 100644 --- a/custom_components/enpal/__init__.py +++ b/custom_components/enpal/__init__.py @@ -23,7 +23,7 @@ async def async_setup_entry( # Forward the setup to the sensor platform. hass.async_create_task( - hass.config_entries.async_forward_entry_setup(entry, "sensor") + hass.config_entries.async_forward_entry_setups(entry, ["sensor"]) ) return True