Skip to content

Commit

Permalink
ChangeSpeed becomes changefavoritespeed
Browse files Browse the repository at this point in the history
  • Loading branch information
mouth4war authored Dec 17, 2019
1 parent 1c002d6 commit bf50d9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/devices/air-purifier-3.js
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ module.exports = class extends AirPurifier.with(
]);
}

changeSpeed(speed) {
changeFavoriteSpeed(speed) {
const { id } = this.handle.api;
let value = parseInt(speed);

Expand All @@ -284,7 +284,7 @@ module.exports = class extends AirPurifier.with(
}

return this.call('set_properties', [
{ did: `${id}`, siid: 10, piid: 9, value }
{ did: `${id}`, siid: 10, piid: 7, value }
]);
}

Expand Down

0 comments on commit bf50d9b

Please sign in to comment.