fix bug in getShuttersPosCmdValueNegate
This commit is contained in:
parent
bea678f565
commit
d3bdcc38bb
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user