From 52fe367c814079e205ea336b31d912f60e517978 Mon Sep 17 00:00:00 2001 From: Marko Oldenburg Date: Tue, 18 May 2021 08:50:21 +0200 Subject: [PATCH] fix Global symbol "$shutters" requires explicit package name --- controls_AutoShuttersControl.txt | 2 +- lib/FHEM/Automation/ShuttersControl/Rainprotection.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/controls_AutoShuttersControl.txt b/controls_AutoShuttersControl.txt index b7be872..2faf89c 100644 --- a/controls_AutoShuttersControl.txt +++ b/controls_AutoShuttersControl.txt @@ -13,4 +13,4 @@ UPD 2021-01-29_10:06:33 52525 lib/FHEM/Automation/ShuttersControl/Shutters/Attr. UPD 2020-06-22_09:41:40 2903 lib/FHEM/Automation/ShuttersControl/Shutters/Readings.pm UPD 2021-01-29_10:06:33 3980 lib/FHEM/Automation/ShuttersControl/Window/Attr.pm UPD 2020-06-22_09:41:40 2288 lib/FHEM/Automation/ShuttersControl/Window/Readings.pm -UPD 2021-05-18_08:47:12 5796 lib/FHEM/Automation/ShuttersControl/Rainprotection.pm +UPD 2021-05-18_08:49:58 5831 lib/FHEM/Automation/ShuttersControl/Rainprotection.pm diff --git a/lib/FHEM/Automation/ShuttersControl/Rainprotection.pm b/lib/FHEM/Automation/ShuttersControl/Rainprotection.pm index 4c48600..eff1a2f 100644 --- a/lib/FHEM/Automation/ShuttersControl/Rainprotection.pm +++ b/lib/FHEM/Automation/ShuttersControl/Rainprotection.pm @@ -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'); }