# Python bytecode
__pycache__/
*.py[cod]
*$py.class
*.pyc

# Distribution / packaging
.Python
build/
dist/
*.egg-info/

# IDE
.idea/
.vscode/
*.swp
*.swo

# OS
.DS_Store
Thumbs.db

# Test & debug scripts (contain hardcoded tokens). Root-level scratch scripts
# are ignored; tests/ holds the committed suite and is re-included below.
/ha_test_*.py
/test_*.py
/check_*.py
/fix_*.py
/update_*.py
tmp/

# The committed suite lives in tests/ and must not be swallowed by the
# scratch-script patterns above. Bytecode inside it stays ignored.
!tests/
!tests/*.py
!tests/*.txt

# ---- Inbound files & local scratch ----
# Files a user sends us (diagnostics dumps, screenshots) routinely carry
# credentials and device identifiers. Never stage them; .dsh-im/ is where the
# harness drops inbound uploads.
.dsh-im/
!tests/
!tests/*.py
!tests/*.txt

# Diagnostics exports and credential caches used while debugging.
*_diagnostics*.json
config_entry-*.json
prod_creds.json
*token*.json

# Reverse engineering / security-sensitive analysis
REVERSE_ENGINEERING.md

# Local scratch files (reverse-engineering artifacts, not part of integration)
applet_copy.db
ha_check_remote.py
query_applet_db.py

# ---- Internal handoff notes (kept out of the public repository) ----
# Deployment commands, local paths and environment details live here; they are
# not part of the integration. Keep them beside the checkout, not in it.
HANDOFF.md
HANDOFF*.md
