fix Global symbol "$shutters" requires explicit package name

This commit is contained in:
2021-05-18 08:50:21 +02:00
parent 7b988a395d
commit 52fe367c81
2 changed files with 2 additions and 2 deletions

View File

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