Hi
I want to set Topic filed with special expression: {{{msg.prex}}}_test
in the switch node, but it not work.
How can I fix it?
Thanks!!!
[{"id":"992e19b1.96722","type":"ui_switch","z":"7c707aa7.c06c4c","name":"loop","label":"loop","tooltip":"","group":"3fe9dd19.60393a","order":17,"width":3,"height":1,"passthru":true,"decouple":"false","topic":"{{{msg.prex}}}_test","topicType":"str","style":"","onvalue":"true","onvalueType":"bool","onicon":"","oncolor":"","offvalue":"false","offvalueType":"bool","officon":"","offcolor":"","animate":false,"x":490,"y":320,"wires":[["d02d8b77.f0b2f"]]},{"id":"8bfd9b7c.e99098","type":"inject","z":"7c707aa7.c06c4c","name":"","props":[{"p":"prex","v":"prex","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":150,"y":320,"wires":[["992e19b1.96722"]]},{"id":"d02d8b77.f0b2f","type":"debug","z":"7c707aa7.c06c4c","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"topic","targetType":"msg","statusVal":"","statusType":"auto","x":740,"y":320,"wires":[]},{"id":"3fe9dd19.60393a","type":"ui_group","name":"rule1","tab":"4679b587.ba0d2c","order":2,"disp":true,"width":7,"collapse":true},{"id":"4679b587.ba0d2c","type":"ui_tab","name":"场景一","icon":"dashboard","order":1,"disabled":false,"hidden":false}]