Change default location of automations.yaml

I want to move my automations into several files under a sub folder and then have

automation: !include_dir_merge_list automations/

in the main configuration.yaml to pick up all files in the automations folder. This works find but if I create a new automation in the frontend GUI it gets saved to config/automations.yaml

Is there anyway to change the default location so it saves to config/automations/automations.yaml or an alternative way to do the includes so it will include both the original file and the automations folder as well?

For the time being I have it working like this

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

I assume that will work ok but it would be nicer to have the default in the correct subfolder

2 Likes

Another solution could be (in case of linux) to create a symbolic link (ln) or to mount the config directory to a different location.

this is exactly why my automations did not save.
i have solved it too by including the folder and the file, but now i have to look in 2 locations. so i am too interested in a way to change the default location of automations.yaml