You’re geting exactly what you told it, which is the object itself. What are you trying to get from it? All 3 attributes? If so, you need code it out to get them all using templates. Something like
{%- for sh in sensor.snapshot_backup.attributes.snapshots %}
- name: {{ sh.name }}
date: {{ sh.date }}
time: {{ sh.state }}
{%- endfor %}
It’s really strange as when reloading the card for a moment i get what i want, but then it comes again like i show you… card-mod is the latest.
In inspector i get these errors but i don’t think they are related
edited it a bit, try this for now without the style:
- type: markdown
content: |
Snapshots
{%- for sh in state_attr('sensor.snapshot_backup','snapshots') %}
- name: {{sh.name}}
date: {{as_timestamp(sh.date)|timestamp_custom('%d %b: %X')}}
time: {{sh.state}}
{%- endfor %}
fixed it on this side:
with your style:
You’ve got to be precise not to leave trailing spaces, and also use the spacing in the stacks/configs themselves. Markdown is really exact in what you feed it.
bummer., don’t know what to say really, maybe the HA version itself? Do you have other markdown card issues? Markdown has been updated, but I think it has been a while.