Compare commits

...
Sign in to create a new pull request.

2 commits

Author SHA1 Message Date
Erik Montnemery
5c318eeffd
Merge branch 'dev' into blueprint_reverse_priority 2024-08-28 14:27:18 +02:00
Erik
06765d220e Reverse priority between blueprint and instance 2024-08-28 13:42:42 +02:00

View file

@ -179,7 +179,7 @@ class BlueprintInputs:
def async_substitute(self) -> dict:
"""Get the blueprint value with the inputs substituted."""
processed = yaml.substitute(self.blueprint.data, self.inputs_with_default)
combined = {**processed, **self.config_with_inputs}
combined = {**self.config_with_inputs, **processed}
# From config_with_inputs
combined.pop(CONF_USE_BLUEPRINT)
# From blueprint