From 902a0f670e387b33bf6099cde6bb815901c82ff5 Mon Sep 17 00:00:00 2001 From: Greg Gibeling Date: Thu, 2 Jan 2025 16:24:46 -0800 Subject: [PATCH] G2-1689 Simplify async logic --- custom_components/intellicenter/__init__.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/custom_components/intellicenter/__init__.py b/custom_components/intellicenter/__init__.py index 6ca23df..079a637 100644 --- a/custom_components/intellicenter/__init__.py +++ b/custom_components/intellicenter/__init__.py @@ -112,10 +112,7 @@ def started(self, controller): async def setup_platforms(): """Set up platforms.""" - await asyncio.gather( - hass.config_entries.async_forward_entry_setups(entry, PLATFORMS) - ) - # dispatcher.async_dispatcher_send(hass, self.CONNECTION_SIGNAL, True) + hass.config_entries.async_forward_entry_setups(entry, PLATFORMS) hass.async_create_task(setup_platforms()) @callback