Skip to content

Commit

Permalink
chore: release v3.0.24
Browse files Browse the repository at this point in the history
we fixed more occurrences of incorrect types (fixes #146)
  • Loading branch information
foxriver76 committed Apr 30, 2021
1 parent 4cd8b77 commit 990a799
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 19 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ with the ioBroker CLI. You can change the port via `iob set hm-rega.<instance> -
Placeholder for the next version (at the beginning of the line):
### __WORK IN PROGRESS__
-->
### 3.0.24 (2021-04-30)
* (foxriver76) we fixed more occurrences of incorrect types (fixes #146)

### 3.0.23 (2021-04-30)
* (foxriver76) we now correctly convert the rssi values, workaround for https://github.com/jens-maus/RaspberryMatic/issues/897
* (foxriver76) we made counter states of type "number", was incorrectly "string" (closes #145)
Expand Down
6 changes: 3 additions & 3 deletions hm-rega.js
Original file line number Diff line number Diff line change
Expand Up @@ -1890,7 +1890,7 @@ async function getDutyCycle() {
CONTROL: 'NONE'
}
};
await addNewStateOrObject(stateConnected, dp.CONNECTED);
await addNewStateOrObject(stateConnected, parseInt(dp.CONNECTED));
}

//DEFAULT State:
Expand All @@ -1913,7 +1913,7 @@ async function getDutyCycle() {
CONTROL: 'NONE'
}
};
await addNewStateOrObject(stateDefault, dp.DEFAULT);
await addNewStateOrObject(stateDefault, parseInt(dp.DEFAULT));
}

// FIRMWARE_VERSION State:
Expand Down Expand Up @@ -1964,7 +1964,7 @@ async function getDutyCycle() {
type: 'state',
common: {
name: `${adapter.namespace}.${id}.0.countDevices`,
type: 'string',
type: 'number',
read: true,
write: false,
role: 'indicator.count',
Expand Down
26 changes: 13 additions & 13 deletions io-package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@
{
"common": {
"name": "hm-rega",
"version": "3.0.23",
"version": "3.0.24",
"news": {
"3.0.24": {
"en": "we fixed more occurrences of incorrect types (fixes #146)",
"de": "Wir haben mehr Vorkommen falscher Typen behoben (Fixes # 146).",
"ru": "мы исправили больше случаев появления некорректных типов (исправления # 146)",
"pt": "corrigimos mais ocorrências de tipos incorretos (correções # 146)",
"nl": "we hebben meer gevallen van onjuiste typen opgelost (fix # 146)",
"fr": "nous avons corrigé plus d'occurrences de types incorrects (corrections # 146)",
"it": "abbiamo corretto più occorrenze di tipi errati (correzioni # 146)",
"es": "arreglamos más ocurrencias de tipos incorrectos (arreglos # 146)",
"pl": "naprawiliśmy więcej wystąpień nieprawidłowych typów (poprawki # 146)",
"zh-cn": "我们修复了更多错误类型的情况(修复#146)"
},
"3.0.23": {
"en": "we now correctly convert the rssi values, workaround for https://github.com/jens-maus/RaspberryMatic/issues/897\nwe made counter states of type \"number\", was incorrectly \"string\" (closes #897)",
"de": "Wir konvertieren jetzt die RSSI-Werte korrekt, Problemumgehung für https://github.com/jens-maus/RaspberryMatic/issues/897\nWir haben Zählerzustände vom Typ \"Nummer\" erstellt, die fälschlicherweise \"Zeichenfolge\" waren (schließt # 897).",
Expand Down Expand Up @@ -230,18 +242,6 @@
"es": "ahora ofrecemos la posibilidad de utilizar un puerto de interfaz web personalizado, consulte las preguntas frecuentes",
"pl": "oferujemy teraz możliwość korzystania z niestandardowego portu interfejsu internetowego, zobacz FAQ",
"zh-cn": "我们现在提供使用自定义Web界面端口的可能性,请参阅常见问题解答"
},
"3.0.4": {
"en": "fixed missing enum translations (changed in API)",
"de": "fehlende Enum-Übersetzungen behoben (in API geändert)",
"ru": "исправлены отсутствующие переводы enum (изменено в API)",
"pt": "corrigidas traduções enum ausentes (alteradas na API)",
"nl": "ontbrekende enum-vertalingen opgelost (gewijzigd in API)",
"fr": "corrections d'énumérations manquantes (modifiées dans l'API)",
"it": "risolte traduzioni enum mancanti (modificate nell'API)",
"es": "Se corrigieron las traducciones de enumeración que faltaban (cambiadas en la API)",
"pl": "naprawiono brakujące tłumaczenia wyliczeń (zmienione w API)",
"zh-cn": "修复缺少的枚举翻译(已在API中更改)"
}
},
"title": "HomeMatic ReGaHSS",
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.hm-rega",
"version": "3.0.23",
"version": "3.0.24",
"engines": {
"node": ">=10.0.0"
},
Expand Down

0 comments on commit 990a799

Please sign in to comment.