Skip to content

Commit

Permalink
Removed additional logs, version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
lprhodes committed May 5, 2017
1 parent 9d4f7a3 commit 55f414a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions accessories/aircon.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,16 +201,13 @@ class AirConAccessory extends BroadlinkRMAccessory {
}

isAutoSwitchOn () {
console.log('this.autoSwitchAccessory', this.autoSwitchAccessory)
return this.autoSwitchAccessory && this.autoSwitchAccessory.state && this.autoSwitchAccessory.state.switchState;
}

updateAccessories (accessories) {
const { config, name, log } = this;
const { autoSwitch } = config;

console.log('autoSwitch', autoSwitch)

if (!autoSwitch) return;

log(`${name} Linking autoSwitch "${autoSwitch}"`)
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-broadlink-rm",
"version": "2.3.9",
"version": "2.4.0",
"description": "Broadlink RM plugin (including the mini and pro) for homebridge: https://github.com/nfarina/homebridge",
"license": "ISC",
"keywords": [
Expand Down

0 comments on commit 55f414a

Please sign in to comment.