intents
intents copied to clipboard
Possibility to control multiple entities with a single query.
Hello;
I was wondering if you plan to support queries with multiple entities. I find it very frustrating that every time I want to turn off 2 lights, I have to tell Alexa "Alexa, turn off the living room light", "Alexa, turn off the hallway light" instead of just saying "Alexa, turn off the hallway and living room lights".
It would be really nice if it was possible to do this kind of query aggregation with Home Assistant Conversation.
What do you think ?
The intent matcher could probably be extended to support these kinds of things, for example with a regex-like syntax: turn off {name} (and {name})*
The problem comes in with mixed intents: "turn off the hallway light and open the garage door". This is both a HassTurnOff and a HassTurnOn intent. Everything is currently structured around having a single intent per sentence, so this would be a major change.
Hi @synesthesiam ,
I am searching for exact this feature. It's been a while since this enhancement was created. Is this currently on a roadmap for the future? :)
I don't know how the intents (hassil) is implemented or designed but could this work with a LLM and the use of the HA MCP integration? So the LLM can decide to call the HA MCP more then once in case a sentence with multiple intents is detected. So there is no need to change anything in general. ;)
Regards Tobias
@sisimomo I tested it today and it's working nicely. I just added some more info to the LLM context (while creating one in open router integration), so the LLM knows that it has to sent one tool request per device change at home assistant. And now I can control multiple devices at once. :) Maybe this is a solution for you as well. Regards
The intents are built to support multiple devices, so the issue is just getting the sentence matcher to pass along the right information. This is on the roadmap 👍