[AS7-6664] Set the enabled attribute in the legacy enable/disable operations

The ```enable``` attribute should be set to ```true``` if the legacy ```enable``` operation is executed and ```false``` if the legacy ```disable``` operations is executed.