Skip to content

Commit

Permalink
1.3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoduj committed Nov 14, 2020
1 parent 8b59718 commit 90e3569
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ You can also use the [PACKAGES](https://github.com/oznu/docker-homebridge#option

All notable changes to this project will be documented in this file.

## 1.3.7

- [FIX] potential fix for #37 (multiple deebots)

## 1.3.6

- [FIX] potential fix for #37 (multiple deebots)
Expand Down
7 changes: 5 additions & 2 deletions deebotEcovacsAPI.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ module.exports = {
};

function DeebotEcovacsAPI(log, platform) {
EventEmitter.call(this);

this.log = log;
this.platform = platform;
this.login = platform.login;
Expand Down Expand Up @@ -48,6 +50,7 @@ DeebotEcovacsAPI.prototype = {
);
this.vacbots.push(vacbot);
}

this.emit('deebotsDiscovered');
});
})
Expand All @@ -62,8 +65,8 @@ DeebotEcovacsAPI.prototype = {
configureEvents: function (deebotAccessory) {
var Characteristic = this.platform.api.hap.Characteristic;

var vacBot = deebotAccessory.vacBot;
EventEmitter.call(vacBot);
let vacBot = deebotAccessory.vacBot;

vacBot.on('ready', (event) => {
this.log.debug('INFO - Vacbot ' + deebotAccessory.name + ' ready: ' + JSON.stringify(event));

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "homebridge-deebotecovacs",
"version": "1.3.6",
"version": "1.3.7",
"author": "Nicolas Dujardin",
"description": "Publish your deebot ecovacs as an homekit accessory",
"main": "index.js",
Expand Down

0 comments on commit 90e3569

Please sign in to comment.