From 7c0a18d1734973e09feb6df6807ed7e82db4fdd3 Mon Sep 17 00:00:00 2001 From: Kevin Stillhammer Date: Mon, 6 Feb 2023 12:59:41 +0100 Subject: [PATCH] fix: Use async_forward_entry_setups --- custom_components/foldingathomecontrol/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/foldingathomecontrol/__init__.py b/custom_components/foldingathomecontrol/__init__.py index 49ca700..740faf6 100644 --- a/custom_components/foldingathomecontrol/__init__.py +++ b/custom_components/foldingathomecontrol/__init__.py @@ -68,7 +68,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: hass.data[DOMAIN][entry.entry_id][UNSUB_DISPATCHERS] = [] await async_setup_services(hass) - hass.config_entries.async_setup_platforms(entry, PLATFORMS) + await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS) entry.add_update_listener(async_options_updated) return True