Trying to set the label of ui-text node dynamically. I finally figured out that I had to use ui_update.label to change the text (and not msg.label), but for some reason, I am seeing the [object Object] next to the label
The sample flow is below. What am I missing?
[{"id":"5676591b608cb257","type":"inject","z":"9fe89ce15b0f9a64","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"Backyard Motion","payload":"{\"name\":\"battery\",\"currentValue\":100,\"dataType\":\"NUMBER\",\"value\":100,\"deviceId\":\"675\"}","payloadType":"json","x":254.6580810546875,"y":342.95769519140623,"wires":[["c74c79d966ceccab","32de5b4fae82bd41"]]},{"id":"c74c79d966ceccab","type":"change","z":"9fe89ce15b0f9a64","name":"Set Label","rules":[{"t":"set","p":"ui_update.label","pt":"msg","to":"topic","tot":"msg"},{"t":"delete","p":"payload","pt":"msg"},{"t":"set","p":"topic","pt":"msg","to":"","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":490.8345642089844,"y":290.82720947265625,"wires":[["7a6560d662a0b275","979ec43c0698dd3c"]]},{"id":"32de5b4fae82bd41","type":"change","z":"9fe89ce15b0f9a64","name":"Set Label","rules":[{"t":"set","p":"ui_update.label","pt":"msg","to":"payload.currentValue&'%'","tot":"jsonata"},{"t":"delete","p":"payload","pt":"msg"},{"t":"delete","p":"topic","pt":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":489.8345642089844,"y":383.82720947265625,"wires":[["741c131a57fab787","9f384dc6a35c58af"]]},{"id":"7a6560d662a0b275","type":"ui-text","z":"9fe89ce15b0f9a64","group":"7a54ca8d64972f71","order":2,"width":0,"height":0,"name":"Name","label":"Button","format":"{{msg.payload}}","layout":"row-center","style":true,"font":"Arial Narrow,Nimbus Sans L,sans-serif","fontSize":"14","color":"#ffffff","wrapText":false,"className":"","x":638.3639831542969,"y":291.25550842285156,"wires":[]},{"id":"979ec43c0698dd3c","type":"debug","z":"9fe89ce15b0f9a64","name":"Name Debug","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":643.8346252441406,"y":216.82720947265625,"wires":[]},{"id":"741c131a57fab787","type":"ui-text","z":"9fe89ce15b0f9a64","group":"7a54ca8d64972f71","order":3,"width":0,"height":0,"name":"Value","label":"Override?","format":"{{msg.payload}}","layout":"row-center","style":true,"font":"Arial Narrow,Nimbus Sans L,sans-serif","fontSize":"14","color":"#ffffff","wrapText":false,"className":"","x":637.3639831542969,"y":384.25550842285156,"wires":[]},{"id":"9f384dc6a35c58af","type":"debug","z":"9fe89ce15b0f9a64","name":"Value Debug","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":649.8346862792969,"y":447.82720947265625,"wires":[]},{"id":"7a54ca8d64972f71","type":"ui-group","name":"Table","page":"602ea8fba38b32ae","width":"24","height":"16","order":1,"showTitle":true,"className":"","visible":"true","disabled":"false","groupType":"default"},{"id":"602ea8fba38b32ae","type":"ui-page","name":"Test ui-table","ui":"de5759a313e7ad79","path":"/page6","icon":"home","layout":"grid","theme":"682b37bffc90cac5","breakpoints":[{"name":"Default","px":"0","cols":"3"},{"name":"Tablet","px":"576","cols":"6"},{"name":"Small Desktop","px":"768","cols":"9"},{"name":"Desktop","px":"1024","cols":"12"}],"order":7,"className":"","visible":"true","disabled":"false"},{"id":"de5759a313e7ad79","type":"ui-base","name":"My Dashboard","path":"/dashboard","appIcon":"","includeClientData":true,"acceptsClientConfig":["ui-notification","ui-control"],"showPathInSidebar":false,"headerContent":"page","navigationStyle":"fixed","titleBarStyle":"default","showReconnectNotification":true,"notificationDisplayTime":5,"showDisconnectNotification":true,"allowInstall":true},{"id":"682b37bffc90cac5","type":"ui-theme","name":"Table Dark","colors":{"surface":"#000000","primary":"#ffffff","bgPage":"#000000","groupBg":"#000000","groupOutline":"#669c35"},"sizes":{"density":"default","pagePadding":"12px","groupGap":"12px","groupBorderRadius":"4px","widgetGap":"12px"}}]