There are numerous examples of Home Assistant implementations stored in git repos.
I’d like to do the same with my configuration so that I can simply install from the repo every time I rebuild my HA server, which is quite often as I have a Development and Production version and I essentially want to use the same configuration files (configuration.yaml, automations.yaml, etc.) across two Home Assistant instances.
The problem is that the automation files contain device_ids, which vary from installation to installation and seems to be tripping me up. Similar with backups, I don’t seem to be able to move a backup from one machine to another without masses of issues.
I’m not sure if I’m getting too far into the installation process before deploying the git managed config files.
So the question is really: how do you use config files from a git repo with a fresh installation of Home Assistant?
If it makes any difference this is a supervised install on Debian Bookworm.
Thank you.