Hello again
I am trying to get my LEDCube connected to the Conversation section of Home Assistant. So far I have managed to get UDP sending to work by PyScript, and can send service calls through the developer to change its modes and text. However, I am lost when it comes to sending strings from voice to the service.
Currently, my custom sentence works on mode random as it is hard coded as seen here
language: "en"
intents:
CustomLEDCubeMode:
data:
- sentences:
- "Set LEDCube mode to random"
and my intent_script.yaml is as follows:
CustomLEDCubeMode: # Intent type
speech:
text: Mode set
action:
service: pyscript.setmode
data:
mode: "random"
What I want is away to replace “random” with a variable and have this pass from the command, through the intent and into the service mode field. I’ll need something similar when it comes to text passing as well.
Thank you for reading