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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user