# --- Global ignores ---
.DS_Store
custom_components/
old*

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

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

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

# Specific ignore
include/automations/lys_have.yaml

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

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

# --- Allow structured YAML inside include/ ---
!include/**/*.yaml

# --- Allow view YAML ---
!view/**/*.yaml
