Variable boost in MQTT message

Hello everyone,
my question will seem simplistic and obvious to many of you, but I need this little push to continue my scene, because I can’t find the information.

In my scene I toggle my plug (Zigbee2MQTT protocol), I would like to retrieve its new state and send the result to a specific topic.
How do I inject this state into the MQTT message (see screenshot below). What should I replace the question mark with?
Many thanks in advance

Daniel

Logically, when you type the curly braces, the variable will be suggested to you.

The subtlety is that you need to remember to add a space after the first two curly braces :wink:

A huge thank you to you for that subtlety I wasn’t aware of.

2 Likes