Fixed Hue always applying brightness bug

This commit is contained in:
cschwinne 2018-03-15 19:54:11 +01:00
parent d09a97f230
commit c855b8397a
2 changed files with 1 additions and 2 deletions

View File

@ -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!)

View File

@ -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;}