Skip to content

Commit 7113760

Browse files
committed
docs(addon): fix wrong YAML example in enable_per_tool_approval section (homeassistant-ai#966)
1 parent 6ba94c3 commit 7113760

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

homeassistant-addon/DOCS.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,10 +292,11 @@ The policy engine is in beta. Off by default. Requires add-on restart to take ef
292292
**Example Configuration:**
293293

294294
```yaml
295-
backup_hint: normal
296-
secret_path: "" # Leave empty for auto-generation
295+
enable_per_tool_approval: true
297296
```
298297

298+
Per-tool rules (including argument predicates like `args.domain in ['lock', 'alarm_control_panel']`) are configured from the **Policies** tab in the web UI, not from `config.yaml`.
299+
299300
*Inspired by [PolicyLayer](https://policylayer.com/)'s policy DSL shape, originally proposed in [#966](https://github.com/homeassistant-ai/ha-mcp/issues/966) by [@L1AD](https://github.com/L1AD).*
300301

301302
---

0 commit comments

Comments
 (0)