diff --git a/README.md b/README.md index 6265a3b..ab67e02 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,15 @@ You can generate type-safe constants for all your Home Assistant entities using ```yaml url: "http://192.168.1.123:8123" ha_auth_token: "your_auth_token" # Or set HA_AUTH_TOKEN env var -home_zone_entity_id: "zone.home" +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 +include_domains: ["light", "switch", "climate"] + +# Optional: List of domains to exclude when generating constants +# Only used if include_domains is empty +exclude_domains: ["device_tracker", "person"] ``` 2. Add a `//go:generate` comment in your project: