Installation
Marketplace Installation (Recommended)
Since Home Assistant 2026.11, HACS is built into Home Assistant as the Marketplace. It is the recommended installation method.
Prerequisites
- Home Assistant 2026.3 or newer
Steps
- Open Settings > Marketplace
- Search for "OpenPublicTransport" and click Download
- Restart Home Assistant
Home Assistant before 2026.11
Use HACS instead: open HACS, go to Integrations, search for "OpenPublicTransport" and click Download. When you update to 2026.11, the Marketplace takes over the HACS install automatically, including updates.
Tip
After installation, the integration will appear in your list of available integrations.
Manual Installation
If you prefer not to use the Marketplace, you can install the integration manually.
Steps
- Download the latest release from GitHub Releases
- Extract the
custom_components/openpublictransportfolder - Copy the folder to your Home Assistant
custom_componentsdirectory: - Restart Home Assistant
Directory Structure
After installation, your directory should look like this:
custom_components/
└── openpublictransport/
├── __init__.py
├── binary_sensor.py
├── config_flow.py
├── const.py
├── manifest.json
├── sensor.py
├── services.yaml
├── strings.json
└── providers/
├── __init__.py
├── base.py
├── hvv.py
├── kvv.py
├── nta.py
├── trafiklab.py
└── vrr.py
Verify Installation
After restarting Home Assistant:
- Go to Settings > Devices & Services
- Click + Add Integration
- Search for "OpenPublicTransport"
If the integration appears in the list, installation was successful.
Updating
Marketplace Updates
The Marketplace (or HACS on older versions) shows an update entity when a new release is out. Click Update and restart Home Assistant; a repair reminds you of the restart.
Manual Updates
- Download the latest release
- Replace all files in
custom_components/openpublictransport/ - Restart Home Assistant
Warning
Always backup your configuration before updating.