def METHOD_NAME(self):
    num_fan = self.get_num_fan()
    for i in range(1, num_fan+1):
        attr = "fan" + str(i) + "_direction"
        output = pddf_obj.get_attr_name_output("FAN-CTRL", attr)
        if not output:
            return None
        mode = output['mode']
        val = output['status']
        val = val.rstrip()
        vmap = plugin_data['FAN']['direction'][mode]['valmap']
        direction = vmap[str(val)]
        print("FAN-%d direction is %s" % (i, direction))
    return 0