fix bug if comfotPos 0

if Comfort_Pos 0 and window is open then shutter is no drive

[Ticket: no]
This commit is contained in:
Marko Oldenburg 2022-03-02 16:47:56 +01:00
parent f52187ad35
commit fb27bedf48
2 changed files with 4 additions and 4 deletions

View File

@ -1,10 +1,10 @@
UPD 2022-01-15_15:38:33 116177 FHEM/73_AutoShuttersControl.pm
UPD 2022-01-15_15:38:39 75817 lib/FHEM/Automation/ShuttersControl.pm
UPD 2022-01-15_15:48:05 116177 FHEM/73_AutoShuttersControl.pm
UPD 2022-02-01_09:11:59 75817 lib/FHEM/Automation/ShuttersControl.pm
UPD 2022-01-14_08:49:13 2691 lib/FHEM/Automation/ShuttersControl/Dev.pm
UPD 2022-01-14_08:49:13 2677 lib/FHEM/Automation/ShuttersControl/Roommate.pm
UPD 2022-01-14_08:49:13 32016 lib/FHEM/Automation/ShuttersControl/Shutters.pm
UPD 2022-01-14_08:49:13 25452 lib/FHEM/Automation/ShuttersControl/Shading.pm
UPD 2022-01-14_08:49:13 112122 lib/FHEM/Automation/ShuttersControl/EventProcessingFunctions.pm
UPD 2022-03-02_16:46:29 112109 lib/FHEM/Automation/ShuttersControl/EventProcessingFunctions.pm
UPD 2022-01-14_08:49:13 40603 lib/FHEM/Automation/ShuttersControl/Helper.pm
UPD 2022-01-14_08:49:13 2209 lib/FHEM/Automation/ShuttersControl/Window.pm
UPD 2022-01-14_08:49:13 11857 lib/FHEM/Automation/ShuttersControl/Dev/Attr.pm

View File

@ -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);