iobroker.weathersense 2.0.2 → 3.0.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
@@ -30,6 +30,10 @@ The weather station data is stored in the weathersense data point.
30
30
  The data can also be sent via MQTT.
31
31
 
32
32
  ## Changelog
33
+ ### 3.0.0 (2025-08-18)
34
+
35
+ - Type and channel position swapped for more meaningful sorting
36
+
33
37
  ### 2.0.2 (2025-08-17)
34
38
 
35
39
  - Unit hPa added
package/io-package.json CHANGED
@@ -1,8 +1,21 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "weathersense",
4
- "version": "2.0.2",
4
+ "version": "3.0.0",
5
5
  "news": {
6
+ "3.0.0": {
7
+ "en": "Type and channel position swapped for more meaningful sorting",
8
+ "de": "Typ- und Kanalposition getauscht für eine sinnvollere Sortierung",
9
+ "ru": "Положение типа и канала поменялось для более значимой сортировки",
10
+ "pt": "Tipo e posição do canal trocados para classificação mais significativa",
11
+ "nl": "Type- en kanaalpositie geruild voor meer betekenisvol sorteren",
12
+ "fr": "Type et position du canal échangés pour un tri plus significatif",
13
+ "it": "Tipo e posizione del canale scambiato per una selezione più significativa",
14
+ "es": "Tipo y posición de canal intercambiado para una clasificación más significativa",
15
+ "pl": "Pozycja typu i kanału zamieniona na bardziej znaczące sortowanie",
16
+ "uk": "Тип і позиція каналу, що спрощуються для більш значущого сортування",
17
+ "zh-cn": "类型和频道位置交换,以进行更有意义的排序"
18
+ },
6
19
  "2.0.2": {
7
20
  "en": "Unit hPa added",
8
21
  "de": "Einheit hPa hinzugefügt",
@@ -80,19 +93,6 @@
80
93
  "pl": "Czyszczenie kodu",
81
94
  "uk": "Чистка коду",
82
95
  "zh-cn": "代码清理"
83
- },
84
- "1.0.0": {
85
- "en": "First release",
86
- "de": "Erstes Release",
87
- "ru": "Первый релиз",
88
- "pt": "Primeiro lançamento",
89
- "nl": "Eerste release",
90
- "fr": "Première sortie",
91
- "it": "Prima versione",
92
- "es": "Primer lanzamiento",
93
- "pl": "Pierwsze wydanie",
94
- "uk": "Перший випуск",
95
- "zh-cn": "第一版"
96
96
  }
97
97
  },
98
98
  "titleLang": {
package/main.js CHANGED
@@ -199,7 +199,7 @@ class WeatherSense extends utils.Adapter {
199
199
  prefix = '-Hum';
200
200
  }
201
201
 
202
- const key = `Type${type_}-Channel${channel}${prefix}`;
202
+ const key = `Channel${channel}-Type${type_}${prefix}`;
203
203
  const base = `${devDataChannelId}.${key}`;
204
204
 
205
205
  // current
@@ -615,7 +615,7 @@ class WeatherSense extends utils.Adapter {
615
615
  prefix = '-Hum';
616
616
  }
617
617
 
618
- const key = `Type${type_}-Channel${channel}${prefix}`;
618
+ const key = `Channel${channel}-Type${type_}${prefix}`;
619
619
  const base = `devData/${key}`;
620
620
 
621
621
  if (cur_val !== null && cur_val !== undefined && cur_val !== 65535 && cur_val !== 255) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.weathersense",
3
- "version": "2.0.2",
3
+ "version": "3.0.0",
4
4
  "description": "Read in data from WeatherSense",
5
5
  "author": {
6
6
  "name": "Daniel Luginbühl",