'Get the latest data and update the state.'

def update(self):

    self.data.update()
    if (not self.data.departures):
        self._state = '-'
        self._icon = ICONS['-']
    else:
        self._state = self.data.departures.get('time', '-')
        self._icon = ICONS[self.data.departures.get('product', '-')]
