From 7cf78177f3309f7286bc5c11de06e0076be0d652 Mon Sep 17 00:00:00 2001 From: Sam Lewis Date: Mon, 2 Jun 2025 20:02:27 -0400 Subject: [PATCH] update README --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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: