Save Lovelace dashboard config
ha_save_dashboardSave a Lovelace dashboard configuration to create or replace views and cards, persisting Home Assistant UI changes.
Instructions
Save (create or replace) the Lovelace configuration for a dashboard. 'config' is the dashboard body (title, views, …). Requires HA_ALLOW_WRITE=true and HA_ALLOW_CONFIG_WRITE=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | Yes | Lovelace dashboard configuration object (title, views, cards, …). | |
| url_path | Yes | Dashboard url_path to save (must already exist, or create it first with ha_create_dashboard). | |
| instance_id | No | Optional: the instance you mean (as listed by vomehome_list_instances). When given, the call is refused if this session is targeting a different home, instead of answering from it. |