From 6b89d8680f48930cf38587a5f2acd7ef798d6263 Mon Sep 17 00:00:00 2001 From: hidetak Date: Tue, 30 Jul 2024 20:38:46 +0900 Subject: [PATCH] Fixed a bug that prevented automatic creation of Consumers when an observable did not exist in the TD's Property --- node-red-node-wot/plugin-resources-src/node-wot-plugin-lib.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node-red-node-wot/plugin-resources-src/node-wot-plugin-lib.ts b/node-red-node-wot/plugin-resources-src/node-wot-plugin-lib.ts index 166e5c7..006fed2 100644 --- a/node-red-node-wot/plugin-resources-src/node-wot-plugin-lib.ts +++ b/node-red-node-wot/plugin-resources-src/node-wot-plugin-lib.ts @@ -88,7 +88,7 @@ export const createClientFlowUsingDashboard = (tdString: string, existedNodes: a ...commonParams, propertyName, propertyDescription: tdProperty.description, - propertyObserve: tdProperty.observable, + propertyObserve: tdProperty.observable || false, inputMode: DATATYPES[tdProperty.type || "propertyTypeNull"].inputMode, convert: DATATYPES[tdProperty.type || "propertyTypeNull"].typeConvert, }