From 5bf0cf2c72d10bcfbe5ec249983ea77cf8b21a37 Mon Sep 17 00:00:00 2001 From: LeonGaultier Date: Thu, 20 Aug 2020 09:41:19 +0000 Subject: [PATCH] 73_AutoShuttersControl: fix bug in call IsAfterShuttersTimeBlocking() git-svn-id: https://svn.fhem.de/fhem/trunk@22635 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/CHANGED | 2 ++ fhem/lib/FHEM/Automation/ShuttersControl/Shading.pm | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/fhem/CHANGED b/fhem/CHANGED index 23fbc0c45..3e549258c 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,7 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. + - bugfix: 73_AutoShuttersControl: fix bug in call + IsAfterShuttersTimeBlocking() - bugfix: 73_AutoShuttersControl: fix fix numeric eq - new: 50_SSChatBot.pm: module to integrate Synology Chat Server (SSCam is also updated due to compatibility) diff --git a/fhem/lib/FHEM/Automation/ShuttersControl/Shading.pm b/fhem/lib/FHEM/Automation/ShuttersControl/Shading.pm index 98af64e6a..afba795f5 100644 --- a/fhem/lib/FHEM/Automation/ShuttersControl/Shading.pm +++ b/fhem/lib/FHEM/Automation/ShuttersControl/Shading.pm @@ -219,7 +219,7 @@ sub ShadingProcessing { . $azimuthRight . ', Ist es nach der Zeitblockadezeit: ' . ( - FHEM::Automation::ShuttersControl::IsAfterShuttersTimeBlocking( + FHEM::Automation::ShuttersControl::Helper::IsAfterShuttersTimeBlocking( $shuttersDev) ? 'JA' : 'NEIN' ) . ', Das Rollo ist in der Beschattung und wurde manuell gefahren: ' @@ -419,7 +419,7 @@ sub ShadingProcessing { ShadingProcessingDriveCommand( $hash, $shuttersDev ) if ( - FHEM::Automation::ShuttersControl::IsAfterShuttersTimeBlocking( + FHEM::Automation::ShuttersControl::Helper::IsAfterShuttersTimeBlocking( $shuttersDev) && !$FHEM::Automation::ShuttersControl::shutters ->getShadingManualDriveStatus