Sorry. Copy&paste trouble. I defined as array and I edited my original post. My “not working” means I cannot see “Salón” text as expected (color, position, style). If don’t use your card, it works. The code is:
title: Casa
views:
- title: test
path: test
panel: true
badges: []
cards:
- type: picture-elements
image: /local/background.png
elements:
...
- type: state-label
prefix: Salón
entity: sensor.placeholder
tap_action:
action: none
hold_action:
action: none
style:
top: 9.15%
left: 25.4%
color: '#bcbebf'
font-family: SF Text
font-size: 2.4vw
font-weight: 500
max-width: 1px
cursor: default
...