As the title suspects. When my Android companion app crashes and is “off”, which happens a lot (sorry). OR when I turn on my wall tablet. And I restart the companion app again. It starts playling a lot of old TTS notify messages which are old an unuseful. Like “the gate has opened” and we were like huh why is the gate open? But these were old messages… the thing is playing all the missed TTSnotify.
by default notifications respect android doze and will wait for the device to come online or in your case to be restarted. If you check notification history you can see when they arrive. If you want them to appear immediately or not at all you need to follow the critical steps:
https://companion.home-assistant.io/docs/notifications/critical-notifications#android
you can also stop TTS using a command if you find it happens often with your setup. the app should to really crash that often but without a bug report we cant fix it.
https://companion.home-assistant.io/docs/notifications/notification-commands#stop-tts
I searched the forum for ‘doze’
I have a Pixel on Android 15 and it seems to ignore all the home assistant notification settings for some reason.
My automation has the channel set as important and also set to be a persistent notification and I’ve noticed since I got this new pixel it doesn’t wake the phone from doze and the notification isn’t persistent anymore.
I know the automation works fine as I’ve only had this phone about a month and it working great on that phone as well as my wife’s phone now.
that is not following the first link directly above, share teh YAML example if you are stuck so we can correct it.
Sorry yeah i have the priority and channel both set which should apparently wake my phone from a doze.
alias: Calendar notification
description: For Baileys tablets
triggers:
- event: start
entity_id: calendar.baileys_tablets
trigger: calendar
actions:
- data:
title: Baileys Tablets
message: "{{ trigger.calendar_event.description }}"
data:
actions:
- action: tabsdone
title: Done
- action: URI
title: Open Calendar
uri: /calendar
channel: tablets
clickAction: noAction
importance: high
persistent: true
icon_url: /local/images/icon/dog2.png
notification_icon: mdi:dog
car_ui: true
tag: tablets
priority: high
enabled: true
action: notify.mobile_app_steve_mobile
mode: single
you are missing ttl: 0
per the example in the link
ttl
and `priority are highlighted only in that first example
Thanks I’ve added that see if if helps later.