button-card
button-card copied to clipboard
Multiple Actions on Tap
Is it possible to have multiple actions on a tap? I'd like to be able to navigate and switch an input_select on a button press.
You should find a way to do this in this comment: https://github.com/custom-cards/button-card/issues/314#issuecomment-616258963
Will that work to navigate? I'm trying to call a service and navigate on a single button
Yes, use navigate as the action and call your service like in the example linked in any other yaml key.
Whilst that works, could the tap_action
be an object list rather than an object. I'm wanting a button to toggle multiple automations at once. Yes I know I can do it another way, but being able to just define multiple entities inside a button would be great. 😄