This libe is only needed if you want to use automations from the UI or if you want to split automations in a separate file.
You could also have an automation directly in configuration.yaml, automation are a built-in integration, you don’t need to install anything or add some integration to use it.
You only need to ‘add’ that if you deleted it in the first place. A brand new installation of homeassistant already has that line in configuration.yaml as standard. The standard being…
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
# Text to speech
tts:
- platform: google_translate
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
Thanks for the clarification.
My aim is to have a configuration.yaml as much clean as possible.
So I thought that default_config let me avoid using automation line. The same as I can avoid e.g. input_bolean line.