mirror of https://github.com/arendst/Tasmota.git
Merge pull request #9074 from blakadder/development
update CT slider to more accurate color allocation
This commit is contained in:
commit
4a317c3c97
|
@ -1263,7 +1263,7 @@ void WebSliderColdWarm(void)
|
||||||
{
|
{
|
||||||
WSContentSend_P(HTTP_MSG_SLIDER_GRADIENT, // Cold Warm
|
WSContentSend_P(HTTP_MSG_SLIDER_GRADIENT, // Cold Warm
|
||||||
"a", // a - Unique HTML id
|
"a", // a - Unique HTML id
|
||||||
"#fff", "#ff0", // White to Yellow
|
"#eff", "#f81", // 6500k in RGB (White) to 2500k in RGB (Warm Yellow)
|
||||||
1, // sl1
|
1, // sl1
|
||||||
153, 500, // Range color temperature
|
153, 500, // Range color temperature
|
||||||
LightGetColorTemp(),
|
LightGetColorTemp(),
|
||||||
|
|
Loading…
Reference in New Issue