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!
1 Like
PickOne
2
Nobody used confirmation for switch slider? ![:frowning: :frowning:](https://community.home-assistant.io/images/emoji/twitter/frowning.png?v=9)
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?
2 Likes