Automation triggered that does not exist? *SOLVED*

When I press a switch in my house it toggles lights as I want. I however want to change this behaviour (years later) and it seems that the automation that it triggers does not exist!? I noticed all other automations in the logbook are blue, this one is in white text. When I search for it in the automations view it does not come up. Anyone has a clue on what’s going on here!?
Thank in advance!


Only automations that are in /config/automation.yaml are editable. Also automations need unique ids to be editable. If you created this automation years ago (pre-UI) then one or both of these conditions may not be met. More discussion on this topic is available here:

Thank you for your reply. I might have exaggerated with my years. I think it is about one year ago. I did everything in the UI as I am a terrible programmer.
I searched for the woon_spot_toggle in my automations.yaml but this shows no result.

SOLVED
ChatGPT Told me that I could also check for automations in the .Storage folder in the core.entity_registry file. I found the automation and deleted it. Now it is finally gone and I can create the new one in the UI again. :slight_smile: