mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-30 14:16:32 +00:00
Merge pull request #5792 from s-hadinger/fix/lightsetdimmer
Put back LightSetDimmer, see #5787
This commit is contained in:
commit
f9f3e29eab
@ -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