add include and exclude options for generation

This commit is contained in:
Sam Lewis
2025-06-01 20:21:06 -04:00
parent 25076130d8
commit 75f0b6b848
2 changed files with 44 additions and 3 deletions

View File

@@ -1,3 +1,13 @@
url: "http://192.168.4.67:8123" # Replace with your Home Assistant URL
ha_auth_token: "<token>" # Your auth token or set HA_AUTH_TOKEN env var
home_zone_entity_id: "zone.home" # Optional: defaults to zone.home
# Optional: List of domains to include when generating constants
# If provided, only these domains will be processed
# Example: ["light", "switch", "climate"]
include_domains: []
# Optional: List of domains to exclude when generating constants
# Only used if include_domains is empty
# Example: ["device_tracker", "person"]
exclude_domains: []