My configuration.yaml has a few entries with !include file.yaml after them (e.g. automation: !include automation.yaml).
Is it safe to remove those lines with !include after them now that all those are “built in” and included in default_config or will HA somehow lose my automations and scenes?
Yup. But it occured a couple of times were new features were added and I missed them. I got tired of trying to maintain the full list manually just so I could exclude a single feature so I’ve given in and just added default_config.
Now I’m wondering if I still need the old entries with !include after them or if default_config somehow accounts for this?
I believe…if I’m not mistaken…that the last time I setup a default installation the includes for the automations and scripts were explicitly there even with default_config.
You can try it and see.
The worst case is that it won’t work and you will need to re-add those lines. The code stored in the yaml files shouldn’t be affected. If it doesnt work once you put them back everything should back again.