Help with template value in Markdown card

Hi,
I’m trying to create a card that would display a single number from a template. In the Content: of the Markdown card I put {{ state_attr("sensor.temp_stats_bedroom", "min_value") }} and the card remains empty.

However if I type anything in front of it be it single character or a string like min: {{ state_attr("sensor.temp_stats_bedroom", "min_value") }} the card will display w/e I typed in front and then the value of the template, ie: min: 12.3.

Is there anything specific I can type there to make it not add anything to the number and just display it alone ?

Thanks!

<p>{{ state_attr("sensor.temp_stats_bedroom", "min_value") }}</p>

1 Like