Replies: 1 comment 12 replies
-
|
Hi,
If you want to have confirmation before running your JavaScript you need to code this in your own way. I highly recommend for your use case to use a Home Assistant script. I see no reason why this cannot be done with the example you have shown. |
Beta Was this translation helpful? Give feedback.
12 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Checklist
Describe the bug
In the case where
multi_callsis used in theaction, the confirmation dialog box appears, but the actions specified inmulti_callsare executed immediately when the button is clicked, and the appearance of the confirmation dialog box does not affect their execution. These actions will be performed simultaneously with the appearance of the confirmation dialog box, before any button is clicked in the confirmation dialog box.Version of the card
Version: 4.3.0-dev.1
To Reproduce
This is the configuration I used:
Expected behavior
I would really like to have the sequence of actions specified in
multi_callsexecuted only after clicking theOKbutton in the confirmation dialog box. Is there a way to achieve this?Beta Was this translation helpful? Give feedback.
All reactions