Skip to content

Commit

Permalink
Fixed typo != / !==
Browse files Browse the repository at this point in the history
  • Loading branch information
kikolobo committed Jun 2, 2022
1 parent 44814e1 commit 0f7d428
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/homeworksAccessory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ export class HomeworksShadeAccessory extends HomeworksAccessory {
this._service.updateCharacteristic(this._platform.Characteristic.CurrentPosition, this._shadeState.Position);

if (this._shadeState.Position === this._shadeState.TargetPosition
&& this._shadeState.PositionState != this._platform.Characteristic.PositionState.STOPPED) {
&& this._shadeState.PositionState !== this._platform.Characteristic.PositionState.STOPPED) {

this._shadeState.PositionState = this._platform.Characteristic.PositionState.STOPPED;
this._service.updateCharacteristic(this._platform.Characteristic.PositionState, this._shadeState.PositionState);
Expand Down

0 comments on commit 0f7d428

Please sign in to comment.