code: public Set<ChargingCapability> getChargingCapabilitiesFromEvses(Set<Evse> evses) {
          Set<ChargingCapability> chargingCapabilities = new HashSet<>();
  
          for (Evse evse : evses) {
              for (Connector connector : evse.getConnectors()) {
                  chargingCapabilities.add(ChargingCapability.fromConnector(connector));
              }
          }
  
          return chargingCapabilities;
      }
docs: Returns a set of {@code io.motown.vas.viewmodel.model.ChargingCapability}s based on the EVSEs.
  
  @param evses list of EVSEs.
  @return set of ChargingCapability.