'Construct a live bus time sensor.'

def __init__(self, api_app_id, api_app_key, station_code, calling_at, interval):

    self._station_code = station_code
    self._calling_at = calling_at
    self._next_trains = []
    sensor_name = 'Next    train    to    {}'.format(calling_at)
    query_url = 'train/station/{}/live.json'.format(station_code)
    UkTransportSensor.__init__(self, sensor_name, api_app_id, api_app_key, query_url)
    self.update = Throttle(interval)(self._update)
