homey-lib 2.21.5 → 2.21.7

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.
@@ -7,7 +7,7 @@
7
7
  "fr": "Force d'un coup de vent",
8
8
  "it": "Intensità delle raffiche",
9
9
  "sv": "Vindstyrka",
10
- "no": "Vindstyrke",
10
+ "no": "Vindkast",
11
11
  "es": "Fuerza del aire",
12
12
  "da": "Vindstyrke",
13
13
  "ru": "Сила порывов ветра",
@@ -25,7 +25,7 @@
25
25
  "fr": "Force du coup de vent en kilomètres par heure (km/h)",
26
26
  "it": "Intensità delle raffiche in chilometri orari (km/h)",
27
27
  "sv": "Vindstyrka i kilometer per timme (km/h)",
28
- "no": "Vindstyrke i kilometer per time (km/t)",
28
+ "no": "Vindkaststyrke i kilometer per time (km/t)",
29
29
  "es": "Fuerza del aire en kilómetros por hora (km/h)",
30
30
  "da": "Vindstyrke i kilometer i timen (km/t)",
31
31
  "ru": "Сила порывов ветра в км в час (км/ч)",
@@ -64,4 +64,4 @@
64
64
  }
65
65
  ]
66
66
  }
67
- }
67
+ }
package/lib/App/index.js CHANGED
@@ -275,7 +275,7 @@ class App {
275
275
  const childSetting = setting.children[k];
276
276
  if (childSetting && childSetting.zwave) {
277
277
  if (seenZwaveSettings.has(childSetting.zwave.index)) {
278
- throw new Error(`drivers.${driver.id} invalid settings: duplicate zwave setting index ${childSetting.zwave.index}`);
278
+ console.warn(`drivers.${driver.id}: duplicate zwave setting index ${childSetting.zwave.index}`);
279
279
  } else {
280
280
  seenZwaveSettings.add(childSetting.zwave.index);
281
281
  }
@@ -284,7 +284,7 @@ class App {
284
284
  }
285
285
  } else if (setting.zwave) {
286
286
  if (seenZwaveSettings.has(setting.zwave.index)) {
287
- throw new Error(`drivers.${driver.id} invalid settings: duplicate zwave setting index ${setting.zwave.index}`);
287
+ console.warn(`drivers.${driver.id}: duplicate zwave setting index ${setting.zwave.index}`);
288
288
  } else {
289
289
  seenZwaveSettings.add(setting.zwave.index);
290
290
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "homey-lib",
3
- "version": "2.21.5",
3
+ "version": "2.21.7",
4
4
  "description": "Shared Library for Homey",
5
5
  "main": "index.js",
6
6
  "scripts": {