Hi,
I am trying to display the image of the currently playing item of my sonos.
When hardcoding the path, it works. But for some reason, I cannot get the template to work …
- type: picture-elements
image: "/local/overlay.svg"
elements:
- type: image
entity: media_player.keuken
image: {{ states.media_player.keuken.attributes.entity_picture }}
#image: "[[[ return states['media_player.keuken'].attributes.entity_picture; ]]]"
style:
top: 50%
left: 50%
width: 100%
height: 100%
What am I doing wrong ?