Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nzws/homebridge-mlru1-light

Package Overview
Dependencies
Maintainers
0
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nzws/homebridge-mlru1-light - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

24

dist/index.js

@@ -92,2 +92,3 @@ "use strict";

const signalId = this._getSignalId('ico_on');
let isOutdated = false;
try {

@@ -100,7 +101,12 @@ if (this.natureClient) {

}
this.currentStatus = value;
this.OnCharacteristic.updateValue(this.currentStatus);
isOutdated = value !== this.updatingStatus;
if (!isOutdated) {
this.currentStatus = value;
this.OnCharacteristic.updateValue(this.currentStatus);
}
}
catch (e) {
this.updatingStatus = !value;
if (!isOutdated) {
this.updatingStatus = !value;
}
throw e;

@@ -133,2 +139,3 @@ }

const signalDown = this._getSignalId('ico_arrow_bottom');
let isOutdated = false;
try {

@@ -145,7 +152,12 @@ if (this.natureClient) {

}
this.currentBrightness = newPercent;
this.BrightnessCharacteristic.updateValue(this.currentBrightness);
isOutdated = newPercent !== this.updatingBrightness;
if (!isOutdated) {
this.currentBrightness = newPercent;
this.BrightnessCharacteristic.updateValue(this.currentBrightness);
}
}
catch (e) {
this.updatingBrightness = prevPercent;
if (!isOutdated) {
this.updatingBrightness = prevPercent;
}
throw e;

@@ -152,0 +164,0 @@ }

{
"displayName": "MLRU1 Light with Nature Remo",
"name": "@nzws/homebridge-mlru1-light",
"version": "1.1.1",
"version": "1.1.2",
"description": "アイリスオーヤマ製「ML-RU1」リモコンを使用する照明を操作するプラグイン",

@@ -6,0 +6,0 @@ "license": "Apache-2.0",

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