Would be nice if it were possible to add an optional config setting to switches whereby you must confirm turning on/off when pressing in the HA dashboard. Potentially configured via lovelace rather than on the switch itself.
There have been a couple of (silly) occasions where i have accidentally flipped the wrong switch in the dash for one or two devices and not noticed i’d hit it for a little while (for example… accidentally hitting the switch for the power socket connected to the washing machine half way through a cycle…)
Agreed - this would be very handy. Interesting to see there’s something similar for Lovelace, but HADashboard on a tablet is where this would be very useful.
I guess one option, if you can cope with a short delay, would be to use an input_boolean.
You could switch it on with a dashboard button, at which point it would turn red, but you could change your mind and switch it off again quickly. Only if you left it on for, say, 10 seconds, would an automation kick in that actually performed the action.
Mmm. I might do something like that myself. Not as good as asking for proper confirmation, but still…