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
{{ message }}
This repository was archived by the owner on Oct 4, 2021. It is now read-only.
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);