@gbridge0/homebridge-ambient-weather-sensors
Advanced tools
Comparing version 1.2.10 to 1.2.11
@@ -19,4 +19,4 @@ "use strict"; | ||
// create handlers for required characteristics | ||
this.service.getCharacteristic(this.platform.Characteristic.CurrentTemperature) | ||
.on('get', this.handleCurrentTemperatureGet.bind(this)); | ||
// this.service.getCharacteristic(this.platform.Characteristic.CurrentTemperature) | ||
// .on('get', this.handleCurrentTemperatureGet.bind(this)); | ||
this.updateData(); | ||
@@ -33,3 +33,3 @@ setInterval(this.updateData.bind(this), 2 * 60 * 1000); | ||
this.platform.log.debug('Triggered GET CurrentTemperature'); | ||
this.updateData(); | ||
//this.updateData(); | ||
const currentValue = this.accessory.context.device.value; | ||
@@ -48,3 +48,4 @@ this.platform.log.debug(`CurrentTemperature: ${currentValue}`); | ||
this.platform.log.debug(`SET CurrentTemperature: ${value}`); | ||
this.service.setCharacteristic(this.platform.Characteristic.CurrentTemperature, this.fahrenheitToCelsius(value)); | ||
this.service.getCharacteristic(this.platform.Characteristic.CurrentTemperature).updateValue(this.fahrenheitToCelsius(value)); | ||
//this.service.setCharacteristic(this.platform.Characteristic.CurrentTemperature, this.fahrenheitToCelsius(value)); | ||
} | ||
@@ -51,0 +52,0 @@ } |
@@ -5,3 +5,3 @@ { | ||
"name": "@gbridge0/homebridge-ambient-weather-sensors", | ||
"version": "1.2.10", | ||
"version": "1.2.11", | ||
"description": "Utilizes the ambient weather API to retrie sensor information.", | ||
@@ -8,0 +8,0 @@ "license": "Apache-2.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
616826
598