homebridge-lg-airco
Advanced tools
Comparing version 0.0.93 to 0.0.94
{ | ||
"name": "homebridge-lg-airco", | ||
"version": "0.0.93", | ||
"version": "0.0.94", | ||
"description": "Homebridge plugin to control a Smart Thinq enabled LG airco unit. Makes use of WideQ => https://github.com/sampsyo/wideq", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -91,2 +91,4 @@ const Wideq = require("./lg/wideq").Wideq; | ||
console.log('Setting active: ' + shouldBeActive); | ||
const isOn = shouldBeActive === Characteristic.Active.ACTIVE; | ||
@@ -132,2 +134,4 @@ me.wideq.turnOnOrOff(me.deviceId, isOn).then((done) => { | ||
console.log('Setting coolor state: ' + targetState); | ||
let turnOn = false; | ||
@@ -155,2 +159,4 @@ if (targetState !== Characteristic.TargetHeaterCoolerState.AUTO) { | ||
console.log('Setting threshold temperature: ' + targetCoolingTemp); | ||
me.wideq.setTemp(me.deviceId, targetCoolingTemp) | ||
@@ -176,3 +182,2 @@ .then((done) => { | ||
this.state.isOn = true; | ||
this.service.getCharacteristic(Characteristic.RotationSpeed).updateValue(targetRotationSpeed); | ||
@@ -184,3 +189,2 @@ /* | ||
this.state.isOn = true; | ||
this.service.getCharacteristic(Characteristic.RotationSpeed).updateValue(targetRotationSpeed); | ||
}) | ||
@@ -187,0 +191,0 @@ .catch((error) => { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
373
104067