Closed 532910 closed 7 months ago
Umm... not sure, haven't tested, but using media-source://
string in a template sensor should work.
Can you paste some examples and the resolved string from the template? If you can paste the error shown in the card, the better.
Thanks!
no error, just nothing is shown could you try it to check, please template is resolved correcty
Thanks for the info, I got your point.
In your card config, instead of:
image: "{{ states('sensor.test') }}"
it was intented to be like this:
image: |
{{ states('sensor.test') }}
anyway, it doesn't work either as it tries to load the url as a public image instead of a media source one.
I already have an idea of what's going on, but I will look into this and publish a fix.
Thanks!
Hi,
I just release v0.2.5 that should fix this, can you update and try it out?
Thanks!
Yep, can confirm it works now as expected!
this works:
with template sensor's template set to
this does not:
with template sensor's template set to