thebigpotatoe / Super-Simple-RGB-WiFi-Lamp

A project based on the ESP8266 and WS2812b
MIT License
66 stars 28 forks source link

Fix initial color picker color when loading page #24

Closed LarsMichelsen closed 4 years ago

LarsMichelsen commented 4 years ago

The colors configured for the different modes are persisted on the lamp. When re-opening the user interface, the color picker did not show the currently configured color.

The JS fronted already has the currently set color available, the color picker simply has not been updated to the correct color.

thebigpotatoe commented 4 years ago

Awesome, I only just figure out how I should have done this over the weekend. Was always just another part of my to do list. Thanks for the change, it was needed.