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

homebridge-xiaomi-power-strip-fixed

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

homebridge-xiaomi-power-strip-fixed - npm Package Compare versions

Comparing version 2.1.19 to 2.1.20

13

index.js

@@ -26,4 +26,3 @@ var miio = require('miio');

.on('get',this.getPowerState.bind(this))
.on('set',this.setPowerState.bind(this))
.on('off',this.setPowerState.bind(this));
.on('set',this.setPowerState.bind(this));

@@ -35,5 +34,5 @@ this.services.push(this.switchService);

this.serviceInfo
.setCharacteristic(Characteristic.Manufacturer, 'Xiaomi')
.setCharacteristic(Characteristic.Model, 'Power-Strip')
.setCharacteristic(Characteristic.SerialNumber, '62810821');;
.setCharacteristic(Characteristic.Manufacturer, 'Xiaomi');
.setCharacteristic(Characteristic.Model, 'Power-Strip');
.setCharacteristic(Characteristic.SerialNumber, '62810821');

@@ -55,3 +54,3 @@ this.services.push(this.serviceInfo);

accessory.device = device;
this.getPowerState();
device.power();
},

@@ -84,3 +83,3 @@

this.device.setPower(state)
.then(result => { this.log.info('Power is now', result); this.getPowerState(); callback(); })
.then(result => { this.log.info('Power is now', result); return callback(null, result) })
.catch(callback);

@@ -87,0 +86,0 @@ },

{
"name": "homebridge-xiaomi-power-strip-fixed",
"version": "2.1.19",
"version": "2.1.20",
"description": "Xiaomi Mi Power Strip plugin for Homebridge with working power management",

@@ -5,0 +5,0 @@ "license": "MIT",

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