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

innogy-smarthome-lib

Package Overview
Dependencies
Maintainers
1
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

innogy-smarthome-lib - npm Package Compare versions

Comparing version 0.1.21 to 0.1.22

2

lib/smarthome/index.js

@@ -228,2 +228,4 @@ const inherits = require('util').inherits;

this._checkAuthTimer = setInterval(function () {
hasChangedCapabilities = false;
that._capabilityStates(updateCallback).catch(function (e) {

@@ -230,0 +232,0 @@ return that._errorHandler(e);

7

lib/smarthome/objects/capability.js

@@ -131,15 +131,16 @@ const inherits = require('util').inherits;

switch (state.type) {
case '/types/boolean':
case '/types/OnOff':
case '/types/boolean':
newState = cast(newState, "boolean");
break;
case '/types/decimal':
case '/types/TargetTemperature':
newState = cast(newState, "float");
break;
case '/types/decimal':
case '/types/integer':
case '/types/ShutterLevel':
newState = cast(newState, "integer");
break;
case '/types/string':
case '/types/DisplayName':
case '/types/string':
newState = cast(newState, "string");

@@ -146,0 +147,0 @@ break;

{
"name": "innogy-smarthome-lib",
"version": "0.1.21",
"version": "0.1.22",
"description": "JavaScript library for the Innogy SmartHome system",

@@ -5,0 +5,0 @@ "main": "./lib/smarthome",

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