Checklist
Proposal
Hello,
Thank you for the excellent Scheduler Card integration.
Currently when selecting a script entity as an action in Scheduler Card, the UI only allows executing the script directly. There is no way to provide values for script input fields.
However, Home Assistant scripts support parameters using the fields property. These fields allow scripts to receive dynamic input values when executed.
Additional info
Example script:
script:
output:
alias: Output
fields:
message:
description: Text to broadcast
required: true
sequence:
- service: notify.mobile_app
data:
message: "{{ message }}"
When selecting this script in Scheduler Card, the UI does not display any inputs for the defined fields. As a result, scripts that rely on parameters cannot be used effectively with Scheduler.
Feature request:
When a script entity is selected as an action, Scheduler Card could detect the script's fields definition and automatically generate appropriate input controls in the UI. These values would then be passed as service data when the script is executed.
Possible implementation behavior:
- Detect if the selected script defines
fields
- Render input elements corresponding to each field (text, number, select, etc.)
- Pass the entered values as service data when executing the script
This would improve integration with Home Assistant's script system and allow parameterized scripts to be used directly within Scheduler tasks.
Checklist
Proposal
Hello,
Thank you for the excellent Scheduler Card integration.
Currently when selecting a script entity as an action in Scheduler Card, the UI only allows executing the script directly. There is no way to provide values for script input fields.
However, Home Assistant scripts support parameters using the
fieldsproperty. These fields allow scripts to receive dynamic input values when executed.Additional info
Example script:
script:
output:
alias: Output
fields:
message:
description: Text to broadcast
required: true
sequence:
- service: notify.mobile_app
data:
message: "{{ message }}"
When selecting this script in Scheduler Card, the UI does not display any inputs for the defined fields. As a result, scripts that rely on parameters cannot be used effectively with Scheduler.
Feature request:
When a script entity is selected as an action, Scheduler Card could detect the script's
fieldsdefinition and automatically generate appropriate input controls in the UI. These values would then be passed as service data when the script is executed.Possible implementation behavior:
fieldsThis would improve integration with Home Assistant's script system and allow parameterized scripts to be used directly within Scheduler tasks.