Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
lesson32 - set button work for latch,inching,momentary, Interlocking work mode by ESP
#1
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]


.txt   KC868-E16S-ESPHome-Config-buttons-work-mode.txt (Size: 6.36 KB / Downloads: 350)
Reply


Messages In This Thread
lesson32 - set button work for latch,inching,momentary, Interlocking work mode by ESP - by admin - 06-17-2022, 01:23 AM

Forum Jump:


Users browsing this thread:
1 Guest(s)