Add original message as dialogflow_query parameter (#15304)
So you can access for example sessionId as {{ dialogflow_query.sessionId }} in intent templates.
This commit is contained in:
parent
dabbd7bd63
commit
bd62248841
1 changed files with 2 additions and 1 deletions
|
@ -99,7 +99,8 @@ async def async_handle_message(hass, message):
|
|||
return None
|
||||
|
||||
action = req.get('action', '')
|
||||
parameters = req.get('parameters')
|
||||
parameters = req.get('parameters').copy()
|
||||
parameters["dialogflow_query"] = message
|
||||
dialogflow_response = DialogflowResponse(parameters)
|
||||
|
||||
if action == "":
|
||||
|
|
Loading…
Add table
Reference in a new issue