Picture element image not shown

Hello,

Im strugling with simply probelm.
If i use pictrure elemments , imgage is not shown.
If i use type glance , it works, so location is correct.
I also tried to rename image to png…still same.

  • title: Test
    icon: mdi:lamp
    cards:
    • type: picture-elements
      image: /local/vacuum_card.jpg
      elements:
      • type: state-icon
        tap_action:
        action: toggle
        entity: light.loznice_light
        style:
        top: 50%
        left: 50%

Any hints please?

Thanks.
Jan

I found a problem.
line with : cards:
- type: vertical-stack was missing.

Thanks and close this please.

Jan

Please format the code according to the guide on top of the page. It’s hard to help without correct formatting.