Set NR Control Device amount to payload

This might already be possible and I can’t figure out how to do this.

I’ve created a virtual curtain (actually a blind connected to Home Assistant via MQTT). The event node can easily send out an integer 0 to 100 over MQTT, but I can’t figure out how to set the device to an incoming MQTT. I’ve ended up using a switch node to send different amounts to different device control nodes because I can’t figure out how to get the msg.payload from the MQTT into the device control node. Is this even possible in the eWeLink Cube Palette? If it isn’t then having a set msg.payload to set value tick box is my suggestion. I realise you’d need to check the msg.payload was a number and a reasonable number and then not bother doing anything but throwing an error if it wasn’t, but that’d be up to us to debug.

Or instead of a payload I could easily create a flow or global variable, but I can’t figure how to get it into the control device node.

If it is a virtual device you have registered with a register device node you can use a template node put (example of curtain) that links to a ‘put device state’ node

{
    "percentage": {
      "percentage": {{payload}}
    }
  }

shows it is already possible and just needs to not just be virtual devices