"Sorry, there are multiple devices called..." problem and debugging

I’ve run across an issue with voice assistant where it understands what I’m asking it to do, but it reports an error because it thinks there are multiple devices with the same name. I’m willing to believe that I have botched an alias somewhere, but I’m at a loss as to how to find and fix it.

How do I find the list of devices that it matched so that I can resolve the duplication?

Here is the top level debug info from the voice assistant debug tool:

Here is the raw output from the debug tool:

stage: done
run:
  pipeline: 01hyrcnwqntv6gedstcwm0h6v7
  language: en
  runner_data:
    stt_binary_handler_id: null
    timeout: 300
events:
  - type: run-start
    data:
      pipeline: 01hyrcnwqntv6gedstcwm0h6v7
      language: en
      runner_data:
        stt_binary_handler_id: null
        timeout: 300
    timestamp: "2024-08-30T21:22:42.287215+00:00"
  - type: intent-start
    data:
      engine: conversation.home_assistant
      language: en
      intent_input: turn on the wash down pump
      conversation_id: null
      device_id: null
    timestamp: "2024-08-30T21:22:42.287307+00:00"
  - type: intent-end
    data:
      intent_output:
        response:
          speech:
            plain:
              speech: Sorry, there are multiple devices called Wash down pump
              extra_data: null
          card: {}
          language: en
          response_type: error
          data:
            code: no_valid_targets
        conversation_id: null
    timestamp: "2024-08-30T21:22:42.404415+00:00"
  - type: run-end
    data: null
    timestamp: "2024-08-30T21:22:42.404474+00:00"
intent:
  engine: conversation.home_assistant
  language: en
  intent_input: turn on the wash down pump
  conversation_id: null
  device_id: null
  done: true
  intent_output:
    response:
      speech:
        plain:
          speech: Sorry, there are multiple devices called Wash down pump
          extra_data: null
      card: {}
      language: en
      response_type: error
      data:
        code: no_valid_targets
    conversation_id: null

Note that I’m taking it at face value that there were duplicate devices, even though the debug output says that there were no matches…I definitely have one entity set up with this name in the alias. And, this sentence works if I use one of the other aliases assigned to the entity (“turn on the deck rinse pump”).

Thanks!

Success… someone on Facebook helped me out.

Under Settings : Voice Assistants, go to the Expose tab, and you can search by name, which includes aliases.

This allowed me to find the errant aliases and change them.

Hopefully this helps out someone else in the future.

Wow had this issue and just stumbled upon this. Finallyyyyyy figured it out with your help. Thank you so much lol. I was ready to rip my hair out!

1 Like