Hi,
I'm super curious about voice assistants (who isn't?) and have started working on custom intents to make it a little more dynamic.. But I have come to some limitations (I think).
- All my areas, floors and relevant devices have one or more aliases on them. But I can't seem to find a way to pass the area based on alias-usage from the custom_sentence to the custom intent.
For example. I have a custom sentence that is "List all devices in {area}" (but in Swedish) which I want to list all devices that are in a certain area. The problem is that if I say "List all devices in vardagsrummet nere" (which is the way to properly say the area) whereas the area name is actually named "Vardagsrum Nere" (which is the proper way to describe the area in text).. All I get from Home Assistant is that it doesn't understand what I mean.
If I say "List all devices in vardagsrum nere" it just works, but that is not the way you would naturally ask.
In my custom intent I have therefore created a "translation array" which translates all the aliases into their proper actual areas, but {area} doesn't seem to return "vardagsrummet nere" to the intent. So it still just fails.
-
Another problem with this is that there doesn't seem to be a way to programmatically limit the returned devices to only devices that are actually exposed to the voice assistant. It returns all devices in the room no matter if I can actually control them through assist or not.
-
Another problem is also that I can't seem to return the actual aliases for the devices. I have figured out how to return the friendly name, but having the possibility to return one or all of the aliases for the devices would be even greater.
What have I missed and how do I fix this? 🙂 I haven't spent very long on this so I'm sure it's just a case of limited experience. 🙂