iobroker.awattar 1.3.0 → 1.4.0

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
@@ -49,6 +49,11 @@ According to the <a href="https://www.awattar.de/services/api" target="_blank">a
49
49
  ### **WORK IN PROGRESS**
50
50
  -->
51
51
 
52
+ ### 1.4.0
53
+ * Migrated the Admin UI from the legacy Materialize HTML page to jsonConfig (same fields, existing settings are kept unchanged)
54
+ * Fixed: a decimal comma in the work rate (e.g. `20,08`) was cut off at the comma, so only the integer part (`20`) was added to the total price; both `20,08` and `20.08` are now handled
55
+ * (repository maintenance) Added the jsonConfig schema reference to `.vscode/settings.json`; bumped `@iobroker/testing` to 6.3.0
56
+
52
57
  ### 1.3.0
53
58
  * Dropped Node.js 20 support (reached end of life on 2026-04-30); Node.js 22 is now the minimum required version
54
59
  * (repository maintenance) Pinned chai/chai-as-promised/sinon-chai below their new ESM-only major versions in Dependabot config, since the test suite is CommonJS
@@ -0,0 +1,56 @@
1
+ {
2
+ "i18n": true,
3
+ "type": "panel",
4
+ "items": {
5
+ "aWATTarApiUrl": {
6
+ "type": "text",
7
+ "label": "URL for aWATTar API",
8
+ "newLine": true,
9
+ "xs": 12,
10
+ "sm": 12,
11
+ "md": 8,
12
+ "lg": 6,
13
+ "xl": 6
14
+ },
15
+ "LoadingThresholdStart": {
16
+ "type": "text",
17
+ "label": "Start Threshold Loading (e.g. for EV)",
18
+ "newLine": true,
19
+ "xs": 12,
20
+ "sm": 12,
21
+ "md": 8,
22
+ "lg": 6,
23
+ "xl": 6
24
+ },
25
+ "LoadingThresholdEnd": {
26
+ "type": "text",
27
+ "label": "End Threshold Loading (e.g. for EV)",
28
+ "newLine": true,
29
+ "xs": 12,
30
+ "sm": 12,
31
+ "md": 8,
32
+ "lg": 6,
33
+ "xl": 6
34
+ },
35
+ "MWstRate": {
36
+ "type": "text",
37
+ "label": "actual VAT rate (percent)",
38
+ "newLine": true,
39
+ "xs": 12,
40
+ "sm": 12,
41
+ "md": 8,
42
+ "lg": 6,
43
+ "xl": 6
44
+ },
45
+ "WorkRate": {
46
+ "type": "text",
47
+ "label": "Arbeitspreis ( \"Netznutzung\" + \"Umlagen, Abgaben, Steuern\" + \"Kosten für Ökostromzertifikate, Abrechnung und Vertrieb\", incl. MWSt.)",
48
+ "newLine": true,
49
+ "xs": 12,
50
+ "sm": 12,
51
+ "md": 8,
52
+ "lg": 6,
53
+ "xl": 6
54
+ }
55
+ }
56
+ }
package/io-package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "awattar",
4
- "version": "1.3.0",
4
+ "version": "1.4.0",
5
5
  "tier": 3,
6
6
  "desc": {
7
7
  "en": "reads out hourly prices from aWATTar",
@@ -101,6 +101,19 @@
101
101
  "pl": "Usunięto obsługę Node.js 20 (koniec wsparcia); Node.js 22 jest teraz minimalną wymaganą wersją",
102
102
  "uk": "Видалено підтримку Node.js 20 (закінчився життєвий цикл); Node.js 22 тепер є мінімально необхідною версією",
103
103
  "zh-cn": "已移除对 Node.js 20 的支持(已终止维护);现在最低需要 Node.js 22"
104
+ },
105
+ "1.4.0": {
106
+ "en": "Admin UI migrated to jsonConfig; fixed: a work rate entered with a decimal comma was cut off (e.g. 20,08 now counts as 20.08 instead of 20) - total prices may rise slightly",
107
+ "de": "Admin-Oberfläche auf jsonConfig umgestellt; behoben: Ein Arbeitspreis mit Dezimalkomma wurde abgeschnitten (z.B. zählt 20,08 jetzt als 20,08 statt 20) - die Gesamtpreise können dadurch leicht steigen",
108
+ "ru": "Интерфейс администратора переведён на jsonConfig; исправлено: рабочая цена с десятичной запятой обрезалась (например, 20,08 теперь считается как 20,08, а не 20) — итоговые цены могут немного вырасти",
109
+ "pt": "Interface de administração migrada para jsonConfig; corrigido: o preço de energia com vírgula decimal era truncado (por exemplo, 20,08 agora conta como 20,08 em vez de 20) - os preços totais podem aumentar ligeiramente",
110
+ "nl": "Admin-interface gemigreerd naar jsonConfig; opgelost: het werktarief met decimale komma werd afgekapt (bijv. 20,08 telt nu als 20,08 in plaats van 20) - de totaalprijzen kunnen daardoor iets stijgen",
111
+ "fr": "Interface d'administration migrée vers jsonConfig ; correction : le prix de l'énergie avec virgule décimale était tronqué (par ex. 20,08 compte désormais 20,08 au lieu de 20) - les prix totaux peuvent donc légèrement augmenter",
112
+ "it": "Interfaccia di amministrazione migrata a jsonConfig; corretto: il prezzo dell'energia con virgola decimale veniva troncato (ad es. 20,08 ora vale 20,08 invece di 20) - i prezzi totali possono quindi aumentare leggermente",
113
+ "es": "Interfaz de administración migrada a jsonConfig; corregido: el precio de la energía con coma decimal se truncaba (p. ej., 20,08 ahora cuenta como 20,08 en lugar de 20) - los precios totales pueden subir ligeramente",
114
+ "pl": "Interfejs administratora przeniesiony na jsonConfig; naprawiono: cena energii z przecinkiem dziesiętnym była obcinana (np. 20,08 jest teraz liczone jako 20,08 zamiast 20) - ceny całkowite mogą nieznacznie wzrosnąć",
115
+ "uk": "Інтерфейс адміністратора переведено на jsonConfig; виправлено: робоча ціна з десятковою комою обрізалася (наприклад, 20,08 тепер враховується як 20,08, а не 20) — загальні ціни можуть трохи зрости",
116
+ "zh-cn": "管理界面已迁移到 jsonConfig;修复:带小数逗号的电价被截断的问题(例如 20,08 现在按 20,08 计算,而不是 20)- 总价可能会略有上升"
104
117
  }
105
118
  },
106
119
  "titleLang": {
@@ -120,7 +133,7 @@
120
133
  "connectionType": "cloud",
121
134
  "dataSource": "poll",
122
135
  "adminUI": {
123
- "config": "materialize"
136
+ "config": "json"
124
137
  },
125
138
  "dependencies": [
126
139
  {
@@ -129,7 +142,7 @@
129
142
  ],
130
143
  "globalDependencies": [
131
144
  {
132
- "admin": ">=7.6.17"
145
+ "admin": ">=7.6.20"
133
146
  }
134
147
  ]
135
148
  },