@Test
public void testConversionToOnOffType() {

    assertEquals(OnOffType.ON, new HSBType("100,100,100").as(OnOffType.class));
    assertEquals(OnOffType.ON, new HSBType("100,100,1").as(OnOffType.class));
    assertEquals(OnOffType.OFF, new HSBType("100,100,0").as(OnOffType.class));
}