iobroker.sonoff 2.5.0 → 2.5.1
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.
|
@@ -28,7 +28,7 @@ jobs:
|
|
|
28
28
|
node-version: [12.x]
|
|
29
29
|
|
|
30
30
|
steps:
|
|
31
|
-
- uses: actions/checkout@
|
|
31
|
+
- uses: actions/checkout@v3
|
|
32
32
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
33
33
|
uses: actions/setup-node@v3
|
|
34
34
|
with:
|
|
@@ -60,7 +60,7 @@ jobs:
|
|
|
60
60
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
|
61
61
|
|
|
62
62
|
steps:
|
|
63
|
-
- uses: actions/checkout@
|
|
63
|
+
- uses: actions/checkout@v3
|
|
64
64
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
65
65
|
uses: actions/setup-node@v3
|
|
66
66
|
with:
|
|
@@ -96,7 +96,7 @@ jobs:
|
|
|
96
96
|
|
|
97
97
|
steps:
|
|
98
98
|
- name: Checkout code
|
|
99
|
-
uses: actions/checkout@
|
|
99
|
+
uses: actions/checkout@v3
|
|
100
100
|
|
|
101
101
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
102
102
|
uses: actions/setup-node@v3
|
package/README.md
CHANGED
|
@@ -120,6 +120,9 @@ States:
|
|
|
120
120
|
### __WORK IN PROGRESS__
|
|
121
121
|
-->
|
|
122
122
|
## Changelog
|
|
123
|
+
### 2.5.1 (2022-04-23)
|
|
124
|
+
* (Apollon77) Fix crash case reported by Sentry
|
|
125
|
+
|
|
123
126
|
### 2.5.0 (2022-03-21)
|
|
124
127
|
* (GreatSUN) Implement writing of NSPanel Widget changes
|
|
125
128
|
* (Apollon77) Fix crash case reported by Sentry
|
package/io-package.json
CHANGED
|
@@ -1,8 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "sonoff",
|
|
4
|
-
"version": "2.5.
|
|
4
|
+
"version": "2.5.1",
|
|
5
5
|
"news": {
|
|
6
|
+
"2.5.1": {
|
|
7
|
+
"en": "Fix crash case reported by Sentry",
|
|
8
|
+
"de": "Absturzfall behoben, der von Sentry gemeldet wurde",
|
|
9
|
+
"ru": "Исправить случай сбоя, о котором сообщил Sentry",
|
|
10
|
+
"pt": "Corrigir caso de falha relatado pelo Sentinela",
|
|
11
|
+
"nl": "Herstel crashgeval gemeld door Sentry",
|
|
12
|
+
"fr": "Correction d'un cas de crash signalé par Sentry",
|
|
13
|
+
"it": "Risolto il caso di crash segnalato da Sentry",
|
|
14
|
+
"es": "Solucionar caso de bloqueo informado por Sentry",
|
|
15
|
+
"pl": "Napraw przypadek awarii zgłoszony przez Sentry",
|
|
16
|
+
"zh-cn": "修复 Sentry 报告的崩溃案例"
|
|
17
|
+
},
|
|
6
18
|
"2.5.0": {
|
|
7
19
|
"en": "Implement writing of NSPanel Widget changes\nFix crash case reported by Sentry",
|
|
8
20
|
"de": "Implementieren Sie das Schreiben von NSPanel-Widget-Änderungen\nAbsturzfall behoben, der von Sentry gemeldet wurde",
|
|
@@ -74,18 +86,6 @@
|
|
|
74
86
|
"es": "Mejor detección de tipos para estados no descritos",
|
|
75
87
|
"pl": "Lepsze wykrywanie typów dla stanów nieopisanych",
|
|
76
88
|
"zh-cn": "更好的未描述状态的类型检测"
|
|
77
|
-
},
|
|
78
|
-
"2.4.2": {
|
|
79
|
-
"en": "Optimize for js-controller 3.3",
|
|
80
|
-
"de": "Optimieren Sie für js-Controller 3.3",
|
|
81
|
-
"ru": "Оптимизировать под js-controller 3.3",
|
|
82
|
-
"pt": "Otimize para js-controller 3.3",
|
|
83
|
-
"nl": "Optimaliseren voor js-controller 3.3",
|
|
84
|
-
"fr": "Optimiser pour js-controller 3.3",
|
|
85
|
-
"it": "Ottimizza per js-controller 3.3",
|
|
86
|
-
"es": "Optimizar para js-controller 3.3",
|
|
87
|
-
"pl": "Optymalizacja dla kontrolera js 3.3",
|
|
88
|
-
"zh-cn": "针对 js-controller 3.3 优化"
|
|
89
89
|
}
|
|
90
90
|
},
|
|
91
91
|
"title": "Sonoff",
|
package/lib/server.js
CHANGED
|
@@ -281,7 +281,7 @@ function MQTTServer(adapter) {
|
|
|
281
281
|
adapter.getObject(id, (err, obj) => {
|
|
282
282
|
if (!obj) {
|
|
283
283
|
adapter.log.warn(`invalid rgbww obj for ${id}`);
|
|
284
|
-
} if (typeof state.val !== 'string') {
|
|
284
|
+
} else if (typeof state.val !== 'string') {
|
|
285
285
|
adapter.log.warn(`invalid rgbww state value for ${id} : ${JSON.stringify(state.val)} needs to be a string`);
|
|
286
286
|
} else {
|
|
287
287
|
const role = obj.common.role;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iobroker.sonoff",
|
|
3
3
|
"description": "The adapter allows to send and receive MQTT messages from ioBroker and to be a broker.",
|
|
4
|
-
"version": "2.5.
|
|
4
|
+
"version": "2.5.1",
|
|
5
5
|
"author": "bluefox <dogafox@gmail.com>",
|
|
6
6
|
"homepage": "https://github.com/ioBroker/ioBroker.sonoff",
|
|
7
7
|
"repository": {
|