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.
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