I created an entities card, that have one automation and one script. If I turn them on one by one, both works fine., but If I turn heather button on, only the automation is executed. What am I doing wrong? this is the card
and this is the code
The header switch toggles the state of all switches, automations, and input_booleans in a card. Nothing else. Not scripts, not buttons, not covers, etc…
No automation calls the script. I must execute the script directly, from the card, and I like the header switch do it too…
I created an input_boolean, but the script isn’t executed… this is the card now
As expected, the switch toggle don’t execute the scrip, only tapping on the text do it. Not sure what I am missing, how to execute the script when the switch change.