Override light supported features

The feature request is to allow the supported_features attribute of a light entity to be manually overridden, thereby giving the user control over what features of the light are exposed to Home Assistant.

Home Assistant provides a number of supported features for controlling lights. These features are usually offered depending on the capabilities of the light.

However, it is sometimes desirable to operate a bulb with some of its supported features hidden from the user and services.

In this case, it should be possible to override the supported_features attribute so that features can be enabled or disabled as desired. This could be done by altering the attribute value itself, or it could be represented by a checkbox interface.


Example After extended use, a number of the colour LEDs can fail in a bulb, but the white LEDs are still working properly. These lights can be used in other parts of the house where colour isn’t important, but a reduced featureset must be enforced to avoid encountering the failed parts of the bulb.

I understand* you can override supported_features in customize.yaml.

* In that I have seen it in the forums.

I’ve tried this approach too, but it hasn’t worked for me.

So what did you do and what happened?

In my case, I manually changed supported features to 0 in customize:. No change in the features offered on the frontend was observed. This is despite the supported features attribute showing 0.