I’m looking at separating my automations out to make it easier to update and edit, I’ve successfully adding the following to my configuration.yaml
automation: !include_dir_merge_list automation/
Which adds the following files into HA.
/automation
automations.yaml
automations2.yaml
These automation files are exposed correctly and work but I only get automations.yaml in the HA UI editor. Is there anyway to get all the files that are added into the automations folder added to ha UI editor?
Ok turns out the files within the automation folder can be included, I just didn’t have any id’s set for the items in the second file. They are now showing in the HA editor UI… but now non of the files can be edited in the UI, it just shows a blank page once clicked.
I had the issue fixed by recombining the files in the automation folder to automations.yaml and adding the id values. Now all automations are editable and visible in the UI
Thanks for the tip, doesn’t this however remove the purpose of having an automation folder and keeping the files separate? Isn’t it just reverting back to a single automation.yaml file?
Yes thats correct, but the fact that I can edit the automations in the UI now makes the need for separated files unnecessary. At least only for the automations…
PS: Don’t forget the extra s in automations.yaml (this was my mistake the seccond try)