Hi there,
I’m trying to format the output from value template to 2 lines.
But after tried few examples, still failed.
I’d appreciate if anyone can give me a help.
Thanks
Thanks for the reply.
I using Node Red to obtain Bus arriving time. Data format JSON.
msg.payload
obj
arrtime: ”854 will arriving in 3 mins”
arrtime608: ”811 will arriving in 5 mins”
If I put:
value_template: " {{ value_json.arrtime }} {{ value_json.arrtime608 }}”
Outcome will be:
854 will arriving in 3 mins 811 will
arriving in 5 mins