mirror of
https://github.com/esphome/esphome.git
synced 2025-10-29 22:24:26 +00:00
Add some components to the new testing framework (S part 1) (#6224)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
16
tests/components/sigma_delta_output/test.esp32-c3-idf.yaml
Normal file
16
tests/components/sigma_delta_output/test.esp32-c3-idf.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
output:
|
||||
- platform: sigma_delta_output
|
||||
id: sddac
|
||||
pin: 4
|
||||
turn_on_action:
|
||||
then:
|
||||
- logger.log: "Turned on"
|
||||
turn_off_action:
|
||||
then:
|
||||
- logger.log: "Turned off"
|
||||
state_change_action:
|
||||
then:
|
||||
- logger.log:
|
||||
format: "Changed state: %d"
|
||||
args: ["state"]
|
||||
update_interval: 60s
|
||||
16
tests/components/sigma_delta_output/test.esp32-c3.yaml
Normal file
16
tests/components/sigma_delta_output/test.esp32-c3.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
output:
|
||||
- platform: sigma_delta_output
|
||||
id: sddac
|
||||
pin: 4
|
||||
turn_on_action:
|
||||
then:
|
||||
- logger.log: "Turned on"
|
||||
turn_off_action:
|
||||
then:
|
||||
- logger.log: "Turned off"
|
||||
state_change_action:
|
||||
then:
|
||||
- logger.log:
|
||||
format: "Changed state: %d"
|
||||
args: ["state"]
|
||||
update_interval: 60s
|
||||
16
tests/components/sigma_delta_output/test.esp32-idf.yaml
Normal file
16
tests/components/sigma_delta_output/test.esp32-idf.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
output:
|
||||
- platform: sigma_delta_output
|
||||
id: sddac
|
||||
pin: 4
|
||||
turn_on_action:
|
||||
then:
|
||||
- logger.log: "Turned on"
|
||||
turn_off_action:
|
||||
then:
|
||||
- logger.log: "Turned off"
|
||||
state_change_action:
|
||||
then:
|
||||
- logger.log:
|
||||
format: "Changed state: %d"
|
||||
args: ["state"]
|
||||
update_interval: 60s
|
||||
16
tests/components/sigma_delta_output/test.esp32.yaml
Normal file
16
tests/components/sigma_delta_output/test.esp32.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
output:
|
||||
- platform: sigma_delta_output
|
||||
id: sddac
|
||||
pin: 4
|
||||
turn_on_action:
|
||||
then:
|
||||
- logger.log: "Turned on"
|
||||
turn_off_action:
|
||||
then:
|
||||
- logger.log: "Turned off"
|
||||
state_change_action:
|
||||
then:
|
||||
- logger.log:
|
||||
format: "Changed state: %d"
|
||||
args: ["state"]
|
||||
update_interval: 60s
|
||||
16
tests/components/sigma_delta_output/test.esp8266.yaml
Normal file
16
tests/components/sigma_delta_output/test.esp8266.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
output:
|
||||
- platform: sigma_delta_output
|
||||
id: sddac
|
||||
pin: 4
|
||||
turn_on_action:
|
||||
then:
|
||||
- logger.log: "Turned on"
|
||||
turn_off_action:
|
||||
then:
|
||||
- logger.log: "Turned off"
|
||||
state_change_action:
|
||||
then:
|
||||
- logger.log:
|
||||
format: "Changed state: %d"
|
||||
args: ["state"]
|
||||
update_interval: 60s
|
||||
16
tests/components/sigma_delta_output/test.rp2040.yaml
Normal file
16
tests/components/sigma_delta_output/test.rp2040.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
output:
|
||||
- platform: sigma_delta_output
|
||||
id: sddac
|
||||
pin: 4
|
||||
turn_on_action:
|
||||
then:
|
||||
- logger.log: "Turned on"
|
||||
turn_off_action:
|
||||
then:
|
||||
- logger.log: "Turned off"
|
||||
state_change_action:
|
||||
then:
|
||||
- logger.log:
|
||||
format: "Changed state: %d"
|
||||
args: ["state"]
|
||||
update_interval: 60s
|
||||
Reference in New Issue
Block a user