mirror of
https://github.com/esphome/esphome.git
synced 2025-09-01 10:52:19 +01:00
[CI] Consolidate some tests (N, O, P) (#8204)
This commit is contained in:
22
tests/components/partition/common-ard.yaml
Normal file
22
tests/components/partition/common-ard.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
light:
|
||||
- platform: ${light_platform}
|
||||
id: part_leds
|
||||
default_transition_length: 500ms
|
||||
chipset: ws2812
|
||||
num_leds: 256
|
||||
rgb_order: GRB
|
||||
rmt_channel: 1
|
||||
pin: ${pin}
|
||||
- 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
|
21
tests/components/partition/common-idf.yaml
Normal file
21
tests/components/partition/common-idf.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
light:
|
||||
- platform: ${light_platform}
|
||||
id: part_leds
|
||||
default_transition_length: 500ms
|
||||
chipset: ws2812
|
||||
num_leds: 256
|
||||
rgb_order: GRB
|
||||
pin: ${pin}
|
||||
- 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
|
@@ -1,22 +1,5 @@
|
||||
light:
|
||||
- platform: fastled_clockless
|
||||
id: part_leds
|
||||
chipset: WS2812B
|
||||
pin: 2
|
||||
num_leds: 256
|
||||
rgb_order: GRB
|
||||
default_transition_length: 0s
|
||||
color_correct: [50%, 50%, 50%]
|
||||
- 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
|
||||
substitutions:
|
||||
light_platform: esp32_rmt_led_strip
|
||||
pin: GPIO2
|
||||
|
||||
<<: !include common-ard.yaml
|
||||
|
@@ -1,22 +1,5 @@
|
||||
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
|
||||
substitutions:
|
||||
light_platform: esp32_rmt_led_strip
|
||||
pin: GPIO2
|
||||
|
||||
<<: !include common-ard.yaml
|
||||
|
@@ -1,21 +1,5 @@
|
||||
light:
|
||||
- platform: esp32_rmt_led_strip
|
||||
id: part_leds
|
||||
default_transition_length: 500ms
|
||||
chipset: ws2812
|
||||
rgb_order: GRB
|
||||
num_leds: 256
|
||||
pin: 2
|
||||
- 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
|
||||
substitutions:
|
||||
light_platform: esp32_rmt_led_strip
|
||||
pin: GPIO2
|
||||
|
||||
<<: !include common-idf.yaml
|
||||
|
@@ -1,21 +1,5 @@
|
||||
light:
|
||||
- platform: esp32_rmt_led_strip
|
||||
id: part_leds
|
||||
default_transition_length: 500ms
|
||||
chipset: ws2812
|
||||
rgb_order: GRB
|
||||
num_leds: 256
|
||||
pin: 2
|
||||
- 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
|
||||
substitutions:
|
||||
light_platform: esp32_rmt_led_strip
|
||||
pin: GPIO12
|
||||
|
||||
<<: !include common-idf.yaml
|
||||
|
Reference in New Issue
Block a user