#Using a template in picture glance card image URL not working?

1 messages · Page 1 of 1 (latest)

analog quail
#

I have a picture glance card that is showing, as it's image, an entity that is one of my home security cameras. it takes a little bit to load, especially on the dashboard that shows all of the cameras at once, so I wanted to use the image field to insta-load a cached snapshot to cover the gap until the camera stream can load. However, I'm running into an issue, in that the image isn't loading.

The card configuration is:

type: picture-glance
entities:
  - entity: light.camera1_floodlight_5
title: Driveway
image: >-
  api/camera_proxy/camera.camera1_snapshots_fluent_5?token={{states.camera.camera1_snapshots_fluent_5.attributes.access_token}}
entity: camera.camera1_clear_5
camera_image: camera.camera1_fluent_5```

When I open up dev tools for 'Template' and paste in the contents of the 'image' field, it resolves into a URL with a temporary access token that, when navigated to via a browser, works.
However, the image won't load in the glance, easily confirmable by removing 'camera_image'- at that point, it simply shows a 'broken image' synbol.
Ideas?
odd vector
#

Templates are not supported in frontend cards

#

There are maybe some custom cards that enable this

analog quail
#

Is there another way to accomplish similar functionality that you can think of? The goal is to have a relatively up-to-date static image to act as a placeholder until the stream can properly start up