code: private Evse getEvseById(ChargingStationType chargingStationType, Long id) {
          for (Evse evse:chargingStationType.getEvses()) {
              if(id.equals(evse.getId())) {
                  return evse;
              }
          }
          throw new EntityNotFoundException(String.format("Unable to find evse with id '%s'", id));
      }
docs: Gets a Evse by id.
  
  @param chargingStationType    charging station type.
  @param id                     evse id.
  @return evse
  @throws EntityNotFoundException if the Evse cannot be found.