"Are you sure?" - How to confirm an action on whatsapp

Hi HA community!
here’s a video showing how to get a confirmation whatsapp, that you need to answer to confirm an action on a switch:

the dashboard shown on the video is node-red’s add-on, here’s the flow used: "Are you sure?", confirm an action triggered on the Dashboard with whatsapp. Whin use case. (flow) - Node-RED

but you can do exactly the same with HA’s lovelace.

A good candidate for a week end project :smiley:

have fun!

Cool.

Not sure I can see a use case for it.
Even if the UI was replaced by an automation and the automation asks for your permission to run something I still struggle to find where this is actually useful.

But nice work on the concept! Perhaps something will come up in the future where this is useful

Use your imagination, guess this:
1.- you run an automation to reboot HA host every X weeks very late at night…
Maybe your HA is running on a shared host which also has a media server and you’re watching a movie very late at night - some times I watch a movie when I cannot sleep :slight_smile: - you may want to “cancel” an automation because tonight is not the right one to restart the system in the middle of the movie.

2.- your lovelace dashboard is accessible to your kids, you don’t want your kids to be able to switch off the plug that feeds your fridge.

No rocket science, I agree, but there are times when I want to be the only one in control… :wink:

Thanks for your feedback!

another use-case that might be of your interest (I confess I’ve read some of your posts on different threads): someone clicks on the HA console to access the HA Admin page and adjust the configuration… maybe you want to confirm -through a back-channel- that the one who has clicked there is you… this is really a side case and only for those interested on the security perspective, but still… really easy to implement with this approach.