'Initialize the sensor.'

def __init__(self, data, journey, name):

    self.data = data
    self._name = name
    self._state = None
    self._times = None
    self._from = journey[2]
    self._to = journey[3]
