add confirmation option for script in entities card #8249
Replies: 2 comments 5 replies
-
I did some work on the Entities card in the last days and starting with the beta that was released today, the following is now possible (see beta docs https://next.home-assistant.io/lovelace/entities):
That covers your use case. Reg. "Execute": That is the same wording that is used throughout HA. Changing it here would be inconsistent plus you can override it anyway. For non-native speakers, it should be translated and I can only see "Execute" being used in English (and for some reason Portugese). |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
would love to be able to use a confirmation on a script in an entities card directly, like:
or even better:
in the above config, there is no confirmation at all, and I believe we can only do that by first defining the script to be the action service of a button?
this of course is way more complex, and, rather importantly, loses the option of the action name, which now is defaulted to 'Run', and the other script configurations, like name and icon.
below a screenshot of both entities in a card:
Please consider adding the confirmation to the script directly in the entities card. It would be even better, if adding a confirmation could also cause a visual indication, like the locks above. Maybe like
or
secondary consideration: would it be feasible to change the default script action_name from 'Execute' to 'Run', like on the button. 'Execute' has some serious negative connotations, especially for non native English speakers..
See community: https://community.home-assistant.io/t/how-to-set-a-confirmation-on-a-script-in-an-entities-card/273492
Beta Was this translation helpful? Give feedback.
All reactions