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?