basnijholt / adaptive-lighting

Adaptive Lighting custom component for Home Assistant
https://basnijholt.github.io/adaptive-lighting/
Apache License 2.0
1.71k stars 127 forks source link

Switch and Light Separation - Zigbee Example #944

Open thk-socal opened 4 months ago

thk-socal commented 4 months ago

As I use this awesome plugin more, I think about more optimization and how it will be used in the future.

In my specific case, I have Zigbee switches that are bound to Zigbee groups. This of course allows the switch to communicate to the light group directly for On/Off and LevelCtrl. However, I must add the switch to the Zigbee group to get it to display the Adaptive Lighting settings when the Brightness is changed. It also requires a broadcast message for all changes to the Zigbee network (which you are improving in a previous request :-) )

So for this thought, it would be amazing if I could separate out the On/Off and Brightness from the Kelvin control.

light.group_family_room_cans on_off: switch.family_room_switch brightness: switch.family_room_switch color: light_group_family_room_cans

It might be a corner case currently, but I think as more homes have more bound switches and lights, it could be a very helpful change to keeping things moving faster and more efficient.