fix EventProcessingRain val dry condition

geändert:       lib/FHEM/Automation/ShuttersControl.pm
This commit is contained in:
Marko Oldenburg 2020-07-08 10:33:31 +02:00
parent 468d5713b2
commit 11870789e1
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
UPD 2020-07-07_14:49:19 97041 FHEM/73_AutoShuttersControl.pm
UPD 2020-07-07_14:53:42 178051 lib/FHEM/Automation/ShuttersControl.pm
UPD 2020-07-08_10:33:04 178055 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

View File

@ -1789,7 +1789,7 @@ sub EventProcessingRain {
my $closedPos = $ascDev->getRainSensorShuttersClosedPos;
if ( $1 eq 'rain' ) { $val = $triggerMax + 1 }
elsif ( $1 eq 'dry' ) { $val = $triggerMin }
elsif ( $1 eq 'dry' ) { $val = $triggerMin - 1 }
else { $val = $1 }
RainProtection( $hash, $val, $triggerMax, $closedPos );