class DlmsObjectConfigService {

    public Optional<AttributeAddressForProfile> findAttributeAddressForProfile(final DlmsDevice device,
                                                                               final DlmsObjectType type, final Integer channel, final DateTime from, final DateTime to,
                                                                               final Medium filterMedium) {
        return this.findDlmsObject(Protocol.forDevice(device), type,
                filterMedium)
                .map(dlmsObject -> this.getAttributeAddressForProfile(new AddressRequest(device, dlmsObject, channel,
                        from, to, filterMedium)));
    }

    @Autowired public  DlmsObjectConfigService(final DlmsHelper dlmsHelper, final List<DlmsObjectConfig> dlmsObjectConfigs);

}