diff --git a/custom_components/extended_openai_conversation/helpers.py b/custom_components/extended_openai_conversation/helpers.py index 7f9bc23..4f52371 100644 --- a/custom_components/extended_openai_conversation/helpers.py +++ b/custom_components/extended_openai_conversation/helpers.py @@ -433,6 +433,7 @@ async def execute( logger=_LOGGER, ) + arguments['device_id'] = user_input.device_id result = await script.async_run( run_variables=arguments, context=user_input.context )