'Get the latest delay from bahn.de and updates the state.'

def update(self):

    self.data.update()
    self._state = self.data.connections[0].get('departure', 'Unknown')
    if (self.data.connections[0]['delay'] != 0):
        self._state += '    +    {}'.format(self.data.connections[0]['delay'])
