67 lines
1.0 KiB
Plaintext
67 lines
1.0 KiB
Plaintext
# Ignore everything by default
|
|
*
|
|
|
|
# Whitelist config files
|
|
!*.yaml
|
|
!*.yml
|
|
!.gitignore
|
|
!*.md
|
|
!*.sh
|
|
!*.js*
|
|
!*.txt*
|
|
!*.json*
|
|
!*.ui.yaml
|
|
|
|
# Whitelist subdirectory yaml files
|
|
!*/*.yaml
|
|
!*/*.yml
|
|
|
|
# Whitelist specific folders (uncomment as needed)
|
|
!automations/
|
|
!scripts/
|
|
!blueprints/
|
|
!esphome/
|
|
!esphome/ha-remote/
|
|
!esphome/ha-remote/components/
|
|
!esphome/ha-remote/components/**
|
|
!custom_components/
|
|
# !packages/
|
|
# !themes/
|
|
# !node-red/
|
|
|
|
# =============================================
|
|
# SENSITIVE FILES - always ignore these
|
|
# =============================================
|
|
secrets.yaml
|
|
known_devices.yaml
|
|
ip_bans.yaml
|
|
|
|
# =============================================
|
|
# Generated files and folders - always ignore
|
|
# =============================================
|
|
.storage
|
|
.cloud
|
|
.google.token
|
|
home-assistant.log
|
|
home-assistant_v2.db
|
|
home-assistant_v2.db-shm
|
|
home-assistant_v2.db-wal
|
|
|
|
# Dependencies and cache
|
|
deps/
|
|
tts/
|
|
www/
|
|
custom_components/
|
|
image/
|
|
ms365_storage/
|
|
|
|
# Pickle / session files
|
|
*.pickle
|
|
*.db
|
|
*.db-shm
|
|
*.db-wal
|
|
|
|
# OS files
|
|
.DS_Store
|
|
Thumbs.db
|