change condition for multisensor to reading RegEx only

geändert:       lib/FHEM/Automation/ShuttersControl.pm
This commit is contained in:
Marko Oldenburg 2020-07-08 11:34:28 +02:00
parent ea8813cd2c
commit 269288c24a
2 changed files with 3 additions and 5 deletions

View File

@ -1,5 +1,5 @@
UPD 2020-07-07_14:49:19 97041 FHEM/73_AutoShuttersControl.pm 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-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 2496 lib/FHEM/Automation/ShuttersControl/Roommate.pm
UPD 2020-07-07_14:49:19 30710 lib/FHEM/Automation/ShuttersControl/Shutters.pm UPD 2020-07-07_14:49:19 30710 lib/FHEM/Automation/ShuttersControl/Shutters.pm

View File

@ -544,11 +544,9 @@ sub EventProcessingGeneral {
EventProcessingResidents( $hash, $device, $events ) EventProcessingResidents( $hash, $device, $events )
if ( $deviceAttr eq 'ASC_residentsDev' ); if ( $deviceAttr eq 'ASC_residentsDev' );
EventProcessingRain( $hash, $device, $events ) EventProcessingRain( $hash, $device, $events )
if ( $deviceAttr eq 'ASC_rainSensor' if ( $events =~ m{$rainReading}xms );
and $events =~ m{$rainReading}xms );
EventProcessingWind( $hash, $device, $events ) EventProcessingWind( $hash, $device, $events )
if ( $deviceAttr eq 'ASC_windSensor' if ( $events =~ m{$windReading}xms );
and $events =~ m{$windReading}xms );
EventProcessingTwilightDevice( $hash, $device, $events ) EventProcessingTwilightDevice( $hash, $device, $events )
if ( $deviceAttr eq 'ASC_twilightDevice' ); if ( $deviceAttr eq 'ASC_twilightDevice' );