Persistent Transport Adaptor¶
| Transport ID | Source | Requirements | Optional |
|---|---|---|---|
persistent | persistent.py | Persistent Notification Integration | - |
Place a notification on Home Assistant application screen.
The title and message are shown as they are, with no other data, and no target.
Pass a notification_id in the action's extra_data, or fixed in the delivery's data. A later notification with the same ID replaces the earlier one, rather than adding another, and without an ID a new notification is always added.
Unlike other discovered transports, the persistent delivery isn't selected by default, since a popup for every notification would be intrusive. Name it in delivery, or set inclusion to include it.
Example¶
A persistent delivery is created automatically, so send like:
- action: supernotify.notify
data:
message: Testing an e-mail that also shows as persistent notification
target:
- homeowner@24acaciaavenue.com
delivery:
- email
- persistent
extra_data:
notification_id: front_door