mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-31 14:37:49 +00:00
Put back LightSetDimmer, see #5787
This commit is contained in:
parent
889b01779d
commit
cfdc553b65
@ -1448,6 +1448,10 @@ void LightUpdateColorMapping(void)
|
|||||||
//AddLog_P2(LOG_LEVEL_DEBUG, PSTR("%d colors: %d %d %d %d %d") ,Settings.param[P_RGB_REMAP], light_color_remap[0],light_color_remap[1],light_color_remap[2],light_color_remap[3],light_color_remap[4]);
|
//AddLog_P2(LOG_LEVEL_DEBUG, PSTR("%d colors: %d %d %d %d %d") ,Settings.param[P_RGB_REMAP], light_color_remap[0],light_color_remap[1],light_color_remap[2],light_color_remap[3],light_color_remap[4]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void LightSetDimmer(uint8_t dimmer) {
|
||||||
|
light_controller.changeDimmer(dimmer);
|
||||||
|
}
|
||||||
|
|
||||||
void LightSetColorTemp(uint16_t ct)
|
void LightSetColorTemp(uint16_t ct)
|
||||||
{
|
{
|
||||||
/* Color Temperature (https://developers.meethue.com/documentation/core-concepts)
|
/* Color Temperature (https://developers.meethue.com/documentation/core-concepts)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user