List Dashboard Resources
ha_config_list_dashboard_resourcesList Lovelace dashboard resources such as custom cards, themes, and CSS/JS with pagination, unique IDs for updates or deletes, and inline content previews.
Instructions
List Lovelace dashboard resources (custom cards, themes, CSS/JS).
Returns one page of registered resources; total_count and has_more
report the full set, and inline_count and by_type summarise every
resource, not just this page. Each resource has a unique ID for
update/delete operations. For inline resources (created with
ha_config_set_dashboard_resource(content=...)), shows a preview of the
content instead of the full encoded URL to save tokens.
resource_mode is Core's lovelace resource mode; in 'yaml' mode
resources cannot be created, updated or deleted through the API.
EXAMPLES:
Next page: ha_config_list_dashboard_resources(offset=100)
List with full content: ha_config_list_dashboard_resources(include_content=True)
Home Assistant 2026.6+ exposes resource management in the UI by default; API access works regardless of UI availability.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max resources to return per page | |
| offset | No | Number of resources to skip for pagination | |
| include_content | No | Include full decoded content for inline resources in the "_content" field. When False, a 150-char preview is shown instead. Rows past the per-response content budget carry '_content_truncated': True instead of '_content'; request a smaller page before copying content into an update. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||