@@ -3653,35 +3653,40 @@ - (void)removeClientDataForKey:(NSString *)key endpointID:(NSNumber *)endpointID
3653
3653
3654
3654
#pragma mark Log Help
3655
3655
3656
- - (NSNumber *)_informationalNumberAtAttributePath : (MTRAttributePath *)attributePath {
3656
+ - (NSNumber *)_informationalNumberAtAttributePath : (MTRAttributePath *)attributePath
3657
+ {
3657
3658
auto * cachedData = [self _cachedAttributeValueForPath: attributePath];
3658
3659
3659
3660
auto * attrReport = [[MTRAttributeReport alloc ] initWithResponseValue: @{
3660
3661
MTRAttributePathKey : attributePath,
3661
3662
MTRDataKey : cachedData,
3662
- } error: nil ];
3663
+ }
3664
+ error: nil ];
3663
3665
// REVIEWERS: is it worth logging the `error` above?
3664
3666
3665
3667
return attrReport.value ;
3666
3668
}
3667
3669
3668
- - (NSNumber *)_informationalVendorID {
3670
+ - (NSNumber *)_informationalVendorID
3671
+ {
3669
3672
auto * vendorIDPath = [MTRAttributePath attributePathWithEndpointID: @(kRootEndpointId )
3670
- clusterID: @(MTRClusterIDTypeBasicInformationID)
3671
- attributeID: @(MTRClusterBasicAttributeVendorIDID)];
3673
+ clusterID: @(MTRClusterIDTypeBasicInformationID)
3674
+ attributeID: @(MTRClusterBasicAttributeVendorIDID)];
3672
3675
3673
3676
return [self _informationalNumberAtAttributePath: vendorIDPath];
3674
3677
}
3675
3678
3676
- - (NSNumber *)_informationalProductID {
3679
+ - (NSNumber *)_informationalProductID
3680
+ {
3677
3681
auto * productIDPath = [MTRAttributePath attributePathWithEndpointID: @(kRootEndpointId )
3678
- clusterID: @(MTRClusterIDTypeBasicInformationID)
3679
- attributeID: @(MTRClusterBasicAttributeProductIDID)];
3682
+ clusterID: @(MTRClusterIDTypeBasicInformationID)
3683
+ attributeID: @(MTRClusterBasicAttributeProductIDID)];
3680
3684
3681
3685
return [self _informationalNumberAtAttributePath: productIDPath];
3682
3686
}
3683
3687
3684
- - (void )_addInformationalAttributesToCurrentMetricScope {
3688
+ - (void )_addInformationalAttributesToCurrentMetricScope
3689
+ {
3685
3690
using namespace chip ::Tracing::DarwinFramework;
3686
3691
MATTER_LOG_METRIC (kMetricDeviceVendorID , [self _informationalVendorID ].unsignedShortValue );
3687
3692
MATTER_LOG_METRIC (kMetricDeviceProductID , [self _informationalProductID ].unsignedShortValue );
0 commit comments