Skip to content

Commit

Permalink
1.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoduj committed Nov 1, 2019
1 parent 8499d88 commit 57d839d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

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

## 1.0.5

- [FIX] fixed some logs

## 1.0.4

- [FIX] #33 Status is not correct until refresh timer if door operated outside app
Expand Down
10 changes: 5 additions & 5 deletions gogogateAPI.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ GogogateAPI.prototype = {
'ERROR - refreshDoor - Refreshing status for ' +
service.subtype +
' Door failed - ' +
statusresponse
JSON.stringify(statusresponse)
);
that.handleError(statuserror);

Expand Down Expand Up @@ -241,10 +241,10 @@ GogogateAPI.prototype = {
if (callback) callback(undefined, undefined);
} else if (!GogogateTools.IsJsonString(statusbody)) {
that.log(
'ERROR - refreshSensor - failed - no JSON body : ' +
'ERROR - refreshSensor - failed - no JSON body -' +
statusbody +
'-' +
statusresponse
JSON.stringify(statusresponse)
);
that.handleError(statusbody);
if (callback) callback(undefined, undefined);
Expand All @@ -271,9 +271,9 @@ GogogateAPI.prototype = {
if (statuserror) {
that.log(
'ERROR - activateDoor - ERROR while sending command -' +
statusresponse +
statusbody +
'-' +
statusbody
JSON.stringify(statusresponse)
);
that.handleError(statuserror);

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-gogogate2",
"version": "1.0.4",
"version": "1.0.5",
"author": "Nicolas Dujardin",
"description": "Publish your gogogate 2 to homebridge",
"main": "index.js",
Expand Down

0 comments on commit 57d839d

Please sign in to comment.