New automation setup failed on 2025.1.2

I recently encountered this issue in version 2025.12.2.

In my case, I have automations in a /config/automations folder, and in my configuration.yaml I include:

automation: !include_dir_merge_list automations/

I still kept an empty automations.yaml file in the /config directory which is where the automation that I created in the GUI saved itself.

To get home assistant to look in both locations, I updated the configuration.yaml to the following:

automation manual: !include automations.yaml
automation: !include_dir_merge_list automations/

Not sure if this is best practice, but it worked for me!

That’s always been required. Are you sure you didn’t modify your config accidentally ?

For anyone coming across this later… my scripts were in a file named script.yaml and my configuration was pointing to it correctly. Unfortunately, at some point HA now only inserts scripts into scripts.yaml! I merged the files and renamed it in my configuration file and all is working. I deleted the old script.yaml file.

same problem . any advice

Did you read the advice in the thread?

Thanks heaps for this clarification, I had this setup and chatGPT told me to remove it saying with a hybrid system new automations are saved in a .storage database and have had issues since.

Same issue for me. I checked everything suggested here but nothing. What I noticed is that the issue occurs when I use yaml editor from UI. The automation appears in the automations.yaml file but without the numeric ID. I tried to create a simple automation from UI (not yaml editor) and it is saved. Any hints?

I ended up fixing this problem. The YAML can pass the startup test but not include the things it needs for automation. My config.yaml was missing the line for autmoations below

script: !include scripts.yaml
scene: !include scenes.yaml
automation: !include automations.yaml

I added the third line and saved it, then reloaded and it was fine