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.
Can someone please point me in the right direction for correcting this?
Thank you
1 post - 1 participant