Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to use one click , double , holed click for automation esphome
#2
just use AUTOMATION by different mode:

on_click (Optional, Automation): An automation to perform when the button is held down for a specified period of time. See on_click.

on_double_click (Optional, Automation): An automation to perform when the button is pressed twice for specified periods of time. See on_double_click.

on_multi_click (Optional, Automation): An automation to perform when the button is pressed in a specific sequence. See on_multi_click.

here have details: https://esphome.io/components/binary_sensor/index.html
Reply


Messages In This Thread
RE: how to use one click , double , holed click for automation esphome - by admin - 06-03-2023, 12:36 AM

Forum Jump:


Users browsing this thread:
1 Guest(s)