iobroker.innogy-smarthome
Advanced tools
Comparing version 0.0.10 to 0.0.11
{ | ||
"common": { | ||
"name": "innogy-smarthome", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"title": "Innogy Smarthome Adapter", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
20
main.js
@@ -205,22 +205,6 @@ /* jshint -W097 */// jshint strict:false | ||
var type = aState.type; | ||
// Fix metadata bug for | ||
// https://api.services-smarthome.de/API/1.0/desc/device/ISS2.RWE/1.0/capability/SwitchActuator | ||
// <State> | ||
// <Property name="OnState" type="/types/boolean" access="R"/> | ||
// </State> | ||
// Should be type="/types/OnOff" | ||
if (aState.name === "OnState") | ||
type = "/types/OnOff"; | ||
switch (type) { | ||
switch (aState.type) { | ||
case "/types/OnOff": | ||
case "/types/boolean": | ||
res.type = "boolean"; | ||
res.role = "value.state"; | ||
res.read = true; | ||
res.write = false; | ||
break; | ||
case "/types/OnOff": | ||
res.type = "boolean"; | ||
res.role = "switch"; | ||
@@ -227,0 +211,0 @@ res.read = true; |
{ | ||
"name": "iobroker.innogy-smarthome", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"description": "ioBroker Innogy SmartHome Adapter", | ||
@@ -5,0 +5,0 @@ "author": { |
@@ -12,2 +12,5 @@ ![Logo](admin/innogy-smarthome.png) | ||
### 0.0.11 | ||
Corrected roles for a lot of devices | ||
### 0.0.10 | ||
@@ -14,0 +17,0 @@ Corrected roles for a lot of devices |
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
56
36032
347