PickOne
1
Hi guys!
I have managed to use confirmation dialog for a button in lovelace, like this
type: button
tap_action:
action: toggle
confirmation:
text: Are you sure you want to do it?
entity: switch.sonoff_computer_humidity
Now, I want to know how to add a confimation dialog for a swtich too, can someone please help me with this? I have this card
type: entities
entities:
- entity: switch.sonoff_computer_humidity
Thank you in advance!
2 Likes
PickOne
2
Nobody used confirmation for switch slider?
spacegaier
(Philip Allgaier)
3
That is not yet supported by the standard frontend, although I agree we should add that.
In the meantime there are custom cards that can help to bridge the gap:
1 Like
Yes, I started to use this addon, it helps but it is not 100% what I wanted. Thank you!
spacegaier
(Philip Allgaier)
5
FYI: I started a design discussion on how to handle the configuration for that, in case someone wants to chime in:
2 Likes
elik745i
(El Nur)
6
any update for switch confirmation popup?
3 Likes
Same question here — I have a few power switches I’d like to require confirmation on. Workarounds are just a little annoying.
pspot2
(Pspot2)
8
This thread doesn’t seem to be a feature request, but I’d love to vote for this one also.