Setting an icon to the image of a device_tracker entity

Hey all,

I’m returning to HomeAssistant after an absence for a couple of years and I’m working on a dashboard for the house based on the excellent work of @danieljarhult

At the moment, I’m struggling to get the icon returned by Life360 to be used as the image on the “personal information” tile, however searching the docs and the forums makes me wonder if this is even possible?

At the moment, I have the following YAML:

          - type: custom:button-card
            show_icon: true
            entity_picture: person.proffalken
            show_entity_picture: true
            tap_action:
              action: navigate
              navigation_path: '#p3'
            entity: person.proffalken
            show_state: true
            name: Matthew
            show_name: true
            styles:
              custom_fields:
                graph:
                  - position: absolute
                  - left: 0px
                  - top: 143px
                topleft:
                  - position: absolute
                  - left: 15px
                  - top: 10px
                topright:
                  - position: absolute
                  - left: 85px
                  - top: 10px
                  - width: 50px
              grid:
                - grid-template-areas: '"i" "n" "s"'
                - grid-template-columns: 1fr
                - grid-template-rows: 1fr min-content min-content
              card:
                - border-radius: 10px
                - box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2)
                - height: 220px
                - width: 150px
              img_cell:
                - padding-top: 30px
              icon:
                - width: 50px
              name:
                - color: var(--secondary-text-color)
              state:
                - font-size: 12px
                - padding-bottom: 70px
            state:
              - value: not_home
                styles:
                  icon:
                    - filter: grayscale(100%)
            custom_fields:
              topright:
                card:
                  type: custom:button-card
                  entity: sensor.proffalken_phone_battery_level
                  tap_action:
                    action: none
                  show_state: true
                  show_name: false
                  styles:
                    grid:
                      - grid-template-areas: '"i s s"'
                      - grid-template-columns: 1fr
                      - grid-template-rows: 1fr min-content min-content
                    icon:
                      - width: 20px
                    state:
                      - font-size: 10px
              topleft:
                card:
                  type: custom:button-card
                  entity: person.proffalken
                  tap_action:
                    action: none
                  show_state: true
                  show_name: false
                  styles:
                    grid:
                      - grid-template-areas: '"i s s"'
                      - grid-template-columns: 1fr
                      - grid-template-rows: 1fr min-content min-content
                    icon:
                      - width: 20px
                    state:
                      - font-size: 10px
            style:
              top: 270px
              left: 508px

and this creates the following tile:

image

What I’d like it to show instead of the broken icon is the URL returned by Life360. This is available as a property of the person.proffalken entity, however I can’t work out how to pass this to the card in a way that it will use the value of the property rather than the property name?

Thanks in advance for all and any help!