mirror of
https://github.com/esphome/esphome.git
synced 2024-12-30 17:31:43 +01:00
fix comments
This commit is contained in:
parent
11a0f706a1
commit
555cfe52c5
1 changed files with 1 additions and 2 deletions
|
@ -193,7 +193,7 @@ def _is_target_platform(name):
|
||||||
try:
|
try:
|
||||||
from esphome.loader import get_component
|
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)
|
component = get_component(name, True)
|
||||||
if component.is_target_platform:
|
if component.is_target_platform:
|
||||||
return True
|
return True
|
||||||
|
@ -204,7 +204,6 @@ def _is_target_platform(name):
|
||||||
|
|
||||||
def _supported_target_platforms():
|
def _supported_target_platforms():
|
||||||
target_platforms = []
|
target_platforms = []
|
||||||
# The root directory of the repo
|
|
||||||
root = Path(__file__).parent.parent
|
root = Path(__file__).parent.parent
|
||||||
components_dir = root / "components"
|
components_dir = root / "components"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue