I just made a script that makes it possible to add next departures from SL to the Home Assistant dashboards. I use the public API from https://www.trafiklab.se that doesn’t require a API key.
You can look at my project and install it yourself here: GitHub - fettgrym/SL-HA: Home Assistant integration to SL
If you have any improvement suggestion, please let me know!