mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 03:12:20 +01:00
Consolidate test files where all tests are identical (#6690)
This commit is contained in:
16
tests/components/sigma_delta_output/common.yaml
Normal file
16
tests/components/sigma_delta_output/common.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
|
@@ -1,16 +1 @@
|
||||
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
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,16 +1 @@
|
||||
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
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,16 +1 @@
|
||||
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
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,16 +1 @@
|
||||
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
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,16 +1 @@
|
||||
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
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,16 +1 @@
|
||||
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
|
||||
<<: !include common.yaml
|
||||
|
Reference in New Issue
Block a user