How do I refresh states for Markdown

I use markdown and e.g. “- content: {{states (‘sensor.bubblan’)}}” in several places. How do I update the value eg every minute or every ten minutes in lovelace?

Right now it seems that the value is fixed (only in lovelace, it obviously shows the correct value for the sensor when I look in the developer tool) until I restart the entire HASSIO.

You might try {{states.sensor.bubblan}}. I’ve seen a few instances where one syntax works while the other doesn’t. I’ve used a custom markdown card in the past with this syntax and it updated in real-time.

Edit: You may need to use {{states.sensor.bubblan.state}} if the sensor has additional attributes.

1 Like

Oh, I see. Thank you :smiley:

1 Like