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 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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
Beta Was this translation helpful? Give feedback.
All reactions