From a38952ec47885b2678fca77d07c3daff545de8c8 Mon Sep 17 00:00:00 2001 From: Andreas Holstenson Date: Sat, 17 Feb 2018 09:30:37 +0100 Subject: [PATCH] Vacuum now handled zone-cleaning as cleaning --- lib/devices/vacuum.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/devices/vacuum.js b/lib/devices/vacuum.js index 805bd8c..2c0c38e 100644 --- a/lib/devices/vacuum.js +++ b/lib/devices/vacuum.js @@ -74,6 +74,8 @@ module.exports = class extends Vacuum.with( return 'updating'; case 15: return 'docking'; + case 17: + return 'zone-cleaning'; case 100: return 'full'; } @@ -122,6 +124,7 @@ module.exports = class extends Vacuum.with( switch(value) { case 'cleaning': case 'spot-cleaning': + case 'zone-cleaning': // The vacuum is cleaning this.updateCleaning(true); break;