class PairingCustomizationManager {

	public List<PairingCustomizationStep> apply(Place place, PairingDevice pairingDevice) throws ValidationException {
		Model device = deviceDao.modelById((UUID) Address.fromString(PairingDeviceModel.getDeviceAddress(pairingDevice)).getId());
		return 
			customizations
				.get()
				.stream()
				.map((c) -> c.toStepIf(place, device).orElse(null))
				.filter(Objects::nonNull)
				.collect(Collectors.toList());
	}

	@Inject public  PairingCustomizationManager(
			DeviceDAO deviceDao,
			PairingCatalogManager pairingCatalogManager
	);

}