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:
2022-03-02 16:47:56 +01:00
parent f52187ad35
commit fb27bedf48
2 changed files with 4 additions and 4 deletions

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