Assist - Custom Sentences not working

I feel like I’m taking crazy pills. I’ve followed the steps as defined in https://www.home-assistant.io/voice_control/custom_sentences/ but my custom sentences don’t seem to work at all.

Here’s a screenshot of my setup for the custom sentences with the file path included.

Screenshot_20240223_134309

language: "en"
intents:
  SetVolume:
    data:
      - sentences:
          - "(set|change) {media_player} volume to {volume} [percent]"
          - "(set|change) [the] volume for {media_player} to {volume} [percent]"
          - "play {track} by {artist} on {media_player}"
          
lists:
  media_player:
    values:
      - in: "living room"
        out: "media_player.living_room"
      - in: "bedroom"
        out: "media_player.bedroom"
      - in: "office speaker"
        out: "media_player.office_speaker"
  volume:
    range:
      from: 0
      to: 100

And then in my configuration.yaml file I have intent_script: !include intent_scripts.yaml
My intent_scripts.yaml is:

  SetVolume:
    action:
      service: "media_player.volume_set"
      data:
        entity_id: "{{ media_player }}"
        volume_level: "{{ volume / 100.0 }}"
    speech:
      text: "Volume changed to {{ volume }}"

Whenever I try to say “set bedroom (or the other 2) volume to 50%” the response is always “Sorry, I am not aware of any device called bedroom volume”.

I went into the debugger for Assist and typed out the request and it’s wanting to turn on a light entity. Something is missing in my setup and I fail to understand where that failure is.

Any help would be greatly appreciated.

Well, I was missing something…

The issue was I saying “percent” and just needed to say “set bedroom volume to 50” and it works just fine. Something to keep in mind/change/work on.