Skip to content

Commit

Permalink
fix-core-power (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
RaresAil authored Apr 17, 2024
1 parent 4db12d3 commit a4941d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"displayName": "Levoit Air Purifier",
"main": "dist/index.js",
"license": "Apache-2.0",
"version": "3.0.0",
"version": "3.0.1",
"private": false,
"bugs": {
"url": "https://github.com/RaresAil/homebridge-levoit-air-purifier/issues"
Expand Down
2 changes: 1 addition & 1 deletion src/api/VeSyncFan.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export default class VeSyncFan implements VeSyncGeneric {
powerSwitch: power ? 1 : 0,
switchIdx: 0
} : {
switch: power,
enabled: power,
id: 0
};
const success = await this.client.sendCommand(this, BypassMethod.SWITCH, data);
Expand Down

0 comments on commit a4941d9

Please sign in to comment.