Skip to content

Instantly share code, notes, and snippets.

View galligan's full-sized avatar
🚀
hiring

Matt Galligan galligan

🚀
hiring
View GitHub Profile
@AkdM
AkdM / .gitignore
Last active June 21, 2024 11:50
Daily backup Home Assistant configuration into a git repository
# You can whitelist files/folders with !, those will not be ignored.
# Everything that starts with a / are for root elements
# ignore
/custom_components/
/zigbee2mqtt/log
/zigbee2mqtt/state.json
/home-assistant_v2.* # Exclude Home Assistant history-related database. Make sure to enable git LFS if you don't exclude that, since those files can go easily over 100MB
/home-assistant.log*
/.ssh/