bokub / rgb-light-card

💡 A Lovelace custom card for RGB lights
MIT License
412 stars 24 forks source link

Reflect color change from automation #63

Closed wspeth closed 2 years ago

wspeth commented 2 years ago

Boris, I run into another situation to handle: the card can "colour icons based on state". if light color is changed by something else than rgb-light-card, e.g. by event/automation. How could you accomplish that the small bulb icon will reflect the actual color of the light?

wspeth commented 2 years ago

sorry my fault. It would work if not my RGB strip would be a GRB strip. Meaning I send wrong color codes on purpose and of course they report wrong colors to HA. No idea whether I could change those