AnthonMS / my-cards

Bundle of my custom Lovelace cards for Home Assistant. Includes: my-slider, my-slider-v2, my-button
Other
99 stars 26 forks source link

[Feature]: Allow Groups as Entity #38

Open zaknye opened 2 years ago

zaknye commented 2 years ago

Is your feature request related to a problem?

Home assistant supports sliders for groups of lights so all may be dimmed together, however the slider card does not allow any entity that is part of a group. I'm trying to add a light card that can dim a group of lights together, rather than seperately.

Describe the solution you'd like

Allow groups to be used as an entity.

Describe alternatives you've considered

No response

Additional context

Possible that it may be required to ensure all members of a group are of a similar type? When lights are joined with switches the slider disappears in vanilla homeassistant.

AnthonMS commented 1 year ago

This could be implemented to support light groups and will just only dim the lights that support it and just turn on/off switches.

I will keep this in mind when I get time to update the card.