ljmerza / light-entity-card

Control any light or switch entity
MIT License
233 stars 41 forks source link

color wheel not displaying #38

Closed drivin closed 4 years ago

drivin commented 4 years ago

I use deconz to integrate my Zigbee lamps. Deconz creates groups for individual rooms. The groups can contain different lamps. From simple white to RGBWW. If I use light-entity-row, I can use e.g. the colorpicker for the group. Unfortunately this does not seem to work with light-entity-card, does it?

A deconz group has the following attributes: effect_list:

ljmerza commented 4 years ago

home assistant uses bit operations to handle supported features. The color wheel is 16 so if you do bit wise math 45 & 16 = 0 which means home assistant is telling the card that colors are not supported on this entity. If you feel like this is in error, you'd have to open an issue with home assistant so the supported_features value includes colors.

drivin commented 4 years ago

Thank you for your answer. And yes, I think it is a bug. Light group integration would do this: "The supported features of all lights will be added together. For example, if you have one RGB light in a group of otherwise brightness-only lights, the light group will be shown with a color picker."

So I will remove the deconz groups and use light.group.