Fixed Hue always applying brightness bug
This commit is contained in:
parent
d09a97f230
commit
c855b8397a
@ -33,7 +33,7 @@
|
|||||||
#include "WS2812FX.h"
|
#include "WS2812FX.h"
|
||||||
|
|
||||||
//version in format yymmddb (b = daily build)
|
//version in format yymmddb (b = daily build)
|
||||||
#define VERSION 1803151
|
#define VERSION 1803152
|
||||||
const String versionString = "0.6.0";
|
const String versionString = "0.6.0";
|
||||||
|
|
||||||
//AP and OTA default passwords (change them!)
|
//AP and OTA default passwords (change them!)
|
||||||
|
@ -161,7 +161,6 @@ bool handleHueResponse(String hueResp, bool isAuth)
|
|||||||
//applying vals
|
//applying vals
|
||||||
if (hueBri != hueBriLast)
|
if (hueBri != hueBriLast)
|
||||||
{
|
{
|
||||||
bri = hueBri;
|
|
||||||
if (hueApplyOnOff)
|
if (hueApplyOnOff)
|
||||||
{
|
{
|
||||||
if (hueBri==0) {bri = 0;}
|
if (hueBri==0) {bri = 0;}
|
||||||
|
Loading…
Reference in New Issue
Block a user