From 269288c24a42c659687856ef99c746e776622bdd Mon Sep 17 00:00:00 2001 From: Marko Oldenburg Date: Wed, 8 Jul 2020 11:34:28 +0200 Subject: [PATCH] =?UTF-8?q?change=20condition=20for=20multisensor=20to=20r?= =?UTF-8?q?eading=20RegEx=20only=20=09ge=C3=A4ndert:=20=20=20=20=20=20=20l?= =?UTF-8?q?ib/FHEM/Automation/ShuttersControl.pm?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- controls_AutoShuttersControl.txt | 2 +- lib/FHEM/Automation/ShuttersControl.pm | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/controls_AutoShuttersControl.txt b/controls_AutoShuttersControl.txt index cc6afa0..38d22f8 100644 --- a/controls_AutoShuttersControl.txt +++ b/controls_AutoShuttersControl.txt @@ -1,5 +1,5 @@ UPD 2020-07-07_14:49:19 97041 FHEM/73_AutoShuttersControl.pm -UPD 2020-07-08_10:52:06 178008 lib/FHEM/Automation/ShuttersControl.pm +UPD 2020-07-08_11:34:15 177894 lib/FHEM/Automation/ShuttersControl.pm UPD 2020-06-22_09:41:40 2657 lib/FHEM/Automation/ShuttersControl/Dev.pm UPD 2020-07-07_14:49:19 2496 lib/FHEM/Automation/ShuttersControl/Roommate.pm UPD 2020-07-07_14:49:19 30710 lib/FHEM/Automation/ShuttersControl/Shutters.pm diff --git a/lib/FHEM/Automation/ShuttersControl.pm b/lib/FHEM/Automation/ShuttersControl.pm index 001849d..f0f1301 100644 --- a/lib/FHEM/Automation/ShuttersControl.pm +++ b/lib/FHEM/Automation/ShuttersControl.pm @@ -544,11 +544,9 @@ sub EventProcessingGeneral { EventProcessingResidents( $hash, $device, $events ) if ( $deviceAttr eq 'ASC_residentsDev' ); EventProcessingRain( $hash, $device, $events ) - if ( $deviceAttr eq 'ASC_rainSensor' - and $events =~ m{$rainReading}xms ); + if ( $events =~ m{$rainReading}xms ); EventProcessingWind( $hash, $device, $events ) - if ( $deviceAttr eq 'ASC_windSensor' - and $events =~ m{$windReading}xms ); + if ( $events =~ m{$windReading}xms ); EventProcessingTwilightDevice( $hash, $device, $events ) if ( $deviceAttr eq 'ASC_twilightDevice' );