From 1d47b80035cbe5de41e0325b0290be87e4b6e591 Mon Sep 17 00:00:00 2001 From: Marko Oldenburg Date: Sat, 23 Mar 2019 13:15:44 +0100 Subject: [PATCH] fix typo in getter --- 73_AutoShuttersControl.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/73_AutoShuttersControl.pm b/73_AutoShuttersControl.pm index c849434..f26faf6 100644 --- a/73_AutoShuttersControl.pm +++ b/73_AutoShuttersControl.pm @@ -1170,7 +1170,7 @@ sub EventProcessingWind($@) { if ( $events =~ m#$reading:\s(\d+)# ) { foreach my $shuttersDev ( @{ $hash->{helper}{shuttersList} } ) { $shutters->setShuttersDev($shuttersDev); - $shutters->setWindProtection('unprotection') if ( not defined($shutters->getWindPos) ); + $shutters->setWindProtection('unprotection') if ( not defined($shutters->getWindProtection) ); next if ( $shutters->getWindMax < 0 ); next if ( CheckIfShuttersWindowRecOpen($shuttersDev) != 0 and $shutters->getShuttersPlace eq 'terrace' );