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

Multi-line Jinja template configuration error on Picture Elements card

$
0
0

I’m trying to create this Picture Elements card ( Integrating your Tesla with Home Assistant (synapselabs.io)) using his provided code ( Home Assistant - Lovelace Tesla Card (github.com)). If I put that code in the Developer Template Tool then paste that output to the Picture Elements card directly, I get the desired result, but when putting it in the Picture Elements Card Configuration, I get this error:

Configuration errors detected:
missed comma between flow collection entries (4:2)

1 | type: picture-elements
2 | image: /local/TeslaModel3.png
3 | elements:
4 | {% set sensors = [
------^

I’ve done some research and think it has something to do with multi-line Jinja template syntax, but I cannot seem to figure out the correct spot to put single/double quotes and or (-) signs. :thinking:

Can someone please point me in the right direction for correcting this?

Thank you

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 106454

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>