mirror of
https://github.com/esphome/esphome.git
synced 2026-06-24 14:16:47 +00:00
61 lines
1.0 KiB
YAML
61 lines
1.0 KiB
YAML
esphome:
|
|
name: bundle-test
|
|
includes:
|
|
- includes/custom_sensor.h
|
|
|
|
esp32:
|
|
board: esp32dev
|
|
framework:
|
|
type: esp-idf
|
|
|
|
logger:
|
|
<<: !include common/base.yaml
|
|
|
|
# Plain nested !include — deferred as an IncludeFile until the substitution
|
|
# pass. The bundle must force-resolve it to pick up common/wifi.yaml.
|
|
wifi: !include common/wifi.yaml
|
|
|
|
api:
|
|
|
|
ota:
|
|
- platform: esphome
|
|
password: !secret ota_password
|
|
|
|
web_server:
|
|
port: 80
|
|
css_include: assets/web/custom.css
|
|
js_include: assets/web/custom.js
|
|
|
|
i2c:
|
|
sda: GPIO21
|
|
scl: GPIO22
|
|
|
|
font:
|
|
- id: test_font
|
|
file: assets/fonts/test_font.ttf
|
|
size: 16
|
|
|
|
image:
|
|
- id: test_image
|
|
file: assets/images/logo.png
|
|
type: BINARY
|
|
resize: 16x16
|
|
|
|
animation:
|
|
- id: test_animation
|
|
file: assets/images/animation.gif
|
|
type: BINARY
|
|
resize: 16x16
|
|
|
|
display:
|
|
- platform: ssd1306_i2c
|
|
model: SSD1306_128X64
|
|
address: 0x3C
|
|
lambda: |-
|
|
it.image(0, 0, id(test_image));
|
|
|
|
external_components:
|
|
- source:
|
|
type: local
|
|
path: local_components
|