Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scripts running in queued mode do not return response_variable data #137298

Open
stalakerob opened this issue Feb 4, 2025 · 0 comments
Open

Scripts running in queued mode do not return response_variable data #137298

stalakerob opened this issue Feb 4, 2025 · 0 comments

Comments

@stalakerob
Copy link

The problem

Scripts running in queued mode do not return response_variable data. I wrote a script that returns data to my conversation agent (LLM). The CA does not receive this data when the script runs in queued mode. When running in single mode it works.

What version of Home Assistant Core has the issue?

2025.1.4

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

scripts

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

now_playing_on_ma:
  alias: "Get Now Playing Track Name from MA"
  description: 'This script is used to get the current playing song in Music Assistant based on a voice request.
    The tool requires no arguments. Use this tool whenever the user requests title or song information for
    the currently playing title on music assistant.' 
  mode: queued
  sequence:
    - variables:
        response:
          title: Song from Band
    - stop: ''
      response_variable: response

Anything in the logs that might be useful for us?

Additional information

When running the script in single mode it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant