From 0f7d4288879b0fd24cefc76ee1726d4976223398 Mon Sep 17 00:00:00 2001 From: Francisco Lobo Date: Thu, 2 Jun 2022 00:41:13 -0500 Subject: [PATCH] Fixed typo != / !== --- src/homeworksAccessory.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/homeworksAccessory.ts b/src/homeworksAccessory.ts index a36c17a..bf0efd9 100644 --- a/src/homeworksAccessory.ts +++ b/src/homeworksAccessory.ts @@ -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);