/ha-nova:dashboardfrom ha-nova
Lists, reads, builds, redesigns, updates, or deletes Home Assistant dashboards, views, and cards via HA NOVA Relay. Includes broken-card sweeps and Lovelace resource management.
Ships in ha-nova. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Writes go only to mode: storage dashboards. A yaml dashboard is read-only here: say that its config lives in a YAML file (ha-nova:yaml-config) and offer a storage copy (a new dashboard with that content).
Not in scope: energy dashboard preferences (ha-nova:energy), installing a custom card (ha-nova:hacs), screenshots through the Relay (a client's own browser may look).
Read and follow ../ha-nova/session-bootstrap.md.
Dashboard content goes through typed verbs only:
ha-nova get --dashboards (every dashboard: url_path, title, mode, counts, issues — the sweep); ha-nova get --dashboard <url_path> (layout card list, custom_types → the resource that provides each, resources, issues); add --config for the full config (.result.dashboards[0].config).ha-nova plan write --domain dashboard --id <url_path> --base <config_digest> --file <config.json> (--base = the config_digest of the read the draft starts from); a new dashboard takes --create --title "<title>" [--icon mdi:<name>] [--require-admin] [--hide-sidebar] instead of --base (the url_path needs a hyphen); ha-nova plan delete --domain dashboard --id <url_path>; ha-nova plan revert [--target <url_path> --domain dashboard].next_step, ha-nova apply [--confirm <code>] --plan <id> [--wait] [--no-snapshot].Metadata, resources, and themes: reads through ha-nova relay ws --data-file <payload-file>, writes only as ha-nova plan raw items:
lovelace/dashboards/update with dashboard_id (lovelace/dashboards/list is the source of truth: dashboard_id for lovelace/dashboards/update|delete, url_path for lovelace/config|save)lovelace/resources; lovelace/resources/create, lovelace/resources/update, lovelace/resources/deletefrontend/get_themes (read)Never send lovelace/config/save, lovelace/dashboards/create, or lovelace/dashboards/delete by hand: the plan does. Shape: {"type":"lovelace/config/save","url_path":"<url_path>","config":{"views":[...]}} — the whole document goes under config, and whatever the draft leaves out is gone. The default dashboard is --id lovelace; the CLI omits url_path when it is not listed.
Drafts follow ../ha-nova/smallest-solution.md: the complete requested outcome in the simplest safe design, nothing speculative.
ha-nova get --dashboards; match url_path or title; ask one blocking question only if more than one still matches. mode: empty = no stored config yet (a new shell, or the auto-generated default).{} or a strategy): ha-nova get --dashboard <url_path> --config; save config to a client-private scratch file as the draft basis and keep its config_digest for --base. jq filters null-guard absent keys: (.views // [])[], never bare .views[]; same for .cards, .sections, .badges.sections view per floor or area (config/floor_registry/list, config/area_registry/list), a heading card first in each section, built-in tile cards; mobile-first: most-used controls first, about 8 cards per section at most, no wide horizontal stacks.content) run the Render Loop (../ha-nova/template-guidelines.md) before the preview.custom: type whose resource is installed (custom_types/resources in get --dashboard). Never invent its options: read its documentation first (ha-nova:hacs repository info or the card's README) or copy the shape of its existing usage in the user's dashboards. Not installed: say so and offer ha-nova:hacs; card_mod keys only when card-mod is installed.{"strategy":{"type":"areas"}} or {"strategy":{"type":"original-states"}} as the ENTIRE config — Home Assistant generates all views and cards at render time. Switching a populated dashboard TO a strategy discards its stored views: name that in the preview.theme: only a name from frontend/get_themes.ha-nova find; never guess an id. The card fits the device: climate → thermostat; other controllable devices → a tile with their main control features (light-brightness, cover-open-close).ha-nova plan write …. Exit 3 is normal (plan.confirm natural). Exit 4: UNKNOWN_ENTITY → resolve and fix the draft; DASHBOARD_NOT_STORAGE → read-only, explain; CONFIG_ID_IN_USE on a create → first check whether an earlier apply created it (then never create another), else another url_path. Exit 2 PLAN_DRIFT → the dashboard changed since that read (an edit in the UI): read again, re-merge, plan again. Exit 5 NOT_FOUND → its candidates.diff rows verbatim in the Changes slot, plus a plain-language behavior line (write-safety → Behavior narrative) that names every removed view and card. Name each result.issues entry with new: true: a new card_type_unconfirmed card blocks the save until the user confirms it is installed; say a disabled entity plainly. Say: a dashboard editor left open in Home Assistant would write its old copy back — close it first. Close the card with the plan's say.plan.confirm none → apply; natural → show the preview and wait for the user's reply; code → follow say/next_step (window, phone, form, or chat code), never a menu.next_step (a plan.code: --confirm <the user's exact text> before --plan). Apply re-reads the live dashboard first, and again right before the save: exit 2 means it changed since the preview — nothing was saved; read it again, re-merge, re-preview. Exit 6 CONFIG_REJECTED: relay say, then follow next. Exit 7: unknown; never retry. SNAPSHOT_FAILED saved nothing: offer pruning the snapshot store, a full safety backup (ha-nova:backup), or proceeding without one; only after the user picks the last, the same apply with --no-snapshot.verified = the read-back equals the plan (a create: also listed; a delete: no longer listed). undo or snapshot, and no way back in say: say it can be undone; offer revert for an update. A create is cleaned up through the delete flow. A deleted dashboard restores from its snapshot (../ha-nova/config-snapshots.md) by the delete result's restore (a --create with the shell's title and flags; the main lovelace dashboard: a plain write) — the dashboard_id is new.ha-nova get --dashboards; report per dashboard each missing_entity (with its detail) and card_type_unconfirmed (no installed resource seems to provide it — missing, or loaded another way, e.g. extra_module_url). Nothing found: "No broken cards found in dashboards." Fixes: one dashboard at a time, steps 2–8.say, confirm, then apply; only send changed metadata fields supported there: title, icon, show_in_sidebar, require_admin; do not resend url_path, mode, or unrelated config fields in the update payload. Verify through lovelace/dashboards/list.res_type and url (third-party code in every signed-in browser, with its user's rights), delete the exact resource (resource_id); each plan asks; verify via lovelace/resources.lovelace/config/save. Dashboards delete one at a time (a plan delete code binds one); resource batches follow ../ha-nova/batch-safety.md. An entity reference on an existing dashboard may join a non-destructive grouped change set ONLY as the downstream operation of a dependency-bound set (../ha-nova/grouped-change-set.md → Dependency-Bound Outputs); a dashboard-card removal may join a cross-family destructive cleanup only through its manifest (grouped-change-set.md → Cross-Family Destructive Cleanup).Apply ../ha-nova/output-rules.md: plain words, HA names verbatim; unless asked or names clash, no ids, "entity", modes, Relay/HA URLs, snapshots, raw JSON. Previews, deletes, and results use the Cards defined there (../ha-nova/output-cards.md).
For list/read/sweep:
DashboardTargetSummaryUse stable localized slot labels in this order; omit empty slots, do not invent ad-hoc headings. List/read renders the Report shape; dashboard and resource inventories render the List Frame (output-cards.md).
Never dump the full dashboard config unasked.
Safety Core: before any write, apply ../ha-nova/safety-core.md; not yet in this conversation → read it first; unreadable or incomplete → stop and write nothing.
No guessed url_path or dashboard_id values.
Dashboard and resource delete keeps its full confirmation, even for items created earlier in the same session. Removing views or cards inside a save is previewed (natural confirmation) because every save is recoverable: ha-nova apply takes an auto config snapshot first, and revert undoes the last verified save. Dashboard deletes restore partially from their snapshot; resources recover via Home Assistant Backups.
A broad re-layout instead of a targeted edit: say so before writing.
lovelace/info to decide whether a dashboard is writable.lovelace/config/delete as the dashboard delete path.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub markusleben/ha-nova --plugin ha-nova35 skills in this plugin
/adminUse when managing Home Assistant people, zones, tags, user accounts, general settings (name, location, units, time zone), Labs features, and analytics sharing — creating a person, drawing a zone, adding a tag, or reviewing who has access — through HA NOVA Relay./assistUse when working with Home Assistant's own built-in voice assistant (Assist) — testing what it understands, inspecting, editing, or creating Assist pipelines, managing which entities are exposed to voice, listing TTS/STT/wake-word engines, and teaching Assist custom sentences — through HA NOVA Relay. Not for Alexa or Google Assistant — setting those up is `ha-nova:integration-setup` (or `ha-nova:yaml-config` for a manual cloud config), and one that STOPPED working is a concrete failure for `ha-nova:diagnose`./backupOther plugins' skills for the same job