r/BubbleCard•
cerahmed

Match the background style of "light" and "switch" entities

Hi there,

I have two entities: a light entity (simple on-off light bulb), and a switch entity that controls another light bulb.

By default, bubble buttons for switch entities take the bubble default background color, which is blue. And the light entities have a checkbox to follow the light's actual color, and in my case since the light bulb is a simple on-off bulb, it defaults to an offwhite color.

https://preview.redd.it/f1vfhfjwcwfg1.png?width=516&format=png&auto=webp&s=6d209a37cabff6425bf88e9677c98b75d4f1ad75

I'm trying to customize the styles of all switch entities that control lights to follow the same style of light entities. I tried changing the background of .bubble-action-enabled class, but the problem is that when the switch is off, the background remains tinted with the same color.

Note: I don't want to change the default color for all bubble cards, becuaes I want to keep the default blue to all other entitiy types (climate, covers, etc.).

Posted Jan 27, 2026, 1:52 PM UTC

42
Loading comments…