Get temperature into a eWeLink Cube virtual device

After having created a virtual temperature device in node Red on iHost how do I get a temperature into the “put-device-stat node? Everything I have tried has failed.
I am starting with a TH Elite temperature. First I turn it from a string into an object. Then I’m moving it around so the temperature number becomes the main payload. I think I probably now need to convert the number into a JSON object with a function node but everything I am doing fails.

Not actually essential to what I’m doing but it is annoying me that I am not able to do this.