From a9766cc4ebf162d8ebce20598e444cc70e6cd885 Mon Sep 17 00:00:00 2001 From: the0ckid82 Date: Wed, 14 Jun 2023 13:08:47 -0700 Subject: [PATCH] Update __init__.py update to work with python 3.11 --- custom_components/climacell/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/custom_components/climacell/__init__.py b/custom_components/climacell/__init__.py index 771fecf..8d45bda 100644 --- a/custom_components/climacell/__init__.py +++ b/custom_components/climacell/__init__.py @@ -13,8 +13,7 @@ _LOGGER = logging.getLogger(__name__) -@asyncio.coroutine -def async_setup(hass, config): +async def async_setup(hass, config): _LOGGER.info("__init__ async_setup start for domain %s.", DOMAIN) @callback