mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 03:12:20 +01:00
[CI] Consolidate some tests (B) (#8185)
This commit is contained in:
25
tests/components/bp5758d/common.yaml
Normal file
25
tests/components/bp5758d/common.yaml
Normal file
@@ -0,0 +1,25 @@
|
||||
bp5758d:
|
||||
clock_pin: ${clock_pin}
|
||||
data_pin: ${data_pin}
|
||||
|
||||
output:
|
||||
- platform: bp5758d
|
||||
id: bp5758d_red
|
||||
channel: 2
|
||||
current: 10
|
||||
- platform: bp5758d
|
||||
id: bp5758d_green
|
||||
channel: 3
|
||||
current: 10
|
||||
- platform: bp5758d
|
||||
id: bp5758d_blue
|
||||
channel: 1
|
||||
current: 10
|
||||
- platform: bp5758d
|
||||
id: bp5758d_coldwhite
|
||||
channel: 5
|
||||
current: 10
|
||||
- platform: bp5758d
|
||||
id: bp5758d_warmwhite
|
||||
channel: 4
|
||||
current: 10
|
@@ -1,25 +1,5 @@
|
||||
bp5758d:
|
||||
clock_pin: 16
|
||||
data_pin: 17
|
||||
substitutions:
|
||||
clock_pin: GPIO16
|
||||
data_pin: GPIO17
|
||||
|
||||
output:
|
||||
- platform: bp5758d
|
||||
id: bp5758d_red
|
||||
channel: 2
|
||||
current: 10
|
||||
- platform: bp5758d
|
||||
id: bp5758d_green
|
||||
channel: 3
|
||||
current: 10
|
||||
- platform: bp5758d
|
||||
id: bp5758d_blue
|
||||
channel: 1
|
||||
current: 10
|
||||
- platform: bp5758d
|
||||
id: bp5758d_coldwhite
|
||||
channel: 5
|
||||
current: 10
|
||||
- platform: bp5758d
|
||||
id: bp5758d_warmwhite
|
||||
channel: 4
|
||||
current: 10
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,25 +1,5 @@
|
||||
bp5758d:
|
||||
clock_pin: 5
|
||||
data_pin: 4
|
||||
substitutions:
|
||||
clock_pin: GPIO5
|
||||
data_pin: GPIO4
|
||||
|
||||
output:
|
||||
- platform: bp5758d
|
||||
id: bp5758d_red
|
||||
channel: 2
|
||||
current: 10
|
||||
- platform: bp5758d
|
||||
id: bp5758d_green
|
||||
channel: 3
|
||||
current: 10
|
||||
- platform: bp5758d
|
||||
id: bp5758d_blue
|
||||
channel: 1
|
||||
current: 10
|
||||
- platform: bp5758d
|
||||
id: bp5758d_coldwhite
|
||||
channel: 5
|
||||
current: 10
|
||||
- platform: bp5758d
|
||||
id: bp5758d_warmwhite
|
||||
channel: 4
|
||||
current: 10
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,25 +1,5 @@
|
||||
bp5758d:
|
||||
clock_pin: 5
|
||||
data_pin: 4
|
||||
substitutions:
|
||||
clock_pin: GPIO5
|
||||
data_pin: GPIO4
|
||||
|
||||
output:
|
||||
- platform: bp5758d
|
||||
id: bp5758d_red
|
||||
channel: 2
|
||||
current: 10
|
||||
- platform: bp5758d
|
||||
id: bp5758d_green
|
||||
channel: 3
|
||||
current: 10
|
||||
- platform: bp5758d
|
||||
id: bp5758d_blue
|
||||
channel: 1
|
||||
current: 10
|
||||
- platform: bp5758d
|
||||
id: bp5758d_coldwhite
|
||||
channel: 5
|
||||
current: 10
|
||||
- platform: bp5758d
|
||||
id: bp5758d_warmwhite
|
||||
channel: 4
|
||||
current: 10
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,25 +1,5 @@
|
||||
bp5758d:
|
||||
clock_pin: 16
|
||||
data_pin: 17
|
||||
substitutions:
|
||||
clock_pin: GPIO16
|
||||
data_pin: GPIO17
|
||||
|
||||
output:
|
||||
- platform: bp5758d
|
||||
id: bp5758d_red
|
||||
channel: 2
|
||||
current: 10
|
||||
- platform: bp5758d
|
||||
id: bp5758d_green
|
||||
channel: 3
|
||||
current: 10
|
||||
- platform: bp5758d
|
||||
id: bp5758d_blue
|
||||
channel: 1
|
||||
current: 10
|
||||
- platform: bp5758d
|
||||
id: bp5758d_coldwhite
|
||||
channel: 5
|
||||
current: 10
|
||||
- platform: bp5758d
|
||||
id: bp5758d_warmwhite
|
||||
channel: 4
|
||||
current: 10
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,25 +1,5 @@
|
||||
bp5758d:
|
||||
clock_pin: 5
|
||||
data_pin: 4
|
||||
substitutions:
|
||||
clock_pin: GPIO5
|
||||
data_pin: GPIO4
|
||||
|
||||
output:
|
||||
- platform: bp5758d
|
||||
id: bp5758d_red
|
||||
channel: 2
|
||||
current: 10
|
||||
- platform: bp5758d
|
||||
id: bp5758d_green
|
||||
channel: 3
|
||||
current: 10
|
||||
- platform: bp5758d
|
||||
id: bp5758d_blue
|
||||
channel: 1
|
||||
current: 10
|
||||
- platform: bp5758d
|
||||
id: bp5758d_coldwhite
|
||||
channel: 5
|
||||
current: 10
|
||||
- platform: bp5758d
|
||||
id: bp5758d_warmwhite
|
||||
channel: 4
|
||||
current: 10
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,25 +1,5 @@
|
||||
bp5758d:
|
||||
clock_pin: 5
|
||||
data_pin: 4
|
||||
substitutions:
|
||||
clock_pin: GPIO5
|
||||
data_pin: GPIO4
|
||||
|
||||
output:
|
||||
- platform: bp5758d
|
||||
id: bp5758d_red
|
||||
channel: 2
|
||||
current: 10
|
||||
- platform: bp5758d
|
||||
id: bp5758d_green
|
||||
channel: 3
|
||||
current: 10
|
||||
- platform: bp5758d
|
||||
id: bp5758d_blue
|
||||
channel: 1
|
||||
current: 10
|
||||
- platform: bp5758d
|
||||
id: bp5758d_coldwhite
|
||||
channel: 5
|
||||
current: 10
|
||||
- platform: bp5758d
|
||||
id: bp5758d_warmwhite
|
||||
channel: 4
|
||||
current: 10
|
||||
<<: !include common.yaml
|
||||
|
Reference in New Issue
Block a user