Skip to content

Commit

Permalink
### 1.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Scrounger committed Mar 8, 2020
1 parent e2ad4a7 commit 7cbcf36
Show file tree
Hide file tree
Showing 5 changed files with 322 additions and 168 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ This adapter is inspired from [virtual devices script by Pman](https://forum.iob

## Changelog

### 1.1.2
* (Scrounger) bug fix for values from type object

### 1.1.1
* (Scrounger) string to number bug fix

Expand Down
26 changes: 21 additions & 5 deletions io-package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@
{
"common": {
"name": "linkeddevices",
"version": "1.1.1",
"version": "1.1.2",
"news": {
"1.1.2": {
"en": "bug fix for values from type object",
"de": "Fehlerbehebung für Werte vom Typ Objekt",
"ru": "исправлена ошибка для значений из типа объекта",
"pt": "correção de bug para valores do objeto de tipo",
"nl": "bugfix voor waarden van type object",
"fr": "correction de bogue pour les valeurs de l'objet type",
"it": "correzione di bug per valori dall'oggetto tipo",
"es": "corrección de errores para valores del objeto tipo",
"pl": "poprawka błędu dla wartości z obiektu typu",
"zh-cn": "错误修复类型对象的值"
},
"1.1.1": {
"en": "bug fix for string to number converter",
"de": "Fehlerbehebung für den Konverter von String zu Zahl",
Expand Down Expand Up @@ -197,9 +209,13 @@
"pl": "Create linked objects (datapoints) of your devices with a self-defined structure. This makes it possible to create a structure in ioBroker, where all objects are centralized, e.g. to be used in the vis or scripts. This offers the advantage, for example, that in a hardware exchange, only the linked objects must be recreated and all vis and Sktipte work again.",
"zh-cn": "Create linked objects (datapoints) of your devices with a self-defined structure. This makes it possible to create a structure in ioBroker, where all objects are centralized, e.g. to be used in the vis or scripts. This offers the advantage, for example, that in a hardware exchange, only the linked objects must be recreated and all vis and Sktipte work again."
},
"docs": {
"en": ["docs/en/readme.md"],
"de": ["docs/de/readme.md"]
"docs": {
"en": [
"docs/en/readme.md"
],
"de": [
"docs/de/readme.md"
]
},
"authors": [
"Scrounger <[email protected]>"
Expand Down Expand Up @@ -284,4 +300,4 @@
"native": {}
}
]
}
}
3 changes: 0 additions & 3 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -850,9 +850,6 @@ class Linkeddevices extends utils.Adapter {
// ggf. kann für das linkedObject eine Umrechnung festgelegt sein
let parentValue = await this.getConvertedValue(linkedId, parentState.val);

this.log.warn('fuuuuu');
this.log.warn(JSON.stringify(parentState.val));

if (linkedState) {
if (linkedState.val != parentValue || linkedState.ack != parentState.ack) {
// Nur aktualisieren, sofern nicht gleich -> damit wird z.B. bei button kein press ausgelöst
Expand Down
Loading

0 comments on commit 7cbcf36

Please sign in to comment.