innogy-smarthome-lib
Advanced tools
Comparing version 0.1.21 to 0.1.22
@@ -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); |
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
58804
1290