@gbridge0/homebridge-ambient-weather-sensors
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -12,3 +12,3 @@ "use strict"; | ||
.setCharacteristic(this.platform.Characteristic.Model, 'Humidity Sensor') | ||
.setCharacteristic(this.platform.Characteristic.SerialNumber, accessory.context.device.displayName); | ||
.setCharacteristic(this.platform.Characteristic.SerialNumber, accessory.context.device.uniqueId); | ||
// get the HumiditySensor service if it exists, otherwise create a new HumiditySensor service | ||
@@ -15,0 +15,0 @@ // you can create multiple services for each accessory |
@@ -12,3 +12,3 @@ "use strict"; | ||
.setCharacteristic(this.platform.Characteristic.Model, 'Solar Radiation Sensor') | ||
.setCharacteristic(this.platform.Characteristic.SerialNumber, accessory.context.device.displayName) | ||
.setCharacteristic(this.platform.Characteristic.SerialNumber, accessory.context.device.uniqueId) | ||
.setCharacteristic(this.platform.Characteristic.ProductData, 'Conversion to lux with (W/m2 / 0.0079)'); | ||
@@ -15,0 +15,0 @@ // get the LightSensor service if it exists, otherwise create a new LightSensor service |
@@ -12,3 +12,3 @@ "use strict"; | ||
.setCharacteristic(this.platform.Characteristic.Model, 'Temperature Sensor') | ||
.setCharacteristic(this.platform.Characteristic.SerialNumber, accessory.context.device.displayName); | ||
.setCharacteristic(this.platform.Characteristic.SerialNumber, accessory.context.device.uniqueId); | ||
// get the TemperatureSensor service if it exists, otherwise create a new TemperatureSensor service | ||
@@ -15,0 +15,0 @@ this.service = this.accessory.getService(this.platform.Service.TemperatureSensor) |
@@ -5,3 +5,3 @@ { | ||
"name": "@gbridge0/homebridge-ambient-weather-sensors", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"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
Sorry, the diff of this file is not supported yet
616410