iobroker.senec 1.6.9 → 1.6.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -298,6 +298,9 @@ This channel contains values polled from SENEC App-API.
298
298
 
299
299
 
300
300
  ## Changelog
301
+ ### 1.6.10 (NoBl)
302
+ * Bugfix for AllTimeHistory (should work again)
303
+
301
304
  ### 1.6.9 (NoBl)
302
305
  * Added switch in config to enable active control of appliance (you will need activate this, if you want to control the appliance via the adapter)
303
306
  * Improved handling of forced loading (please report if we need more appliance-states covered by this)
package/io-package.json CHANGED
@@ -1,8 +1,21 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "senec",
4
- "version": "1.6.9",
4
+ "version": "1.6.10",
5
5
  "news": {
6
+ "1.6.10": {
7
+ "en": "Bugfix for AllTimeHistory",
8
+ "de": "Bugfix für AllTimeHistory",
9
+ "ru": "Bugfix для AllTimeИстория",
10
+ "pt": "Bugfix para AllTimeHistory",
11
+ "nl": "Bugfix voor AllTimeHistory",
12
+ "fr": "Bugfix pour AllTimeHistory",
13
+ "it": "Bugfix per AllTimeHistory",
14
+ "es": "Bugfix para AllTimeHistory",
15
+ "pl": "Bugfix for AllTimeHistory (ang.)",
16
+ "uk": "Виправлення помилок для AllTimeHistory",
17
+ "zh-cn": "九. 一切制度"
18
+ },
6
19
  "1.6.9": {
7
20
  "en": "Improved battery forced loading, added switch in config to allow active control of appliance.",
8
21
  "de": "Manuelles Laden verbessert, zusätzlicher Schalter in Config, um aktive Steuerung des Gerätes zu erlauben.",
package/main.js CHANGED
@@ -559,7 +559,7 @@ class Senec extends utils.Adapter {
559
559
  */
560
560
  async insertAllTimeHistory(system, key, year, value, einheit) {
561
561
  if (key === '__proto__' || key === 'constructor' || key === 'prototype') return; // Security fix
562
- if (!isNaN(year) || !isNaN(value)) return; // Security fix
562
+ if (isNaN(year) || isNaN(value)) return; // Security fix
563
563
  const pfx = "_api.Anlagen." + system + ".Statistik.AllTime.";
564
564
  const valueStore = pfx + "valueStore";
565
565
  const statsObj = await this.getStateAsync(valueStore);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.senec",
3
- "version": "1.6.9",
3
+ "version": "1.6.10",
4
4
  "description": "Senec Home",
5
5
  "author": {
6
6
  "name": "NoBl",