/// Returns the current HSV (Hue, Saturation, Value) state of the bulb.
Returns the current HSV (Hue, Saturation, Value) state of the bulb.
Returns the current HSV ( Hue Saturation Value ) state of the bulb .
pub fn hsv(&self) -> Result<HSV> {
        if self.is_color == 1 {
            Ok(self.light_state.hsv())
        } else {
            Err(error::unsupported_operation("hsv"))
        }
    }
pub fn hsv ( & self ) -> Result < HSV > { if self . is_color == 1 { Ok ( self . light_state . hsv ( ) ) } else { Err ( error :: unsupported_operation ( " " ) ) } }
Returns the current HSV (Hue, Saturation, Value) state of the bulb.
Returns the current HSV ( Hue Saturation Value ) state of the bulb .
&self