From 2cf01e406c238a86a624d74c7d14cc9dda06fb76 Mon Sep 17 00:00:00 2001 From: Marko Oldenburg Date: Wed, 27 Feb 2019 10:22:32 +0100 Subject: [PATCH] fix little winrec bug then state opened (max winrec sensors) --- 73_AutoShuttersControl.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/73_AutoShuttersControl.pm b/73_AutoShuttersControl.pm index 1dee9e2..5521f54 100644 --- a/73_AutoShuttersControl.pm +++ b/73_AutoShuttersControl.pm @@ -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