Map RGB+CCT to RGB for WLED (#133900)

This commit is contained in:
Martin Mrazik
2024-12-23 22:26:38 +01:00
committed by GitHub
parent bd0edd4996
commit 8f6e4cd294

View File

@@ -53,7 +53,9 @@ LIGHT_CAPABILITIES_COLOR_MODE_MAPPING: dict[LightCapability, list[ColorMode]] =
ColorMode.COLOR_TEMP,
],
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: [
ColorMode.COLOR_TEMP,