From bf08f943a74fbab9147629adc0a366ecc7390f6b Mon Sep 17 00:00:00 2001 From: LeonGaultier Date: Fri, 4 Sep 2020 06:43:56 +0000 Subject: [PATCH] 73_AutoShuttersControl: fix bug in Sunrise Drive if SelfDefense set git-svn-id: https://svn.fhem.de/fhem/trunk@22728 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/CHANGED | 1 + fhem/FHEM/73_AutoShuttersControl.pm | 2 +- fhem/lib/FHEM/Automation/ShuttersControl.pm | 4 +--- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/fhem/CHANGED b/fhem/CHANGED index 968bc223a..8b087e6ec 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,6 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. + - bugfix: 73_AutoShuttersControl: fix bug in Sunrise Drive if SelfDefense set - change: 50_TelegramBot: channels, versionid, keyboard / favorite fixes - change: 93_DbRep: commandRef revised - change: 76_SMAPortal: avoid deletion of readings if provider is selected diff --git a/fhem/FHEM/73_AutoShuttersControl.pm b/fhem/FHEM/73_AutoShuttersControl.pm index 5fb029b86..d36f2e0bc 100644 --- a/fhem/FHEM/73_AutoShuttersControl.pm +++ b/fhem/FHEM/73_AutoShuttersControl.pm @@ -1258,7 +1258,7 @@ sub Initialize { ], "release_status": "testing", "license": "GPL_2", - "version": "v0.10.7", + "version": "v0.10.8", "author": [ "Marko Oldenburg " ], diff --git a/fhem/lib/FHEM/Automation/ShuttersControl.pm b/fhem/lib/FHEM/Automation/ShuttersControl.pm index f7c5c183e..5cf0ce3ae 100644 --- a/fhem/lib/FHEM/Automation/ShuttersControl.pm +++ b/fhem/lib/FHEM/Automation/ShuttersControl.pm @@ -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'