Skip to content

Commit 0b26096

Browse files
committed
fix-core-power
1 parent 4db12d3 commit 0b26096

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"displayName": "Levoit Air Purifier",
55
"main": "dist/index.js",
66
"license": "Apache-2.0",
7-
"version": "3.0.0",
7+
"version": "3.0.1",
88
"private": false,
99
"bugs": {
1010
"url": "https://github.com/RaresAil/homebridge-levoit-air-purifier/issues"

src/api/VeSyncFan.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ export default class VeSyncFan implements VeSyncGeneric {
109109
powerSwitch: power ? 1 : 0,
110110
switchIdx: 0
111111
} : {
112-
switch: power,
112+
enabled: power,
113113
id: 0
114114
};
115115
const success = await this.client.sendCommand(this, BypassMethod.SWITCH, data);

0 commit comments

Comments
 (0)