SL Stockholm Public Transport - free HA integration, no API key needed

Hey everyone :wave:

I built a custom Home Assistant integration for SL real-time departures. No Trafiklab account, no API key β€” uses SL’s open API and just works.

It has three sensors per stop:

β€’ :clock1: Next Departure β€” real-time countdown (β€œ3 min”, β€œNu”, β€œ08:42”) with line, destination and delay as attributes
β€’ :clipboard: Departures β€” list of upcoming trips, great for dashboard cards and TTS automations
β€’ :vertical_traffic_light: Status β€” normal / delayed / cancelled, with full history and per-departure issue details

Setup is a proper config flow:
Search for your stop by name, then pick the exact line + direction combinations you want to monitor (e.g. only Line 41 β†’ MΓ€rsta, not everything at the stop). Configure how many departures to show and how far ahead to look.

Works for all SL transport modes β€” bus, metro/tunnelbana, pendeltΓ₯g, tram, and ferry.

Install via HACS (custom repository for now, submitting to the default catalog soon):

Or manual install: copy custom_components/sl/ to your HA config folder and restart.

Happy to hear feedback :slight_smile:

SL β€” Stockholm Public Transport is not found in HACS tried SL only and nothing anything special I need to adjust to find it in HACS? I can search on other items