mirror of
https://github.com/arendst/Tasmota.git
synced 2025-08-03 16:07:43 +00:00
Update xdrv_04_light.ino
This commit is contained in:
parent
f23d18723e
commit
269258bde5
@ -756,11 +756,7 @@ void LightAnimate(void)
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (Settings.light_scheme > 0) {
|
||||
sleep = 0;
|
||||
} else {
|
||||
sleep = Settings.sleep;
|
||||
}
|
||||
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…
x
Reference in New Issue
Block a user