Yandex Transport

The yandex_tranport sensor platform uses Yandex Maps it will give you the time until the next departure time from a bus/tramway/etc stop.

The Yandex Maps website can help to determine the id of your bus stop. You can select a bus stop by clicking on the map, and look to the URL:

Where stop id is: stop__9642962

If you want to track only specific routes, you can add them in the routes section.


To activate Yandex Transport, add the following lines to your configuration.yaml:

# Example configuration.yaml entry
  - platform: yandex_transport
    stop_id: YOUR_STOP_ID

Configuration Variables

stop_id string Required

The ID of the transport stop to get the information for.

routes list (Optional)

A list of a specific bus, tramway, etc routes at the stop. This is the same as the bus number, e.g., 83. If the routes with letters contain Cyrillic symbols, so write them to configuration.yaml in Cyrillic.

name string (Optional, default: Yandex Transport)

A friendly name for this sensor.

Full configuration example

The configuration sample below shows how an entry can look like:

# Example configuration.yaml entry
  - platform: yandex_transport
    name: Bus_to_subway
    stop_id: stop__9639579
      - 63
      - 179
      - 179к
      - 154
      - 591
      - 677к

Options for entities

You can configure view information about the next bus using dashboard card. To enable displaying the relative time in your default_view add the following lines:

# Example default_view entry
title: Home Assistant
      - entities:
          - entity: sensor.yandex_transport
            format: relative
        type: entities
    path: default_view

Data provided by