Cannot get text to speech to work on Alexa integration

So I’ve got kind of a weird issue (aren’t they all?) - I have a bunch of Google Home Minis and Echos of different sorts and only one of them was working either with Spotify or for TTS. After messing around I found somehow the Google Home Minis had been disabled in integration - fixed that, all good and they now work fine for both TTS and Spotify. Mysteriously (at least to me) the Echos now work with Spotify, albeit a little patchily. However they still aren’t working with TTS, whether I call it through Nabu Casa cloud, through the developer tools TTS say message with cloud service, or the Alexa notifications service. I’ve tried uninstalling and reinstalling, restarting a zillion times, you name it, but I have no idea what’s wrong or even where to look.

There are a couple of curious things that maybe will help someone understand what’s going on. If I go to TTS say message cloud and google_translate all of the Echoes are always blacked out, other than the Show (which is only sometimes blacked out). It doesn’t work, but at least it’s not blacked out permanently.

Anyway, if someone has a tip as to what might be happening or even where I can look to start to understand the problem I’d be pretty grateful.

this is how I am doing TTS in alexa

  - service: notify.alexa_media
    data:
      message: 'my message goes here'
      target: media_player.echo_show
      data:
        type: announce

Thanks for the reply, not working for me - unknown error. :frowning:

Assuming you have replaced your entity name in target, right?

Correct, tried that and didn’t work.

Then I did some reading, uninstalled, reinstalled and tried substituting the serial number of the Echo for the entity name and guess what? That worked!

Whether it will work tomorrow is another story, but it works now and that’s a damn good start.

Can you share your code with the serial number?
I also tried now for several ours, and only for one of my Alexa the TTS is working, not for the others…

Many thanks in advance!

Sure! It seems to work with some using only the serial number, with others I can use the name. Formatting seems a little screwy below btw you might need to get the spacing right!

service: notify.alexa_media
data:
message: Can you hear this?
target:
- G090XG121334080G
- media_player.office
- 90F00716616301C4
- G091MK0614170D57
- media_player.laundry
- G071R20714601C9
data:
type: tts