Merge pull request #5792 from s-hadinger/fix/lightsetdimmer

Put back LightSetDimmer, see #5787
This commit is contained in:
Theo Arends 2019-05-13 10:34:25 +01:00 committed by GitHub
commit f9f3e29eab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -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]);
}
void LightSetDimmer(uint8_t dimmer) {
light_controller.changeDimmer(dimmer);
}
void LightSetColorTemp(uint16_t ct)
{
/* Color Temperature (https://developers.meethue.com/documentation/core-concepts)