piitaya / lovelace-mushroom

Build a beautiful Home Assistant dashboard easily
Apache License 2.0
3.32k stars 314 forks source link

[Feature]: Confirmation for door lock mushroom card #610

Open oetken opened 2 years ago

oetken commented 2 years ago

Is your feature request related to a problem?

When using hassio from the smartphone I sometimes accidentally tap a button. For stuff like door locks I always use confirmation dialog to make sure this is not happening.

Describe the solution you'd like

A new option to require a confirmation when unlocking/opening would be great to avoid accidental unlocking.

Describe alternatives you've considered

I tried the following without success:

type: custom:mushroom-lock-card
entity: lock.<XXX>
tap_action:
  action: default  # or toggle
  confirmation:
    text: Are you sure you?

Additional context

No response

briis commented 2 years ago

This has my full support. Would also be great if the same could be done for the Alarm Card.

thor9898 commented 1 year ago

Totally agree. At least i'd be happy if we had an option to not show the unlatch button when unlocked, because im always afraid of misclicking when out. Im happy to unlatch the door with a tap or double tap and a confirmation message.

AndLindemann commented 1 year ago

Yes, I wouldn't use the lock card without an additional confirmation on unlatch. That's just something you can't undo if you click it accidentally from remote. An additional confirmation dialog would be very much appreciated.