code: private ComponentStatus getComponentStatusFromChargePointStatus(ChargePointStatus status) {
          String value = status.value();
  
          if ("Unavailable".equalsIgnoreCase(value)) {
              value = "Inoperative";
          }
  
          return ComponentStatus.fromValue(value);
      }
docs: Gets the {@code ComponentStatus} from a given {@code ChargePointStatus}.
  
  @param status the {@code ChargePointStatus}.
  @return the {@code ComponentStatus}.