mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 03:12:20 +01:00
Implement a slow sigma-delta modulation based output (#4132)
This commit is contained in:
@@ -1313,6 +1313,21 @@ output:
|
||||
return {s};
|
||||
outputs:
|
||||
- id: custom_binary
|
||||
- platform: sigma_delta_output
|
||||
id: sddac
|
||||
update_interval: 60s
|
||||
pin: D4
|
||||
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' ]
|
||||
- platform: custom
|
||||
type: float
|
||||
lambda: |-
|
||||
|
Reference in New Issue
Block a user