I tried this as well some months ago, i came back that this was only possible on the “glance” card. Don’t know if this is still the case. Been using the button card now, which can do the same. And way more ![]()
My code back then was:
entities:
- entity: light.yeelight_color1_34ce008b8e6e
name: Licht TV Links
tap_action:
action: toggle
- entity: light.yeelight_color1_7811dcaa4d4e
name: Licht TV Rechts
tap_action:
action: toggle
You could thinker a bit with it to see if it works.