Actions and buttons
Making a rule do something — switch on a light, arm the alarm, open a gate — when it fires or when someone taps a button on the notification, and the built-in snooze, alarm and update buttons.
This page shows you how to make a rule act on your devices, how to put buttons on its notification, and who can press them.
Actions and custom buttons are admin-only, in the admin UI (the rule's Actions tab) and in the app for an admin (the rule's Actions section).
Sequences
An action is a sequence: a named, ordered list of steps. Sequences can be shared across rules (author once, attach from several rules) as well as private to one rule.
| Step | Does |
|---|---|
| Do | Runs one action on one device — switch something on or off, trigger the alarm panel, arm it in a mode. The Device→Action picker asks for the device first, then offers only the actions that device supports. |
| Wait | Pauses 0–300 seconds. This is what makes unlock, wait 5 s, open possible. |
The same Device→Action picker is used in Build Automations when a step needs a
$trigger device.
Each sequence has:
- Run when the rule fires — on: it runs on every match (and from its buttons); off: it runs only when someone taps a notification button that points at it.
- Minimum delay — the sequence runs at most once in this time (up to 86 400 s), whatever the rule's cooldown. The rule's cooldown limits notifications; this limits how often a gate may physically move.
A sequence stops at the first step that fails. Only device actions can be run — a rule can never reach system-level operations such as deleting a device.
Actions run before the cooldown, snooze and grouping are considered: a second intruder inside the cooldown still sounds the siren. Test now never runs actions; the admin Simulate tab runs them only if you tick Run the rule's actions — this actuates real devices.
Notification buttons
A rule may put up to eight buttons on its notification (most channels show fewer — ntfy shows three in all, snooze buttons included). Each button has:
- Label — up to 40 characters;
- Runs — one of the rule's sequences;
- Icon — optional: acknowledge, dismiss, silence, snooze, view, play, open, close, lock, unlock, arm (home / away / night), disarm, light, alert, camera. Shown by Home Assistant (Android), Zentik and webhooks; other channels ignore it;
- Destructive style — draws it red. It changes the look, not who may press it.
A button is as public as the notification. The tap travels through ntfy, Telegram or whatever relayed the message, and the link it carries is the only permission it needs — it does not know who tapped. Anyone holding the notification can press it: once, within 15 minutes. Each recipient gets their own one-shot link, and a hub restart invalidates every outstanding button. Do not put a button on a sequence you would not want a forwarded screenshot to run.
A button needs the hub to have an address the phone can reach — the same address that picture links use. A button naming a sequence that no longer exists is dropped.
Built-in buttons
Some notifications carry buttons you did not author:
| Notification | Button | Valid for |
|---|---|---|
| Any rule that allows snoozing, to a target someone owns | One per snooze length — see Snooze | 1 hour |
| Alarm armed, arming, entry delay, triggered, re-armed, check failed | Disarm | 5 minutes |
| Alarm disarmed | One Arm per mode (home, away, night) | 15 minutes |
| Alarm arm refused | Arm anyway — see The alarm | 5 minutes |
| Addon update available, on one node | Update N addons on <node> | 15 minutes |
The update button installs exactly the addons the notification lists, on that node, whatever version is current when you press it. It first checks which are still out of date and skips the rest. You get a message when the update starts and another with the result. A notification about updates on several nodes, and one delivered to a shared target nobody owns, carries no update button — open the Addons page instead (the notification's tap takes you there).
Then
Frequency and quiet
Cooldowns, one notification per visit, grouping a burst into one notification, snoozing from the phone or a notification button, muting a camera, and quiet hours.
AI confirmation and description
Letting a vision model check a notification's picture before it is sent, or write one sentence about it — what each does, what it costs, and why neither can make you miss an alert by accident.