Picture elements card lovelance - problems

Hello,

i try to use the picture elemtes card, but i always get errors in the config, he always say for example :scream:

Konfigurationsfehler erkannt:
bad indentation of a mapping entry (2:8)

 1 | type: picture-elements
 2 |   image: local/cam_captures/julia.jpg
------------^
 3 |   elements:
 4 |     type: state-icon

here is my code

type: picture-elements
  image: local/cam_captures/julia.jpg
  elements:
    type: state-icon
      entity: alarm_control_panel.home_alarm
      style:
      top: 87%
      left: 5%
      color: white
    type: state-icon
      entity: sensor.front_door_combined
      style:
      top: 86%
      left: 14%
      color: white
    type: state-icon
      entity: sensor.mailbox
      style:
      top: 86%
      left: 23%
      color: white
    type: state-icon
      entity: sensor.trash_bin
      style:
      top: 86%
      left: 32%
      color: white

perhaps someone can help

Take a look at the indentation of the examples.

okay, i dont found a missmatch?

There should not be any indentation for image and elements. Type should be - type.

type: picture-elements
image: /local/floorplan.png
elements:
  - type: state-icon