Voice assistant integration

Hi everyone,

I have been trying to understand how voice assistant and conversation intents work. So, the sound is converted to text via speech-to-text, inferred by conversation agent, and the response is converted via text-to-speech and send back to satellite, and they are all done in assist pipeline. With conversation intents, we can set custom commands and take action in related intent scripts. My question is, can I send the satellite device (or the pipeline used) info to the intent script so I can conditionally run the action depending on the satellite device. To make it short, I want to use commands withouts specifying the area or device name, like “Turn on the Lights” and the script should run the action depending on from which satellite device is triggered.
Any help would be much appreciated.
Best
Tugrul

I believe “turn on light” will turn on lights based on room defined in home assistant by default

Hi Tmjpugh,

Thank you for the reply. That is exactly what I mean. You have to dedicate the phrase to a device or area (or multiple devices). When you use that phrase, it will trigger the dedicated device or devices. What I want to do is that when I use the phrase “Turn on the Lights” in RoomA, RoomA’s lights should turn on. If I use the same phrase in RoomB, RoomB’s lights should turn on. Right now, using Conversation intents, it only triggers based on the phrase I defined. Thus, I have to mention the device or area name as well in the phrase.

I haven’t used HAvoice in a while. I know Alexa works this way but I thought HA was same.

I will confirm and let you know.
I didn’t see this documented