Use an entity attribute in name field

Lights are automated in our house also based on presence. Sometimes, when we are on Holliday we need somebody to take care of animals etc. I have created a few guest users to avoid changing device_trackers in multiple places. If a guest arrives I add his device_tracker entity (via TP-link Omaha) in my already created binary_sensor guest1 etc. So far so good all is working perfect. However I would like to show the name of the guest on the dashboard when he is present and not “RealName1” in the example below.
Question how can I set name instead of “RealName1?” to eg the content of an attribute of “sensor.Guest1”??

following code is used to add the user as guest1:

- binary_sensor:
    - name: "ah_guest1"
      unique_id: ah_guest1
      state: >
        {{ is_state('device_tracker.jwdh_iphone16', 'home') }}

in the dashboard I use a bubble card with this applicable part:

type: conditional
conditions:
  - condition: state
    entity: group.ah_presence_guests
    state: "on"
card:
  type: custom:bubble-card
  card_type: button
  name: Achterhuis
  icon: mdi:account
  show_state: false
  show_last_changed: false
  tap_action:
   action: navigate
    navigation_path: "#AHpresence"
  button_type: state
  show_name: false
  entity: group.ah_presence_guests
  show_icon: false
  sub_button:
    - show_name: true
      visibility:
        - condition: state
          entity: binary_sensor.ah_guest1
          state: "on"
      show_icon: false
      name: RealName1?
      entity: binary_sensor.ah_guest1
  styles: |-
    .bubble-button-background {
        opacity: 1 !important;
        background-color: ${ state == 'on' ? 'teal' : 'light-grey'} !important;
        }
  scrolling_effect: false
grid_options:
  columns: 5
  rows: 1