Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 106627

Typed intent works but spoken does not

$
0
0

I am trying to implement a voice shopping list. What I’ve done so far responds correctly if I type the command into the assistant or if I speak it into the assist pop-up on my android phone app.

But, if I speak the command to my Voice Assistant PE it does not work. The Voice Assistant PE responds to the wake word and after I say the trigger and item “Add Eggs” for example. I get three quick blue flashed from the Voice Assistsnt PE light ring and nothing further happens.

Here’s what I have configured:
I found this blog post describing how to setup an intent and custom sentence. Adding shopping list items via Home Assistant voice commands

I added the intent to my configuration.yaml

# Voie Shopping List
conversation:
  intents: {}

intent_script:
  ShoppingListAddItem:
    action:
      action: todo.add_item
      target:
        entity_id: todo.shopping_list
      data:
        item: "{{ shop_item }}"
    speech:
      text: "{{ shop_item }} added to your shopping list."

and created a custom sentence file custom_sentences/en/shopping_list.yaml

language: "en"
intents:
  ShoppingListAddItem:
    data:
      - sentences:
          - "Add {shop_item}"
lists:
  shop_item:
    wildcard: true

I only have one local Assist configured. I am using the Home Assistant conversation agent, and speech-to-phrase for the STT.

Do I need to do something additional to get the Voice Assistant PE unit to work with a custom intent and sentence like this?

Thanks!
Tom G.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 106627

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>