'Set fan speed.'

def set_fan_mode(self, mode):

    if (mode == SPEED_LOW):
        speed = 0.4
    elif (mode == SPEED_MEDIUM):
        speed = 0.8
    elif (mode == SPEED_HIGH):
        speed = 1.0
    self.wink.set_ac_fan_speed(speed)
