Use when checking pending Home Assistant updates (core, OS, Apps, integrations, device firmware), reading release notes, installing updates with safety gates, skipping/unskipping versions, or managing Apps (store, install, uninstall, settings, auto-update) through HA NOVA Relay.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Updates?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/markusleben-updates)
---
name: updates
description: Use when checking pending Home Assistant updates (core, OS, Apps, integrations, device firmware), reading release notes, installing updates with safety gates, skipping/unskipping versions, or managing Apps (store, install, uninstall, settings, auto-update) through HA NOVA Relay.
license: MIT
compatibility: Requires the ha-nova CLI (run 'ha-nova setup' first) and the HA NOVA Relay in Home Assistant (App, or standalone container on Container/Core).
---
# HA NOVA Updates
## Scope
Lifecycle:
- grouped overview of pending updates
- release notes/links for one update
- install an update (feature-gated, safety gates)
- skip/unskip versions
- Apps: store, install, uninstall, settings, auto-update: read `apps.md`
Not in scope:
- HACS store operations beyond `update.*` entities (`ha-nova:hacs`)
- rollbacks: not downgradable (HACS downgrades: `ha-nova:hacs`); recovery is a Home Assistant Backup
## Bootstrap (once per session)
Read and follow `../ha-nova/session-bootstrap.md`.
## Relay Contract
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).
## Feature Gate (critical)
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`.
## Flow
### Overview
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:
- Home Assistant stack: core, operating system, supervisor
- Apps; integrations (Marketplace/HACS components); device firmware (everything else)
Group deterministically: `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.
### Release notes
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.
### Install
1. First `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.
2. Safety gates by kind:
- **core / operating system**: far-reaching — offer a full safety backup first via `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.
- **Apps**: with bit 8, include `"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`.
- **supervisor**: usually updates itself (`auto_update`); an explicit install restarts the Supervisor — expect a brief entity dropout during the poll, no HA restart.
- **integrations (Marketplace/HACS components)**: `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`.
- **device firmware**: warn that firmware updates can take long, must not be interrupted, and rarely have release notes — confirm the exact device. `platform: esphome` compiles the device's current YAML: check it with `ha-nova:esphome` first.
3. Plan it now (step 5's `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.
4. Immediately before POST, re-read state and registry. Require the confirmed `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.
5. Plan: `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`).
6. The call returns before the update finishes. Poll the entity: `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`).
- **NOVA Relay**: poll health every ~5 s for 3 minutes until its observed version reaches the offered target and skills' minimum. Timeout means not verified: do not probe or claim readiness. Then require the update entity complete (`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.
- **core / operating system**: connection and `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.
- **long-running updates**: if still `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.
### Skip / unskip
- Skip a pending version: `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.
- Undo: `ha-nova call update.clear_skipped update.<id> --skill ha-nova:updates` — the update shows as pending again.
## Error Handling
- Install rejected: say plainly why, no blind retry — a running update (`in_progress`) blocks a second install.
- Upstream permission denial on install/skip/clear_skipped — REST envelope `.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).
- Entity vanished mid-poll: re-read once; NOVA Relay uses the health-poll window above.
- Full relay error taxonomy: `../ha-nova/relay-api.md` → Error Handling.
## Output Format
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` / `Status`
- `Planned change`
- `Options`
- `Verification`
- `Next step`
Use stable localized slot labels in this order; omit empty slots. The overview: the Report shape; pending lists: the List Frame.
## Safety
- 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.