Skip to content

Github Config Sync

Home Assistant Hassfest CI Release Built with AI

A Home Assistant add-on for syncing your config folder to GitHub. This is a config sync tool, not a backup tool.

Keep the repository private

Private repositories are strongly recommended. Use caution with public repos and any two-way sync tools that also write to your Home Assistant config tree — they can cause local config loss or unexpected deletions.

What this add-on does

  • GitHub OAuth Device Flow login (approve on github.com)
  • Create a new repository or use an existing one
  • Sync your Home Assistant config folder to GitHub
  • Three sync modes: Blacklist (default — nothing to select), Whitelist (only what you pick, with the security checks on) and Override (only what you pick, with them off)
  • Auto-generate a Home Assistant-friendly .gitignore
  • Customizable ignore patterns
  • Manual sync button in Home Assistant
  • Scheduled syncs (day-of-week + time-of-day selection)
  • Optional dated GitHub release creation before each sync
  • Clean Upload — force full re-upload and remove remote extras
  • Clean Repo — delete only files missing from your local config, leaving the rest untouched
  • Reset Repo — wipe the remote repository, replace its whole history, and restore the starter files
  • Repository picker with safety checks to avoid accidental overwrites
  • One-shot migration that moves an existing repository onto the config/ layout
  • Sensitive-file scanning and reporting

Where to go next

Topic Page
Install the add-on and first sync Installation
Ignore list, clean actions and safety notes Syncing
Architecture, security and release workflow Project guide
Version history Changelog