Color of active devices

I use a number of button cards. I have a card for lights inside and lights outside.
When both are active, one card is yellow and the other is blue. Is there a possibility to get the same colors?

in the picture below you see inside and outside lights are turned on. both differentiations colors…

Schermafbeelding 2020-07-20 om 22.18.14

Is the outside light a switch instead of a light?

If so you have two options.

  1. use the state color option: https://www.home-assistant.io/lovelace/button/#state_color

Or

  1. Turn your switch into a light domain entity with this: https://www.home-assistant.io/integrations/light.switch/ and use that in your button

They are both lighting groups with a number of different types of hue lights in each group.
No switches

Both?

There are three.

You are right, I was talking about the lamps inside and outside, but there is indeed a group of Mancave.

All these groups only consist of Philips Hue lamps.

Is one of the lights in your outside group set to a blue colour?

Hi Tom , no its not… All white lights…

You question triggers me… The lightgroup inside the house contains a Hue Lightstrip (Different colors) thats why the color is different i think…

Well that is very odd. Normally a light group will be the average colour of the lights in the group when on and the icon inactive colour when off.

Can you post your group configs?

Ok, that explains it. If you really want to control the state colour of your buttons the custom button card is the go:

1 Like