From bf50d9bbe75dbe632a78979991d29c2c2837231e Mon Sep 17 00:00:00 2001 From: mouth4war <30283635+mouth4war@users.noreply.github.com> Date: Tue, 17 Dec 2019 17:37:55 +0530 Subject: [PATCH] ChangeSpeed becomes changefavoritespeed --- lib/devices/air-purifier-3.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/devices/air-purifier-3.js b/lib/devices/air-purifier-3.js index fe8dfa0..964fd36 100644 --- a/lib/devices/air-purifier-3.js +++ b/lib/devices/air-purifier-3.js @@ -271,7 +271,7 @@ module.exports = class extends AirPurifier.with( ]); } - changeSpeed(speed) { + changeFavoriteSpeed(speed) { const { id } = this.handle.api; let value = parseInt(speed); @@ -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 } ]); }