BigFan
1
Hi all
I cannot get the markdown card to display an input_number entity. Can anyone please assist?

This is in my configuration.yaml file
input_number:
hifi_volume:
name: HiFi Volume
min: -100
max: 0
initial: -62
step: 1
unit_of_measurement: ' dB'
icon: mdi:volume-medium
tom_l
2
Please don’t post images of text. I am unable to copy, paste and edit. I have to type your answer out in full:
content: "{{ states('input_number.hifi_volume') }}"
BigFan
3
Sorry - I’m still new here
type: markdown
content: '{{ value("input_number.hifi_volume") }}'
title: HiFi Volume
tom_l
4
No problem. I already gave you the answer.
BigFan
5
Thanks, but if I change it as you indicated, it automatically changes it to:
type: markdown
content: '{{ states(''input_number.hifi_volume'') }}'
title: HiFi Volume
and still a blank card 
tom_l
6
What about this:
type: markdown
content: |
{{ states('input_number.hifi_volume') }}
title: HiFi Volume
1 Like
BigFan
7
Hi tom_I
That did not work either - eventually I have to put a string in front of the {{ state…
type: markdown
content: 'Volume: {{ states("input_number.hifi_volume") }}'
title: HiFi Volume
This works ?!
Thanks for your input - I really appreciate it!
