Smart relative dimming of light group...?

First off, thanks to everyone helping each other out here and sorry for not being more active.

I have since I created this solution tried to see if I could turn it into a custom component… and now it’s done :tada:

Introducing the Relative Brightness Light Group, a custom component that does basically the same as above but in way fewer lines of code:

light:
  - platform: relative_brightness_light_group
    name: The Office
    entities:
      - light.office_desk
      - light.office_spotlights

So please try it out, as I’ll most likely focus my effort on that one over the very convoluted light template approach I created above :sweat_smile:

Also, a small heads-up that the custom component acts a little bit different - whenever the group brightness is adjusted the individual lights are adjusted proportionally to the group change while the solution above simply increased/decreased each individual light brightness equally as much as the group brightness changed. This should make the behavior more similar to what the Hue app and others do as well. Give it a spin will ya!

1 Like