From 36669f14054e6304b922513f4e530ff992cd3a3c Mon Sep 17 00:00:00 2001 From: Marko Oldenburg Date: Sat, 4 Dec 2021 10:50:29 +0100 Subject: [PATCH] fix: #77 --- controls_AutoShuttersControl.txt | 6 +++--- .../Automation/ShuttersControl/EventProcessingFunctions.pm | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/controls_AutoShuttersControl.txt b/controls_AutoShuttersControl.txt index c26c0aa..f1efeac 100644 --- a/controls_AutoShuttersControl.txt +++ b/controls_AutoShuttersControl.txt @@ -1,10 +1,10 @@ -UPD 2021-11-29_15:18:18 115678 FHEM/73_AutoShuttersControl.pm +UPD 2021-12-04_08:08:23 115678 FHEM/73_AutoShuttersControl.pm UPD 2021-11-29_15:01:56 75264 lib/FHEM/Automation/ShuttersControl.pm UPD 2021-10-09_07:12:54 2657 lib/FHEM/Automation/ShuttersControl/Dev.pm UPD 2021-10-09_07:12:54 2494 lib/FHEM/Automation/ShuttersControl/Roommate.pm UPD 2021-10-24_07:33:53 31900 lib/FHEM/Automation/ShuttersControl/Shutters.pm -UPD 2021-10-09_07:12:54 25333 lib/FHEM/Automation/ShuttersControl/Shading.pm -UPD 2021-11-25_11:58:42 110681 lib/FHEM/Automation/ShuttersControl/EventProcessingFunctions.pm +UPD 2021-12-04_09:50:00 25333 lib/FHEM/Automation/ShuttersControl/Shading.pm +UPD 2021-12-04_10:50:05 110883 lib/FHEM/Automation/ShuttersControl/EventProcessingFunctions.pm UPD 2021-11-14_14:03:06 40094 lib/FHEM/Automation/ShuttersControl/Helper.pm UPD 2021-10-09_07:12:54 2173 lib/FHEM/Automation/ShuttersControl/Window.pm UPD 2021-10-09_07:12:54 11739 lib/FHEM/Automation/ShuttersControl/Dev/Attr.pm diff --git a/lib/FHEM/Automation/ShuttersControl/EventProcessingFunctions.pm b/lib/FHEM/Automation/ShuttersControl/EventProcessingFunctions.pm index 1050927..c026cf4 100644 --- a/lib/FHEM/Automation/ShuttersControl/EventProcessingFunctions.pm +++ b/lib/FHEM/Automation/ShuttersControl/EventProcessingFunctions.pm @@ -1115,6 +1115,7 @@ sub EventProcessingResidents { ->getRoommatesStatus eq 'none' && ( $getModeDown eq 'home' || $getModeDown eq 'always' ) + && $FHEM::Automation::ShuttersControl::ascDev->getAutoShuttersControlEvening eq 'on' && $getResidentsLastStatus ne 'asleep' && $getResidentsLastStatus ne 'awoken' && IsAfterShuttersTimeBlocking($shuttersDev) @@ -1262,6 +1263,7 @@ sub EventProcessingResidents { ->getRoommatesStatus eq 'none' && ( $getModeUp eq 'home' || $getModeUp eq 'always' ) + && $FHEM::Automation::ShuttersControl::ascDev->getAutoShuttersControlMorning eq 'on' && IsAfterShuttersTimeBlocking($shuttersDev) && !$FHEM::Automation::ShuttersControl::shutters->getIfInShading && !$FHEM::Automation::ShuttersControl::shutters