converts this huestate to a hsbtype concode_field_sep String alert concode_elem_sep String effect concode_elem_sep int ct concode_elem_sep boolean reachable concode_elem_sep String colormode concode_elem_sep short bri concode_elem_sep double[] xy concode_elem_sep int hue concode_elem_sep short sat concode_elem_sep boolean on concode_field_sep String toString
HSBType function ( ) { int loc0 = 0 ; if ( this . on || this . bri > 0 ) { loc0 = this . bri < 1 ? 100 : ( int ) ( this . bri / 255.0 * 100 ) ; } return new HSBType ( new DecimalType ( this . hue ) , new PercentType ( this . sat ) , new PercentType ( loc0 ) ) ; }