[Scenes] remove the automatically inserted space after a variable call

When using a variable in an action, a space is added at the end of the variable:


When this message is used to send a command (in an MQTT topic or Z2M, for example), the message is incorrect due to this space → z2m: Invalid message 'undefined', skipping...

Therefore, it is mandatory to remove this space between the variable and the comma, and then everything works correctly.

Would it be possible to insert a variable WITHOUT a space right after? Thanks