# Ignore everything globally
.DS_Store
custom_components/
blueprints/
dwains-dashboard/
tts/
www/
backups/
old*

# System / runtime folders
.storage/
.cloud/
.google.token/
.Rproj.user/
.cache/

# Logs / DB / temp
*.log*
*.db*
.com*

# Sensitive files
ip_bans.yaml
secrets.yaml
known_devices.yaml
configuration_full.yaml
configuration_minimal.yaml

# --- Whitelist core files ---
!*.yaml
!*.md
!.gitignore
!.travis.yml
!*.pem
!.HA_VERSION
!customize

# --- Whitelist directories ---
!www/
!include/
!themes/
!python_scripts/
!dashboards/

# --- Explicitly include all YAML in dashboards subdirs ---
!dashboards/**/*.yaml