Gh61 / lovelace-hue-like-light-card

This card provides a Hue-like way to control your lights in Home Assistant.
GNU Lesser General Public License v2.1
174 stars 14 forks source link

Only control active/turned on lights when using brightness slider #246

Open vipzzzzzz opened 3 months ago

vipzzzzzz commented 3 months ago

Hi All,

First of all; absolutely amazing card. A bit heavy on the resources on some of my panels, but boy is it pretty. Love how the scene buttons work. Amazing.

There's only one thing I would like added if at all possible. In the Hue app i've basically created a 'Living Area' that includes Kitchen, Dining, Entrance, Living, Hallway and Master Bedroom. These are all the lights that are always on during the night to liven up the home. I usually just control the brightness and scenes for this area as a whole and don't usually control these rooms separately. This works just fine; exactly like in the Hue app. There's just one thing bugging me and that is when my GF goes to bed early she turns off the lights in the master bedroom. Then when I want to dim the lights for some late night chilling it turns the lights back on when changing the brightness on the slider.

Is there a way to make the brightness slider only affect lights that are actually turned on? E.g. don't switch state. I had this on my previous homekit dashboard and really liked it.

Let me know.

BR,

Sander

Gh61 commented 3 months ago

Hi, thank you for kind words.

To the issue - Can you post some screenshot and/or configuration and maybe point me to the brightness slider that is behaving this way. As I believe, the slider only change brightness of lights that are currently on, as you described. The slider should not turn on lights that are off, unless you are using the allowZero option.