Skip to content

Commit

Permalink
Fix lint warning
Browse files Browse the repository at this point in the history
  • Loading branch information
dnicolson committed Feb 4, 2024
1 parent d4c02a9 commit 2f23d5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/device/curtain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ export class Curtain {
.toLowerCase();
this.debugLog(`${this.device.deviceType}: ${this.accessory.displayName} BLE Address: ${this.device.bleMac}`);
this.SilentPerformance();
const adjustedMode = this.setPositionMode == '1' ? 0x01 : 0xff;
const adjustedMode = this.setPositionMode === '1' ? 0x01 : 0xff;
this.debugLog(`${this.accessory.displayName} Mode: ${this.Mode}`);
if (switchbot !== false) {
try {
Expand Down

0 comments on commit 2f23d5b

Please sign in to comment.