mirror of
https://github.com/esphome/esphome.git
synced 2025-02-25 04:22:30 +01:00
[kp18058] add yaml tests
This commit is contained in:
parent
4840941674
commit
80ac639f3f
7 changed files with 33 additions and 0 deletions
27
tests/components/kp18058/common.yaml
Normal file
27
tests/components/kp18058/common.yaml
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
kp18058:
|
||||||
|
data_pin: 8
|
||||||
|
clock_pin: 7
|
||||||
|
cw_current: 8
|
||||||
|
rgb_current: 5
|
||||||
|
|
||||||
|
output:
|
||||||
|
- platform: kp18058
|
||||||
|
id: output_green
|
||||||
|
max_power: 75%
|
||||||
|
channel: 1
|
||||||
|
- platform: kp18058
|
||||||
|
id: output_blue
|
||||||
|
max_power: 90%
|
||||||
|
channel: 2
|
||||||
|
- platform: kp18058
|
||||||
|
id: output_red
|
||||||
|
max_power: 90%
|
||||||
|
channel: 3
|
||||||
|
- platform: kp18058
|
||||||
|
id: output_warm
|
||||||
|
max_power: 75%
|
||||||
|
channel: 4
|
||||||
|
- platform: kp18058
|
||||||
|
id: output_cold
|
||||||
|
max_power: 75%
|
||||||
|
channel: 5
|
1
tests/components/kp18058/test.esp32-ard.yaml
Normal file
1
tests/components/kp18058/test.esp32-ard.yaml
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<<: !include common.yaml
|
1
tests/components/kp18058/test.esp32-c3-ard.yaml
Normal file
1
tests/components/kp18058/test.esp32-c3-ard.yaml
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<<: !include common.yaml
|
1
tests/components/kp18058/test.esp32-c3-idf.yaml
Normal file
1
tests/components/kp18058/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<<: !include common.yaml
|
1
tests/components/kp18058/test.esp32-idf.yaml
Normal file
1
tests/components/kp18058/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<<: !include common.yaml
|
1
tests/components/kp18058/test.esp8266-ard.yaml
Normal file
1
tests/components/kp18058/test.esp8266-ard.yaml
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<<: !include common.yaml
|
1
tests/components/kp18058/test.rp2040-ard.yaml
Normal file
1
tests/components/kp18058/test.rp2040-ard.yaml
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<<: !include common.yaml
|
Loading…
Add table
Reference in a new issue