Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95377

Picture-elements background image from template possible?

$
0
0

@killthewiseone wrote:

As per title, is it possible to set the background image from a template?
Example:

type: picture-elements
image: '{{ state_attr("media_player.living_room", "entity_picture") }}'
elements:
  ... etc

I’ve tried the above and variations to no avail. I’m not sure is it my syntax or if its just not possible…

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 95377

Trending Articles