Call service data template

Hi, trying to migrate all my automations in ymal code to node-red and have problem with one that uses a data_template and not sure how to frase it in json code.

I want to use the input_number.set_value something like this but nothing happens. I think it has something to do with that you have to use “data_template” instead of “data” in your ymal automation code but not sure.
{
“entity_id”: “input_number.xxx” , “value”: “{{states.input_number.yyy|float}}”
}

Thanks in advance!

Use “value_template” instead of “value”.