To get the code formatted correctly for the forum paste the code in
the edit box, leaving a blank line at the start and end, then select
the code and click the </> button in the small menu bar at the top of
the edit box.
Try data_template: as opposed to data: and try adding single quotes round the template
thanks learned finally how to format ;-). The data_template looks even more complex for me because then I need to format the topic and the payload and I don’t even manage it to just the payload.
I don’t have experience with the template syntax and couldn’t find good examples.
It looks like the topic works fine but that is just text. The payload should be related to the input_number.
I also don’t get why I can’t just use :