mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 13:45:12 +02:00
Map RGB+CCT to RGB for WLED (#133900)
This commit is contained in:
@@ -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,
|
||||||
|
Reference in New Issue
Block a user