Support for basic-2 services

This commit is contained in:
naofireblade
2017-05-18 18:59:14 +02:00
parent 9a5c3f942c
commit 5eb5b9934d
4 changed files with 13 additions and 7 deletions

View File

@@ -97,7 +97,7 @@ NeatoVacuumRobot.prototype = {
}
else {
debug("Start cleaning");
that.robot.startCleaning(that.robot.eco, callback);
that.robot.startCleaning(that.robot.eco, 2, callback);
}
}
else {
@@ -310,7 +310,9 @@ NeatoVacuumRobot.prototype = {
else {
that.robot = robots[0];
that.log("Found robot: " + that.robot.name);
debug(that.robot);
that.getState(function (error, result) {
debug(that.robot);
})
if (robots.length > 1){
that.log.warn("Found more then one robot in your account. This plugin currently just supports one. First one found will be used.")
}