mirror of
https://github.com/esphome/esphome.git
synced 2025-01-10 19:47:47 +01:00
Replace substitutions in substitutions first (#1567)
This commit is contained in:
parent
4d6277330b
commit
6588e9380e
@ -136,4 +136,6 @@ def do_substitution_pass(config, command_line_substitutions):
|
||||
del substitutions[old]
|
||||
|
||||
config[CONF_SUBSTITUTIONS] = substitutions
|
||||
# Move substitutions to the first place to replace substitutions in them correctly
|
||||
config.move_to_end(CONF_SUBSTITUTIONS, False)
|
||||
_substitute_item(substitutions, config, [])
|
||||
|
Loading…
Reference in New Issue
Block a user