Use a sensor result in a weblink URL

Hi everybody,

this is my first post, so please be merciful in case it is not perfect. :slight_smile:

Assume I have a sensor that gives me a URL (or IP) and I want to use this URL with the weblink component (https://www.home-assistant.io/components/weblink/), how would I do this?

Thanks in advance,
Markus