Replies: 1 comment 1 reply
-
|
No, the whole point of this card is to use it purely on the dashboard. If you want to toggle it from the script you have to use standard conditional card with input_boolean. You can make make the button toggle multiple local conditional cards instead. I can help you if you will post your config |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Just found your card and it's pretty awesome.

I'm using the capability to toggle between cards showing different solar data - e.g. generation and panel temperatures.
It works fine with my 2 buttons to set the state of the relevant local conditional card, but I want the button that set display of the respective panels to be displayed as selected, like a normal toggle button would.
e.g.
I'm using Button Cards assigned boolean_input entities I created for the 2 of them, and to set the boolean state I call a script for the tap action that sets the state of the selected button to on, so it will highlight as in the screenshot. But, I can't work out how to call the fire-dom-event to set the state of the local conditional card associated to that button.
Is it actually possible to call the action from a script?
Beta Was this translation helpful? Give feedback.
All reactions