fix little bug

This commit is contained in:
Marko Oldenburg 2019-06-10 14:40:24 +02:00
parent 3ededcb209
commit f2d7559f1b

View File

@ -48,7 +48,7 @@ use strict;
use warnings; use warnings;
use FHEM::Meta; use FHEM::Meta;
my $version = '0.6.16.7'; my $version = '0.6.16.8';
sub AutoShuttersControl_Initialize($) { sub AutoShuttersControl_Initialize($) {
my ($hash) = @_; my ($hash) = @_;
@ -1002,7 +1002,7 @@ sub EventProcessingWindowRec($@) {
$shutters->setNoOffset(1); $shutters->setNoOffset(1);
$shutters->setDriveCmd( $shutters->getVentilatePos ); $shutters->setDriveCmd( $shutters->getVentilatePos );
} }
elsif ( $match =~ /[Oop]en/ elsif ( $match =~ /[Oo]pen/
and $shutters->getSubTyp eq 'threestate' ) and $shutters->getSubTyp eq 'threestate' )
{ {
my $posValue; my $posValue;