mirror of https://github.com/arendst/Tasmota.git
Fix ColorTemp brightness
This commit is contained in:
parent
a6e95211cc
commit
adb2dbbcbd
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue