Add blog post about light color mode becoming mandatory (#2078)

Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
Erik Montnemery 2024-02-12 20:14:18 +01:00 committed by GitHub
parent ac71dfb53a
commit 5c8f17fa47
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,16 @@
---
author: Erik Montnémery
authorURL: https://github.com/emontnemery
title: "It is now required for lights to set color mode"
---
## Change
Light entities are now required to set the `supported_color_modes` and `color_mode` properties, and a warning will be logged asking users to report an issue if that's not done.
In addition, a warning will be logged if the light reports an invalid combination of `supported_color_modes` or a `color_mode` other than `ColorMode.UNKNOWN`, which is not included in the light's `supported_color_modes`.
In the Home Assistant 2025.3 release, the warnings will be removed, and lights that have still not been upgraded to a color mode or that violate the color mode rules will no longer work.
More details can be found in the [documentation](/docs/core/entity/light#color-modes).