Create weblink from entity attribute?

Can I create a weblink from an entity attribute value? e.g. device tracker entity device_tracker.ha_nas:

source_type: router
hostname: office/ha-nas-3212
name: HA / NAS
oui: Espressi
ip: 192.168.2.141
[...]
friendly_name: HA / NAS

it’s a tasmota smart plug, and I want to convert device_tracker.ha_nas[ip] into a weblink:

type: entities
entities:
   -  type: weblink
      name: Web Console
      url: 'http://{{ ip address here }}/'