mirror of https://github.com/arendst/Tasmota.git
Merge pull request #5031 from andrethomas/patch-1
Disable sleep 0 for scheme 0
This commit is contained in:
commit
f8350d65c4
|
@ -756,7 +756,7 @@ void LightAnimate(void)
|
|||
}
|
||||
}
|
||||
else {
|
||||
sleep = 0;
|
||||
sleep = (LS_POWER == Settings.light_scheme) ? Settings.sleep : 0; // If no animation then use sleep as is
|
||||
switch (Settings.light_scheme) {
|
||||
case LS_POWER:
|
||||
LightSetDimmer(Settings.light_dimmer);
|
||||
|
|
Loading…
Reference in New Issue