ljmerza / light-entity-card

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

Light group entity consolidation disables features #64

Open drlauridsen opened 3 years ago

drlauridsen commented 3 years ago

A light group with eg 3 colour bulbs, looses options to change colour and brightness, when consolidate entities is chosen. Only the toggle button is shown. Before, I was able to change colour and brightness for the group =all three bulbs, at the same time..

Screenshot_20210524-224518_Home Assistant

njsaunders commented 3 years ago

This is also an issue for me - I have 3 Hue bulbs in a consolidated group. Previously I cold control brightness and saw a colour wheel.

Now all I see is an effects dropdown.

Removing consolidation shows 3 colours wheels and 3 brightness sliders.

 - child_card: true
    consolidate_entities: true
    effects_list:
      - stop
      - colorloop
      - random
    entity: light.master_bedroom_lights
    full_width_sliders: true
    header: Ceiling Lights
    shorten_cards: true
    smooth_color_wheel: true
    style: |
      .light-entity-card {
        background: none;
      }
    type: 'custom:light-entity-card'

Consolidated:

Screenshot 2021-05-25 at 07 00 01

Unconsolidated:

Screenshot 2021-05-25 at 07 00 34
ljmerza commented 3 years ago

Make sure the supported_features for the group has the correct value. There are 2 ways to create a light group, through the generic group and through the light group. Make sure the group is created through light group and not generic group.

https://www.home-assistant.io/integrations/light.group/

to verify the group has support for colors use bitwise operations 16 & entity.supported_features

njsaunders commented 2 years ago

I think the issue is that the supported features that the card is looking for have been deprecated and removed as of HA 2021.10:

https://developers.home-assistant.io/docs/core/entity/light/#support-feature