Use a Helper Number as Payload Value by MQTT

Hello, i want to send the Value of a Helper-Number per MQTT Public - Payload.

I make this with “Automation” I can send a Value , when i enter it like “1200” under payload. But i wont send the value of a “Helper-Number” How can i do this? The ID from the number is: “input_number.opendtu_wert_out”

Thanks for Help

Here is an example of payload template:

'{{ states("input_number.opendtu_wert_out") }}'  

Thanks! That works :slight_smile: