Possible to lock button or activate on long press only?

I have some boolean_helpers and scripts to shut down / sleep / wake up my computers in frontend and I sometimes click on them by mistake as I scroll on my phone / tablet. Any way to lock them or make them respond to long press only? Preferably something that’d work with autogenerated frontend.


You are not going to be able to do this with the auto generated dashboard. You will have to take control. Check out the custom restriction card.


Thanks, that’s what I was looking for. I was searching for “lock” and came up empty.

1 Like