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