diff --git a/README.md b/README.md index 99eef898..fae55174 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ In den Adapter-Settings muss die IP der Hue Bridge sowie ein Username konfigurie Placeholder for the next version (at the beginning of the line): ### __WORK IN PROGRESS__ --> -### 3.6.4 (2022-01-11) +### 3.6.5 (2022-01-11) * (foxriver76) correctly identify third party switches (closes #273) ### 3.6.3 (2022-01-09) diff --git a/io-package.json b/io-package.json index a23ab26d..11c8e817 100644 --- a/io-package.json +++ b/io-package.json @@ -1,10 +1,10 @@ { "common": { "name": "hue", - "version": "3.6.4", + "version": "3.6.5", "tier": 2, "news": { - "3.6.4": { + "3.6.5": { "en": "correctly identify third party switches (closes #273)", "de": "Schalter von Drittanbietern richtig identifizieren (schließt #273)", "ru": "правильно идентифицировать сторонние переключатели (закрывает # 273)", diff --git a/main.js b/main.js index f87a6c4b..daff7a23 100644 --- a/main.js +++ b/main.js @@ -1102,7 +1102,7 @@ async function connect() { light.state.b = 0; } - if (light.type.startsWith('On/Off')) { + if (!light.type.startsWith('On/Off')) { light.state.command = '{}'; light.state.level = 0; } diff --git a/package-lock.json b/package-lock.json index 93e3cb30..15f9ea53 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "iobroker.hue", - "version": "3.6.4", + "version": "3.6.5", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 1d4bab7d..18d89653 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "iobroker.hue", - "version": "3.6.4", + "version": "3.6.5", "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", "author": "hobbyquaker ", "contributors": [