Notification to phone only appears if phone is awake

Hi, i have a zigbee door sensor I’m using in an automation to send a notification to my phone via the mobile app and I only get a notification when the phone is awake, how do I get an instant notification, my automation is

Check the HA app settings in your phone regarding notices it can receive.

It looks OK to me, I am receiving notifications but not when the phone is not awake, form this automation.

I believe you need to select date and add this

action: notify.mobile_app_your_phone
metadata: {}
data:
  message: Your Message
  title: Your Title
  data:
    ttl: 0
    priority: high
enabled: true
1 Like