fix set rainstate by night
This commit is contained in:
parent
4cc3ecc40a
commit
f498829347
@ -1,10 +1,10 @@
|
||||
UPD 2021-10-21_09:30:04 111901 FHEM/73_AutoShuttersControl.pm
|
||||
UPD 2021-10-21_09:30:04 74456 lib/FHEM/Automation/ShuttersControl.pm
|
||||
UPD 2021-10-21_09:42:36 111901 FHEM/73_AutoShuttersControl.pm
|
||||
UPD 2021-10-21_09:42:36 74456 lib/FHEM/Automation/ShuttersControl.pm
|
||||
UPD 2021-10-09_07:12:54 2657 lib/FHEM/Automation/ShuttersControl/Dev.pm
|
||||
UPD 2021-10-09_07:12:54 2494 lib/FHEM/Automation/ShuttersControl/Roommate.pm
|
||||
UPD 2021-10-21_09:30:13 31900 lib/FHEM/Automation/ShuttersControl/Shutters.pm
|
||||
UPD 2021-10-21_09:42:36 31900 lib/FHEM/Automation/ShuttersControl/Shutters.pm
|
||||
UPD 2021-10-09_07:12:54 25333 lib/FHEM/Automation/ShuttersControl/Shading.pm
|
||||
UPD 2021-10-21_09:30:13 109522 lib/FHEM/Automation/ShuttersControl/EventProcessingFunctions.pm
|
||||
UPD 2021-10-21_09:42:36 109522 lib/FHEM/Automation/ShuttersControl/EventProcessingFunctions.pm
|
||||
UPD 2021-10-09_07:12:54 40628 lib/FHEM/Automation/ShuttersControl/Helper.pm
|
||||
UPD 2021-10-09_07:12:54 2173 lib/FHEM/Automation/ShuttersControl/Window.pm
|
||||
UPD 2021-10-09_07:12:54 11739 lib/FHEM/Automation/ShuttersControl/Dev/Attr.pm
|
||||
@ -13,4 +13,4 @@ UPD 2021-10-09_07:12:54 52523 lib/FHEM/Automation/ShuttersControl/Shutters/Attr.
|
||||
UPD 2021-10-09_07:12:54 2901 lib/FHEM/Automation/ShuttersControl/Shutters/Readings.pm
|
||||
UPD 2021-10-09_07:12:54 3978 lib/FHEM/Automation/ShuttersControl/Window/Attr.pm
|
||||
UPD 2021-10-09_07:12:54 2286 lib/FHEM/Automation/ShuttersControl/Window/Readings.pm
|
||||
UPD 2021-10-09_07:12:54 6506 lib/FHEM/Automation/ShuttersControl/Rainprotection.pm
|
||||
UPD 2021-10-23_10:03:26 6693 lib/FHEM/Automation/ShuttersControl/Rainprotection.pm
|
||||
|
@ -108,11 +108,16 @@ sub RainProcessing {
|
||||
->setRainProtectionStatus('unprotected');
|
||||
}
|
||||
else {
|
||||
$FHEM::Automation::ShuttersControl::shutters
|
||||
->setRainProtectionStatus('unprotected')
|
||||
if ( $FHEM::Automation::ShuttersControl::shutters->getStatus !=
|
||||
$rainClosedPos
|
||||
&& ($val == 0 || $val < $triggerMin) );
|
||||
if ( $FHEM::Automation::ShuttersControl::shutters->getStatus != $rainClosedPos
|
||||
&& ($val == 0 || $val < $triggerMin) )
|
||||
{
|
||||
$FHEM::Automation::ShuttersControl::shutters
|
||||
->setRainProtectionStatus('unprotected');
|
||||
}
|
||||
elsif ($val > $triggerMax) {
|
||||
$FHEM::Automation::ShuttersControl::shutters
|
||||
->setRainProtectionStatus('protected');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user