def cmd_set_warm_light(self, *args):
    try:
        self._magic_blue.set_warm_light(float(args[0][0]))
    except ValueError as e:
        logger.error('Invalid intensity value : {}'.format(str(e)))
        self.print_usage('set_color')
def cmd_set_warm_light(self, *args):
    try:
        self._magic_blue.set_warm_light(float(args[0][0]))
    except ValueError as e:
        logger.error('Invalid intensity value : {}'.format(str(e)))
        self.print_usage('set_color')