iobroker.weatherflow-tempest-api
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -82,2 +82,2 @@ { | ||
"updateCron": "Aktualisierungsplan" | ||
} | ||
} |
@@ -82,2 +82,2 @@ { | ||
"updateCron": "calendario de actualización" | ||
} | ||
} |
@@ -82,2 +82,2 @@ { | ||
"updateCron": "calendrier de mise à jour" | ||
} | ||
} |
@@ -82,2 +82,2 @@ { | ||
"updateCron": "programma di aggiornamento" | ||
} | ||
} |
@@ -82,2 +82,2 @@ { | ||
"updateCron": "schema bijwerken" | ||
} | ||
} |
@@ -82,2 +82,2 @@ { | ||
"updateCron": "harmonogram aktualizacji" | ||
} | ||
} |
@@ -82,2 +82,2 @@ { | ||
"updateCron": "cronograma de atualização" | ||
} | ||
} |
@@ -82,2 +82,2 @@ { | ||
"updateCron": "график обновления" | ||
} | ||
} |
@@ -82,2 +82,2 @@ { | ||
"updateCron": "графік оновлення" | ||
} | ||
} |
@@ -82,2 +82,2 @@ { | ||
"updateCron": "更新时间表" | ||
} | ||
} |
@@ -199,4 +199,4 @@ { | ||
"md": 1 | ||
}, | ||
} | ||
} | ||
} |
@@ -21,2 +21,4 @@ "use strict"; | ||
__export(helper_exports, { | ||
isChannelCommonEqual: () => isChannelCommonEqual, | ||
isStateCommonEqual: () => isStateCommonEqual, | ||
zeroPad: () => zeroPad | ||
@@ -29,6 +31,14 @@ }); | ||
} | ||
function isStateCommonEqual(objCommon, myCommon) { | ||
return JSON.stringify(objCommon.name) === JSON.stringify(myCommon.name) && objCommon.type === myCommon.type && objCommon.read === myCommon.read && objCommon.write === objCommon.write && objCommon.role === myCommon.role && objCommon.def === myCommon.def && objCommon.unit === myCommon.unit && objCommon.icon === myCommon.icon && objCommon.desc == myCommon.desc && objCommon.max === myCommon.max && objCommon.min === myCommon.min && JSON.stringify(objCommon.states) === JSON.stringify(myCommon.states); | ||
} | ||
function isChannelCommonEqual(objCommon, myCommon) { | ||
return JSON.stringify(objCommon.name) === JSON.stringify(myCommon.name) && objCommon.icon == myCommon.icon && objCommon.desc === myCommon.desc && objCommon.role === myCommon.role; | ||
} | ||
// Annotate the CommonJS export names for ESM import in node: | ||
0 && (module.exports = { | ||
isChannelCommonEqual, | ||
isStateCommonEqual, | ||
zeroPad | ||
}); | ||
//# sourceMappingURL=helper.js.map |
@@ -324,3 +324,3 @@ "use strict"; | ||
if (obj && obj.common) { | ||
if (JSON.stringify(obj.common) !== JSON.stringify(common)) { | ||
if (!myHelper.isChannelCommonEqual(obj.common, common)) { | ||
await this.extendObject(id, { common }); | ||
@@ -354,3 +354,3 @@ this.log.debug(`${logPrefix} channel updated '${id}'`); | ||
if (obj && obj.common) { | ||
if (JSON.stringify(obj.common) !== JSON.stringify(stateDef.common)) { | ||
if (!myHelper.isStateCommonEqual(obj.common, stateDef.common)) { | ||
await this.extendObject(id, { common: stateDef.common }); | ||
@@ -357,0 +357,0 @@ this.log.debug(`${logPrefix} updated common properties of state '${id}'`); |
{ | ||
"common": { | ||
"name": "weatherflow-tempest-api", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"news": { | ||
"1.0.3": { | ||
"en": "bug fixes", | ||
"de": "fehlerbehebungen", | ||
"ru": "исправления ошибок", | ||
"pt": "correções de bugs", | ||
"nl": "foutherstel", | ||
"fr": "corrections des bogues", | ||
"it": "correzioni di bug", | ||
"es": "bug fixes", | ||
"pl": "poprawki błędów", | ||
"uk": "виправлення помилок", | ||
"zh-cn": "错误修正" | ||
}, | ||
"1.0.2": { | ||
@@ -7,0 +20,0 @@ "en": "bug fixes\nusing cron for update interval", |
{ | ||
"name": "iobroker.weatherflow-tempest-api", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "WeatherFlow Tempest API", | ||
@@ -5,0 +5,0 @@ "author": { |
@@ -143,2 +143,6 @@ ![Logo](admin/weatherflow-tempest-api.png) | ||
--> | ||
### 1.0.3 (2024-10-18) | ||
- (Scrounger) bug fixes | ||
### 1.0.2 (2024-09-17) | ||
@@ -145,0 +149,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
138798
1786
185