From 734a614eb8dbd2a7026c16ea1eaa2d52735bb510 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Mon, 11 Mar 2024 16:17:07 -1000 Subject: [PATCH] Switch the reload helper to use async_get_component (#113126) --- homeassistant/helpers/reload.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/helpers/reload.py b/homeassistant/helpers/reload.py index dcf6a59a71e..d6338af95c7 100644 --- a/homeassistant/helpers/reload.py +++ b/homeassistant/helpers/reload.py @@ -75,7 +75,7 @@ async def _resetup_platform( root_config[platform_domain].append(p_config) - component = integration.get_component() + component = await integration.async_get_component() if hasattr(component, "async_reset_platform"): # If the integration has its own way to reset