Simple Home Assistant sensor to retrieve departures from Transport for London stations. Each station creates its own sensor.
Easiest method is to get it via HACS! If you're unfamiliar with HACS, go here.
Should be easily found under Integrations - London TfL
.
Alternatively, you can manually drop it into your custom_components
folder.
You can add integration via the Integrations menu by searching for London TfL
.
It will auto-populate the line list, then auto-populate the station list with all stations on that line.
It will allow you to add as many stations as needed.
The expected format for the platform filter is to use the full name of the platform (most often similar to Platform 3
).
Sensor state is the next train departure time from the given station and platform (if set).
Attributes contain up to max
departures.
Sensor name will change to the name of the first departure's destination station. If you do not want this behaviour, you can change the name of the sensor manually.
You can still manually configure the integration, but it's not recommended. Check https://github.com/morosanmihail/HA-LondonTfL/wiki/Manual-setup if you insist.
Check out https://github.com/morosanmihail/HA-LondonTfL/wiki/Cards