home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.78k stars 30.04k forks source link

Scripts with user inputs not showing input dialog from scripts table #115107

Open tyron opened 5 months ago

tyron commented 5 months ago

The problem

In 2024.3 we had a new feature on scripts that required user inputs, where we would have a dialog with options (https://www.home-assistant.io/blog/2024/03/06/release-20243/#running-script-from-your-dashboard-with-user-input).

This functionality only works when editing a script, hitting the hamburguer menu and selecting Run. If running directly from the Scripts' table, it doesn't request inputs.

Open your Home Assistant instance and show your scripts.

What version of Home Assistant Core has the issue?

core-2024.4.1

What was the last working version of Home Assistant Core?

N/a

What type of installation are you running?

Home Assistant OS

Integration causing the issue

No response

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

alias: Test Script
sequence:
  - service: persistent_notification.create
    data:
      title: Testing
      message: "Test: '{{ param1 }}'"
mode: single
fields:
  param1:
    selector:
      number:
        min: 1
        max: 100
    name: Parameter 1
    default: 42

Anything in the logs that might be useful for us?

No response

Additional information

No response

issue-triage-workflows[bot] commented 2 months ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

tyron commented 2 months ago

This is still an issue. Hitting "Run" in the Scripts page results in the following error:

Failed to call service script/my-script. Template rendered invalid entity IDs