iobroker.netatmo
Advanced tools
Comparing version 1.3.0 to 1.3.1
{ | ||
"common": { | ||
"name": "netatmo", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"title": "Netatmo Adapter", | ||
@@ -6,0 +6,0 @@ "desc": { |
@@ -1045,4 +1045,12 @@ module.exports = function (myapi, myadapter) { | ||
var eventDate = Date.parse(objTime[aTimeId].val); | ||
if (cleanupDate > eventDate) { | ||
var eventDate = null; | ||
try { | ||
eventDate = Date.parse(objTime[aTimeId].val); | ||
} | ||
catch(e) { | ||
eventDate = null; | ||
} | ||
if ((cleanupDate > eventDate) || eventDate == null) { | ||
var parentId = aTimeId.substring(0, aTimeId.length - 5); | ||
@@ -1049,0 +1057,0 @@ |
{ | ||
"name": "iobroker.netatmo", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "ioBroker netatmo Adapter", | ||
@@ -5,0 +5,0 @@ "authors": { |
@@ -34,2 +34,5 @@ ![Logo](admin/netatmo.png) | ||
### 1.3.1 | ||
* (PArns) Fixed event cleanup crash | ||
### 1.3.0 | ||
@@ -36,0 +39,0 @@ * (HMeyer) Added Netatmo Coach |
178610
3690
138