The below is erroring and not allowing HA to start. When I eliminate all but the first automation it works just fine but when I add a second, third etc. automation I get errors on
docker start [image ID].
Here is the automation section of the configuration.yaml in reference;
I think that the best way to set up HA is to move everything to its separate config files, and only leave the include line in the main configuration.yaml.
So an example:
configuration.yaml:
Pay attention that the alias, trigger, and action parts ARE 2 SPACES IDENTED, and everything under them are +2 two spaces idented.
Ok, this automation rule does not make any sense, I know, but you get the idea how to set up your files structures.
The file and directory names are not restricted in any way, name them as you like, but be consistent, so two week later you still know what you did before.
There’s actually a way to do this without manually including individual things in my_automations.yaml. Try automation: !include_dir_merge_list automation_directory_name_it_as_you_like_under_the_main_ha_directory in configuration.yaml instead.