Notifications issue

Notifications work most of the time, but are delayed various amounts. They are almost instant if the app is opened in the foreground, but can be delayed by 10 minutes if not. Likely it’s variances in the different Android implementations and how they handle firebase.

make sure to follow the critical format and they will always be instant

https://companion.home-assistant.io/docs/notifications/critical-notifications#android

Added and tested. No change.

please share the YAML you used

alias: test
description: ""
trigger: []
condition: []
action:
  - data:
      message: TTS
      data:
        ttl: 0
        priority: high
        tts_text: Testing text to speech android notification alarm media stream
        media_stream: alarm_stream
      title: "Testing "
    action: notify.mobile_app_john
mode: single

can you check that the app has proper permission to run in the background?

settings > companion app > background access

No setting by that name in moto e Android 10 that I can find. There is a setting for battery optimization while in the background and it is turned off for the companion app.

you will need to dig deep into your device, this site has some tips you can try https://dontkillmyapp.com/motorola

and dont go by the exact name, different manufacturers have different names for things. One may call it battery optimization the other may call it power saving and another made another setting for Data Saver etc…

home assistant companion app background usage:
“Background usage can’t be restricted”
Data saver setting:
Off
These are the settings for the app since install, so no change. Is there a specific system service to check for data restriction?

thats the bit that can be manufacturer specific that you may need to dig aroudn in settings to see if something may block the app from being woken up when the notification arrives. The critical format will always notify immediately if the device is reachable

What about during app install? Would the permissions granted then be all that are required? I’ll can try re-installing.

that is also manufacturer dependent

but reinstalling cant hurt, follow the start fresh steps to rule out any caching issues: https://companion.home-assistant.io/docs/troubleshooting/faqs/#starting-fresh-with-the-android-app