1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 14:43:51 +00:00

Create `component_dir` substitution for local files to be included in… (#6575)

This commit is contained in:
Jesse Hills
2024-04-22 10:29:56 +12:00
committed by GitHub
parent 655dbc48b5
commit 45ae78de03
21 changed files with 87 additions and 128 deletions

View File

@@ -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