ljmerza / light-entity-card

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

"Consolidate Entities" creates promblem with "Persist Features" #43

Closed vncnt-dev closed 4 years ago

vncnt-dev commented 4 years ago

If "Consolidate Entities" is active, the card only contains the Header Line and no additional feature.

image

image

vncnt-dev commented 4 years ago

Is there some kind of update?

ljmerza commented 4 years ago

general groups do not have the supported_features flag needed to calculate what features an entity has. You need to create a switch or light group instead of a general group. Either that or request that a supported_features attribute be added to general groups. This doesnt have anything to do with consolidate groups

you can see if i create a light group the supported_features attribute shows up

- platform: group
  name: Floor Lamps
  entities:
    - light.window_top
    - light.window_middle
    - light.window_bottom

image

but if i create a light group as a general group then the attr doesnt show up

all_lights_custom:
  entities:
    - light.entrance
    - light.living_room_lamp

image

vncnt-dev commented 4 years ago

Thank you, the group light platform works for me.