Skip to content
Skills Library
Other · Tool integration

notify

/notify

Use when sending a Home Assistant notification NOW — discovering notify targets, sending a message to a phone or speaker, building mobile-app notifications, and managing persistent notifications — through HA NOVA Relay. For "notify me WHEN something happens" use ha-nova:write, which builds the automation.

Repository
ha-nova ↗
Licence
MIT
Last repository change
27.10.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Use when sending a Home Assistant notification NOW — discovering notify targets, sending a message to a phone or speaker, building mobile-app notifications, and managing persistent notifications — through HA NOVA Relay. For "notify me WHEN something happens" use ha-nova:write, which builds the automation.

Triggers from the description

notify me WHEN something happens
Original author description

Use when sending a Home Assistant notification NOW — discovering notify targets, sending a message to a phone or speaker, building mobile-app notifications, and managing persistent notifications — through HA NOVA Relay. For "notify me WHEN something happens" use ha-nova:write, which builds the automation.

How it works

  1. Scope
  2. Bootstrap (once per session)
  3. Relay Contract
  4. Target Discovery (do this first)
  5. Flow
  6. Persistent Notifications (Home Assistant UI)
  7. Error Handling
  8. Output Format
  9. Safety
  10. Guardrails
Original SKILL.md headings · 137 lines, 1,506 words
SKILL.md preview
---
name: notify
description: Use when sending a Home Assistant notification NOW — discovering notify targets, sending a message to a phone or speaker, building mobile-app notifications, and managing persistent notifications — through HA NOVA Relay. For "notify me WHEN something happens" use ha-nova:write, which builds the automation.
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 Notify

## Scope

Notification delivery and management:
- discover available notify targets (entities and legacy services)
- send a notification to a phone, a notify group, or another target
- mobile-app extras: tag/replace, actionable buttons, priority/channel, click URL, images
- persistent notifications inside the Home Assistant UI (list, create, dismiss)

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`).

## Bootstrap (once per session)

Read and follow `../ha-nova/session-bootstrap.md`.
Verify relay CLI: `ha-nova relay health`
If this fails: `ha-nova setup`

## Relay Contract

- `ha-nova relay core --method GET --path /api/services --out <result-file>` to discover notify services
- `ha-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 sending
- `ha-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 filters

## Target Discovery (do this first)

Home 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:
1. Services: `GET /api/services`, filter the `notify` domain — the `mobile_app_*` entries are the per-device legacy targets.
2. Entities: WS `{"type":"config/entity_registry/list_for_display"}`, filter `ei` starting with `notify.`.
3. Report the resolved targets; never guess a device name.

**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.

## Flow

1. Resolve the target with Target Discovery. If several devices match, present the candidates and ask once.
2. Before building an actionable payload, require an existing, verified
   `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.
3. Build the payload:
   - entity: `{"entity_id":"notify.<target>","message":"...","title":"..."}` for `notify.send_message`
   - mobile app: `{"message":"...","title":"...","data":{...}}` for `notify.mobile_app_<device>`. Common `data` keys, and the platform split that silently drops fields when confused:
     - both platforms: `tag` (replace/clear an earlier notification), `actions` (actionable buttons), `image`/`video`/`audio`, `url` (iOS) / `clickAction` (Android).
     - **Android — direct keys inside `data`**: `channel`, `importance`, `ttl`, `priority`, `sticky`, `persistent`, `notification_icon`, `color`. Nesting these under `push` does nothing on Android.
     - **iOS — under `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.
   - A `message: "clear_notification"` with a matching `tag` removes a previously sent notification instead of sending a new one.
4. Plan it with `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.
5. Send with `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.

## Persistent Notifications (Home Assistant UI)

- list: WS `{"type":"persistent_notification/get"}`
- create: service `persistent_notification.create` with `message`, `title`, `notification_id`
- dismiss: service `persistent_notification.dismiss` with `notification_id`

These 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.

### Household routing ("tell whoever is home")

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.

## Error Handling

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.
- A service call returning 200 says nothing about delivery: the phone may be offline, or Android may hold the message while dozing (`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.
- An accepted send with silently ignored extras usually means the keys sat in the wrong place (Android keys under `push`, or iOS keys at top level) — re-check the platform split before blaming the device.

## 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`).

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

- Preview before write. The only exception is a call that `ha-nova call` itself executed as `tier: ordinary`; everything else waits for the user's confirmation of the shown preview. High-consequence actions (e.g. unlocking or opening a lock, opening a gate, garage, or entry door, disarming the alarm — also through a scene or script) and deletes or other destructive operations need the user's window click or phone tap, else their one-time code from HA NOVA; "yes" or any other reply is invalid.
- Confirmation binds to the displayed preview; any target, payload, endpoint, or scope change voids it (context skill → Active Preview Confirmation).
- Relay a plan's `say` in full, localized; never drop or shorten sentences.
- Anything before the preview ("do it", answers to questions) never confirms it; only a reply to the preview does.
- Never guess entity, service, or config IDs — resolve them or ask.
- Home Assistant is reached exclusively through the `ha-nova` CLI.
- Any HA write this skill does not cover: STOP, invoke `ha-nova:fallback` first; never probe unfamiliar write endpoints.

- 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`.

## Guardrails

- One target per send unless the user explicitly asks for a group, or the recipients come from presence routing ("tell whoever is home") — in both cases show the full resolved member list in the preview.
- Never invent device names, `tag` values, or action IDs.
- Do not claim delivery — only acceptance (a supported receipt confirmation may prove device receipt, never reading).

Versions

RepositoryScoreLicence
This page · markusleben/ha-nova90MIT
Vamp-pire/hype-me100MIT
yangwhale/closecrab100Apache-2.0
jease0502/research-agent-kit100Apache-2.0
zjunlp/mechanist100MIT
clawic/skills90MIT

Database snapshot: 13.11.2026 · package version c441046a960f (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100scene
    Use when listing, reading, creating, updating, or deleting Home Assistant storage scenes through HA NOVA Relay. For activating a scene, use ha-nova:service-call.
  • 100ha-nova
    Questions about the user's Home Assistant — rooms, devices, modes, where something is used — go through ha-nova, not file search. Use for reviews and multi-step or multi-target Home Assistant work through HA NOVA (App + Relay; the demo house via `--server demo`), or when no…
  • 96phone-notify
    Notify the phone and ask for approval before acting.
  • 100ha-notifications
    Use whenever a Home Assistant automation or script sends a phone (mobile app) notification. Conventions for readable pushes - short push plus persistent notification for long reports, tap-to-open links, action buttons that say "press and hold", tags that replace and clear.
  • 100feishu-notify
    Send notifications to Feishu/Lark. Internal utility used by other skills, or manually via /feishu-notify. Use when user says \"The Book of Flying.\", \"notify feishu\", or other skills need to send status updates.
  • 82telegram-notify
    Send notifications via Telegram. Use when the user asks to notify, alert, message, or ping — or when a long-running task completes and the user previously asked to be notified. Can also schedule messages for later delivery.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.