2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-27 20:34:52 +00:00

73_AutoShuttersControl: fix gone then absent bug

git-svn-id: https://svn.fhem.de/fhem/trunk@17896 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
LeonGaultier 2018-12-05 07:46:32 +00:00
parent d231bdd12e
commit 7f1942ee28
2 changed files with 6 additions and 5 deletions

@ -1,5 +1,6 @@
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # 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. # Do not insert empty lines here, update check depends on it.
- bugfix: 73_AutoShuttersControl: fix gone then absent bug
- feature: 49_SSCam: V7.6.0, The PTZ panel is completed by "Preset" and - feature: 49_SSCam: V7.6.0, The PTZ panel is completed by "Preset" and
"Patrol" dropdown lists (for PTZ cams only) "Patrol" dropdown lists (for PTZ cams only)
- feature: 49_SSCamSTRM: click on content in stream device or snap gallery - feature: 49_SSCamSTRM: click on content in stream device or snap gallery

@ -41,7 +41,7 @@ package main;
use strict; use strict;
use warnings; use warnings;
my $version = '0.2.0.11'; my $version = '0.2.0.12';
sub AutoShuttersControl_Initialize($) { sub AutoShuttersControl_Initialize($) {
my ($hash) = @_; my ($hash) = @_;
@ -1612,8 +1612,8 @@ sub SunSetShuttersAfterTimerFn($) {
if ( if (
$shutters->getModeDown eq $homemode $shutters->getModeDown eq $homemode
or ( $shutters->getModeDown eq 'absent'
# or $homemode eq 'none' and $homemode eq 'gone')
or $shutters->getModeDown eq 'always' or $shutters->getModeDown eq 'always'
) )
{ {
@ -1636,8 +1636,8 @@ sub SunRiseShuttersAfterTimerFn($) {
if ( if (
$shutters->getModeUp eq $homemode $shutters->getModeUp eq $homemode
or ( $shutters->getModeUp eq 'absent'
# or $homemode eq 'none' and $homemode eq 'gone')
or $shutters->getModeUp eq 'always' or $shutters->getModeUp eq 'always'
) )
{ {