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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user