New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@gbridge0/homebridge-ambient-weather-sensors

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gbridge0/homebridge-ambient-weather-sensors - npm Package Compare versions

Comparing version 1.2.10 to 1.2.11

9

dist/temperatureAccessory.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc