From a614bb03a9a365950a08a275b80c05bcfb3c5a11 Mon Sep 17 00:00:00 2001 From: Tomasz Duda Date: Mon, 13 Jan 2025 00:13:28 +0100 Subject: [PATCH] clean up --- esphome/core/config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/esphome/core/config.py b/esphome/core/config.py index 815e46f56e..d5f4c11535 100644 --- a/esphome/core/config.py +++ b/esphome/core/config.py @@ -193,6 +193,7 @@ PRELOAD_CONFIG_SCHEMA = cv.Schema( def _is_target_platform(name): from esphome.loader import get_component + try: if get_component(name, True).is_target_platform: return True