diff --git a/tests/components/neopixelbus/common_rmt.yaml b/tests/components/neopixelbus/common_rmt.yaml new file mode 100644 index 0000000000..de40949fd6 --- /dev/null +++ b/tests/components/neopixelbus/common_rmt.yaml @@ -0,0 +1,17 @@ +light: + - platform: neopixelbus + id: addr3 + name: Neopixelbus Light + gamma_correct: 2.8 + color_correct: [0.0, 0.0, 0.0, 0.0] + default_transition_length: 10s + effects: + - addressable_flicker: + name: Flicker Effect With Custom Values + update_interval: 16ms + intensity: 5% + type: GRBW + variant: SK6812 + method: esp32_rmt + num_leds: 5 + pin: 2 diff --git a/tests/components/neopixelbus/test.esp32-c3-ard.yaml b/tests/components/neopixelbus/test.esp32-c3-ard.yaml index de40949fd6..d2f9e1b707 100644 --- a/tests/components/neopixelbus/test.esp32-c3-ard.yaml +++ b/tests/components/neopixelbus/test.esp32-c3-ard.yaml @@ -1,17 +1 @@ -light: - - platform: neopixelbus - id: addr3 - name: Neopixelbus Light - gamma_correct: 2.8 - color_correct: [0.0, 0.0, 0.0, 0.0] - default_transition_length: 10s - effects: - - addressable_flicker: - name: Flicker Effect With Custom Values - update_interval: 16ms - intensity: 5% - type: GRBW - variant: SK6812 - method: esp32_rmt - num_leds: 5 - pin: 2 +<<: !include common_rmt.yaml diff --git a/tests/components/neopixelbus/test.esp32-s3-ard.yaml b/tests/components/neopixelbus/test.esp32-s3-ard.yaml index 2d42b51933..d2f9e1b707 100644 --- a/tests/components/neopixelbus/test.esp32-s3-ard.yaml +++ b/tests/components/neopixelbus/test.esp32-s3-ard.yaml @@ -1 +1 @@ -<<: !include common_i2s.yaml +<<: !include common_rmt.yaml