add_view
Add a new view to a Home Assistant dashboard with configurable title, path, position, and a dry-run preview option to avoid mistakes.
Instructions
Add a new view to a dashboard (live)
Args: url_path: Dashboard URL path, or None for the default dashboard. view_config: The view config dict, e.g. {"title": "Garage", "path": "garage"}. position: Insert index among views (default: append). dry_run: Preview without saving.
Returns:
Save result with a backup_id, or a dry-run preview.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| position | No | ||
| url_path | No | ||
| view_config | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |