Skip to content

Commit

Permalink
fix: inverse blind position
Browse files Browse the repository at this point in the history
  • Loading branch information
rtrompier committed Jun 14, 2023
1 parent 008146a commit 2531e6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/blind.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export class BlindComponent extends Component implements OpenClose {
}
return of(true);
}),
switchMap(() => this.loxoneRequest.sendCmd(this.loxoneId, `ManualPosition/${percent}`)),
switchMap(() => this.loxoneRequest.sendCmd(this.loxoneId, `ManualPosition/${100 - percent}`)),
map(result => {
console.log('loxone resp', result);
if (result.code === '200') {
Expand Down

0 comments on commit 2531e6b

Please sign in to comment.