mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 03:12:20 +01:00
Add some components to the new testing framework (O) (#6211)
This commit is contained in:
13
tests/components/output/test.esp32-c3-idf.yaml
Normal file
13
tests/components/output/test.esp32-c3-idf.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- output.turn_off: light_output_1
|
||||
- output.turn_on: light_output_1
|
||||
- output.set_level:
|
||||
id: light_output_1
|
||||
level: 50%
|
||||
|
||||
output:
|
||||
- platform: ledc
|
||||
id: light_output_1
|
||||
pin: 1
|
13
tests/components/output/test.esp32-c3.yaml
Normal file
13
tests/components/output/test.esp32-c3.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- output.turn_off: light_output_1
|
||||
- output.turn_on: light_output_1
|
||||
- output.set_level:
|
||||
id: light_output_1
|
||||
level: 50%
|
||||
|
||||
output:
|
||||
- platform: ledc
|
||||
id: light_output_1
|
||||
pin: 1
|
13
tests/components/output/test.esp32-idf.yaml
Normal file
13
tests/components/output/test.esp32-idf.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- output.turn_off: light_output_1
|
||||
- output.turn_on: light_output_1
|
||||
- output.set_level:
|
||||
id: light_output_1
|
||||
level: 50%
|
||||
|
||||
output:
|
||||
- platform: ledc
|
||||
id: light_output_1
|
||||
pin: 12
|
13
tests/components/output/test.esp32.yaml
Normal file
13
tests/components/output/test.esp32.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- output.turn_off: light_output_1
|
||||
- output.turn_on: light_output_1
|
||||
- output.set_level:
|
||||
id: light_output_1
|
||||
level: 50%
|
||||
|
||||
output:
|
||||
- platform: ledc
|
||||
id: light_output_1
|
||||
pin: 12
|
13
tests/components/output/test.esp8266.yaml
Normal file
13
tests/components/output/test.esp8266.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- output.turn_off: light_output_1
|
||||
- output.turn_on: light_output_1
|
||||
- output.set_level:
|
||||
id: light_output_1
|
||||
level: 50%
|
||||
|
||||
output:
|
||||
- platform: esp8266_pwm
|
||||
id: light_output_1
|
||||
pin: 12
|
13
tests/components/output/test.rp2040.yaml
Normal file
13
tests/components/output/test.rp2040.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- output.turn_off: light_output_1
|
||||
- output.turn_on: light_output_1
|
||||
- output.set_level:
|
||||
id: light_output_1
|
||||
level: 50%
|
||||
|
||||
output:
|
||||
- platform: rp2040_pwm
|
||||
id: light_output_1
|
||||
pin: 12
|
Reference in New Issue
Block a user