esphome/tests/unit_tests/fixtures/yaml_util/includetest.yaml

19 lines
421 B
YAML
Raw Normal View History

---
substitutions:
name: original
wifi: !include
file: includes/included.yaml
vars:
name: my_custom_ssid
esphome:
2022-09-06 05:48:01 +02:00
# should be substituted as 'original',
# not overwritten by vars in the !include above
name: ${name}
name_add_mac_suffix: true
platform: esp8266
2022-09-06 05:48:01 +02:00
board: !include {file: includes/scalar.yaml, vars: {var1: nodemcu}}
2022-09-06 05:48:01 +02:00
libraries: !include {file: includes/list.yaml, vars: {var1: Wire}}