Skip to content

Commit

Permalink
- Fixed default speeds
Browse files Browse the repository at this point in the history
  • Loading branch information
slavvka committed Aug 4, 2021
1 parent 3de15a7 commit 2226265
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/fanv2_accessory.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ let Service;
let Characteristic;

const DEFAULT_SPEED_RANGE = {'min': 1, 'max': 100};
const DEFAULT_SPEED_LEVELS = ['0', '1', '2'];
const DEFAULT_SPEED_LEVELS = ['1', '2', '3'];

class Fanv2Accessory extends BaseAccessory {
constructor(platform, homebridgeAccessory, deviceConfig) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"dev": " homebridge -D -U ./config/ -P ./"
"dev": " homebridge -D -P ./"
},
"keywords": [
"homebridge-plugin"
Expand Down

0 comments on commit 2226265

Please sign in to comment.