Skip to content

Latest commit

 

History

History
executable file
·
20 lines (15 loc) · 1.29 KB

File metadata and controls

executable file
·
20 lines (15 loc) · 1.29 KB

Advanced Light Group

What this does

This is an extension of the built-in Light Group integration in Home Assistant that allows for more fine grained control of the lights in a light group. It distinguishes between main and auxiliary lights:

  • When turning the light group on, only main lights will be turned on
  • When turning the light group off, all lights (both main and auxiliary) will be turned off

This is useful if you have accent lighting that you don't want to turn on every time you enter a room, but want to be turned off along with all the other lights when leaving a room.

Also, when changing brightness, color, etc. while only a subset of the lights in the group are on, the change will only affect the already turned on lights. Lights that are off, will not be turned on. This is useful if you have all lights excpt one turned off, e.g. for watching TV, and want to adjust brightness without the need to specify the exact name of the light.

Configuration options

Key Type Required Default Description
name string False Advanced Light Group The name of the resulting light entity
main_lights list True Which lights are considered main lights
aux_lights string False blueprint Which lights are considered auxiliary lights