Image Entity won't show in picture-glance card

Hi!
I tried to get an image from my door cam shown in a picture-glance.
The cam integration provides an image entity image.doorbell_event_image.

If I enter {{states.image.doorbell_event_image}} into the template editor I get (redacted)

<template TemplateState(<state image.doorbell_event_image=2024-01-14T03:53:52.042318+00:00; access_token=xxx, entity_picture=/api/image_proxy/image.doorbell_event_image?token=xxx, friendly_name=Doorbell Event Image @ 2024-01-14T04:53:52.043811+01:00>)>

So if I try

 - type: picture-glance
        title: "Haustür"
        entities: []
        camera_image: image.doorbell_event_image

I get

When I tap the card the correct image displays in a dialogue.

If I replace camera_image with image I just get the grey card as shown above.

If I use the path from the template editor with image, the image finally shows in the card.

 - type: picture-glance
        title: "Haustür"
        entities: []
        image: /api/image_proxy/image.doorbell_event_image?token=xxx

Unfortunately this solution is not usable, as the token is dynamic.

Last thing I tried is

 - type: picture-glance
        title: "Haustür"
        entities: []
        image: "{{ state_attr('image.doorbell_event_image', 'entity_picture') }}"

Unfortunately again with the grey card.

I’m new to HA, so I hope it’s just a simple, obvious mistake by me.

Try

type: picture-glance
title: Kitchen
entities:
  - sun.sun
image_entity: image.test_image_2

Docs for picture-glance seems to be outdated.

Templates not supported here.

1 Like

That worked.
Thanks!!!