iobroker.netatmo
Advanced tools
Comparing version 1.1.3 to 1.1.4
{ | ||
"common": { | ||
"name": "netatmo", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"title": "Netatmo Adapter", | ||
@@ -6,0 +6,0 @@ "desc": { |
@@ -25,2 +25,5 @@ module.exports = function (myapi, myadapter) { | ||
function getDeviceName(aDeviceName) { | ||
if (!aDeviceName) | ||
return "Unnamed"; | ||
return aDeviceName.replaceAll(" ", "-").replaceAll("---", "-").replaceAll("--", "-"); | ||
@@ -34,3 +37,3 @@ } | ||
handleDevice(aDevice, aParent); | ||
} else if (aDevice.module_name) { | ||
} else { | ||
var deviceName = getDeviceName(aDevice.module_name); | ||
@@ -60,4 +63,2 @@ var fullPath = aParent ? aParent + "." + deviceName : deviceName; | ||
}); | ||
} else { | ||
myadapter.log.warn("UNKNOWN MODULE " + JSON.stringify(aDevice)); | ||
} | ||
@@ -64,0 +65,0 @@ } |
{ | ||
"name": "iobroker.netatmo", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"description": "ioBroker netatmo Adapter", | ||
@@ -5,0 +5,0 @@ "author": { |
@@ -34,2 +34,5 @@ ![Logo](admin/netatmo.png) | ||
### 1.1.4 | ||
* (PArns) Added support for unnamed modules | ||
### 1.1.1 | ||
@@ -36,0 +39,0 @@ * (PArns) Simplified setAway |
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
113
114767