fix night detection

This commit is contained in:
Marko Oldenburg 2020-05-15 11:02:23 +02:00
parent 20191f4565
commit 2a2122f93a

View File

@ -3856,7 +3856,7 @@ sub _IsDay {
(
$shutters->getBrightness > $brightnessMaxVal
&& !$isday
&& !$shutters->getSunrise
&& $shutters->getSunrise
)
|| $respIsDay
|| $shutters->getSunrise