# 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/
.storage

# keep
!.gitignore
!.HA_VERSION