Accidental button press gate open suggestion

Greetings,
i have a button card to open entrance gates and garage doors.
What i realise that when i give my parents to operate HASS they will press buttons by accident.
is there any posibility how to make some accidental touch prevention? Like lets say slide to open middlestep?

You have a “confirmation” option for the button card.

Example

    - type: button
      name: Restart HA
      icon: mdi:restart
      show_icon: true
      show_name: true
      tap_action:
        action: call-service
        service: homeassistant.stop
        confirmation:
          text: Are you sure you want to restart HA?
      hold_action:
        action: call-service
        service: shell_command.rebuild_ha
        confirmation:
          text: Are you sure you want to rebuild HA?
3 Likes

Thank you man! <3