Fixed a bug in spot cleaning

This commit is contained in:
Arne 2019-10-11 12:17:24 +02:00
parent fa25b0d6a5
commit 7197d78f33
2 changed files with 3 additions and 3 deletions

View File

@ -276,7 +276,7 @@ NeatoVacuumRobotAccessory.prototype = {
// Start new cleaning of new room // Start new cleaning of new room
else else
{ {
debug(this.name + ": ## Start cleaning #"); debug(this.name + ": ## Start cleaning of new room");
this.clean(callback, this.boundary); this.clean(callback, this.boundary);
} }
} }
@ -528,7 +528,7 @@ NeatoVacuumRobotAccessory.prototype = {
// Start cleaning // Start cleaning
else if (this.robot.canStart) else if (this.robot.canStart)
{ {
this.clean(callback, null, spot); this.clean(callback, spot);
} }
// Cannot start // Cannot start
else else

View File

@ -1,6 +1,6 @@
{ {
"name": "homebridge-neato", "name": "homebridge-neato",
"version": "0.7.0-beta.10", "version": "0.7.0-beta.11",
"description": "A Neato vacuum robot plugin for homebridge.", "description": "A Neato vacuum robot plugin for homebridge.",
"license": "MIT", "license": "MIT",
"keywords": [ "keywords": [