A community member has shared a small Home Assistant app (add-on) called ESPHome Git Push. It tackles a gap that matters to anyone running custom ESPHome devices: the version history the ESPHome Device Builder keeps lives only inside Home Assistant. Here is what it does and what we would check before trusting it.
What happened
According to the forum post, since ESPHome 2026.6 the Device Builder keeps a local git history of /config/esphome. That is useful, but if the Home Assistant machine dies, the only way to get those YAML files back is restoring a full HA backup, and older versions are gone. The author built this app after one of their own custom firmware projects went through dozens of YAML versions.
The author says the app does the following:
- Pushes every save in the Device Builder to a private GitHub repository in about 15 seconds.
- Picks up changes made outside the Builder every hour.
- Uploads secrets.yaml only in encrypted form (secrets.yaml.gpg, AES256, with a password you choose).
- Restores everything, with full history, onto a fresh empty install, and decrypts the secrets.
- Retries failed pushes, with an optional notice to your phone or PC.
- Never rewrites history and never force-pushes.
Access is approved once with a code through a small GitHub App limited to the contents of the repository you pick, so there is no token to store. The project page also mentions an SSH deploy key as an alternative. It is GPL-3.0 licensed.
What it means for an installed system
The requirements are the first thing to check. The project says it needs Home Assistant OS or Supervised, and ESPHome Device Builder 2026.6 or later, because it relies on the version history feature. If you run Home Assistant Container or Core, or an older ESPHome, this is not for you as written.
Install is by adding the repository under Settings > Apps > App store > Repositories, using the project’s GitHub address, then installing ESPHome Git Push. The project points to its DOCS.md for setup, and we would read that before installing.
Cautions
- It is young. The author says it has been tested on one setup (HA OS, amd64), including a real restore, and asks for testers. The repository shows about 10 commits and one star at the time of the pages we read. Treat it as an early project.
- Your secrets leave the house. Even encrypted, secrets.yaml goes to a third-party service. The strength of that protection depends on the password you choose and where you keep it. Lose the password and the encrypted file is useless.
- Your YAML goes there too. Keep the repository private and think about what your device configs reveal, such as network names, device names and layout.
- It does not replace a full backup. It covers ESPHome YAML history only. Your Home Assistant backups still matter for everything else.
- Test a restore. A backup you have never restored is a hope. If you try this, do a restore on a spare install before you need it.
Why it matters
ESPHome is a build-your-own platform: you own the configuration, the updates and the hardware. That is its strength, since it is local and open source, but it also means the YAML is the only recipe for a device that may exist nowhere else. For custom firmware, an off-machine copy of that history is cheap insurance. If you already push your config to git by another method, you may not need this. The author themselves asks whether a better approach exists. For everyone else, it is worth watching as it matures, and worth testing if you are comfortable reporting issues on GitHub.
