Replies: 1 comment
|
another option is to show is the gang switch intead of button binary_sensor:
- platform: gpio
id: in1
pin:
pcf8574: in_hub1
number: 7
mode: INPUT
inverted: True
filters:
- delayed_on: 3ms
- delayed_off: 3ms
on_press:
then:
- switch.turn_on: output1
on_release:
then:
- switch.turn_off: output1 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
For people not so versed in the esphome ecosystem it would be beneficial to add yaml examples such as (but not limited to):
This can be added to readme and/or wiki
All reactions