Skip to content

Commit

Permalink
chore: release v3.0.29
Browse files Browse the repository at this point in the history
fixed bug on ALARM datapoint creation
  • Loading branch information
foxriver76 committed Jul 1, 2021
1 parent db633ac commit 0be163c
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 5 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ with the ioBroker CLI. You can change the port via `iob set hm-rega.<instance> -
### __WORK IN PROGRESS__
-->

### 3.0.29 (2021-07-01)
* (foxriver76) fixed bug on ALARM datapoint creation

### 3.0.28 (2021-06-30)
* (foxriver76) improve creation of ALARM dps even if no states provided by `getDatapoints` (fixes #168)

Expand Down
14 changes: 13 additions & 1 deletion io-package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@
{
"common": {
"name": "hm-rega",
"version": "3.0.28",
"version": "3.0.29",
"news": {
"3.0.29": {
"en": "fixed bug on ALARM datapoint creation",
"de": "Fehler bei der ALARM-Datenpunkterstellung behoben",
"ru": "исправлена ошибка при создании точки ТРЕВОГИ",
"pt": "bug corrigido na criação de pontos de dados ALARM",
"nl": "bug opgelost bij het maken van ALARM-gegevenspunten",
"fr": "correction d'un bug sur la création du point de données ALARM",
"it": "bug risolto sulla creazione del punto dati ALARM",
"es": "error corregido en la creación de puntos de datos de ALARMA",
"pl": "poprawiony błąd w tworzeniu punktu danych ALARM",
"zh-cn": "修复了 ALARM 数据点创建的错误"
},
"3.0.28": {
"en": "improve creation of ALARM dps even if no states provided by `getDatapoints` (fixes #168)",
"de": "Verbessern Sie die Erstellung von ALARM dps, auch wenn keine Zustände von `getDatapoints` bereitgestellt werden (fixes #168)",
Expand Down
2 changes: 0 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -713,9 +713,7 @@ async function getServiceMsgs() {
try {
const res = await adapter.getObjectViewAsync('system', 'device',
{startkey: 'hm-rpc.', endkey: 'hm-rpc.\u9999'});
adapter.log.debug('existing devices before mapping: ' + JSON.stringify(res.rows)); // TODO: remove
existingDevices = res.rows.map(obj => obj.id);
adapter.log.debug('existing devices after mapping: ' + JSON.stringify(existingDevices)); // TODO: remove
} catch (e) {
adapter.log.error(`Could not determine existing devices: ${e.message}`);
}
Expand Down
2 changes: 1 addition & 1 deletion 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.28",
"version": "3.0.29",
"engines": {
"node": ">=10.0.0"
},
Expand Down

0 comments on commit 0be163c

Please sign in to comment.