change Sunrise drive code to fix SelfDefense

This commit is contained in:
Marko Oldenburg 2020-09-04 08:31:30 +02:00
parent 70a56ddf3b
commit 154f6a58de
3 changed files with 5 additions and 7 deletions

View File

@ -1258,7 +1258,7 @@ sub Initialize {
],
"release_status": "testing",
"license": "GPL_2",
"version": "v0.10.7",
"version": "v0.10.8",
"author": [
"Marko Oldenburg <leongaultier@gmail.com>"
],

View File

@ -1,9 +1,9 @@
UPD 2020-08-12_11:00:05 97596 FHEM/73_AutoShuttersControl.pm
UPD 2020-08-12_11:00:05 74180 lib/FHEM/Automation/ShuttersControl.pm
UPD 2020-09-04_08:31:12 97596 FHEM/73_AutoShuttersControl.pm
UPD 2020-09-04_08:30:42 74066 lib/FHEM/Automation/ShuttersControl.pm
UPD 2020-06-22_09:41:40 2657 lib/FHEM/Automation/ShuttersControl/Dev.pm
UPD 2020-07-26_17:36:29 2496 lib/FHEM/Automation/ShuttersControl/Roommate.pm
UPD 2020-08-12_11:00:05 31376 lib/FHEM/Automation/ShuttersControl/Shutters.pm
UPD 2020-08-20_09:43:11 24225 lib/FHEM/Automation/ShuttersControl/Shading.pm
UPD 2020-08-20_11:35:52 24225 lib/FHEM/Automation/ShuttersControl/Shading.pm
UPD 2020-08-06_14:32:42 109110 lib/FHEM/Automation/ShuttersControl/EventProcessingFunctions.pm
UPD 2020-08-18_08:40:35 45518 lib/FHEM/Automation/ShuttersControl/Helper.pm
UPD 2020-06-22_09:41:40 2175 lib/FHEM/Automation/ShuttersControl/Window.pm

View File

@ -1435,10 +1435,8 @@ sub SunRiseShuttersAfterTimerFn {
&& ( $shutters->getSelfDefenseMode eq 'gone'
|| $shutters->getSelfDefenseMode eq 'absent' )
&& $ascDev->getResidentsStatus ne 'gone'
&& $ascDev->getResidentsStatus ne 'absent'
)
|| ( $ascDev->getSelfDefense eq 'on'
&& $shutters->getSelfDefenseMode eq 'absent'
&& $ascDev->getResidentsStatus ne 'absent' )
)
&& (
$shutters->getUp ne 'brightness'