mirror of
https://github.com/esphome/esphome.git
synced 2025-10-17 17:23:45 +01:00
Consolidate test files where all tests are identical (#6690)
This commit is contained in:
18
tests/components/rp2040_pio_led_strip/common.yaml
Normal file
18
tests/components/rp2040_pio_led_strip/common.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
light:
|
||||
- platform: rp2040_pio_led_strip
|
||||
id: led_strip
|
||||
pin: 4
|
||||
num_leds: 60
|
||||
pio: 0
|
||||
rgb_order: GRB
|
||||
chipset: WS2812
|
||||
- platform: rp2040_pio_led_strip
|
||||
id: led_strip_custom_timings
|
||||
pin: 5
|
||||
num_leds: 60
|
||||
pio: 1
|
||||
rgb_order: GRB
|
||||
bit0_high: .1us
|
||||
bit0_low: 1.2us
|
||||
bit1_high: .69us
|
||||
bit1_low: .4us
|
@@ -1,18 +1 @@
|
||||
light:
|
||||
- platform: rp2040_pio_led_strip
|
||||
id: led_strip
|
||||
pin: 4
|
||||
num_leds: 60
|
||||
pio: 0
|
||||
rgb_order: GRB
|
||||
chipset: WS2812
|
||||
- platform: rp2040_pio_led_strip
|
||||
id: led_strip_custom_timings
|
||||
pin: 5
|
||||
num_leds: 60
|
||||
pio: 1
|
||||
rgb_order: GRB
|
||||
bit0_high: .1us
|
||||
bit0_low: 1.2us
|
||||
bit1_high: .69us
|
||||
bit1_low: .4us
|
||||
<<: !include common.yaml
|
||||
|
Reference in New Issue
Block a user