Contents

Home Assistant Tip Split Automation Yaml Into Multiple Files

Contents

Home Assistant automation file

I recently started adding more and more automation into my Home Assistant *automation.yaml config file. One thing I’ve realized is that the file grows quickly and it get difficult to track your automation.

A quick and easy solution is to have multiple files, each containing a different automation YAML. I have a YAML file for my door automation, and another for my reminders.

Home Assistant

In you configuration.yaml file change the automation attribute to :

automation: !include_dir_merge_list automation/

this will merge all the yaml files in the automation directory