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:
@ -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);
|
||||
|
Reference in New Issue
Block a user