mirror of
https://github.com/esphome/esphome.git
synced 2025-09-01 10:52:19 +01:00
Add some components to the new testing framework (C) (#6174)
This commit is contained in:
16
tests/components/cwww/test.esp32-c3-idf.yaml
Normal file
16
tests/components/cwww/test.esp32-c3-idf.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
output:
|
||||
- platform: ledc
|
||||
id: light_output_1
|
||||
pin: 1
|
||||
- platform: ledc
|
||||
id: light_output_2
|
||||
pin: 2
|
||||
|
||||
light:
|
||||
- platform: cwww
|
||||
name: CWWW Light
|
||||
cold_white: light_output_1
|
||||
warm_white: light_output_2
|
||||
cold_white_color_temperature: 153 mireds
|
||||
warm_white_color_temperature: 500 mireds
|
||||
constant_brightness: true
|
16
tests/components/cwww/test.esp32-c3.yaml
Normal file
16
tests/components/cwww/test.esp32-c3.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
output:
|
||||
- platform: ledc
|
||||
id: light_output_1
|
||||
pin: 1
|
||||
- platform: ledc
|
||||
id: light_output_2
|
||||
pin: 2
|
||||
|
||||
light:
|
||||
- platform: cwww
|
||||
name: CWWW Light
|
||||
cold_white: light_output_1
|
||||
warm_white: light_output_2
|
||||
cold_white_color_temperature: 153 mireds
|
||||
warm_white_color_temperature: 500 mireds
|
||||
constant_brightness: true
|
16
tests/components/cwww/test.esp32-idf.yaml
Normal file
16
tests/components/cwww/test.esp32-idf.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
output:
|
||||
- platform: ledc
|
||||
id: light_output_1
|
||||
pin: 12
|
||||
- platform: ledc
|
||||
id: light_output_2
|
||||
pin: 13
|
||||
|
||||
light:
|
||||
- platform: cwww
|
||||
name: CWWW Light
|
||||
cold_white: light_output_1
|
||||
warm_white: light_output_2
|
||||
cold_white_color_temperature: 153 mireds
|
||||
warm_white_color_temperature: 500 mireds
|
||||
constant_brightness: true
|
16
tests/components/cwww/test.esp32.yaml
Normal file
16
tests/components/cwww/test.esp32.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
output:
|
||||
- platform: ledc
|
||||
id: light_output_1
|
||||
pin: 12
|
||||
- platform: ledc
|
||||
id: light_output_2
|
||||
pin: 13
|
||||
|
||||
light:
|
||||
- platform: cwww
|
||||
name: CWWW Light
|
||||
cold_white: light_output_1
|
||||
warm_white: light_output_2
|
||||
cold_white_color_temperature: 153 mireds
|
||||
warm_white_color_temperature: 500 mireds
|
||||
constant_brightness: true
|
16
tests/components/cwww/test.esp8266.yaml
Normal file
16
tests/components/cwww/test.esp8266.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
output:
|
||||
- platform: esp8266_pwm
|
||||
id: light_output_1
|
||||
pin: 12
|
||||
- platform: esp8266_pwm
|
||||
id: light_output_2
|
||||
pin: 13
|
||||
|
||||
light:
|
||||
- platform: cwww
|
||||
name: CWWW Light
|
||||
cold_white: light_output_1
|
||||
warm_white: light_output_2
|
||||
cold_white_color_temperature: 153 mireds
|
||||
warm_white_color_temperature: 500 mireds
|
||||
constant_brightness: true
|
16
tests/components/cwww/test.rp2040.yaml
Normal file
16
tests/components/cwww/test.rp2040.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
output:
|
||||
- platform: rp2040_pwm
|
||||
id: light_output_1
|
||||
pin: 12
|
||||
- platform: rp2040_pwm
|
||||
id: light_output_2
|
||||
pin: 13
|
||||
|
||||
light:
|
||||
- platform: cwww
|
||||
name: CWWW Light
|
||||
cold_white: light_output_1
|
||||
warm_white: light_output_2
|
||||
cold_white_color_temperature: 153 mireds
|
||||
warm_white_color_temperature: 500 mireds
|
||||
constant_brightness: true
|
Reference in New Issue
Block a user