mirror of
				https://github.com/esphome/esphome.git
				synced 2025-11-04 00:51:49 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			410 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			410 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
---
 | 
						|
substitutions:
 | 
						|
  name: original
 | 
						|
 | 
						|
wifi: !include
 | 
						|
  file: includes/included.yaml
 | 
						|
  vars:
 | 
						|
    name: my_custom_ssid
 | 
						|
 | 
						|
esphome:
 | 
						|
  # should be substituted as 'original',
 | 
						|
  # not overwritten by vars in the !include above
 | 
						|
  name: ${name}
 | 
						|
  name_add_mac_suffix: true
 | 
						|
  libraries: !include {file: includes/list.yaml, vars: {var1: Wire}}
 | 
						|
 | 
						|
esp8266:
 | 
						|
  board: !include {file: includes/scalar.yaml, vars: {var1: nodemcu}}
 |