Bumped version to v0.7.0-beta.5
This commit is contained in:
4
index.js
4
index.js
@@ -61,7 +61,7 @@ NeatoVacuumRobotPlatform.prototype = {
|
||||
this.updateRobotTimer(robot.device._serial);
|
||||
|
||||
let NeatoVacuumRobotAccessory = require('./accessories/neatoVacuumRobot')(Service, Characteristic);
|
||||
let mainAccessory = new NeatoVacuumRobotAccessory(robot, this);
|
||||
let mainAccessory = new NeatoVacuumRobotAccessory(this, robot);
|
||||
accessories.push(mainAccessory);
|
||||
|
||||
robot.mainAccessory = mainAccessory;
|
||||
@@ -77,7 +77,7 @@ NeatoVacuumRobotPlatform.prototype = {
|
||||
{
|
||||
if (boundary.type === "polygon")
|
||||
{
|
||||
let roomAccessory = new NeatoVacuumRobotAccessory(robot, this, boundary);
|
||||
let roomAccessory = new NeatoVacuumRobotAccessory(this, robot, boundary);
|
||||
accessories.push(roomAccessory);
|
||||
|
||||
robot.roomAccessories.push(roomAccessory);
|
||||
|
||||
Reference in New Issue
Block a user