/ha-nova:updatesfrom ha-nova
Manages Home Assistant updates (core, OS, Apps, integrations, firmware) via HA NOVA Relay. Checks pending updates, reads release notes, installs with safety gates, skips/unskips versions, and manages App store/install/uninstall/settings/auto-update.
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.
Read when SKILL.md points to them.
Lifecycle:
apps.mdNot in scope:
update.* entities (ha-nova:hacs)ha-nova:hacs); recovery is a Home Assistant BackupRead and follow ../ha-nova/session-bootstrap.md.
File-based requests: ha-nova relay core --method <METHOD> --path <PATH> --body-file <payload-file> and ha-nova relay ws --data-file <payload-file>; --out <result-file> for large responses.
REST body: .data.body; WS body: .data (../ha-nova/relay-api.md → Standard Envelope).
Read supported_features before acting:
| Bit | Feature |
|---|---|
| 1 | install |
| 2 | install a specific version |
| 4 | progress reporting |
| 8 | backup before update (App/core mechanism) |
| 16 | release notes |
Never call a bitmask-backed service (install/version/backup/release-notes) the mask does not allow — name the missing capability. Skip/unskip have no bits; their only gate is auto_update.
Asked whether they can update: ha-nova map --section updates (advisor.md) instead.
GET /api/states --out <result-file> for the update entities AND WS {"type":"config/entity_registry/list"} for their platform/unique_id (states alone cannot classify). Filter update.*, report grouped, pending (state: "on") first:
platform: hacs or marketplace = integrations; platform: hassio splits by unique_id — home_assistant_{core,os,supervisor}_version_latest = HA stack, <addon_slug>_version_latest = App; everything else = device firmware/other. Never guess from names.
NOVA Relay requires exactly platform: hassio plus unique_id: 2368fcfa_ha_nova_relay_version_latest; names insufficient.
Per pending item: name, installed → new version, auto-update or skip. Fleets: counts per group + pending list — never dump 200 firmware rows.Bit 16 set: WS {"type":"update/release_notes","entity_id":"update.<id>"} → markdown in .data; summarize, never dump. Without bit 16 it fails with not_supported: use release_summary/release_url; both empty: say no notes are available.
ha-nova map --section updates, even for one update (advisor.md). Feature Gate: bit 1 required. Since HA 2026.9, install, skip, and clear_skipped are admin-only: the Relay's upstream user must be an administrator (App/Supervisor system context: always; standalone container: the HA_LLAT owner). Preview one update: name, versions, release-notes summary or link.ha-nova:backup and say that HA restarts during the update. Surface breaking-changes sections first; for skipped-version jumps link intermediate releases via release_url. Honor named OS/Supervisor prerequisites first."backup": true. NOVA Relay restarts mid-call; use step 6's target/entity/ping/post-health verification. Its entity lacks bit 2: preview latest and omit version.auto_update); an explicit install restarts the Supervisor — expect a brief entity dropout during the poll, no HA restart.platform: marketplace (Home Assistant 2026.11+): installs only the latest; restart as for HACS below. Relay a MARKETPLACE_WARNING refusal's say verbatim; only when it offers the acceptance and the user wants it, hand that step to ha-nova:hacs (Marketplace mode), then plan the install again. platform: hacs: before ANY install — single or batched — read the HACS repository info: a set selected_tag (pin/downgrade) STOPS the install here; pin overrides are explicit per-item decisions in ha-nova:hacs, never an update.install side effect. The same stop applies to any EXPLICIT version target on a platform: hacs entity (older or specific version, pinned or not): hand it to ha-nova:hacs — a generic update.install with "version" would download once without the HACS preview/read-back and without the persistent-pin step. This skill installs only the latest for HACS entities. Surface breaking-changes sections from their release notes like core; a one-line summary is not enough. The new version loads only after a Home Assistant restart — after a verified install, report it as installed but not yet active, and offer the restart as a separate confirmed step via ha-nova:service-call.platform: esphome compiles the device's current YAML: check it with ha-nova:esphome first.ha-nova call, exit 3); confirm its preview once (../ha-nova/confirmation.md → Active Preview Confirmation). One update per confirmation, one plan each. For "update everything", confirm the batch explicitly, then install sequentially, verifying each before the next.
Since HA 2026.7 the Updates page's per-group "Update all" is ONE multi-target update.install: concurrent installs, NO backup flag, only the FIRST failure surfaced, never core/OS/Supervisor. This skill deliberately does NOT mirror that call shape — sequential, per-item verified, backup-gated installs stay. Mirror its guardrails instead: the HA system stack is never part of the one batch confirmation (each of those stays its own confirmed step with its own gates), and skipped or in_progress entities never ride along. HACS integrations in a batch all stay installed-but-not-active — collect them and offer ONE restart at the end, not one per item. Pinned HACS repositories still report pending: per the HACS bullet above, EXCLUDE repositories with a selected_tag from any batch.entity_id, platform, unique_id, installed_version, latest_version, and supported_features, with in_progress false. For NOVA Relay, re-require that exact pair. Any drift invalidates confirmation: re-plan, reconfirm.ha-nova call update.install update.<id> --skill ha-nova:updates (+ --set backup=true for App updates; for core/OS pass it ONLY when the confirmed preview explicitly included that built-in backup; + the confirmed --set version=<v> only with bit 2); then apply per its next_step (code: --confirm <code> before --plan).in_progress/update_percentage while running; done when installed_version equals the target — for latest-version installs additionally state: off; an explicitly requested older version may legitimately leave the entity pending. Then, done or not, ALWAYS ha-nova map --section after_update (chat app: ha_map; advisor.md).
installed_version reaches target, state: off, in_progress: false), send WS {"type":"ping"}, and re-read health. Pre-ping false/never_connected/network is passive or stale — never diagnose it alone. Success requires ping ok: true and post-ping ha_ws_connected: true; otherwise classify the WS error and post-health reason.UPSTREAM_* errors during the poll ARE the expected restart window, not failure. Keep polling every ~30 s (core up to ~15 min; OS longer — the host reboots and the relay itself is unreachable) and never route to ha-nova setup mid-update.in_progress after ~10 minutes (device firmware: 30+ minutes and a temporarily unavailable device are normal), say it continues in the background and how to check later. Report failure when state stays on without progress — never claim success from the call alone.ha-nova call update.skip update.<id> --skill ha-nova:updates — preview which version is skipped; verify by re-reading (skipped_version set, state: off). Reversible. HA rejects skip/clear_skipped on auto_update: true entities — say so instead of calling.ha-nova call update.clear_skipped update.<id> --skill ha-nova:updates — the update shows as pending again.in_progress) blocks a second install..ok == true with .data.status 401, or 502 / UPSTREAM_WS_COMMAND_ERROR carrying HA's unauthorized: the upstream user is not an administrator (HA 2026.9 admin-only actions). The App runs as the Supervisor system user and is not affected; on a standalone container the HA_LLAT must belong to an administrator — fix it, never retry. A top-level 401 / UNAUTHORIZED (.ok == false) is the Relay's own client authentication, not this case (../ha-nova/relay-api.md → Error Handling).../ha-nova/relay-api.md → Error Handling.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).
Updates / StatusPlanned changeOptionsVerificationNext stepUse stable localized slot labels in this order; omit empty slots. The overview: the Report shape; pending lists: the List Frame.
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.
Drafts follow ../ha-nova/smallest-solution.md: the complete requested outcome in the simplest safe design, nothing speculative.
Installs: natural confirmation per update after preview (HACS: own confirmation); batches need an explicitly confirmed plan.
Updates are irreversible — for core/OS name the safety-backup offer before, not after.
Never install anything the user did not ask about or confirm; auto_update: true items update themselves — say so instead of installing them unprompted; an explicit, confirmed user request may still install.
Verify by re-reading the entity, then the after-update check.
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