/ha-nova:notifyfrom ha-nova
Sends Home Assistant notifications via HA NOVA Relay — discovers notify targets, sends messages to phones/speakers, builds mobile-app notifications with actionable buttons, and manages persistent notifications.
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.
Notification delivery and management:
Not in scope: notifications INSIDE an automation or script (that is the automation's action — ha-nova:write), TTS announcements to speakers (ha-nova:media).
Read and follow ../ha-nova/session-bootstrap.md.
ha-nova relay core --method GET --path /api/services --out <result-file> to discover notify servicesha-nova relay ws --data-file <payload-file> for WS commands (entity registry, persistent notifications)ha-nova relay core --method GET --path /api/states --out <result-file> — the household-routing read: person.* states before the preview and again before sendingha-nova call <domain.service> [<entity_id>…] [--set k=v]… [--data-file <payload-file>] --skill ha-nova:notify to send (raw service POSTs are refused)--jq-file <filter-file> for non-trivial filtersHome Assistant has TWO notification surfaces, and picking the wrong one silently drops features:
| Surface | How to call | Use it for |
|---|---|---|
Notify ENTITIES (notify.* entities, modern) | notify.send_message with entity_id + message (+ title) | Plain messages, and notify groups built in the UI |
Notify SERVICES (notify.mobile_app_<device>, legacy platform) | notify.mobile_app_<device> with message, title, data: {...} | Everything the entity platform cannot do: actionable buttons, tag replace/clear, sticky/persistent alerts, Android channel/importance, notification icon, click URL, attachments |
Discovery:
GET /api/services, filter the notify domain — the mobile_app_* entries are the per-device legacy targets.{"type":"config/entity_registry/list_for_display"}, filter ei starting with notify..Decision rule: plain message to a known target → notify entity (notify.send_message). Any mobile-app extra (buttons, tag, sticky, channel, url, image) → the legacy notify.mobile_app_<device> service, because the entity platform does not carry the data payload for those. This rule instantiates the canonical contract's capability discovery for today's platform reality — the discovery rule wins if the platforms diverge.
Canonical contract: ../ha-nova/mobile-notification-composition.md — read it before building any mobile-app payload; it owns composition precedence, surface selection, optional-field intent rules, actionable safeguards, notification commands, privacy, delivery honesty, and observed local conventions.
mobile_app_notification_action automation filtered to the exact
event_data.action ID. If absent, stop and hand off to ha-nova:write;
this skill does not create a send-specific listener.{"entity_id":"notify.<target>","message":"...","title":"..."} for notify.send_message{"message":"...","title":"...","data":{...}} for notify.mobile_app_<device>. Common data keys, and the platform split that silently drops fields when confused:
tag (replace/clear an earlier notification), actions (actionable buttons), image/video/audio, url (iOS) / clickAction (Android).data: channel, importance, ttl, priority, sticky, persistent, notification_icon, color. Nesting these under push does nothing on Android.data.push: interruption-level, sound, badge. push is the iOS-only container; do not put Android channel/importance there.
Read the target's platform from the device name or ask, and place the keys accordingly.message: "clear_notification" with a matching tag removes a previously sent notification instead of sending a new one.ha-nova call (exit 3): show its preview with the exact payload (target + title + message + any data) and get one confirmation — a notification is an irreversible, user-visible side effect.ha-nova apply --plan <id> and relay its say: a successful service call means Home Assistant accepted it, not that the phone displayed it — never claim delivery. There is no delivery receipt by default — one exists only through a pre-existing, verified received-event automation (canonical contract → Delivery honesty; never built ad hoc for a send); receipt never proves reading.{"type":"persistent_notification/get"}persistent_notification.create with message, title, notification_idpersistent_notification.dismiss with notification_idThese live only in the HA UI; they never reach a phone.
When composing a COMPLEX mobile-app payload (actionable buttons, images, critical alerts), offer a single test send to the chosen target first — the preview is the plan, the test proves rendering; acceptance-honesty applies (accepted, not delivered), and the real send follows only after the user judges the test.
Recipient-group and household resolution follow the shared contract ../ha-nova/membership-resolution.md; the unreadable-presence handling below stays authoritative.
Presence-conditional sends resolve recipients before the preview AND again
immediately before sending: presence is the one input that changes on its own
while a confirmation waits, so the previewed list can be wrong by the time it
is approved. A changed list means a changed scope — re-preview rather than
send to the stale one. Read person.* states and sort them into three buckets, not two: home,
away (anything else, including a named zone like work), and UNREADABLE
(unknown/unavailable — no tracker had usable data). Never fold the third
into away: that turns a dropped phone into a silent omission from the send.
Name unreadable people in the preview and ask whether to include them; with
nobody readable, say so instead of reporting an empty household. Map each
recipient to their
REAL notify target from the /api/services discovery this skill
already requires. Never derive a service name from person.device_trackers:
those are tracker entity ids (router, GPS, a Companion App entity named
differently) and prove no association to a notify.mobile_app_* service. When
the mapping is not provable, ask once which target belongs to that person and
reuse the answer for the session. Preview the
resolved recipient list, not the rule — "Anna and Ben are home" is what the
user confirms. Nobody home is a real answer: say so and offer the persistent
notification instead of silently sending to everyone.
Inside an automation this is a choose per person (ha-nova:write), not this
flow.
Full relay/upstream error taxonomy: ../ha-nova/relay-api.md -> Error Handling. Notify specifics:
404/NOT_FOUND on notify.mobile_app_<device>: the device name is wrong or the companion app is not registered; re-discover, never guess.priority: high in data affects that).notify.send_message rejects mobile-app data extras — that is the entity-platform limit, not a payload bug: switch to the legacy service.push, or iOS keys at top level) — re-check the platform split before blaming the device.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).
Report shape (output-cards.md): the preview names target, title/message, and extras; after sending, say alone. Discovery: the List Frame by surface (notify targets vs mobile-app services).
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, simplest safe design, nothing speculative.
A notification is irreversible and user-visible: always preview the exact payload and confirm before sending, even for a single short message.
Never send test notifications unprompted, and never send to every discovered target at once.
Repeated/looping sends are not supported here; if the user wants recurring notifications, that is an automation — hand off to ha-nova:write.
tag values, or action IDs.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`./backupUse when checking Home Assistant backup status, creating a backup (including a safety backup before risky changes), inspecting or deleting backups, or changing the automatic-backup schedule, retention, or locations through HA NOVA Relay./calendarUse when listing, reading, creating, updating, or deleting Home Assistant calendar events through HA NOVA Relay./cameraUse when working with Home Assistant cameras — taking a snapshot for the agent to look at, getting a stream URL, recording, casting a camera stream to a TV or speaker display, or turning a camera or its motion detection on and off — through HA NOVA Relay./dashboardUse when listing, reading, building, redesigning, updating, or deleting Home Assistant dashboards, views, and cards (installed custom cards included), checking dashboards for broken cards, or managing Lovelace resources through HA NOVA Relay.Other plugins' skills for the same job