Hello,
I have avertical stack of helper buttons that I want to send data when toggled on but my code does not call the script after toggle state set to on:
entities:
- entity: input_boolean.chore_2_child_3
icon: mdi:bowl-mix
name: Eat Breakfast
tap_action:
action: call-service
service: script.chore_logging
data:
the_name: Eat Breakfast
card_mod:
style: |
ha-card {
--switch-unchecked-button-color: red;
--switch-unchecked-track-color: grey;
--switch-checked-button-color: green;
--switch-checked-track-color: grey;
}```
Thanks.