Skip to content

Commit

Permalink
fix create wot consumer plugin bug for observe property
Browse files Browse the repository at this point in the history
  • Loading branch information
hidetak committed Jun 18, 2024
1 parent a58e6f2 commit 9510253
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ export const createClientFlowUsingDashboard = (tdString: string, existedNodes: a
...commonParams,
propertyName,
propertyDescription: tdProperty.description,
propertyObserve: tdProperty.observable,
inputMode: DATATYPES[tdProperty.type || "propertyTypeNull"].inputMode,
convert: DATATYPES[tdProperty.type || "propertyTypeNull"].typeConvert,
}
Expand Down Expand Up @@ -595,7 +596,7 @@ const PROPERTY_READ_TEMP = `[
"thing": "<%common-genid(1)%>",
"property": "<%propertyName%>",
"uriVariables": "{}",
"observe": true,
"observe": <%propertyObserve%>,
"x": 480,
"y": <%y1%>,
"wires": [
Expand Down

0 comments on commit 9510253

Please sign in to comment.