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:
Marcel de Haas 2022-10-24 22:52:35 +02:00 committed by GitHub
parent 172f5acfac
commit f4da68b0b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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/).