Entities Card and external URL from attribute

Is it possible to pick up a URL from an attribute and use it in the Entities Card?

entities:
  - type: weblink
    url: "{{state_attr('sensor.opentx_multiprotocol', 'latest_release_url') }}" # DOES not work!
    name: Latest Multiprotocol release
  - type: weblink
    name: Home Assistant Forum
    url: 'https://community.home-assistant.io'
    icon: 'mdi:comment-multiple-outline'
show_header_toggle: false
title: 'RC: Jumber T16 Pro OS'
type: entities

Similar as these:

And I still haven’t found a proper solution.

The only workaround is, to add a markdown card with the link in it.