Skip to content

Commit

Permalink
chore: release v3.5.13
Browse files Browse the repository at this point in the history
we fixed some more types
  • Loading branch information
foxriver76 committed May 3, 2021
1 parent f48cb0b commit d613cdc
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 22 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ In den Adapter-Settings muss die IP der Hue Bridge sowie ein Username konfigurie
### __WORK IN PROGRESS__
-->

### __WORK IN PROGRESS__
### 3.5.13 (2021-05-03)
* (foxriver76) we fixed some more types

### 3.5.12 (2021-05-02)
Expand Down
26 changes: 13 additions & 13 deletions io-package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
{
"common": {
"name": "hue",
"version": "3.5.12",
"version": "3.5.13",
"tier": 2,
"news": {
"3.5.13": {
"en": "we fixed some more types",
"de": "Wir haben einige weitere Typen behoben",
"ru": "мы исправили еще несколько типов",
"pt": "nós consertamos mais alguns tipos",
"nl": "we hebben nog wat meer soorten gerepareerd",
"fr": "nous avons corrigé d'autres types",
"it": "abbiamo corretto altri tipi",
"es": "arreglamos algunos tipos más",
"pl": "naprawiliśmy kilka innych typów",
"zh-cn": "我们修复了更多类型"
},
"3.5.12": {
"en": "we give skipped switches common.type 'mixed' instead of none\nwe have corrected the min max of color temperature (empirically found)",
"de": "Wir geben übersprungene Schalter common.type 'gemischt' anstelle von keiner\nWir haben das minimale Maximum der Farbtemperatur korrigiert (empirisch gefunden).",
Expand Down Expand Up @@ -231,18 +243,6 @@
"es": " introduzca el estado `allOn` para grupos,` anyOn` y `allOn` ahora son controlables y actúan como el estado` on`, cuando se usa el comportamiento nativo de encendido / apagado, el cambio de brillo de los grupos parcialmente activados no se activa",
"pl": " wprowadzamy stan „allOn” dla grup, „anyOn” i „allOn” są teraz sterowane i działają jak stan „on”, gdy stosowane jest natywne zachowanie włączania / wyłączania, zmiana jasności częściowo włączonych grup nie zmieni się",
"zh-cn": " 为组引入“ allOn”状态,“ anyOn”和“ allOn”现在是可控的,就像“ on”状态一样,当使用本机打开/关闭行为时,部分打开的组的亮度变化不会打开"
},
"3.2.9": {
"en": "fixed issues on user creation",
"de": "Probleme bei der Benutzererstellung behoben",
"ru": "исправлены ошибки при создании пользователя",
"pt": "problemas corrigidos na criação do usuário",
"nl": "opgeloste problemen bij het maken van gebruikers",
"fr": "correction de problèmes lors de la création d'utilisateurs",
"it": "risolti i problemi relativi alla creazione dell'utente",
"es": "problemas resueltos en la creación de usuarios",
"pl": "naprawiono problemy z tworzeniem użytkowników",
"zh-cn": "解决了用户创建方面的问题"
}
},
"titleLang": {
Expand Down
14 changes: 9 additions & 5 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -1163,8 +1163,8 @@ async function connect() {
lobj.common.type = 'number';
lobj.common.role = 'level.color.temperature';
lobj.common.unit = '°K';
lobj.common.min = 2200; // 500
lobj.common.max = 6500; // 153
lobj.common.min = 2179; // 500
lobj.common.max = 6536; // 153
value = Math.round(1e6 / value);
break;
case 'alert':
Expand Down Expand Up @@ -1349,6 +1349,8 @@ async function connect() {
gobj.common.unit = '°';
gobj.common.min = 0;
gobj.common.max = 360;
// rescale to max of 360 instead of max 65535
group.action[action] = Math.round(group.action[action] / 65535 * 360);
break;
case 'sat':
gobj.common.type = 'number';
Expand All @@ -1364,15 +1366,17 @@ async function connect() {
gobj.common.type = 'number';
gobj.common.role = 'level.color.temperature';
gobj.common.unit = '°K';
gobj.common.min = 2200; // 500
gobj.common.max = 6500; // 153
gobj.common.min = 2179; // 500
gobj.common.max = 6536; // 153
// mired to kelvin
group.action[action] = Math.round(1e6 / group.action[action]);
break;
case 'alert':
gobj.common.type = 'string';
gobj.common.role = 'switch';
break;
case 'effect':
gobj.common.type = 'boolean';
gobj.common.type = 'string';
gobj.common.role = 'switch';
break;
case 'colormode':
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "iobroker.hue",
"version": "3.5.12",
"version": "3.5.13",
"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 <[email protected]>",
"contributors": [
Expand Down

0 comments on commit d613cdc

Please sign in to comment.