From 555cfe52c50ddf96f24b3165320d96835858b1a1 Mon Sep 17 00:00:00 2001 From: Tomasz Duda Date: Mon, 28 Oct 2024 20:53:26 +0100 Subject: [PATCH] fix comments --- esphome/core/config.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/esphome/core/config.py b/esphome/core/config.py index 368c1b73ca..753ae8342b 100644 --- a/esphome/core/config.py +++ b/esphome/core/config.py @@ -193,7 +193,7 @@ def _is_target_platform(name): try: from esphome.loader import get_component - # we cannot load some components without platform + # some components cannot be loaded without platform component = get_component(name, True) if component.is_target_platform: return True @@ -204,7 +204,6 @@ def _is_target_platform(name): def _supported_target_platforms(): target_platforms = [] - # The root directory of the repo root = Path(__file__).parent.parent components_dir = root / "components"