---
title: "Swedish Public Transport Sensor (HASL)"
description: "Swedish Public Transport Sensor (HASL) is a Marketplace integration for Home Assistant. It has 164 installs sharing analytics, needs the vendor's cloud and was last updated July 14, 2026."
canonical: "https://vulpo.app/integrations/marketplace/hasl-sensor-integration"
url: "https://vulpo.app/integrations/marketplace/hasl-sensor-integration.md"
last-updated: "2026-10-22"
version: "1.4"
---

# Swedish Public Transport Sensor (HASL)

> Swedish Public Transport Sensor (HASL) is a Marketplace integration for Home Assistant. It has 164 installs sharing analytics, needs the vendor's cloud and was last updated July 14, 2026.

Swedish Public Transport Sensor (HASL) adds sensors for Stockholm's SL and Resrobot public transport data to Home Assistant. It covers departures, traffic status and route monitoring for SL, and departures, arrivals and route monitoring through Resrobot, which also supports journeys across the country. It also provides services for looking up Location IDs and planning trips. Sensors can be limited by location, line, direction, transport type and time window, and a refresh interval can be set. Resrobot needs an API key from Trafiklab, and the integration relies on the vendor's cloud. It is added through the Home Assistant interface and the sensors can be shown with the HASL departure and traffic status cards.

Automatic summary of the README and code of hasl-sensor/integration. Something wrong, or are you the maintainer and want your own text here? [Get in touch](https://vulpo.app/contact)

[Open in My Home Assistant](https://my.home-assistant.io/redirect/hacs_repository/?owner=hasl-sensor&repository=integration&category=integration)

On Home Assistant 2026.11 or newer? [Open it in the Marketplace](https://my.home-assistant.io/redirect/marketplace_repository/?owner=hasl-sensor&repository=integration&category=integration)

## Supports

- **Uses the vendor's cloud**: Needs an internet connection and an account with the vendor.
- **From the Marketplace**: Installed through the Marketplace, formerly HACS.
- **Actively maintained**: Its author released or pushed a change in the last six months.

## Setting it up

Install it from the Marketplace and restart Home Assistant, then add it under Settings, Devices and services.

### Resrobot key

- **Api key**

### Lookup location

- **Search query**
- **Location**

### Name

- **Name**

### Config

- **How many seconds between refresh**
- **Only update if this binary sensor is True (empty=always update)**
- **Location ID**
- **Location IDs (comma separated list)**
- **Line**
- **Lines (comma separated list)**
- **Direction**
- **Sensor primary property**
- **How long into the future (5-60 min)**
- **From as Location ID or Longlat-pair (59.33258,18.0649)**
- **Destination as Location ID or Longlat-pair (59.33258,18.0649)**
- **Resrobot 2.1 API Key**
- **From Location ID**
- **Destination Location ID**
- **Transport filter**

### After setup

- **How many seconds between refresh**
- **Only update if this binary sensor is True (empty=always update)**
- **Location ID**
- **Location IDs (comma separated list)**
- **Line**
- **Lines (comma separated list)**
- **Direction**
- **Sensor primary property**
- **How long into the future (5-60 min)**
- **From as Location ID or Longlat-pair (59.33258,18.0649)**
- **Destination as Location ID or Longlat-pair (59.33258,18.0649)**
- **Resrobot 2.1 API Key**
- **From Location ID**
- **Destination Location ID**
- **Transport filter**

Texts from the code of [hasl-sensor/integration](https://github.com/hasl-sensor/integration).

## From the README

> Project formerly known as "Home Assistant SL integration"
>
> This is an Home Assistant integration providing sensors for Stockholms Lokaltrafik (SL) primarily, though it does support Resrobot and journeys in the whole country. This integration provides intelligent sensors for departures, traffic status and route monitoring using the SL official APIs and departures, arrivals and route monitoring using Resrobot. It also provides services for Location ID lookup and Trip Planing.

From the README of [hasl-sensor/integration](https://github.com/hasl-sensor/integration#readme), [Apache License 2.0](https://spdx.org/licenses/Apache-2.0.html). Shortened.

## At a glance

- Kind: Marketplace integration
- Category: [Vehicles and transport](https://vulpo.app/integrations/category/vehicles-and-transport.md), Public transport
- Number: 164 installs sharing analytics; 50 GitHub stars
- Connection: Needs the vendor's cloud
- Upkeep: Updated in the last 6 months
- Needs: Needs the Marketplace (HACS on 2026.10 and older)
- Latest version: 4.0.0, last updated July 14, 2026
- Domain: `hasl3`
- Source: <https://github.com/hasl-sensor/integration>
- Issues: <https://github.com/hasl-sensor/integration/issues>
- Screenshot: https://vulpo.app/integrations-img/6846f1107aa12454.webp (from hasl-sensor/integration's README)

In Vulpo: Chart card, Apple Watch

Independent directory, made by the developer of Vulpo. Not affiliated with Home Assistant or the Open Home Foundation. [About these numbers](https://vulpo.app/integrations/about)

Last updated 2026-10-22. Source: https://vulpo.app/integrations/marketplace/hasl-sensor-integration

---

- HTML version of this page: https://vulpo.app/integrations/marketplace/hasl-sensor-integration
- Site index for agents: https://vulpo.app/llms.txt
- Everything in one document: https://vulpo.app/llms-full.txt
- All pages: https://vulpo.app/sitemap.xml
