Skip to content

Commit

Permalink
add default filter
Browse files Browse the repository at this point in the history
  • Loading branch information
TA2k committed May 7, 2024
1 parent ddf84b7 commit 93b491f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 300 deletions.
2 changes: 1 addition & 1 deletion io-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
"token": "",
"interval": 10,
"virtualInterval": 0,
"exclude": "Cycle",
"exclude": "Cycle, viewInside",
"excludeDevices": ""
},
"objects": [],
Expand Down
297 changes: 0 additions & 297 deletions lib/json2iob.js

This file was deleted.

4 changes: 2 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,8 @@ class Smartthings extends utils.Adapter {
if (keys.length === 1) {
data = data[keys[0]];
}
const forceIndex = null;
const preferedArrayName = null;
const forceIndex = undefined;
const preferedArrayName = undefined;

await this.json2iob.parse(device.id + '.' + element.path, data, {
forceIndex: forceIndex,
Expand Down

0 comments on commit 93b491f

Please sign in to comment.