mirror of
https://github.com/esphome/esphome.git
synced 2025-09-01 19:02:18 +01:00
Add some components to the new testing framework (P) (#6213)
This commit is contained in:
22
tests/components/partition/test.esp32-c3-idf.yaml
Normal file
22
tests/components/partition/test.esp32-c3-idf.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
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
|
22
tests/components/partition/test.esp32-c3.yaml
Normal file
22
tests/components/partition/test.esp32-c3.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
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
|
22
tests/components/partition/test.esp32-idf.yaml
Normal file
22
tests/components/partition/test.esp32-idf.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
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
|
22
tests/components/partition/test.esp32.yaml
Normal file
22
tests/components/partition/test.esp32.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
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
|
Reference in New Issue
Block a user