Skip to content

Commit

Permalink
update dependencies + fix homebridge 1.3 warning
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelkordek committed Feb 28, 2021
1 parent 6c173a7 commit 957b42c
Show file tree
Hide file tree
Showing 3 changed files with 2,718 additions and 253 deletions.
5 changes: 3 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,9 @@ function HarmanKardonAVRAccessory (log, config) {
if (newValue !== powerOn) {
that.log('updating Power State => ' + newValue)
powerOn = newValue
callback(null, newValue)
//callback(null, newValue)
}
callback(null)
return
}

Expand All @@ -75,7 +76,7 @@ function HarmanKardonAVRAccessory (log, config) {

that.command(power)

callback(null, newValue)
callback(null)
})
.on('get', function (callback) {
that.log('get State => ' + powerOn)
Expand Down
Loading

0 comments on commit 957b42c

Please sign in to comment.