How to make a list view of payload from MQTT

Hi all,

Anybody know of a good way to create a list in a card, where the content per line in the list are the payload of a MQTT package?

I need to get a list with:
1.
2.
3.
etc

…where I insert the payload.

/Stigh

If you can also insert the numbers in the payload, list-card would be suitable.