lovelace-mushroom icon indicating copy to clipboard operation
lovelace-mushroom copied to clipboard

[Feature]: Confirmation for door lock mushroom card

Open oetken opened this issue 2 years ago • 1 comments

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

oetken avatar Jul 14 '22 09:07 oetken

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

briis avatar Jul 18 '22 07:07 briis

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.

thor9898 avatar Mar 11 '23 14:03 thor9898

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.

AndLindemann avatar Jun 21 '23 04:06 AndLindemann