Routine corruption

I believe I’m having the same issue. My lights are turning off at very random times. I check the events history and I see automations firing when they are not supposed to. I re-saved and turn on/off the automation, waiting to see if it happens again. If it does, I may need to delete the automation & recreate it