From f4da68b0b1618149907126176b7ddf61d0e76bfa Mon Sep 17 00:00:00 2001 From: Marcel de Haas Date: Mon, 24 Oct 2022 22:52:35 +0200 Subject: [PATCH] Added example for priority 2 message since it is not obvious. (#23245) Co-authored-by: Franck Nijhof --- source/_integrations/pushover.markdown | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/source/_integrations/pushover.markdown b/source/_integrations/pushover.markdown index eca13ead7fe..906bf186f5d 100644 --- a/source/_integrations/pushover.markdown +++ b/source/_integrations/pushover.markdown @@ -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/).