From e4d37e59dd26400ab2343102c87ce897b171b9cc Mon Sep 17 00:00:00 2001 From: LeonGaultier Date: Tue, 7 Jul 2020 12:48:57 +0000 Subject: [PATCH] 73_AutoShuttersControl: fix wrong Skalar in Condition git-svn-id: https://svn.fhem.de/fhem/trunk@22367 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/lib/FHEM/Automation/ShuttersControl.pm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/fhem/lib/FHEM/Automation/ShuttersControl.pm b/fhem/lib/FHEM/Automation/ShuttersControl.pm index ff35d9ec8..aa8b65e3f 100644 --- a/fhem/lib/FHEM/Automation/ShuttersControl.pm +++ b/fhem/lib/FHEM/Automation/ShuttersControl.pm @@ -519,15 +519,15 @@ sub EventProcessingGeneral { while ( my ( $device, $deviceAttr ) = each %{ $hash->{monitoredDevs}{$devname} } ) { - if ( $devname eq $name ) { + if ( $device eq $name ) { EventProcessingResidents( $hash, $device, $events ) - if ( $deviceAttr eq 'ASC_residentsDev' ); + if ( $deviceAttr eq 'ASC_residentsDev' ); EventProcessingRain( $hash, $device, $events ) - if ( $deviceAttr eq 'ASC_rainSensor' ); + if ( $deviceAttr eq 'ASC_rainSensor' ); EventProcessingWind( $hash, $device, $events ) - if ( $deviceAttr eq 'ASC_windSensor' ); + if ( $deviceAttr eq 'ASC_windSensor' ); EventProcessingTwilightDevice( $hash, $device, $events ) - if ( $deviceAttr eq 'ASC_twilightDevice' ); + if ( $deviceAttr eq 'ASC_twilightDevice' ); } EventProcessingWindowRec( $hash, $device, $events )