'Initialize the sensor.'

def __init__(self, station, destinations, directions, lines, products, timeoffset):

    import MVGLive
    self._station = station
    self._destinations = destinations
    self._directions = directions
    self._lines = lines
    self._products = products
    self._timeoffset = timeoffset
    self._include_ubahn = (True if ('U-Bahn' in self._products) else False)
    self._include_tram = (True if ('Tram' in self._products) else False)
    self._include_bus = (True if ('Bus' in self._products) else False)
    self._include_sbahn = (True if ('S-Bahn' in self._products) else False)
    self.mvg = MVGLive.MVGLive()
    self.departures = {}
