'Return current mode, as the user-visible name.'

@property
def mode(self):

    cur = self.thermostat['program']['currentClimateRef']
    climates = self.thermostat['program']['climates']
    current = list(filter((lambda x: (x['climateRef'] == cur)), climates))
    return current[0]['name']
