WearOS Template Ideas

I can see how to use the template in WearOS, and can get it to display static text, but not sure how to incorporate sensor states into the template.

I am trying to display my PV Solar output. The sensor entity is sensor.solar_production . I have tried including this in the template

<bold>states.sensor.solar_production.state<\bold>

But it just displays “states.sensor.solar_production.state” as text.

I am obviously doing something wrong.

Can anyone help?