change condition for multisensor to reading RegEx only

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

View File

@ -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' );