Automation is in automations.yaml and it has an ID but still cannot be managed in UI even after migration

Hi everybody,

I once tried to move ONE of my automations out of the main file, but then I decided to move it back, end of story. Later, I updated HA to the latest patch, and now I see half of my automations that never left the main file are marked like this:

This automation cannot be edited from the UI because it is not stored in the automations.yaml file, or doesn't have an ID.

I’ve migrated a problematic automation, and then I see this message again. I’ve migrated again and again, so my file now has 2-3 identical automations with all different IDs, and still this message appears.

What is going on?

All my automations are only created from UI and never changed from the automations.yaml to anywhere else, except for one (not from the screenshot)

Hello Ole D,

You will probably have to edit automations.yaml with a file editor manually, or restore a back-up if that is not something you can do.

Yes, nothing helped but the backup of the conf files.