Prevent automation to be turned off (solved)

Hi there!
I have an automation and want to prevent to turn it off. Kind of a lock for automation-switch in front end. It’s a security feature.
Is there already an easy solution? Any solution?

1 Like

Thank you for your proposal for a solution. It looks good an is exactly what I need. I’ve only little practice in FE editing or lovelace, so I’ve to study the documentation … :thinking:

Hell, works out of the box! Thank you again!