As the title says, I keep receiving an error when attempting to add an Custom Element to a picture-elements card…Admittedly I’m trying to hack some code together from some other examples I’ve found in the forum. Can someone shed some light as to what I’m going wrong?
My code:
- type: picture-elements
title: ''
style: |
ha-card { height: 120px !important; }
image: /local/images/transp.png
elements:
- type: state-label
entity: sensor.waze_travel_time
friendly-name: Commute -
style:
top: 15px
left: 190px
- type: custom:hui-markdown-card
content: |
Test
style:
left: 60%
top: 90%