From b6034b7357b52a548a1af6ac990ee73e5ff2b4ff Mon Sep 17 00:00:00 2001 From: Marko Oldenburg Date: Tue, 7 Jul 2020 14:44:20 +0200 Subject: [PATCH] =?UTF-8?q?fix=20bug=20with=20wrong=20skalar=20in=20condit?= =?UTF-8?q?ion=20=09ge=C3=A4ndert:=20=20=20=20=20=20=20lib/FHEM/Automation?= =?UTF-8?q?/ShuttersControl.pm?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- controls_AutoShuttersControl.txt | 8 ++++---- lib/FHEM/Automation/ShuttersControl.pm | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/controls_AutoShuttersControl.txt b/controls_AutoShuttersControl.txt index ce68d6d..4b121e8 100644 --- a/controls_AutoShuttersControl.txt +++ b/controls_AutoShuttersControl.txt @@ -1,8 +1,8 @@ -UPD 2020-07-06_09:41:48 96885 FHEM/73_AutoShuttersControl.pm -UPD 2020-07-06_09:41:25 188612 lib/FHEM/Automation/ShuttersControl.pm +UPD 2020-07-07_14:43:04 96885 FHEM/73_AutoShuttersControl.pm +UPD 2020-07-07_14:44:00 188619 lib/FHEM/Automation/ShuttersControl.pm UPD 2020-06-22_09:41:40 2657 lib/FHEM/Automation/ShuttersControl/Dev.pm -UPD 2020-07-06_09:41:25 2493 lib/FHEM/Automation/ShuttersControl/Roommate.pm -UPD 2020-07-06_09:41:25 30157 lib/FHEM/Automation/ShuttersControl/Shutters.pm +UPD 2020-07-07_14:43:04 2493 lib/FHEM/Automation/ShuttersControl/Roommate.pm +UPD 2020-07-07_14:43:04 30157 lib/FHEM/Automation/ShuttersControl/Shutters.pm UPD 2020-06-22_09:41:40 2175 lib/FHEM/Automation/ShuttersControl/Window.pm UPD 2020-06-22_09:41:40 11454 lib/FHEM/Automation/ShuttersControl/Dev/Attr.pm UPD 2020-07-03_11:29:10 7251 lib/FHEM/Automation/ShuttersControl/Dev/Readings.pm diff --git a/lib/FHEM/Automation/ShuttersControl.pm b/lib/FHEM/Automation/ShuttersControl.pm index ff35d9e..aa8b65e 100644 --- a/lib/FHEM/Automation/ShuttersControl.pm +++ b/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 )