#Assist works in dev tools fails in real life

1 messages · Page 1 of 1 (latest)

placid stump
#

I have a Voice PE in my “Main Bedroom” area. I am trying to send an assist command to play music and all,looks well in the dev tools

{
  "results": [
    {
      "sentence": "Play billy joel on the main bedroom player ",
      "language": "en",
      "result": {
        "intent": {
          "name": "MassPlayMediaOnMediaPlayer"
        },
        "slots": {
          "query": "billy joel",
          "name": "main bedroom player"
        },
        "details": {
          "query": {
            "name": "query",
            "value": "billy joel",
            "text": "billy joel"
          },
          "name": {
            "name": "name",
            "value": "Main Bedroom Player",
            "text": "main bedroom player"
          }
        },
        "targets": {
          "media_player.main_bedroom_speaker_media_player": {
            "matched": true
          }
        },
        "match": true,
        "sentence_template": "<play> {query};<on> [the ]{name} [<player_devices>] [((with)|(using)) {radio_mode}]",
        "unmatched_slots": {},
        "source": "custom",
        "file": "en/play_media_on_media_player.yaml"
      }
    }
  ]
}

note the valid target. But when I type the command into assist I get no valid targets?

stray rain
#

are you using music assistant?

#

because that requires some extra stuff to get it working

wild beacon
#

is the main bedroom player exposed to Assist?

stray rain
wild beacon
stray rain
#

👀

#

I see

wild beacon
placid stump
wild beacon
#

i can't figure this out 🤔

placid stump
#

Does any other entity associated with the VoicePE also have to be exposed?

placid stump
#

I am wondering if the Voice PE hasn't been added to HA properly,,,,? I will try and remove it and start again...

wild beacon
#

Don't test with a satellite. Test in text mode in the browser (press a to invoke Assist)

versed delta
#

I'm using voice PE and MA has been working for me with the voice commands from the voice-support repo. Not sure if you are using something different though 😅

versed delta
#

That media player is exposed to MA right? Via the ha provider?