1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-07 13:52:20 +01:00

Allow using a git source for a package (#2193)

This commit is contained in:
Jesse Hills
2021-09-06 08:23:06 +12:00
committed by GitHub
parent ca12b8aa56
commit f9b0666adf
6 changed files with 231 additions and 91 deletions

View File

@@ -333,6 +333,8 @@ def validate_config(config, command_line_substitutions):
result.add_error(err)
return result
CORE.raw_config = config
# 1. Load substitutions
if CONF_SUBSTITUTIONS in config:
from esphome.components import substitutions
@@ -348,6 +350,8 @@ def validate_config(config, command_line_substitutions):
result.add_error(err)
return result
CORE.raw_config = config
# 1.1. Check for REPLACEME special value
try:
recursive_check_replaceme(config)