Picture-elements question

hi need help here
i did that

    - type: picture-elements
    image: “local/luup.jpeg”
    elements:
    - type: state-label
    entity: sensor.thermo
    style:
    top: 82%
    left: 80%

i can see the luup.jpeg image but instead of the state-label i have unknown
do you know why ?
thanks

The indentation of your yaml is not correct and I wonder if this is the cause of your problem. The indentation needs to be like that shown in the documentation:

  - type: state-label
    entity: climate.kitchen
    attribute: current_temperature
    suffix: "°C"
    style:
      top: 33%
      left: 15%

thanks now working

1 Like