mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-15 21:36:52 +00:00
Added example for priority 2 message since it is not obvious. (#23245)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
parent
172f5acfac
commit
f4da68b0b1
@ -55,6 +55,21 @@ To use a specific Pushover device, set it using `target`. If one of the entered
|
||||
priority: 0
|
||||
```
|
||||
|
||||
To use the highest priority, which repeats the notification every x seconds (`retry`) for the duration of y seconds (`expire`), you MUST specify these parameters. The minimal time for the `retry` parameter is 30 seconds. The `expire` parameter has a maximum of 10800 seconds (3 hours). If you target more than one device, make sure to enable the advanced option "Notification dismissal sync" in the app to be able to dismiss the alert on all devices simultaneously.
|
||||
|
||||
```yaml
|
||||
- service: notify.entity_id
|
||||
data:
|
||||
message: "This is the message"
|
||||
title: "Title of message"
|
||||
target:
|
||||
- iphone11pro
|
||||
data:
|
||||
priority: 2
|
||||
sound: "siren"
|
||||
expire: 300
|
||||
retry: 30
|
||||
```
|
||||
|
||||
To use notifications, please see the [getting started with automation page](/getting-started/automation/).
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user