Creating URL-card for Shelly devices

As a lot of other users, I’m using some Shelly devices for my home automation.

When debugging, flashing firmware or no matter what, I’m using the Shelly built-in web interface. Mainly because it’s user friendly and it offers more options than the app.

For now, I’ve been using a static entities-card to reach the devices (all static IP adresses):

entities:
  - icon: 'mdi:power-plug-outline'
    name: Smart Plug Boiler
    type: weblink
    url: 'http://192.168.68.xxx/'
 ...etc...

Although it works fine, it still…well…static and all Shelly devices publish their IP-adress on MQTT, so it is stored in sensor.shelly_xxx_ip

Building a list is fairly simple and works perfectly:

type: 'custom:auto-entities'
card:
  type: entities
title: Smartplugs
filter:
  include:
    - entity_id: sensor.shelly*ip

But its still just an entities-card, so not clickable.

I’ve been trying with custom:template-entity-row but no success.

Option 1: make all entities weblinks, but how to get the entity value in the url-field? I’ve found that this field is not template-able

type: 'custom:auto-entities'
card:
  type: entities
title: Network
filter:
  include:
    - entity_id: sensor.shelly*ip
      options:
        type: weblink
        url: ???

Option 2: use custom:template-entity-row and set the tap-action but same problem here. This is also not useable for option one because you would get 2 type definitions.

type: 'custom:auto-entities'
card:
  type: entities
title: Network
filter:
  include:
    - entity_id: sensor.shelly*ip
      options:
        type: 'custom:template-entity-row'
        tap_action:
          action: url
          url_path: ???

Any suggestions from the community?