mirror of
https://github.com/esphome/esphome.git
synced 2024-11-23 23:48:11 +01:00
17 lines
352 B
YAML
17 lines
352 B
YAML
|
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
|