'Get the latest data from Transmission and updates the state.'

def update(self):

    active = self.transmission_client.get_session().alt_speed_enabled
    self._state = (STATE_ON if active else STATE_OFF)
