mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-19 07:16:29 +00:00
Add blog post about light color mode becoming mandatory (#2078)
Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
parent
ac71dfb53a
commit
5c8f17fa47
16
blog/2024-02-12-light-color-mode-mandatory.md
Normal file
16
blog/2024-02-12-light-color-mode-mandatory.md
Normal 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).
|
Loading…
x
Reference in New Issue
Block a user