[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

Hi everyone!

This topic is now in development.

A PR has been opened to no longer force a space after inserting a variable in a scene text:

Don’t hesitate to follow the PR, test (optional, especially for small requests) and give your feedback here if needed.