mirror of
https://github.com/esphome/esphome.git
synced 2025-09-01 19:02:18 +01:00
[CI] Consolidate some tests (S) (#8206)
This commit is contained in:
12
tests/components/spi_led_strip/common.yaml
Normal file
12
tests/components/spi_led_strip/common.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
spi:
|
||||
- id: spi_spi_led_strip
|
||||
clk_pin: ${clk_pin}
|
||||
mosi_pin: ${mosi_pin}
|
||||
|
||||
light:
|
||||
- platform: spi_led_strip
|
||||
num_leds: 4
|
||||
color_correct: [80%, 60%, 100%]
|
||||
id: rgb_led
|
||||
name: RGB LED
|
||||
data_rate: 8MHz
|
@@ -1,13 +1,5 @@
|
||||
spi:
|
||||
- id: spi_spi_led_strip
|
||||
clk_pin: 16
|
||||
mosi_pin: 17
|
||||
miso_pin: 15
|
||||
substitutions:
|
||||
clk_pin: GPIO16
|
||||
mosi_pin: GPIO17
|
||||
|
||||
light:
|
||||
- platform: spi_led_strip
|
||||
num_leds: 4
|
||||
color_correct: [80%, 60%, 100%]
|
||||
id: rgb_led
|
||||
name: "RGB LED"
|
||||
data_rate: 8MHz
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,13 +1,5 @@
|
||||
spi:
|
||||
- id: spi_spi_led_strip
|
||||
clk_pin: 6
|
||||
mosi_pin: 7
|
||||
miso_pin: 5
|
||||
substitutions:
|
||||
clk_pin: GPIO6
|
||||
mosi_pin: GPIO7
|
||||
|
||||
light:
|
||||
- platform: spi_led_strip
|
||||
num_leds: 4
|
||||
color_correct: [80%, 60%, 100%]
|
||||
id: rgb_led
|
||||
name: "RGB LED"
|
||||
data_rate: 8MHz
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,13 +1,5 @@
|
||||
spi:
|
||||
- id: spi_spi_led_strip
|
||||
clk_pin: 6
|
||||
mosi_pin: 7
|
||||
miso_pin: 5
|
||||
substitutions:
|
||||
clk_pin: GPIO6
|
||||
mosi_pin: GPIO7
|
||||
|
||||
light:
|
||||
- platform: spi_led_strip
|
||||
num_leds: 4
|
||||
color_correct: [80%, 60%, 100%]
|
||||
id: rgb_led
|
||||
name: "RGB LED"
|
||||
data_rate: 8MHz
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,13 +1,5 @@
|
||||
spi:
|
||||
- id: spi_spi_led_strip
|
||||
clk_pin: 16
|
||||
mosi_pin: 17
|
||||
miso_pin: 15
|
||||
substitutions:
|
||||
clk_pin: GPIO16
|
||||
mosi_pin: GPIO17
|
||||
|
||||
light:
|
||||
- platform: spi_led_strip
|
||||
num_leds: 4
|
||||
color_correct: [80%, 60%, 100%]
|
||||
id: rgb_led
|
||||
name: "RGB LED"
|
||||
data_rate: 8MHz
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,13 +1,5 @@
|
||||
spi:
|
||||
- id: spi_spi_led_strip
|
||||
clk_pin: 14
|
||||
mosi_pin: 13
|
||||
miso_pin: 12
|
||||
substitutions:
|
||||
clk_pin: GPIO14
|
||||
mosi_pin: GPIO13
|
||||
|
||||
light:
|
||||
- platform: spi_led_strip
|
||||
num_leds: 4
|
||||
color_correct: [80%, 60%, 100%]
|
||||
id: rgb_led
|
||||
name: "RGB LED"
|
||||
data_rate: 8MHz
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,13 +1,5 @@
|
||||
spi:
|
||||
- id: spi_spi_led_strip
|
||||
clk_pin: 2
|
||||
mosi_pin: 3
|
||||
miso_pin: 4
|
||||
substitutions:
|
||||
clk_pin: GPIO2
|
||||
mosi_pin: GPIO3
|
||||
|
||||
light:
|
||||
- platform: spi_led_strip
|
||||
num_leds: 4
|
||||
color_correct: [80%, 60%, 100%]
|
||||
id: rgb_led
|
||||
name: "RGB LED"
|
||||
data_rate: 8MHz
|
||||
<<: !include common.yaml
|
||||
|
Reference in New Issue
Block a user