piitaya / lovelace-mushroom

Build a beautiful Home Assistant dashboard easily
Apache License 2.0
3.75k stars 341 forks source link

[Feature]: add confirrmation option for action 'open door' #1311

Open mdurieux opened 11 months ago

mdurieux commented 11 months ago

Requirements

Is your feature request related to a problem?

would be nice to be aable tooo confirm the open door action iin tthe card

Describe the solution you'd like

add aa config (yaml) to enable a coonfirm dialog on lock actions

Describe alternatives you've considered

No response

Additional context

No response

txtasosxt commented 9 months ago

This is a serious issue for me too. If I'm away and I want to lock the door, I'm trying to be very precise not to press the Open button! A confirmation or a countdown popup that can cancel the "Open" would help a lot

adieball commented 5 months ago

+1 here. I'm scared to hell that I accedentially open the door due to "fat fingers syndrom"

jhemak commented 5 months ago

I believe you can accomplish your goal without any changes to Mushroom. Just edit the YAML for the card to add a confirmation prompt. For example:

tap_action:
  action: toggle
  confirmation:
    text: Are you sure you want to toggle the garage door?