mirror of
https://github.com/esphome/esphome.git
synced 2024-11-13 10:25:03 +01:00
23 lines
441 B
YAML
23 lines
441 B
YAML
|
light:
|
||
|
- platform: esp32_rmt_led_strip
|
||
|
id: part_leds
|
||
|
default_transition_length: 500ms
|
||
|
chipset: ws2812
|
||
|
rgb_order: GRB
|
||
|
num_leds: 256
|
||
|
pin: 2
|
||
|
rmt_channel: 0
|
||
|
- platform: partition
|
||
|
name: Partition Light
|
||
|
segments:
|
||
|
- id: part_leds
|
||
|
from: 0
|
||
|
to: 0
|
||
|
- id: part_leds
|
||
|
from: 1
|
||
|
to: 10
|
||
|
- id: part_leds
|
||
|
from: 20
|
||
|
to: 25
|
||
|
- single_light_id: part_leds
|