Default callback for set_infrared/get_infrared

def resp_set_infrared(self, resp, infrared_brightness=None):
        """Default callback for set_infrared/get_infrared
        """
        if infrared_brightness is not None:
            self.infrared_brightness = infrared_brightness
        elif resp:
            self.infrared_brightness = resp.infrared_brightness