1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-11 14:23:47 +01:00
This commit is contained in:
J. Nick Koston
2025-10-09 13:22:49 -10:00
parent cc418a7156
commit 7064505914

View File

@@ -2,11 +2,23 @@ substitutions:
pin1: GPIO3
pin2: GPIO4
packages:
common: !include common.yaml
# Configuration is inlined instead of using !extend to make this component groupable.
# Using !extend prevents automatic component grouping in CI, requiring individual builds.
light:
- id: !extend led_strip1
- platform: esp32_rmt_led_strip
id: led_strip1
pin: ${pin1}
num_leds: 60
rgb_order: GRB
chipset: ws2812
use_dma: "true"
- id: !extend led_strip2
- platform: esp32_rmt_led_strip
id: led_strip2
pin: ${pin2}
num_leds: 60
rgb_order: RGB
bit0_high: 100us
bit0_low: 100us
bit1_high: 100us
bit1_low: 100us
use_dma: "false"