Very slow notifications on Android

My Home Assistant on Android (Samsung) takes 20 minutes or more to notify if the screen is closed, but it immediately shows notifications once I unlock. I’m using Home Assistant with HA Cloud.

Same thing happens on my tablet, both on 5G or wifi.

Did you set the priority/importance?

on the notification action I see no priority. Which priority you are talking about?

      - data:
          title: Birthday today
          message: >
            {{ trigger.calendar_event.summary.split(' ')[0] }} is {{
            states['sensor.anniversary_' ~ trigger.calendar_event.summary |
            lower | replace(' ','_')].attributes.years_at_anniversary }} years
            old.
          data:
            priority: high
            ttl: 0
        action: notify.jeffs_phone

You can add ttl and priority, see the following example:

  - action: notify.notify_me
    metadata: {}
    data:
      message: >-
        Critical: {{states('binary_sensor.my_battery_critical')}} 
      title: Warning
      data:
        notification_icon: mdi:lock-alert-outline
        ttl: 0
        priority: high
1 Like

It’s always in the documentations