Custom Assistant Intents #2176
OzGav
started this conversation in
Show and tell
Replies: 1 comment 1 reply
-
so I tried adding everything as described here... if I use the assist debugging under "developer tools" I'm able to type in my sentences and see they are parsed and matched... BUT when I try to actually pass the exact same sentence to Assist, it gives me the error "Unexpected error during intent recognition" ... it seems to do this for any of the custom sentences... any thoughts? do you have this file working currently as described here? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Note that this discussion will be updated (including the attached files) as HA core updates occur.
HA supports the commands of NEXT, PAUSE, UNPAUSE and VOLUME when targeted at a specific player. If you use the OpenAI feature of the HA integration then you can add PLAY to that list. For the remaining service calls (including targetting areas) you can use custom sentences. Note that targetting an area which has multiple players may result in unpredictable behaviour.
Firstly add this file to \\YOUR_HA_IP\config\custom_sentences\en
media.zip
Of course you can change this file to reflect your language and change the
en
in the file path accordingly. Please share any translations below.Next you need to add to your configuration.yaml file the following. Note I have the unique characters
ma_
in myentity_id
which is used to select the correct player when targetting an area. If you don't want to add those characters you can either use a different set of characters and adjust the templates accordingly or remove all of the area based intents and not use that functionality.Beta Was this translation helpful? Give feedback.
All reactions