-
-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Description
Feedback
I'm not sure this is the right place for this as I'm sure it would work just fine if I were typing the commands out to Assist, but trying to get it to work with a custom voice assistant as detailed in the year of the voice blogs is proving difficult.
Feedback: Update documentation examples with how to force recognized text to a particular data type for use with custom HA voice assistant. The example shows how to build an intent with a media player and setting the volume to a particular percent with the part of the sentence {volume} [percent]
.
However, when I try to replicate this with a custom fan speed intent, the assistant continues to capture {speed} [percent]
as the literal string of "50%". (Or in my previous attempt of setting the fan to a value of 0-10 and multiplying by 10 for the percent, would capture me saying the number 5 and pass through the string "five", which again I can't do math on)
URL
https://www.home-assistant.io/voice_control/custom_sentences/
Version
2023.10.5
Additional information
In the attached image you can see that the voice recognition is interpreting 3 as "three" (sometimes it does recognize it as "3"). With my intent expecting a range of 0 -10, this obviously doesn't work.