Save Lovelace dashboard config
dashboards_save_dashboard_configOverwrite a Lovelace dashboard's stored views and sections by sending a full config to Home Assistant, replacing the previous version without validation or backup.
Instructions
Replace the entire config of one storage-mode Lovelace dashboard.
Sends config as-is to lovelace/config/save, fully overwriting that
dashboard's stored views/sections with no validation, backup, or
undo — keep the previous config (e.g. from
dashboards_get_dashboard_config) if you need to restore it.
Use when: writing back a dashboard object built or fetched in full.
Not for: a single card or section change — use
dashboards_add_card_to_section/dashboards_update_card_in_section/
dashboards_remove_card_from_section (sections views) or
dashboards_add_card_to_view (masonry/panel views), which read-modify-
write the config for you.
Returns: {"status": "saved", "url_path": ...}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | Yes | Full dashboard object with a 'views' list, as returned by dashboards_get_dashboard_config for a dashboard path — never the {view, source, path} excerpt it returns for a view path. | |
| url_path | No | Dashboard url_path to save, from dashboards_list_dashboards. Omit for the default dashboard. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||