fix night detection
This commit is contained in:
parent
20191f4565
commit
2a2122f93a
@ -3856,7 +3856,7 @@ sub _IsDay {
|
|||||||
(
|
(
|
||||||
$shutters->getBrightness > $brightnessMaxVal
|
$shutters->getBrightness > $brightnessMaxVal
|
||||||
&& !$isday
|
&& !$isday
|
||||||
&& !$shutters->getSunrise
|
&& $shutters->getSunrise
|
||||||
)
|
)
|
||||||
|| $respIsDay
|
|| $respIsDay
|
||||||
|| $shutters->getSunrise
|
|| $shutters->getSunrise
|
||||||
|
Loading…
x
Reference in New Issue
Block a user