#you can remove `speaker: box_speaker`

1 messages ยท Page 1 of 1 (latest)

slender plover
#

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"

molten peak
#

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'

slender plover
#

Still nope hmm

molten peak
#

thats the same as my box is setup. let me double check ,,

slender plover
#

The picture and delay happens fine but isn't playing over the media player

molten peak
#

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

slender plover
#

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
    `
molten peak
#

comment it out and try it , you might have spotted that ๐Ÿ™‚ i missed it... it is comented out in mine ๐Ÿ™‚

slender plover
#

Let's try that lol

molten peak
#

it will work.. i have faith!

slender plover
#

๐Ÿคž

#

Made me clear build files ugh

molten peak
#

yes thats a pain with esp-idf if you remove a component

slender plover
molten peak
#

delays usually cure things like that, have a play ๐Ÿ™‚

slender plover
#

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.

molten peak
#

whats the config for doing it ?