Skip to content

Commit

Permalink
Fixed syntax warning
Browse files Browse the repository at this point in the history
  • Loading branch information
iklein99 committed Nov 29, 2024
1 parent 843acc9 commit 4359d28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/airConditionerService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export class AirConditionerService extends BaseService {
}

private isCapabilitySupported(capability): boolean {
return this.capabilities.find(c => c === capability) != undefined;
return this.capabilities.find(c => c === capability) !== undefined;
}

private setupThermostat(platform: IKHomeBridgeHomebridgePlatform, multiServiceAccessory: MultiServiceAccessory): Service {
Expand Down

0 comments on commit 4359d28

Please sign in to comment.