I have several light groups setup, likely over 2+ years. A few months ago I noticed that my automation to set light brightness, color_temp, and transition times wasn’t picking up the specific settings for the lights. I won’t get into the automation too much because it isn’t the issue here but I have a single script that I use to turn any of my lights on (which I have a lot) and depending on the supported_features of the light as well, the existence or not of certain input_number values, and the time of the day it sets the appropriate settings. If the settings don’t exist or the light doesn’t support a feature it doesn’t set those features.
Anyways, I let it go for a couple months as I have been pretty busy and the lights still worked, just didn’t set the correct level, color_temp, …
What I found was my light groups had the wrong supported_features value. Something change, it used to work as described in the docs.
The supported features of all lights will be added together. For example, if you have one RGB light in a group of otherwise brightness-only lights, the light group will be shown with a color picker.
Let’s get this out of the way. I am using the correct light group. (see below)
Here is an example.
Entity light.hallway_lights has the following definition:
platform: group
name: Hallway Lights
entities:
- light.hallway_light_1
- light.hallway_light_2
- light.hallway_light_3
['light.hallway_light_1', 'light.hallway_light_2', 'light.hallway_light_3']
Supported features of light.hallway_lights
All: 36
SUPPORT_BRIGHTNESS: 0
SUPPORT_COLOR_TEMP: 0
SUPPORT_EFFECT: 4
SUPPORT_FLASH: 0
SUPPORT_RGB_COLOR: 0
SUPPORT_TRANSITION: 32
SUPPORT_XY_COLOR: 0
SUPPORT_WHITE_VALUE: 0
Supported features of light.hallway_light_1
All: 55
SUPPORT_BRIGHTNESS: 1
SUPPORT_COLOR_TEMP: 2
SUPPORT_EFFECT: 4
SUPPORT_FLASH: 0
SUPPORT_RGB_COLOR: 16
SUPPORT_TRANSITION: 32
SUPPORT_XY_COLOR: 0
SUPPORT_WHITE_VALUE: 0
Supported features of light.hallway_light_2
All: 55
SUPPORT_BRIGHTNESS: 1
SUPPORT_COLOR_TEMP: 2
SUPPORT_EFFECT: 4
SUPPORT_FLASH: 0
SUPPORT_RGB_COLOR: 16
SUPPORT_TRANSITION: 32
SUPPORT_XY_COLOR: 0
SUPPORT_WHITE_VALUE: 0
Supported features of light.hallway_light_3
All: 55
SUPPORT_BRIGHTNESS: 1
SUPPORT_COLOR_TEMP: 2
SUPPORT_EFFECT: 4
SUPPORT_FLASH: 0
SUPPORT_RGB_COLOR: 16
SUPPORT_TRANSITION: 32
SUPPORT_XY_COLOR: 0
SUPPORT_WHITE_VALUE: 0
This group is missing brightness, color_temp, rgb_color.
I tried recreating the group, creating a group with the same light but different name. The group above is a group of LIFX bulbs, but I tested it out with a group that is based on two Inovelli dimmers. Same issue.
Entity light.den_lights has the following definition:
platform: group
name: Den Lights
entities:
- light.den_lights_01
- light.den_lights_02
['light.den_lights_01', 'light.den_lights_02']
Supported features of light.den_lights
All: 32
SUPPORT_BRIGHTNESS: 0
SUPPORT_COLOR_TEMP: 0
SUPPORT_EFFECT: 0
SUPPORT_FLASH: 0
SUPPORT_RGB_COLOR: 0
SUPPORT_TRANSITION: 32
SUPPORT_XY_COLOR: 0
SUPPORT_WHITE_VALUE: 0
Supported features of light.den_lights_01
All: 33
SUPPORT_BRIGHTNESS: 1
SUPPORT_COLOR_TEMP: 0
SUPPORT_EFFECT: 0
SUPPORT_FLASH: 0
SUPPORT_RGB_COLOR: 0
SUPPORT_TRANSITION: 32
SUPPORT_XY_COLOR: 0
SUPPORT_WHITE_VALUE: 0
Supported features of light.den_lights_02
All: 33
SUPPORT_BRIGHTNESS: 1
SUPPORT_COLOR_TEMP: 0
SUPPORT_EFFECT: 0
SUPPORT_FLASH: 0
SUPPORT_RGB_COLOR: 0
SUPPORT_TRANSITION: 32
SUPPORT_XY_COLOR: 0
SUPPORT_WHITE_VALUE: 0
This group is missing just brightness because the inovelli dimmers don’t support the other features.
I am able to fix this by customizing the devices in YAML (customization.yaml) or through the UI.
Anyone else having this issue and have a real solution? I can submit a bug.