Iterator<IActuator> lights = this.lights.iterator();
while (lights.hasNext() && context.getBrightness() > targetBrightness) {
LightingActuator light = (LightingActuator) lights.next();
if (light.getState() == IActuator.ACTIVE
&& light.getBrightness() > light.getMinimumBrightness()) {
light.turnDown();
notifyListeners("light " + light.getId() + " turned down");
} else if (light.getState() == IActuator.ACTIVE) {
light.disable();
notifyListeners("light " + light.getId() + " disabled");
}