Two picture glances in horizon stack

I’ve two picture glances in horizon stack. The first works great but the second won’t showing the image?? Who can help me in the right direction

type: horizontal-stack
cards:
  - type: picture-glance
    entity: person.dennis
    entities:
      - entity: device_tracker.gm1913
        icon: 'mdi:cellphone-android'
      - entity: sensor.battery_phone_dennis
        icon: 'mdi:battery'
    state_image:
      home: /local/person/Dennis.jpg
      not home: /local/person/Dennis.jpg
    title: Dennis
  - type: picture-glance
    entity: person.karin
    entities:
      - entity: device_tracker.galaxy_a50
        icon: 'mdi:cellphone-android'
    state_image:
      home: /local/person/Karin.jpg
      not home: /local/person/Karin.jpg
    title: Karin

Got it.
In the state image had the wrong state.
Not home should be not_home.

There should be quotes around your state image states:

type: horizontal-stack
cards:
  - type: picture-glance
    entity: person.dennis
    entities:
      - entity: device_tracker.gm1913
        icon: 'mdi:cellphone-android'
      - entity: sensor.battery_phone_dennis
        icon: 'mdi:battery'
    state_image:
      "home": /local/person/Dennis.jpg
      "not home": /local/person/Dennis.jpg
    title: Dennis
  - type: picture-glance
    entity: person.karin
    entities:
      - entity: device_tracker.galaxy_a50
        icon: 'mdi:cellphone-android'
    state_image:
      "home": /local/person/Karin.jpg
      "not home": /local/person/Karin.jpg
    title: Karin

These are clearly shown in the documented example:

Also check your tracker states. I’m pretty sure they have underscores in not_home