The problem is that on screen the card shows “{{ Test }}” instead of “Test”.
I’m still learning and have looked at a lot of examples, but I can’t see why {{ }} is displayed.
I have found what was the problem. I didn’t notice there was a scripts that overwrite the content of the input_text entity and put the {{ }} in the string.
Thanks for your help. I am having a hard time learning how Home Assistant works.