Custom button card how to control more light entities by one custom card

Hi,
I need your help but firstly I will try to describe my situation :slight_smile:

These are my lights. I have standart wall switch connected to shelly smart switch and than to light.

Why? Because I wanted to have standart looking wall switch and if something goes wrong with HomeAssistant server, lights still works and you can controll them through wall switch.

How to make card:
on click you controll switch.shelly
background color is by color temperature of light.ikea_bulb
and have two slider(brightness and color temperature of light)

Do you have any ideas?

Thank you so much