home automation training -32-multi function button set by ESPHome
1. latch mode: Button1
on_press:
then:
– switch.toggle: e16s_output1
2. inching mode: Button2
on_press:
then:
– switch.turn_on: e16s_output2
on_release:
then:
– switch.turn_off: e16s_output2
3. momentary mode: Button3
on_turn_on:
– delay: 1000ms
– switch.turn_off: e16s_output3
4. interlocking mode: Button4-Button5
interlock: [e16s_output5]
interlock: [e16s_output4]
on_press:
then:
– switch.toggle: e16s_output1
2. inching mode: Button2
on_press:
then:
– switch.turn_on: e16s_output2
on_release:
then:
– switch.turn_off: e16s_output2
3. momentary mode: Button3
on_turn_on:
– delay: 1000ms
– switch.turn_off: e16s_output3
4. interlocking mode: Button4-Button5
interlock: [e16s_output5]
interlock: [e16s_output4]
YouTube: https://www.youtube.com/c/KinCony
Online Store: https://kincony.aliexpress.com