code: private ComponentStatus getComponentStatusFromChargePointStatus(Statusnotification.Status status) {
          String value = status.toString();
  
          if (Statusnotification.Status.UNAVAILABLE.toString().equalsIgnoreCase(value)) {
              value = ComponentStatus.INOPERATIVE.value();
          }
  
          return ComponentStatus.fromValue(value);
      }
docs: Gets the {@code ComponentStatus} from a given {@code ChargePointStatus}.
  
  @param status the {@code ChargePointStatus}.
  @return the {@code ComponentStatus}.