TTS via notification_stream plays when ringer is silenced

Hi, last night I had a TTS play when I was at a meeting despite putting my ringer on to “silent” via the devices volume menu.

I had thought this would disable that from happening, but I think something odd is happening.

I tested this morning and confirmed that even with notification and ringer volume all the way down it still plays TTS.

Here’s the notification that caused the TTS. (I’d love to copy the text, but it seems I can’t?)

Any ideas why this is happening?

TTS uses the music stream on the phone by default so it will play regardless of ringer mode but not if your music volume is off. There’s is also no method to force the notification steam like your code suggests.

I was wondering if that was the case as I read through the app docs. That code came from a blueprint, so I’ll need to follow up with it.

Thanks @dshokouhi.

So, re-reading docs… media_stream: alarm_stream and media_stream: alarm_stream_max are options right? Is it an android limitation that TTS cannot be sent to notification_stream?

If you see it listed it’s for the specific feature mentioned. Notice how only alarm stream is shown and mentioned

https://companion.home-assistant.io/docs/notifications/notifications-basic#text-to-speech-notifications

Copy that, I understand.

Although it was an assumption on the blueprint creators part, to me it was an understandable assumption.

I’ll use the condition of ringer mode which is kindly provided.

Thank you again. :call_me_hand:t3: