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

Intent Script configuration missing input parameters #36370

Open
fortuna opened this issue Dec 16, 2024 · 1 comment
Open

Intent Script configuration missing input parameters #36370

fortuna opened this issue Dec 16, 2024 · 1 comment

Comments

@fortuna
Copy link

fortuna commented Dec 16, 2024

Feedback

The page says "If you are using intent script with LLMs and have parameters, make sure to mention the parameters and their types in the description.", but it doesn't explain how to declare the parameters in the intent config. There's also no explanation on how to refer to the parameters in the action.

URL

https://www.home-assistant.io/integrations/intent_script/

Version

2024.12.3

Additional information

I'm trying to create an action to pause for X seconds, so I can make the assistant do actions that need timing, like blinking a light a few times.

I was writing something like this:

intent_script:
  WaitForDuration:
    description: Pauses execution and waits for a duration of time given in the input
    # Where do I declare the input duration in seconds?
    mode: parallel
    action:
      delay:
        seconds:  ??? # How do I refer to the input duration here?
@TegridyTate
Copy link

+1, I have the exact same issue

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

No branches or pull requests

2 participants