fix little winrec bug then state opened (max winrec sensors)

This commit is contained in:
Marko Oldenburg 2019-02-27 10:22:32 +01:00
parent 73f081ca56
commit 2cf01e406c

View File

@ -41,7 +41,7 @@ package main;
use strict;
use warnings;
my $version = '0.4.0.7';
my $version = '0.4.0.8';
sub AutoShuttersControl_Initialize($) {
my ($hash) = @_;
@ -843,7 +843,7 @@ sub EventProcessingWindowRec($@) {
elsif (
(
$1 eq 'tilted'
or ( $1 eq 'open' and $shutters->getSubTyp eq 'twostate' )
or ( ($1 eq 'open' or $1 eq 'opened') and $shutters->getSubTyp eq 'twostate' )
)
and $shutters->getVentilateOpen eq 'on'
and $queryShuttersPosWinRecTilted