From fe8ce643b4d5a53ed257f0ca467b8a80053d2fff Mon Sep 17 00:00:00 2001 From: MartB Date: Mon, 4 Apr 2022 00:42:36 +0200 Subject: [PATCH] Fix wrong colorMode on scene restore bug --- zcl_sceneCb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zcl_sceneCb.c b/zcl_sceneCb.c index e5ed84f..2ae3b74 100644 --- a/zcl_sceneCb.c +++ b/zcl_sceneCb.c @@ -75,7 +75,7 @@ static void sampleLight_sceneRecallReqHandler(zclIncomingAddrInfo_t *pAddrInfo, #endif #ifdef ZCL_LIGHT_COLOR_CONTROL - if (colorMode == ZCL_COLOR_MODE_CURRENT_HUE_SATURATION) + if (colorMode == ZCL_COLOR_MODE_COLOR_TEMPERATURE_MIREDS) { zcl_colorCtrlMoveToColorTemperatureCmd_t move2ColorTemp; move2ColorTemp.colorTemperature = colorTemperatureMireds;