Transports Metropolitans de Barcelona
This sensor will provide you the remaining time, in minutes, for the next bus in a specific stop by using the iBus service
You must create an application on developer.tmb.catapp_id and app_key values that you will need.
Add the data to your configuration.yamlThe configuration.yaml file is the main configuration file for Home Assistant. It lists the integrations to be loaded and their specific configurations. In some cases, the configuration needs to be edited manually directly in the configuration.yaml file. Most integrations can be configured in the UI. [Learn more] file as shown in the example:
# Example configuration.yaml entry
sensor:
- platform: tmb
app_id: !secret tmb_app_id
app_key: !secret tmb_app_key
stops:
- line: V25
stop: 3258
Data provided by TMB