Fix ColorTemp brightness

This commit is contained in:
Theo Arends 2020-01-16 14:37:10 +01:00
parent a6e95211cc
commit adb2dbbcbd
1 changed files with 1 additions and 1 deletions

View File

@ -2351,7 +2351,7 @@ void CmndColorTemperature(void)
} }
} }
if ((XdrvMailbox.payload >= CT_MIN) && (XdrvMailbox.payload <= CT_MAX)) { // https://developers.meethue.com/documentation/core-concepts if ((XdrvMailbox.payload >= CT_MIN) && (XdrvMailbox.payload <= CT_MAX)) { // https://developers.meethue.com/documentation/core-concepts
light_controller.changeCTB(XdrvMailbox.payload, light_state.getBri()); light_controller.changeCTB(XdrvMailbox.payload, light_state.getBriCT());
LightPreparePower(2); LightPreparePower(2);
} else { } else {
ResponseCmndNumber(ct); ResponseCmndNumber(ct);