teeodor
(Matteo)
January 10, 2023, 1:22pm
1
Hi, someone can help me to template image?
I want to use this string
type: picture
image: /local/{{ states('input_text.name') }}.jpg
tap_action:
action: none
hold_action:
action: none
Template input_text.name is the name of the file, without extension.
In the dev tool the results it’s correct but the card not showing any image
Most core Dashboard cards do not accept templates. As shown in the Picture Card Docs the image variable accepts only a string as a value, not a template.
teeodor
(Matteo)
January 10, 2023, 3:19pm
3
Yes, it’s about three days that I read documents and forum.
Now i want to find a custom component for my situation