Problem setting up pushover and standard notificasions

So far what I have is

alias: Test Open Notification
description: Repeat alert to mobile if test sensor opens every 2 minutes
trigger:
  - platform: state
    entity_id:
      - binary_sensor.mbed_sensor_test_isopen
    to: "on"
    for:
      hours: 0
      minutes: 0
      seconds: 30
condition: []
action:
  - repeat:
      while:
        - condition: state
          entity_id: binary_sensor.mbed_sensor_test_isopen
          state: "on"
      sequence:
        - service: notify.mobile_app_m2007j20cg
          data:
            message: Open > 2 minutes
            title: Test Sensor
          enabled: true
        - service: notify.pushover
          data:
            title: Test Sensor
            message: Open > 2 minutes
        - delay:
            hours: 0
            minutes: 0
            seconds: 30
            milliseconds: 0
mode: single

I am trying to do a door open for > 2 mins alert on my phone. I got pushover. I have this working but not quite as I want.

For the standard notificasion it works but I only get a audable alert the firast time it fires (it is set to fire every 30 seconds (the message says 2 mins but ignore that). I also dont think I can change the alert audio or get it to apear as a pop up.

The pushover one is better but if I set the proprity. i.e.

        - service: notify.pushover
          data:
            title: Test Sensor
            message: Open > 2 minutes
            priority: 1

I dont get the alert and if I try to set the sound

        - service: notify.pushover
          data:
            title: Test Sensor
            message: Open > 2 minutes
            sound: siren

It also does not work. I tried uploaded a sound to the pushover website and tried using that but it did not work (I got nothing).

Any ideas?
Ben

It’s worth checking out the Pushover docs, but what you need for sound is this:

        - service: notify.pushover
          data:
            title: Test Sensor
            message: Open > 2 minutes
            data:
              sound: "siren"

In fact, with pushover you can ‘build in’ the repeat as follows:

        - service: notify.pushover
          data:
            title: Test Sensor
            message: Open > 2 minutes
            data:
              priority: 2     # repeat every 'retry' seconds until 'expire' seconds
              sound: "siren"
              retry 30        # repeat message every 30 seconds
              expire 300      # stop after 300 seconds (10 repeats), max 10800 secs (10 hours)

edit: Added link to Pushover integration docs

OK. So you need the quotes, thanks. And also I guess with priority 2 you need to specify retry/expires. Ime doing all this in YAML so the default priority seems fine. Kiund of like doing this as it makes it easier to switch to a diferent notificasion platform, or use more than one.