Merge pull request 'devel' (#48) from devel into testing

Reviewed-on: #48
This commit is contained in:
Marko Oldenburg 2021-10-08 10:02:12 +02:00
commit 62a4a249b4
2 changed files with 23 additions and 16 deletions

View File

@ -1,16 +1,16 @@
UPD 2021-09-14_09:46:51 111901 FHEM/73_AutoShuttersControl.pm
UPD 2021-09-14_09:46:54 74456 lib/FHEM/Automation/ShuttersControl.pm
UPD 2021-09-14_09:46:49 2657 lib/FHEM/Automation/ShuttersControl/Dev.pm
UPD 2021-09-14_09:47:28 2496 lib/FHEM/Automation/ShuttersControl/Roommate.pm
UPD 2021-09-14_09:47:45 31896 lib/FHEM/Automation/ShuttersControl/Shutters.pm
UPD 2021-09-14_09:47:37 25329 lib/FHEM/Automation/ShuttersControl/Shading.pm
UPD 2021-06-05_04:49:19 109039 lib/FHEM/Automation/ShuttersControl/EventProcessingFunctions.pm
UPD 2021-09-14_09:47:12 40628 lib/FHEM/Automation/ShuttersControl/Helper.pm
UPD 2021-09-14_09:47:53 2175 lib/FHEM/Automation/ShuttersControl/Window.pm
UPD 2021-09-14_09:48:19 11741 lib/FHEM/Automation/ShuttersControl/Dev/Attr.pm
UPD 2021-09-14_09:48:16 7251 lib/FHEM/Automation/ShuttersControl/Dev/Readings.pm
UPD 2021-09-14_09:48:36 52525 lib/FHEM/Automation/ShuttersControl/Shutters/Attr.pm
UPD 2021-09-14_09:48:43 2903 lib/FHEM/Automation/ShuttersControl/Shutters/Readings.pm
UPD 2021-09-14_09:48:55 3980 lib/FHEM/Automation/ShuttersControl/Window/Attr.pm
UPD 2021-09-14_09:49:07 2288 lib/FHEM/Automation/ShuttersControl/Window/Readings.pm
UPD 2021-06-05_04:49:19 6195 lib/FHEM/Automation/ShuttersControl/Rainprotection.pm
UPD 2021-09-14_09:51:23 111901 FHEM/73_AutoShuttersControl.pm
UPD 2021-09-14_09:51:23 74456 lib/FHEM/Automation/ShuttersControl.pm
UPD 2021-09-14_09:51:23 2657 lib/FHEM/Automation/ShuttersControl/Dev.pm
UPD 2021-09-14_09:51:23 2496 lib/FHEM/Automation/ShuttersControl/Roommate.pm
UPD 2021-09-14_09:51:23 31896 lib/FHEM/Automation/ShuttersControl/Shutters.pm
UPD 2021-09-14_09:51:23 25329 lib/FHEM/Automation/ShuttersControl/Shading.pm
UPD 2021-10-01_08:09:29 109370 lib/FHEM/Automation/ShuttersControl/EventProcessingFunctions.pm
UPD 2021-09-14_09:51:23 40628 lib/FHEM/Automation/ShuttersControl/Helper.pm
UPD 2021-09-14_09:51:23 2175 lib/FHEM/Automation/ShuttersControl/Window.pm
UPD 2021-09-14_09:51:23 11741 lib/FHEM/Automation/ShuttersControl/Dev/Attr.pm
UPD 2021-09-14_09:51:23 7251 lib/FHEM/Automation/ShuttersControl/Dev/Readings.pm
UPD 2021-09-14_09:51:23 52525 lib/FHEM/Automation/ShuttersControl/Shutters/Attr.pm
UPD 2021-09-14_09:51:23 2903 lib/FHEM/Automation/ShuttersControl/Shutters/Readings.pm
UPD 2021-09-14_09:51:23 3980 lib/FHEM/Automation/ShuttersControl/Window/Attr.pm
UPD 2021-09-14_09:51:23 2288 lib/FHEM/Automation/ShuttersControl/Window/Readings.pm
UPD 2021-10-08_09:51:50 6506 lib/FHEM/Automation/ShuttersControl/Rainprotection.pm

View File

@ -107,6 +107,13 @@ sub RainProcessing {
$FHEM::Automation::ShuttersControl::shutters
->setRainProtectionStatus('unprotected');
}
else {
$FHEM::Automation::ShuttersControl::shutters
->setRainProtectionStatus('unprotected')
if ( $FHEM::Automation::ShuttersControl::shutters->getStatus ==
$rainClosedPos
&& ($val == 0 || $val < $triggerMin) );
}
}
return;