mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
Map RGB+CCT to RGB for WLED (#133900)
This commit is contained in:
parent
80955ba821
commit
efabb82cb6
@ -53,7 +53,9 @@ LIGHT_CAPABILITIES_COLOR_MODE_MAPPING: dict[LightCapability, list[ColorMode]] =
|
|||||||
ColorMode.COLOR_TEMP,
|
ColorMode.COLOR_TEMP,
|
||||||
],
|
],
|
||||||
LightCapability.RGB_COLOR | LightCapability.COLOR_TEMPERATURE: [
|
LightCapability.RGB_COLOR | LightCapability.COLOR_TEMPERATURE: [
|
||||||
ColorMode.RGBWW,
|
# Technically this is RGBWW but wled does not support RGBWW colors (with warm and cold white separately)
|
||||||
|
# but rather RGB + CCT which does not have a direct mapping in HA
|
||||||
|
ColorMode.RGB,
|
||||||
],
|
],
|
||||||
LightCapability.WHITE_CHANNEL | LightCapability.COLOR_TEMPERATURE: [
|
LightCapability.WHITE_CHANNEL | LightCapability.COLOR_TEMPERATURE: [
|
||||||
ColorMode.COLOR_TEMP,
|
ColorMode.COLOR_TEMP,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user