From 886b5be40a851d142d6c578fb10cf733622acda8 Mon Sep 17 00:00:00 2001 From: Luke Rhodes Date: Wed, 1 Jan 2020 14:51:06 +1100 Subject: [PATCH] Fix for the air purifier changing the on/off state --- accessories/air-purifier.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/accessories/air-purifier.js b/accessories/air-purifier.js index bd7cc931..819a1f66 100644 --- a/accessories/air-purifier.js +++ b/accessories/air-purifier.js @@ -61,8 +61,7 @@ class AirPurifierAccessory extends FanAccessory { bind: this, props: { onData: targetStateManual, - offData: targetStateAuto, - setValuePromise: this.setSwitchState.bind(this) + offData: targetStateAuto } });