I am cleaning up some unused automations, but all of my automations show this in the UI:
This automation cannot be edited from the UI, because it is not stored in the automations.yaml file, or doesn’t have an ID.
Yet, the automations are in the automations.yaml file and have an ID. I can manually delete them in automations.yaml then reload automations, but it appears that all of my automations now show this banner.
Do you have a messed up include file in configuration.yaml? automations have to be turned on either using default_config or with the automations: key there.
Isn’t check config automatic with a restart? I am pretty sure I did a restart after moving the automations.yaml file and removing the include line. But I tried again and definitely restarted Home Assistant and got the “Start Automating” page.
OK, made two automations.yaml files as above and all 220 of my automations are present.
I think what has changed is that in the past I would start editing in the UI by clicking on “Create new Automation” then going straight into “Edit in YAML”. I was always able to edit or modify my automations by clicking on the automation than “edit in YAML”. But now, I can’t. Now, I have to edit the automations.yaml file. This is new?
###########
Update
OK, thanks for the tips that got me back on track. My UI generated automations will go into config/automations.yaml and my manually coded automations are in config/automations and I added this line to my configuration.yaml: