Automations keep turning off

I am having issues where several of my critical automations keep turning off. When I try and toggle the button to turn them on again, they temporarily turn on (for 1-2 seconds) then slide back off again. I have spent days trying to figure out why its happening and cant get to the bottom of it. I have deleted and re-created them and still no luck. Sometime when I restart the server, they become ON again and stay on until I make an edit and then they switch off.

Any suggestions would be much appreciated.