Skip to content

Commit

Permalink
Vacuum now handled zone-cleaning as cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
aholstenson committed Feb 17, 2018
1 parent 0913dfc commit 9a9474e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/devices/vacuum.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';
}
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 9a9474e

Please sign in to comment.