@Override public void executePowerOff(Config params) { /* * Not called the setBrightness because this method executeCommand a * command here we want only to mantain the system coerent. If we call * setBrightness(0, params) the light recalls the onLowerBoundValue. * Only ONE command execution per situation */ hue.setValue(0); saturation.setValue(0); /* * executeCommand the body of the super implementation The super call * must be the last call as it executes setChanged(true) */ super.executePowerOff(params); }