Change configuration

This function is used to change the current configuration to "Off" or "On".
Condiciones del test:
Procedimiento:
  1. Iniciar la función.
  2. Comprobar las condiciones del test.
  3. Comprobar el estado actual.
  4. Comprobar el nuevo estado actual.
  5. Se ha completado la función.