@@ -1885,13 +1885,13 @@ - (void)_setCachedAttributeValue:(MTRDeviceDataValueDictionary _Nullable)value f
1885
1885
// Do not persist new values for Changes Omitted Quality (aka C Quality)
1886
1886
// attributes unless they're part of a Priming Report or from a read response.
1887
1887
// (removals are OK)
1888
-
1888
+
1889
1889
// log when a device violates expectations for Changes Omitted Quality attributes.
1890
1890
using namespace chip ::Tracing::DarwinFramework;
1891
1891
MATTER_LOG_METRIC_BEGIN (kMetricUnexpectedCQualityUpdate );
1892
1892
[self _addInformationalAttributesToCurrentMetricScope ];
1893
1893
MATTER_LOG_METRIC_END (kMetricUnexpectedCQualityUpdate );
1894
-
1894
+
1895
1895
return ;
1896
1896
}
1897
1897
@@ -3506,29 +3506,29 @@ - (void)removeClientDataForKey:(NSString *)key endpointID:(NSNumber *)endpointID
3506
3506
3507
3507
- (NSNumber *)_informationalNumberAtAttributePath : (MTRAttributePath *)attributePath {
3508
3508
auto * cachedData = [self _cachedAttributeValueForPath: attributePath];
3509
-
3509
+
3510
3510
auto * attrReport = [[MTRAttributeReport alloc ] initWithResponseValue: @{
3511
3511
MTRAttributePathKey : attributePath,
3512
3512
MTRDataKey : cachedData,
3513
3513
} error: nil ];
3514
3514
// REVIEWERS: is it worth logging the `error` above?
3515
-
3515
+
3516
3516
return attrReport.value ;
3517
3517
}
3518
3518
3519
3519
- (NSNumber *)_informationalVendorID {
3520
3520
auto * vendorIDPath = [MTRAttributePath attributePathWithEndpointID: @(kRootEndpointId )
3521
3521
clusterID: @(MTRClusterIDTypeBasicInformationID)
3522
3522
attributeID: @(MTRClusterBasicAttributeVendorIDID)];
3523
-
3523
+
3524
3524
return [self _informationalNumberAtAttributePath: vendorIDPath];
3525
3525
}
3526
3526
3527
3527
- (NSNumber *)_informationalProductID {
3528
3528
auto * productIDPath = [MTRAttributePath attributePathWithEndpointID: @(kRootEndpointId )
3529
3529
clusterID: @(MTRClusterIDTypeBasicInformationID)
3530
3530
attributeID: @(MTRClusterBasicAttributeProductIDID)];
3531
-
3531
+
3532
3532
return [self _informationalNumberAtAttributePath: productIDPath];
3533
3533
}
3534
3534
0 commit comments