File tree 2 files changed +121
-134
lines changed
2 files changed +121
-134
lines changed Original file line number Diff line number Diff line change @@ -2392,24 +2392,23 @@ - (void)_noteChangeForClusterPath:(MTRClusterPath *)clusterPath
2392
2392
- (BOOL )_isAttributeAffectingDeviceConfigurationChanged : (MTRAttributePath *)attributePath
2393
2393
{
2394
2394
// Check for attributes in the descriptor cluster that affect device configuration changed.
2395
- if (attributePath.cluster.unsignedLongValue == MTRClusterIDTypeDescriptorID)
2396
- {
2395
+ if (attributePath.cluster .unsignedLongValue == MTRClusterIDTypeDescriptorID) {
2397
2396
switch (attributePath.attribute .unsignedLongValue ) {
2398
- case MTRAttributeIDTypeClusterDescriptorAttributePartsListID:
2399
- case MTRAttributeIDTypeClusterDescriptorAttributeServerListID:
2400
- case MTRAttributeIDTypeClusterDescriptorAttributeDeviceTypeListID: {
2401
- return YES;
2402
- }
2397
+ case MTRAttributeIDTypeClusterDescriptorAttributePartsListID:
2398
+ case MTRAttributeIDTypeClusterDescriptorAttributeServerListID:
2399
+ case MTRAttributeIDTypeClusterDescriptorAttributeDeviceTypeListID: {
2400
+ return YES ;
2401
+ }
2403
2402
}
2404
2403
}
2405
2404
2406
2405
// Check for global attributes that affect device configuration changed.
2407
2406
switch (attributePath.attribute .unsignedLongValue ) {
2408
- case MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID:
2409
- case MTRAttributeIDTypeGlobalAttributeAttributeListID:
2410
- case MTRAttributeIDTypeGlobalAttributeClusterRevisionID:
2411
- case MTRAttributeIDTypeGlobalAttributeFeatureMapID:
2412
- return YES;
2407
+ case MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID:
2408
+ case MTRAttributeIDTypeGlobalAttributeAttributeListID:
2409
+ case MTRAttributeIDTypeGlobalAttributeClusterRevisionID:
2410
+ case MTRAttributeIDTypeGlobalAttributeFeatureMapID:
2411
+ return YES ;
2413
2412
}
2414
2413
return NO ;
2415
2414
}
You can’t perform that action at this time.
0 commit comments