mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	Create `component_dir` substitution for local files to be included in… (#6575)
				
					
				
			This commit is contained in:
		| @@ -1,19 +1,7 @@ | ||||
| i2c: | ||||
|   - id: i2c_font | ||||
|     scl: 5 | ||||
|     sda: 4 | ||||
| substitutions: | ||||
|   i2c_scl: GPIO5 | ||||
|   i2c_sda: GPIO4 | ||||
|   display_reset_pin: GPIO3 | ||||
|  | ||||
| display: | ||||
|   - platform: ssd1306_i2c | ||||
|     id: ssd1306_display | ||||
|     model: SSD1306_128X64 | ||||
|     reset_pin: 3 | ||||
|     pages: | ||||
|       - id: page1 | ||||
|         lambda: |- | ||||
|           it.rectangle(0, 0, it.get_width(), it.get_height()); | ||||
|  | ||||
| font: | ||||
|   - file: "gfonts://Roboto" | ||||
|     id: roboto | ||||
|     size: 20 | ||||
| packages: | ||||
|   common: !include common.yaml | ||||
|   | ||||
		Reference in New Issue
	
	Block a user