Transmission: add download directory to completed torrent event

The transmission integrations works great for me. Currently, when a torrent is completed, I tell Plex to refresh my library. However, I don’t know if I need to refresh Movies or TV Shows, as I don’t know the download directory of the downloaded torrent. Could we add the download directory to the event data?

The documentation can be found here: https://transmission-rpc.readthedocs.io/en/stable/torrent.html#transmission_rpc.torrent.Torrent.download_dir.

I’m not a hero with Python, but as far as I understand, I think a slight modification of this file is required: https://github.com/home-assistant/core/blob/a1678ebd231405843381b61e743b5055908c2d2b/homeassistant/components/transmission/coordinator.py on line 106, changing it to:

self.hass.bus.fire(
    EVENT_DOWNLOADED_TORRENT, {"name": torrent.name, "id": torrent.id, "path": torrent.download_dir}
)

While we are at it, it might also be nice to ask the start date (start_date) and the finish date (done_date).