Is it possible to use a button card or a custom: button card and use two entities for it ?
I have an shelly switch to turn on a smart light and when the light is on I like to change for example the color temperature.
With one button card I want to us the tap_action for toggle the switch entity and with the hold_action I want to fire the service: more-info for the light entity.
Thanks for you reply but I can get it to work. I use the code below.
But with the hold-action I get the more-info on the switch entity and I want the
more-info on the light entity.