Automation cannot be edited nor deleted

Hello guys,

I have a problem with one automation I made some time ago. I don’t need it anymore but now I cannot edit it nor delete it. When I try to edit it I have error like this:

Only automations in automations.yaml are editable.

Well - it was made in editor and now cannot even edit it in editor. It’s not been made manually in any config file.

EDIT:

Also I didn’t found this automation in automations.yaml so I have no bloody idea where it is. I’ve never made any automation manually in any config file. This one for sure was made in editor. What’s more strange I’ve already deleted this automation once and it magically showed up again.

1 Like

In your config directory there should be an automations.yaml. Find your code and delete it manually, then reload automations.

1 Like

Yes - but as I wrote later this automation is not present in automations.yaml. Refresh your browser and see what I added later (maybe when you were writing your reply).

You could also try

Go to Developer Tools —> Services
Type purge in the field
Select service: recorder.purge_entities
Select the entity
Hit the execute button
Wait some seconds

11 Likes

No luck. Automation still there. I even restarted HA after this.

Emmm… false alarm.

I had open automations page waiting until this automation will gone. It didn’t but when I opened second window in browser this automation was already gone. When I refreshed original window in browser automation was also gone. So seems like it needed some browser refresh because of cache or something?

Anyway - works! :slight_smile: Thank you very much for help.