Transmission card

Hello,

I want to create a card in which to list all the downloaded torrents but I want to sort them by the date they were added.
All attempts have been unsuccessful, if anyone has a solution please let me know.
I’m also curious what kind of cards for transmission you have.

  {% set payload = state_attr('sensor.transmission_total_torrents', 'torrent_info') %}

  {% for torrent in payload.items() %} {% set name = torrent[0] %} {% set data = torrent[1] %}

  {{ name|truncate(20) }} is {{ data.percent_done }}% complete, {{ data.eta }} remaining {% endfor %}

Thank you,
Ciprian

1 Like