From e99cb99bd976f9d3a9398fc9b576e9d114d03446 Mon Sep 17 00:00:00 2001 From: LeonGaultier Date: Wed, 2 Mar 2022 15:53:54 +0000 Subject: [PATCH] 73_AutoShuttersControl: fix Comfort drive then target pos 0 git-svn-id: https://svn.fhem.de/fhem/trunk@25761 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/CHANGED | 1 + .../FHEM/Automation/ShuttersControl/EventProcessingFunctions.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/fhem/CHANGED b/fhem/CHANGED index 6e54b6961..298638947 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,6 @@ # 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 Comfort drive then target pos 0 - bugfix: 70_ESCVP21net: added cyclicConnect attr - feature: 76_mssDialog: Add option to define dialogues by file - change: 76_mssDialog: PBP code restructured diff --git a/fhem/lib/FHEM/Automation/ShuttersControl/EventProcessingFunctions.pm b/fhem/lib/FHEM/Automation/ShuttersControl/EventProcessingFunctions.pm index 32eef96e9..be089e58d 100644 --- a/fhem/lib/FHEM/Automation/ShuttersControl/EventProcessingFunctions.pm +++ b/fhem/lib/FHEM/Automation/ShuttersControl/EventProcessingFunctions.pm @@ -585,7 +585,7 @@ sub EventProcessingWindowRec { $setLastDrive = 'ventilate - window open'; } - if ( defined($posValue) && $posValue ) { + if ( defined($posValue) ) { $FHEM::Automation::ShuttersControl::shutters->setLastDrive( $setLastDrive); $FHEM::Automation::ShuttersControl::shutters->setNoDelay(1);