fix default value for rain waiting time

This commit is contained in:
2021-05-18 09:01:27 +02:00
parent 52fe367c81
commit 93420b80f1
3 changed files with 4 additions and 4 deletions

View File

@ -282,7 +282,7 @@ sub _getRainSensor {
? $pos
: $FHEM::Automation::ShuttersControl::shutters->getClosedPos );
$self->{ASC_rainSensor}->{waitingTime} =
( $pos ne 'none' ? $wait : 900 );
( $wait ne 'none' ? $wait : 0 );
return $self->{ASC_rainSensor}->{device};
}

View File

@ -131,7 +131,7 @@ sub _RainUnprotected {
'rain un-protected');
if ( $FHEM::Automation::ShuttersControl::shutters->getRainUnprotectionDelayObj ne 'none' ) {
::Remove::InternalTimer($FHEM::Automation::ShuttersControl::shutters->getRainUnprotectionDelayObj);
::RemoveInternalTimer($FHEM::Automation::ShuttersControl::shutters->getRainUnprotectionDelayObj);
$FHEM::Automation::ShuttersControl::shutters->setRainUnprotectionDelayObj('none');
}