Atom M5 open wake word redirect output tts

Hello,
I bought an Atom M5 to test it out. I was able to integrate it into Home Assistant and use it as a voice assistant.
However, since the speaker is not very good, I would like to redirect the TTS output to my room speakers.
To do this, I retrieved the yaml config from the Git repository GitHub - esphome/wake-word-voice-assistants and stored it in espbuilder.
I added the API key for Home Assistant and the Wi-Fi access data.
Then I added the following to the on_tts_end event section:

  on_tts_end: 
    - homeassistant.service:
        service: notify.alexa_media
        data:
          target: media_player.buro
          message: !lambda 'return x;'

Then I installed the configuration on the M5. The voice assistant also responds. However, the voice is not output on the speaker.
What am I doing wrong?

ok, i dont know why, but i reinstalled it and then - its working.

Good you got it solved!

Please take the time to mark your post with the solution as the answer.
You do that by selecting the three dots under the post:

image

Then select the check box:

image
By doing so:

  • this thread can be useful to other users as well (this thread comes up as solution when starting a thread which is similar to yours).
  • this prevents that someone else steps in trying to help

Thanks for giving back to the community! :+1: