I am trying to find a way to be able to send tts to the Companion App

I want to be able to send TTS to my Samsung S21+ which has HA and the Companion app installed. Ideally I want to use Amazon Polly and use a Jarvis voice. However, at this point I have been unable to get any tts to play on my phone. I am trying to just use Develop tools > Actions and insert some yaml code and then click on perform action. Here is an example of the code I would really like to be able to use:

action: notify.alexa_media
data: 
  message: >
    <voice name="{{ states('input_select.jarvis_voice') }}">
    <amazon:auto-breaths>
    <prosody rate="fast">
    Pardon me, Lightning has been detected. If you'd rather not be a crispy critter, you should probably take shelter in the basement.
    </prosody>
    </amazon:auto-breaths>
    </voice>
  target: notify.mobile_app_mike_phone
  data:
    type: tts

My goal is to be able to have HA play a morning briefing to me each day that contains the weather, calendar events, etc. Some days I might be in the living room for example, and would use the Alexa device in the room. But other days I might be in a room that has no Alexa, or maybe outside or driving in my car. So in those instances I want the briefing to be played on my phone.

I have tried changing things in HA, in the Companiuon app and onthe phone, But as of yet, I have been unable to get any tts to play on the phone.

I would be very appreciative of anyone that can help me solve this.

Thanks,
Mike

Follow these steps

I have followed the steps in the docs as far as I can tell. If I use the following code in Developer tools > Actions:

action: notify.mobile_app_mike_phone
data:
  message: "Notification text"

I get a text message on my phone. But If i try to send it as text-to-speech, I still get it as text.

OK, I finally for the first time got tts on my phone using the following yaml in Developer tools > Actions:

action: notify.mobile_app_mike_phone
data:
  message: TTS
  data:
    ttl: 0
    priority: high
    media_stream: alarm_stream
    tts_text: The house is on fire and the cat's stuck in the dryer!

The issue is that is it playing at about 20x speed, so it is impossible to understand. How can I change the speed, and maybe the voice?

tweak your device TTS settings, the app uses whatever is default there.

Thanks so much for your continued help and support!!!

I am not sure where to find that. It seems like the Samsung Galaxy S21+ 5G has moved the tts around. I finally found it, but i am not aware of any settings. I will try to do some more digging.

Success. It was moved in an update a while back, but I managed to find it. Problem solved. Just out of curiosity, can I use other voices and amazon polly, or is it whatever the default is and not able to be changed?