#you can remove `speaker: box_speaker`
1 messages ยท Page 1 of 1 (latest)
So that worked in disabling the speaker but it also disabled playing via the media player
on_tts_end: - lambda: id(voice_assistant_phase) = ${voice_assist_idle_phase_id}; - script.execute: draw_display - homeassistant.service: service: media_player.play_media data: entity_id: media_player.master_bedroom media_content_id: !lambda 'return x;' media_content_type: music announce: "true"
it should work, very strange, try it like this
on_tts_end:
- homeassistant.service:
service: media_player.play_media
data:
entity_id: media_player.master_bedroom
media_content_id: !lambda 'return x;'
media_content_type: music
announce: "true"
- delay: 1s
- lambda: id(voice_assistant_phase) = ${voice_assist_idle_phase_id};
- script.execute: draw_display
just added a delay, if it doeant update the page , you can add that in too'
Still nope hmm
thats the same as my box is setup. let me double check ,,
The picture and delay happens fine but isn't playing over the media player
in the esphome integration in HA settings >>devices & services there should be a 'configure' button next to the device, click that and make sure allow service calls is ticked
Yes thats clicked
It was playing with an echo over both speakers before the change
Do I need to change anything with this?
`
speaker:
- platform: esp_adf
id: box_speaker
`
comment it out and try it , you might have spotted that ๐ i missed it... it is comented out in mine ๐
Let's try that lol
it will work.. i have faith!
yes thats a pain with esp-idf if you remove a component
Got it. Now it's just cutting off the first of responses, and wasn't before. I can play with that see if i can figure that issue out
delays usually cure things like that, have a play ๐
One last question. I've tried calling another HA service wrapped around the media player. One to turn the vol to 5 and one to turn it to 7. Oddly that doesnt work, either.
whats the config for doing it ?