Make conversation and intent context aware (#28965)

* WIP

* LINT
This commit is contained in:
Paulus Schoutsen authored and Pascal Vizeli committed 2019-11-26 11:30:21 +01:00
1 parent 6c6a5c50a5
commit c76f768a82
9 files changed
+82 -57

No files matched your search

@@ -80,7 +80,9 @@ class ScriptIntentHandler(intent.IntentHandler):
if action is not None:
if is_async_action:
intent_obj.hass.async_create_task(action.async_run(slots))
intent_obj.hass.async_create_task(
action.async_run(slots, intent_obj.context)
)
else:
await action.async_run(slots)