I don’t completely understand what’s your target but by doing this you can retrieve the friendly_name.
[{"id":"a37ad0b2.b2789","type":"inject","z":"ea371c1c.7f63c","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":200,"y":1060,"wires":[["6576745f.8545bc"]]},{"id":"6576745f.8545bc","type":"api-current-state","z":"ea371c1c.7f63c","name":"get data","server":"9405c3fe.d0a6c","version":3,"outputs":1,"halt_if":"","halt_if_type":"str","halt_if_compare":"is","entity_id":"device_tracker.galaxy_a32_5g","state_type":"str","blockInputOverrides":true,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":0,"forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":340,"y":1060,"wires":[["47cc9bc0.646984"]]},{"id":"47cc9bc0.646984","type":"debug","z":"ea371c1c.7f63c","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":480,"y":1060,"wires":[]},{"id":"9405c3fe.d0a6c","type":"server","name":"Home Assistant","version":2,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true,"heartbeat":false,"heartbeatInterval":30}]
If you open the debug menu, right side in the picture, and hit the timestamp button, you’ll get the complete information of your device tracker. There you’ll find the path of the friendly_name field, which I believe will be data.attributes.friendly_name, and you can use that path to store/move the friendly name wherever you want.