mirror of
https://github.com/esphome/esphome.git
synced 2025-10-11 14:23:47 +01:00
preen
This commit is contained in:
@@ -2,11 +2,23 @@ substitutions:
|
|||||||
pin1: GPIO3
|
pin1: GPIO3
|
||||||
pin2: GPIO4
|
pin2: GPIO4
|
||||||
|
|
||||||
packages:
|
# Configuration is inlined instead of using !extend to make this component groupable.
|
||||||
common: !include common.yaml
|
# Using !extend prevents automatic component grouping in CI, requiring individual builds.
|
||||||
|
|
||||||
light:
|
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"
|
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"
|
use_dma: "false"
|
||||||
|
Reference in New Issue
Block a user