fix bug in getShuttersPosCmdValueNegate

This commit is contained in:
Marko Oldenburg 2019-07-29 13:24:49 +02:00
parent bea678f565
commit d3bdcc38bb

View File

@ -3986,7 +3986,7 @@ sub getFreezeStatus {
sub getShuttersPosCmdValueNegate {
my $self = shift;
return ( $shutters->getOpenPos < $shutters->getClosedPos ? 1 : 0 );
return ( $shutters->getOpenPos > $shutters->getClosedPos ? 1 : 0 );
}
sub getQueryShuttersPos