iobroker.hue 3.6.3 → 3.6.5

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
@@ -73,6 +73,9 @@ In den Adapter-Settings muss die IP der Hue Bridge sowie ein Username konfigurie
73
73
  Placeholder for the next version (at the beginning of the line):
74
74
  ### __WORK IN PROGRESS__
75
75
  -->
76
+ ### 3.6.5 (2022-01-11)
77
+ * (foxriver76) correctly identify third party switches (closes #273)
78
+
76
79
  ### 3.6.3 (2022-01-09)
77
80
  * (foxriver76) added `info.connection` state (closes #268)
78
81
 
package/io-package.json CHANGED
@@ -1,9 +1,21 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "hue",
4
- "version": "3.6.3",
4
+ "version": "3.6.5",
5
5
  "tier": 2,
6
6
  "news": {
7
+ "3.6.5": {
8
+ "en": "correctly identify third party switches (closes #273)",
9
+ "de": "Schalter von Drittanbietern richtig identifizieren (schließt #273)",
10
+ "ru": "правильно идентифицировать сторонние переключатели (закрывает # 273)",
11
+ "pt": "identificar corretamente os switches de terceiros (fecha o nº 273)",
12
+ "nl": "identificeer schakelaars van derden correct (sluit #273 af)",
13
+ "fr": "identifier correctement les commutateurs tiers (ferme #273)",
14
+ "it": "identificare correttamente gli interruttori di terze parti (chiude il n. 273)",
15
+ "es": "identificar correctamente los interruptores de terceros (cierra #273)",
16
+ "pl": "poprawnie zidentyfikować przełączniki firm trzecich (zamyka #273)",
17
+ "zh-cn": "正确识别第三方开关(关闭 #273)"
18
+ },
7
19
  "3.6.3": {
8
20
  "en": "added `info.connection` state (closes #268)",
9
21
  "de": "Status `info.connection` hinzugefügt (schließt #268)",
@@ -75,18 +87,6 @@
75
87
  "es": "arreglamos Sentry IOBROKER-HUE-1K, IOBROKER-HUE-A, IOBROKER-HUE-1J",
76
88
  "pl": "naprawiliśmy Sentry IOBROKER-HUE-1K, IOBROKER-HUE-A, IOBROKER-HUE-1J",
77
89
  "zh-cn": "我们修复了 Sentry IOBROKER-HUE-1K、IOBROKER-HUE-A、IOBROKER-HUE-1J"
78
- },
79
- "3.5.29": {
80
- "en": "Caught SENTRY error.",
81
- "de": "SENTRY-Fehler abgefangen.",
82
- "ru": "Обнаружена ошибка SENTRY.",
83
- "pt": "Erro SENTRY detectado.",
84
- "nl": "SENTRY-fout gedetecteerd.",
85
- "fr": "Erreur SENTRY détectée.",
86
- "it": "Rilevato errore SENTRY.",
87
- "es": "Error de SENTRY detectado.",
88
- "pl": "Wykryto błąd SENTRY.",
89
- "zh-cn": "发现哨兵错误。"
90
90
  }
91
91
  },
92
92
  "titleLang": {
package/main.js CHANGED
@@ -1102,7 +1102,7 @@ async function connect() {
1102
1102
  light.state.b = 0;
1103
1103
  }
1104
1104
 
1105
- if (light.type !== 'On/Off plug-in unit') {
1105
+ if (!light.type.startsWith('On/Off')) {
1106
1106
  light.state.command = '{}';
1107
1107
  light.state.level = 0;
1108
1108
  }
@@ -1269,7 +1269,7 @@ async function connect() {
1269
1269
  let role = 'light.color';
1270
1270
  if (light.type === 'Dimmable light' || light.type === 'Dimmable plug-in unit') {
1271
1271
  role = 'light.dimmer';
1272
- } else if (light.type === 'On/Off plug-in unit') {
1272
+ } else if (light.type.startsWith('On/Off')) {
1273
1273
  role = 'switch';
1274
1274
  }
1275
1275
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.hue",
3
- "version": "3.6.3",
3
+ "version": "3.6.5",
4
4
  "description": "Connects Philips Hue LED Bulbs, Friends of Hue LED Lamps and Stripes and other SmartLink capable Devices (LivingWhites, some LivingColors) via Philips Hue Bridges",
5
5
  "author": "hobbyquaker <hq@ccu.io>",
6
6
  "contributors": [
@@ -32,9 +32,9 @@
32
32
  "node-hue-api": "^4.0.10"
33
33
  },
34
34
  "devDependencies": {
35
- "@alcalzone/release-script": "^3.4.2",
36
- "@alcalzone/release-script-plugin-iobroker": "^3.4.1",
37
- "@alcalzone/release-script-plugin-license": "^3.4.1",
35
+ "@alcalzone/release-script": "^3.4.3",
36
+ "@alcalzone/release-script-plugin-iobroker": "^3.4.3",
37
+ "@alcalzone/release-script-plugin-license": "^3.4.3",
38
38
  "@iobroker/testing": "^2.5.2",
39
39
  "axios": "^0.24.0",
40
40
  "chai": "^4.3.4",