Hi,
what does "included" mean in your case ? Is that a completely new message - or and existing message and you want to add (or change) the level value ?
Have you considered the option of using separate topics, so your/topic/state, your/topic/level and yourtopic/temperature? Then you won't need to merge them when publishing or split them up when subscribing.
@agoralive I'm trying to figure this out too but a bit new to node-red, still. Could you share how you place the slider upstream from the template and then how the template injects into the MQTT node? Sample code would be great.
Hi @jkmaxwell, welcome to the forum. I deduce from that question that you have only just started with node-red. If so then I strongly recommend that you watch the Node Red Essentials video playlist linked from the node red docs. A couple of hours spent doing that will allow you to answer basic questions yourself and will save a lot of time in the long run.
When you have done that then if you are still stuck then ask again. However this thread is 18 months old so I suggest you start a new thread with the specific question you have.