mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 03:12:20 +01:00
[CI] Consolidate some tests (E) (#8191)
This commit is contained in:
18
tests/components/esp32_rmt_led_strip/common-ard.yaml
Normal file
18
tests/components/esp32_rmt_led_strip/common-ard.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
light:
|
||||
- platform: esp32_rmt_led_strip
|
||||
id: led_strip1
|
||||
pin: ${pin1}
|
||||
num_leds: 60
|
||||
rmt_channel: 0
|
||||
rgb_order: GRB
|
||||
chipset: ws2812
|
||||
- platform: esp32_rmt_led_strip
|
||||
id: led_strip2
|
||||
pin: ${pin2}
|
||||
num_leds: 60
|
||||
rmt_channel: 1
|
||||
rgb_order: RGB
|
||||
bit0_high: 100us
|
||||
bit0_low: 100us
|
||||
bit1_high: 100us
|
||||
bit1_low: 100us
|
16
tests/components/esp32_rmt_led_strip/common-idf.yaml
Normal file
16
tests/components/esp32_rmt_led_strip/common-idf.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
light:
|
||||
- platform: esp32_rmt_led_strip
|
||||
id: led_strip1
|
||||
pin: ${pin1}
|
||||
num_leds: 60
|
||||
rgb_order: GRB
|
||||
chipset: ws2812
|
||||
- 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
|
@@ -1,18 +1,5 @@
|
||||
light:
|
||||
- platform: esp32_rmt_led_strip
|
||||
id: led_strip
|
||||
pin: 13
|
||||
num_leds: 60
|
||||
rmt_channel: 6
|
||||
rgb_order: GRB
|
||||
chipset: ws2812
|
||||
- platform: esp32_rmt_led_strip
|
||||
id: led_strip2
|
||||
pin: 14
|
||||
num_leds: 60
|
||||
rmt_channel: 2
|
||||
rgb_order: RGB
|
||||
bit0_high: 100us
|
||||
bit0_low: 100us
|
||||
bit1_high: 100us
|
||||
bit1_low: 100us
|
||||
substitutions:
|
||||
pin1: GPIO13
|
||||
pin2: GPIO14
|
||||
|
||||
<<: !include common-ard.yaml
|
||||
|
@@ -1,18 +1,5 @@
|
||||
light:
|
||||
- platform: esp32_rmt_led_strip
|
||||
id: led_strip
|
||||
pin: 4
|
||||
num_leds: 60
|
||||
rmt_channel: 0
|
||||
rgb_order: GRB
|
||||
chipset: ws2812
|
||||
- platform: esp32_rmt_led_strip
|
||||
id: led_strip2
|
||||
pin: 5
|
||||
num_leds: 60
|
||||
rmt_channel: 1
|
||||
rgb_order: RGB
|
||||
bit0_high: 100us
|
||||
bit0_low: 100us
|
||||
bit1_high: 100us
|
||||
bit1_low: 100us
|
||||
substitutions:
|
||||
pin1: GPIO3
|
||||
pin2: GPIO4
|
||||
|
||||
<<: !include common-ard.yaml
|
||||
|
@@ -1,16 +1,5 @@
|
||||
light:
|
||||
- platform: esp32_rmt_led_strip
|
||||
id: led_strip
|
||||
pin: 4
|
||||
num_leds: 60
|
||||
rgb_order: GRB
|
||||
chipset: ws2812
|
||||
- platform: esp32_rmt_led_strip
|
||||
id: led_strip2
|
||||
pin: 5
|
||||
num_leds: 60
|
||||
rgb_order: RGB
|
||||
bit0_high: 100µs
|
||||
bit0_low: 100µs
|
||||
bit1_high: 100µs
|
||||
bit1_low: 100µs
|
||||
substitutions:
|
||||
pin1: GPIO3
|
||||
pin2: GPIO4
|
||||
|
||||
<<: !include common-idf.yaml
|
||||
|
@@ -1,16 +1,5 @@
|
||||
light:
|
||||
- platform: esp32_rmt_led_strip
|
||||
id: led_strip
|
||||
pin: 13
|
||||
num_leds: 60
|
||||
rgb_order: GRB
|
||||
chipset: ws2812
|
||||
- platform: esp32_rmt_led_strip
|
||||
id: led_strip2
|
||||
pin: 14
|
||||
num_leds: 60
|
||||
rgb_order: RGB
|
||||
bit0_high: 100µs
|
||||
bit0_low: 100µs
|
||||
bit1_high: 100µs
|
||||
bit1_low: 100µs
|
||||
substitutions:
|
||||
pin1: GPIO13
|
||||
pin2: GPIO14
|
||||
|
||||
<<: !include common-idf.yaml
|
||||
|
Reference in New Issue
Block a user