Bumped version to v0.7.0-beta.10
This commit is contained in:
parent
b7c2f82173
commit
fa25b0d6a5
@ -590,7 +590,7 @@ NeatoVacuumRobotAccessory.prototype = {
|
|||||||
{
|
{
|
||||||
this.platform.updateRobot(this.robot._serial, () =>
|
this.platform.updateRobot(this.robot._serial, () =>
|
||||||
{
|
{
|
||||||
debug(this.name + ": Spot repeat is " + (this.robot.spotRepeat ? 'ON' : 'OFF'));
|
debug(this.name + ": Spot repeat is " + (this.robot.spotRepeat ? 'ON'.brightGreen : 'OFF'.red));
|
||||||
callback(false, this.robot.spotRepeat);
|
callback(false, this.robot.spotRepeat);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
44
index.js
44
index.js
@ -71,31 +71,31 @@ NeatoVacuumRobotPlatform.prototype = {
|
|||||||
robot.roomAccessories = [];
|
robot.roomAccessories = [];
|
||||||
|
|
||||||
// For testing purposes only
|
// For testing purposes only
|
||||||
robot.boundary = {name: "Testroom", id: "1"};
|
// robot.boundary = {name: "Testroom", id: "1"};
|
||||||
let roomAccessory = new NeatoVacuumRobotAccessory(this, robot);
|
|
||||||
accessories.push(roomAccessory);
|
|
||||||
robot.roomAccessories.push(roomAccessory);
|
|
||||||
|
|
||||||
// if (robot.device.maps)
|
|
||||||
// {
|
|
||||||
// robot.device.maps.forEach((map) =>
|
|
||||||
// {
|
|
||||||
// if (map.boundaries)
|
|
||||||
// {
|
|
||||||
// map.boundaries.forEach((boundary) =>
|
|
||||||
// {
|
|
||||||
// if (boundary.type === "polygon")
|
|
||||||
// {
|
|
||||||
// robot.boundary = boundary;
|
|
||||||
// let roomAccessory = new NeatoVacuumRobotAccessory(this, robot);
|
// let roomAccessory = new NeatoVacuumRobotAccessory(this, robot);
|
||||||
// accessories.push(roomAccessory);
|
// accessories.push(roomAccessory);
|
||||||
//
|
|
||||||
// robot.roomAccessories.push(roomAccessory);
|
// robot.roomAccessories.push(roomAccessory);
|
||||||
// }
|
|
||||||
// })
|
if (robot.device.maps)
|
||||||
// }
|
{
|
||||||
// })
|
robot.device.maps.forEach((map) =>
|
||||||
// }
|
{
|
||||||
|
if (map.boundaries)
|
||||||
|
{
|
||||||
|
map.boundaries.forEach((boundary) =>
|
||||||
|
{
|
||||||
|
if (boundary.type === "polygon")
|
||||||
|
{
|
||||||
|
robot.boundary = boundary;
|
||||||
|
let roomAccessory = new NeatoVacuumRobotAccessory(this, robot);
|
||||||
|
accessories.push(roomAccessory);
|
||||||
|
|
||||||
|
robot.roomAccessories.push(roomAccessory);
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
});
|
});
|
||||||
callback(accessories);
|
callback(accessories);
|
||||||
});
|
});
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "homebridge-neato",
|
"name": "homebridge-neato",
|
||||||
"version": "0.7.0-beta.9",
|
"version": "0.7.0-beta.10",
|
||||||
"description": "A Neato vacuum robot plugin for homebridge.",
|
"description": "A Neato vacuum robot plugin for homebridge.",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
Loading…
Reference in New Issue
Block a user