@@ -1891,13 +1891,13 @@ - (void)_setCachedAttributeValue:(MTRDeviceDataValueDictionary _Nullable)value f
1891
1891
// Do not persist new values for Changes Omitted Quality (aka C Quality)
1892
1892
// attributes unless they're part of a Priming Report or from a read response.
1893
1893
// (removals are OK)
1894
-
1894
+
1895
1895
// log when a device violates expectations for Changes Omitted Quality attributes.
1896
1896
using namespace chip::Tracing::DarwinFramework;
1897
1897
MATTER_LOG_METRIC_BEGIN(kMetricUnexpectedCQualityUpdate);
1898
1898
[self _addInformationalAttributesToCurrentMetricScope];
1899
1899
MATTER_LOG_METRIC_END(kMetricUnexpectedCQualityUpdate);
1900
-
1900
+
1901
1901
return;
1902
1902
}
1903
1903
@@ -3655,29 +3655,29 @@ - (void)removeClientDataForKey:(NSString *)key endpointID:(NSNumber *)endpointID
3655
3655
3656
3656
- (NSNumber *)_informationalNumberAtAttributePath:(MTRAttributePath *)attributePath {
3657
3657
auto * cachedData = [self _cachedAttributeValueForPath:attributePath];
3658
-
3658
+
3659
3659
auto * attrReport = [[MTRAttributeReport alloc] initWithResponseValue:@{
3660
3660
MTRAttributePathKey : attributePath,
3661
3661
MTRDataKey : cachedData,
3662
3662
} error:nil];
3663
3663
// REVIEWERS: is it worth logging the `error` above?
3664
-
3664
+
3665
3665
return attrReport.value;
3666
3666
}
3667
3667
3668
3668
- (NSNumber *)_informationalVendorID {
3669
3669
auto * vendorIDPath = [MTRAttributePath attributePathWithEndpointID:@(kRootEndpointId)
3670
3670
clusterID:@(MTRClusterIDTypeBasicInformationID)
3671
3671
attributeID:@(MTRClusterBasicAttributeVendorIDID)];
3672
-
3672
+
3673
3673
return [self _informationalNumberAtAttributePath:vendorIDPath];
3674
3674
}
3675
3675
3676
3676
- (NSNumber *)_informationalProductID {
3677
3677
auto * productIDPath = [MTRAttributePath attributePathWithEndpointID:@(kRootEndpointId)
3678
3678
clusterID:@(MTRClusterIDTypeBasicInformationID)
3679
3679
attributeID:@(MTRClusterBasicAttributeProductIDID)];
3680
-
3680
+
3681
3681
return [self _informationalNumberAtAttributePath:productIDPath];
3682
3682
}
3683
3683
0 commit comments