2024.3: Finalize running script from your dashboards

This commit is contained in:
Franck Nijhof 2024-03-06 15:16:56 +01:00
parent 1364af703b
commit 29f279cbb0
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3

View File

@ -80,19 +80,31 @@ Lorem ipsum
## Running script from your dashboard with user input
Scripts in Home Assistant allow you to capture a sequence of actions and choices in a reusable way. Scripts are extra powerful because they can have input fields, which allow you to send in data for when the script runs.
{% term Scripts %} in Home Assistant allow you to capture a sequence of actions
and choices in a reusable way. Scripts are extra powerful because they can
have input fields, allowing you to send in data for when the script runs.
Script fields can be defined in the script editor and show up when you call the script in your automation. In this release, script fields will be available in the more info dialog when tapping on a script in the dashboard. This allows you to provide the input fields and run the script, unlocking a whole new dimension of possibilities.
Script fields can be defined in the script editor and show up when you call the
script in your automation. In this release, script fields will be available
in the more info dialog when tapping a script on a dashboard.
This allows you to provide the input fields and run the script, unlocking a
whole new dimension of possibilities.
<lite-youtube videoid="Ulkl1L8F1L4" videotitle="Calling scripts from the dashboard"></lite-youtube>
To accompany this new functionality, we've created two blueprints as examples of what you could want to add to your dashboard:
To accompany this new functionality, we've created two blueprints as examples
of what you could want to add to your dashboard:
**Announce message**: This blueprint allows you to create an announce script for your dashboard that is pre-configured to a specific media player and text-to-speech engine. When activated, it will ask the user for the message to play.
**Announce message**: This blueprint allows you to create an announce script for
your dashboard pre-configured to a specific media player and text-to-speech
engine. When activated, it will ask the user for the message to play.
{% my blueprint_import badge blueprint_url="https://community.home-assistant.io/t/announce-text-to-speech-on-media-player/699186" %}
**Add to to-do list**: This blueprint allows you to create a script to add an item to a to-do list that is pre-configured to a specific to-do list. When activated, it will ask the user for the item to add.
**Add to to-do list**: This blueprint allows you to create a script to add an
item to a to-do list pre-configured to a specific to-do list. When activated,
it will ask the user for the item to add.
{% my blueprint_import badge blueprint_url="https://community.home-assistant.io/t/add-to-do-item/699193" %}