From 5c8f17fa478bccef8a55fbf86c0eb2848fcf82e6 Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Mon, 12 Feb 2024 20:14:18 +0100 Subject: [PATCH] Add blog post about light color mode becoming mandatory (#2078) Co-authored-by: Franck Nijhof --- blog/2024-02-12-light-color-mode-mandatory.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 blog/2024-02-12-light-color-mode-mandatory.md diff --git a/blog/2024-02-12-light-color-mode-mandatory.md b/blog/2024-02-12-light-color-mode-mandatory.md new file mode 100644 index 00000000..4c1b51ec --- /dev/null +++ b/blog/2024-02-12-light-color-mode-mandatory.md @@ -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).