From 11117ccc50625c3ab09152f8f94b977d095a5df3 Mon Sep 17 00:00:00 2001 From: Stephan Hadinger Date: Mon, 13 Apr 2020 16:49:09 +0200 Subject: [PATCH] Fix Scheme 2-4 brightness when SetOption68 1 (#8058) --- tasmota/xdrv_04_light.ino | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tasmota/xdrv_04_light.ino b/tasmota/xdrv_04_light.ino index 7eb293bb4..b85c2373b 100644 --- a/tasmota/xdrv_04_light.ino +++ b/tasmota/xdrv_04_light.ino @@ -1819,11 +1819,11 @@ void LightAnimate(void) case LS_CYCLEDN: case LS_RANDOM: if (LS_CYCLEUP == Settings.light_scheme) { - LightCycleColor(1); + LightCycleColor(1); } else if (LS_CYCLEDN == Settings.light_scheme) { - LightCycleColor(-1); + LightCycleColor(-1); } else { - LightCycleColor(0); + LightCycleColor(0); } if (Light.pwm_multi_channels) { // See #8058 Light.new_color[0] = changeUIntScale(Light.new_color[0], 0, 255, 0, Settings.light_color[0]);