Skip to content

Commit

Permalink
Remove unnecessary setMinMax call (#1131)
Browse files Browse the repository at this point in the history
  • Loading branch information
dnicolson authored Dec 11, 2024
1 parent 086cd5b commit 2ff0cfd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/device/curtain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -844,7 +844,6 @@ export class Curtain extends deviceBase {
this.hasLoggedStandby = false
this.infoLog('Checking Status ...')
this.curtainMoving = true
await this.setMinMax()
if (this.WindowCovering.TargetPosition > this.WindowCovering.CurrentPosition) {
this.debugLog(`Closing, CurrentPosition: ${this.WindowCovering.CurrentPosition}`)
this.WindowCovering.PositionState = this.hap.Characteristic.PositionState.INCREASING
Expand Down

0 comments on commit 2ff0cfd

Please sign in to comment.