mcpField
H
home-assistant-dashboards-cards

home-assistant-dashboards-cards

github.com/bradsjmDesign & UI46731 installsUpdated 16w ago
Repository

About home-assistant-dashboards-cards

A skill for creating or editing Home Assistant dashboards and cards, aimed at users working with dashboards through ha-mcp. It outlines steps from entity discovery and card configuration to dashboard resource management, along with relevant caveats.

Key features

  1. 01Discover entity IDs
  2. 02List dashboards and find cards
  3. 03Look up card types and documentation
  4. 04Update dashboard configuration and metadata
  5. 05Manage dashboard resources and HACS cards

Use cases

  1. 01Creating a Home Assistant dashboard
  2. 02Finding and editing an existing card
  3. 03Finding custom cards and managing resources

MCP support

The skill maps ha-mcp tools for discovering entities, reading and updating dashboards, and managing cards and resources.

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/bradsjm/hassio-addons --skill home-assistant-dashboards-cards

After installing, type/home-assistant-dashboards-cardsin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/
CARD_SCHEMA_GUIDE.md
CUSTOM_RESOURCES.md
DESIGN_PATTERNS.md

Details

From the project README

Home Assistant Dashboards & Cards

Workflow

  • Determine whether to create a new dashboard or edit an existing one.
  • If editing, locate target cards first and transform config with a current config_hash.
  • Use built-in cards unless a custom card is required.
  • Discover entity IDs before wiring cards.
  • Provide minimal, valid dashboard snippets or tool-driven changes.

Tooling map (ha-mcp)

  • Discover entities: ha_get_overview, ha_search_entities
  • List/get dashboards: ha_config_get_dashboard
  • Find cards: ha_dashboard_find_card
  • Card docs: ha_get_card_types, ha_get_card_documentation
  • Update config: ha_config_set_dashboard, ha_config_update_dashboard_metadata
  • Resources: ha_config_list_dashboard_resources, ha_config_set_dashboard_resource, ha_config_set_inline_dashboard_resource, ha_config_delete_dashboard_resource
  • HACS cards: ha_hacs_info, ha_hacs_list_installed, ha_hacs_search, ha_hacs_download

Caveats

  • Dashboard URL paths must contain a hyphen.
  • Strategy dashboards require “Take Control” before editing.
  • Resource changes may require a hard refresh.
  • Jinja templates are not evaluated in core Lovelace YAML.

References

All reference files are relative to the location of this SKILL.md file.

  • Design patterns: references/DESIGN_PATTERNS.md
  • Card schema guide: references/CARD_SCHEMA_GUIDE.md
  • Custom resources: references/CUSTOM_RESOURCES.md

Comments

Markdown supported