mirror of
https://github.com/esphome/esphome.git
synced 2026-09-19 11:08:38 +00:00
30 lines
457 B
YAML
30 lines
457 B
YAML
---
|
|
esphome:
|
|
name: test
|
|
|
|
esp32:
|
|
board: esp32dev
|
|
|
|
output:
|
|
- platform: ledc
|
|
id: out_a
|
|
pin: GPIO4
|
|
- platform: ledc
|
|
id: out_b
|
|
pin: GPIO5
|
|
|
|
light:
|
|
- platform: monochromatic
|
|
id: plain_light
|
|
output: out_a
|
|
flash_transition_length: 0s
|
|
- platform: monochromatic
|
|
id: fancy_light
|
|
output: out_b
|
|
flash_transition_length: 500ms
|
|
effects:
|
|
- pulse:
|
|
- platform: monochromatic
|
|
id: bare_light
|
|
output: out_a
|