Fix wrong colorMode on scene restore bug

main
MartB 2022-04-04 00:42:36 +02:00
parent bb21973042
commit fe8ce643b4
1 changed files with 1 additions and 1 deletions

View File

@ -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;