From 2a2122f93a56086d0da5d2554efcda854c58bced Mon Sep 17 00:00:00 2001 From: Marko Oldenburg Date: Fri, 15 May 2020 11:02:23 +0200 Subject: [PATCH] fix night detection --- 73_AutoShuttersControl.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/73_AutoShuttersControl.pm b/73_AutoShuttersControl.pm index aebd03f..35d35da 100644 --- a/73_AutoShuttersControl.pm +++ b/73_AutoShuttersControl.pm @@ -3856,7 +3856,7 @@ sub _IsDay { ( $shutters->getBrightness > $brightnessMaxVal && !$isday - && !$shutters->getSunrise + && $shutters->getSunrise ) || $respIsDay || $shutters->getSunrise