mirror of https://github.com/arendst/Tasmota.git
Disable sleep 0 for scheme 0
Disable sleep 0 for scheme 0 as there is no animation required
This commit is contained in:
parent
f5a20534f3
commit
f23d18723e
|
@ -756,7 +756,11 @@ void LightAnimate(void)
|
|||
}
|
||||
}
|
||||
else {
|
||||
sleep = 0;
|
||||
if (Settings.light_scheme > 0) {
|
||||
sleep = 0;
|
||||
} else {
|
||||
sleep = Settings.sleep;
|
||||
}
|
||||
switch (Settings.light_scheme) {
|
||||
case LS_POWER:
|
||||
LightSetDimmer(Settings.light_dimmer);
|
||||
|
|
Loading…
Reference in New Issue