You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LOGGER.info("request the light unit with the label \"TestUnit_0\"");
testLight = Units.getUnitByLabel("TestUnit_0", true, Units.LIGHT_COLORABLE);
Control the unit
LOGGER.info("switch the light on");
testLight.setPowerState(PowerState.State.ON);
LOGGER.info("switch light color to blue");
testLight.setColor(Color.BLUE);