I have posted here before about the script that I used #53 which I ended up solving with node-red. I updated it to work with the newest HASL-sensor and wrote together a blog post to cover how and why
https://deploy-on-friday.com/posts/home-assistant-ep3-stockholms-lokaltrafik-sl-voice-enabled-departures