You’re using a Device Action to set an entity’s value. A Device Action doesn’t support templates and you will need to use a template to get the helper’s value. Replace the Device Action with a Service Call (because a Service Call supports templates).
Please post your automation as YAML, not as a screenshot.
Refer to the FAQ about how to present information in a manner that allows us to help you in the most efficient way.