improve shading processing Fn

This commit is contained in:
Marko Oldenburg 2020-04-14 08:42:39 +02:00
parent 6ad0baabe5
commit c87353f204

View File

@ -2461,6 +2461,7 @@ sub ShadingProcessing {
)
&& $shutters->getRoommatesStatus ne 'asleep'
&& $shutters->getRoommatesStatus ne 'gotosleep'
&& ( int( gettimeofday() ) - $shutters->getShadingStatusTimestamp ) < 2
);
return;