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
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
   -  type: weblink
      name: Web Console
      url: 'http://{{ ip address here }}/'