def set_hsv_color(self, hue, saturation, effect=EFFECT_SUDDEN, transition_time=MIN_TRANSITION_TIME):
        """
            Set the color of the bulb using hsv code. The bulb must be switched on.
            TODO : Resolve bug found trying to set hue to 100 and sat to 100 (General error)

            :param hue: Hue component of the color between 0 and 359
            :param saturation: Saturation component of the color between 0 and 100
            :param effect: if the change is made suddenly or smoothly
            :param transition_time: in case the change is made smoothly, time in ms that change last

            :type hue: int
            :type saturation: int
            :type effect: str
            :type transition_time : int
        """
        # Check bulb state
        if self.is_off():
            raise Exception("set_hsv_color can't be used if the bulb is off. Turn it on first")
        # Input validation
        schema = Schema({'hue': All(int, Range(min=0, max=359)),
                         'saturation': All(int, Range(min=0, max=100)),
                         'effect': Any(self.EFFECT_SUDDEN, self.EFFECT_SMOOTH),
                         'transition_time': All(int, Range(min=30))})
        schema({'hue': hue, 'saturation': saturation, 'effect': effect, 'transition_time': transition_time})
        # Send command
        params = [hue, saturation, effect, transition_time]
        self.api_call.operate_on_bulb("set_hsv", params)
        # Update property
        self.property[self.PROPERTY_NAME_HUE] = hue
        self.property[self.PROPERTY_NAME_SATURATION] = saturation
Set the color of the bulb using hsv code. The bulb must be switched on.
            TODO : Resolve bug found trying to set hue to 100 and sat to 100 (General error)

            :param hue: Hue component of the color between 0 and 359
            :param saturation: Saturation component of the color between 0 and 100
            :param effect: if the change is made suddenly or smoothly
            :param transition_time: in case the change is made smoothly, time in ms that change last

            :type hue: int
            :type saturation: int
            :type effect: str
            :type transition_time : int