From ef39f77d28d5e131d021382ac5c780090b865bf2 Mon Sep 17 00:00:00 2001 From: ka-vaNu Date: Mon, 1 May 2023 18:54:22 +0200 Subject: [PATCH] Add role, read, write to setObject --- lib/tools.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/tools.js b/lib/tools.js index 590fd03..55fa686 100644 --- a/lib/tools.js +++ b/lib/tools.js @@ -70,6 +70,9 @@ async function initIobStates (name, datapoints) { iob.setObject(path, { type: iobObject.type, common: iobObject.common, + role: iobObject.role, + read: iobObject.read, + write: iobObject.write, native: {} }); }