diff --git a/src/darwin/Framework/CHIP/MTRDevice.mm b/src/darwin/Framework/CHIP/MTRDevice.mm index a2f5f795389776..55f41d355f50d3 100644 --- a/src/darwin/Framework/CHIP/MTRDevice.mm +++ b/src/darwin/Framework/CHIP/MTRDevice.mm @@ -978,6 +978,31 @@ static BOOL AttributeHasChangesOmittedQuality(MTRAttributePath * attributePath) return attributeValueToReturn; } +- (nullable id)readAttributeWithEndpointID:(NSNumber *)endpointID + clusterID:(NSNumber *)clusterID + attributeID:(NSNumber *)attributeID + params:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + NSDictionary * value = [self readAttributeWithEndpointID:endpointID + clusterID:clusterID + attributeID:attributeID + params:params]; + if (value == nil) { + return nil; + } + + auto * path = [MTRAttributePath attributePathWithEndpointID:endpointID clusterID:clusterID attributeID:attributeID]; + + auto * report = [[MTRAttributeReport alloc] initWithResponseValue:@{ + MTRAttributePathKey : path, + MTRDataKey : value, + } + error:error]; + + return report.value; +} + - (void)writeAttributeWithEndpointID:(NSNumber *)endpointID clusterID:(NSNumber *)clusterID attributeID:(NSNumber *)attributeID diff --git a/src/darwin/Framework/CHIP/MTRDevice_Internal.h b/src/darwin/Framework/CHIP/MTRDevice_Internal.h index 7815fe2e5d44c2..4fada3f47919b2 100644 --- a/src/darwin/Framework/CHIP/MTRDevice_Internal.h +++ b/src/darwin/Framework/CHIP/MTRDevice_Internal.h @@ -42,6 +42,13 @@ typedef void (^MTRDevicePerformAsyncBlock)(MTRBaseDevice * baseDevice); // false-positives, for example due to compressed fabric id collisions. - (void)nodeMayBeAdvertisingOperational; +// Helper to read strongly typed values, for use from MTRCluster. +- (nullable id)readAttributeWithEndpointID:(NSNumber *)endpointID + clusterID:(NSNumber *)clusterID + attributeID:(NSNumber *)attributeID + params:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error; + @property (nonatomic, readonly) MTRDeviceController * deviceController; @property (nonatomic, readonly, copy) NSNumber * nodeID; // Queue used for various internal bookkeeping work. In general endWork calls diff --git a/src/darwin/Framework/CHIP/templates/MTRClusters-src.zapt b/src/darwin/Framework/CHIP/templates/MTRClusters-src.zapt index a4afcd5c8bace0..13c1f14a4eb0ab 100644 --- a/src/darwin/Framework/CHIP/templates/MTRClusters-src.zapt +++ b/src/darwin/Framework/CHIP/templates/MTRClusters-src.zapt @@ -178,6 +178,11 @@ completionHandler return [self.device readAttributeWithEndpointID:@(self.endpoint) clusterID:@(MTRClusterIDType{{>cluster}}ID) attributeID:@(MTRAttributeIDTypeCluster{{>cluster}}{{>attribute}}ID) params:params]; } +- ({{asObjectiveCClass type parent.name stronglyTypedArrays=true}} * _Nullable)read{{>attribute}}WithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) clusterID:@(MTRClusterIDType{{>cluster}}ID) attributeID:@(MTRAttributeIDTypeCluster{{>cluster}}{{>attribute}}ID) params:params error:error]; +} + {{#if isWritableAttribute}} {{#*inline "callbackName"}}DefaultSuccess{{/inline}} - (void)write{{>attribute}}WithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs diff --git a/src/darwin/Framework/CHIP/templates/MTRClusters.zapt b/src/darwin/Framework/CHIP/templates/MTRClusters.zapt index 563ab090b7cd59..901d8360490bf6 100644 --- a/src/darwin/Framework/CHIP/templates/MTRClusters.zapt +++ b/src/darwin/Framework/CHIP/templates/MTRClusters.zapt @@ -66,6 +66,7 @@ NS_ASSUME_NONNULL_BEGIN {{availability (asUpperCamelCase parent.name preserveAcronyms=true) attribute=(asUpperCamelCase name preserveAcronyms=true)}} {{/inline}} - (NSDictionary *)read{{>attribute}}WithParams:(MTRReadParams * _Nullable)params {{> availability}}; +- ({{asObjectiveCClass type parent.name stronglyTypedArrays=true}} * _Nullable)read{{>attribute}}WithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error {{availability (asUpperCamelCase parent.name preserveAcronyms=true) attribute=(asUpperCamelCase name preserveAcronyms=true) minimalRelease="Future"}}; {{#if isWritableAttribute}} - (void)write{{>attribute}}WithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs {{> availability}}; - (void)write{{>attribute}}WithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs params:(MTRWriteParams * _Nullable)params {{> availability}}; diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRClusters.h b/src/darwin/Framework/CHIP/zap-generated/MTRClusters.h index 2c29065af237e8..518c11c865441e 100644 --- a/src/darwin/Framework/CHIP/zap-generated/MTRClusters.h +++ b/src/darwin/Framework/CHIP/zap-generated/MTRClusters.h @@ -50,6 +50,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeIdentifyTimeWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeIdentifyTimeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeIdentifyTimeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -60,23 +62,39 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeIdentifyTypeWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeIdentifyTypeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -138,23 +156,39 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeNameSupportWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeNameSupportWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -237,44 +271,74 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeSceneCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeSceneCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeCurrentSceneWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeCurrentSceneWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeCurrentGroupWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeCurrentGroupWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeSceneValidWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeSceneValidWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeNameSupportWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeNameSupportWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeLastConfiguredByWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeLastConfiguredByWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeSceneTableSizeWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeSceneTableSizeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeRemainingCapacityWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeRemainingCapacityWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -338,12 +402,18 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeOnOffWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeOnOffWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeGlobalSceneControlWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeGlobalSceneControlWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeOnTimeWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeOnTimeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeOnTimeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -354,6 +424,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeOffWaitTimeWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeOffWaitTimeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeOffWaitTimeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -364,6 +436,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeStartUpOnOffWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeStartUpOnOffWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeStartUpOnOffWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -374,20 +448,34 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -412,9 +500,13 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeSwitchTypeWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeSwitchTypeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeSwitchActionsWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeSwitchActionsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeSwitchActionsWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -425,20 +517,34 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -502,27 +608,43 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeCurrentLevelWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeCurrentLevelWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRemainingTimeWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRemainingTimeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeMinLevelWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMinLevelWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeMaxLevelWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMaxLevelWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeCurrentFrequencyWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeCurrentFrequencyWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeMinFrequencyWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMinFrequencyWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeMaxFrequencyWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMaxFrequencyWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeOptionsWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeOptionsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeOptionsWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -533,6 +655,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeOnOffTransitionTimeWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeOnOffTransitionTimeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeOnOffTransitionTimeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -543,6 +667,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeOnLevelWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeOnLevelWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeOnLevelWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -553,6 +679,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeOnTransitionTimeWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeOnTransitionTimeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeOnTransitionTimeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -563,6 +691,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeOffTransitionTimeWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeOffTransitionTimeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeOffTransitionTimeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -573,6 +703,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeDefaultMoveRateWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeDefaultMoveRateWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeDefaultMoveRateWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -583,6 +715,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeStartUpCurrentLevelWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeStartUpCurrentLevelWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeStartUpCurrentLevelWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -593,20 +727,34 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -631,6 +779,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeActiveTextWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSString * _Nullable)readAttributeActiveTextWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeActiveTextWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -641,6 +791,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeDescriptionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSString * _Nullable)readAttributeDescriptionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeDescriptionWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -651,6 +803,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeInactiveTextWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSString * _Nullable)readAttributeInactiveTextWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeInactiveTextWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -661,6 +815,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeOutOfServiceWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeOutOfServiceWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeOutOfServiceWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -671,9 +827,13 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributePolarityWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributePolarityWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributePresentValueWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributePresentValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributePresentValueWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -684,6 +844,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeReliabilityWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeReliabilityWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeReliabilityWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -694,26 +856,44 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeStatusFlagsWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeStatusFlagsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeApplicationTypeWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeApplicationTypeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -737,19 +917,34 @@ MTR_PROVISIONALLY_AVAILABLE - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -775,34 +970,60 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeDeviceTypeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSArray * _Nullable) + readAttributeDeviceTypeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeServerListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeServerListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClientListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeClientListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributePartsListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributePartsListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeTagListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeTagListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -827,6 +1048,9 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeBindingWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeBindingWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (void)writeAttributeBindingWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -837,20 +1061,34 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -878,6 +1116,9 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeACLWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSArray * _Nullable) + readAttributeACLWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeACLWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -888,6 +1129,9 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeExtensionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable) + readAttributeExtensionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeExtensionWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -898,29 +1142,49 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeSubjectsPerAccessControlEntryWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeSubjectsPerAccessControlEntryWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeTargetsPerAccessControlEntryWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeTargetsPerAccessControlEntryWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAccessControlEntriesPerFabricWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeAccessControlEntriesPerFabricWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -999,29 +1263,52 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeActionListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeActionListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEndpointListsWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeEndpointListsWithParams:(MTRReadParams * _Nullable)params + error: + (NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeSetupURLWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSString * _Nullable)readAttributeSetupURLWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -1048,21 +1335,33 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeDataModelRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeDataModelRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeVendorNameWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSString * _Nullable)readAttributeVendorNameWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeVendorIDWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeVendorIDWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeProductNameWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSString * _Nullable)readAttributeProductNameWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeProductIDWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeProductIDWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeNodeLabelWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSString * _Nullable)readAttributeNodeLabelWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeNodeLabelWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -1073,6 +1372,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeLocationWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSString * _Nullable)readAttributeLocationWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeLocationWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -1083,33 +1384,53 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeHardwareVersionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeHardwareVersionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeHardwareVersionStringWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSString * _Nullable)readAttributeHardwareVersionStringWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeSoftwareVersionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeSoftwareVersionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeSoftwareVersionStringWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSString * _Nullable)readAttributeSoftwareVersionStringWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeManufacturingDateWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSString * _Nullable)readAttributeManufacturingDateWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributePartNumberWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSString * _Nullable)readAttributePartNumberWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeProductURLWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSString * _Nullable)readAttributeProductURLWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeProductLabelWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSString * _Nullable)readAttributeProductLabelWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeSerialNumberWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSString * _Nullable)readAttributeSerialNumberWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeLocalConfigDisabledWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeLocalConfigDisabledWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeLocalConfigDisabledWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -1120,32 +1441,56 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeReachableWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeReachableWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeUniqueIDWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSString * _Nullable)readAttributeUniqueIDWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeCapabilityMinimaWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (MTRBasicInformationClusterCapabilityMinimaStruct * _Nullable) + readAttributeCapabilityMinimaWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeProductAppearanceWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(17.0), macos(14.0), watchos(10.0), tvos(17.0)); +- (MTRBasicInformationClusterProductAppearanceStruct * _Nullable) + readAttributeProductAppearanceWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -1188,20 +1533,34 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -1232,6 +1591,9 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeDefaultOTAProvidersWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSArray * _Nullable) + readAttributeDefaultOTAProvidersWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeDefaultOTAProvidersWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -1242,29 +1604,49 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeUpdatePossibleWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeUpdatePossibleWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeUpdateStateWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeUpdateStateWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeUpdateStateProgressWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeUpdateStateProgressWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -1292,6 +1674,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeActiveLocaleWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSString * _Nullable)readAttributeActiveLocaleWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeActiveLocaleWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -1302,23 +1686,39 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeSupportedLocalesWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeSupportedLocalesWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -1346,6 +1746,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeHourFormatWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeHourFormatWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeHourFormatWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -1356,6 +1758,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeActiveCalendarTypeWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeActiveCalendarTypeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeActiveCalendarTypeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -1366,23 +1770,40 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeSupportedCalendarTypesWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeSupportedCalendarTypesWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -1410,6 +1831,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeTemperatureUnitWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeTemperatureUnitWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeTemperatureUnitWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -1420,20 +1843,34 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -1458,23 +1895,39 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeSourcesWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeSourcesWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -1500,115 +1953,195 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeStatusWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeStatusWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeOrderWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeOrderWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeDescriptionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSString * _Nullable)readAttributeDescriptionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeWiredAssessedInputVoltageWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeWiredAssessedInputVoltageWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeWiredAssessedInputFrequencyWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeWiredAssessedInputFrequencyWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeWiredCurrentTypeWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeWiredCurrentTypeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeWiredAssessedCurrentWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeWiredAssessedCurrentWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeWiredNominalVoltageWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeWiredNominalVoltageWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeWiredMaximumCurrentWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeWiredMaximumCurrentWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeWiredPresentWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeWiredPresentWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeActiveWiredFaultsWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeActiveWiredFaultsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeBatVoltageWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeBatVoltageWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeBatPercentRemainingWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeBatPercentRemainingWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeBatTimeRemainingWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeBatTimeRemainingWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeBatChargeLevelWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeBatChargeLevelWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeBatReplacementNeededWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeBatReplacementNeededWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeBatReplaceabilityWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeBatReplaceabilityWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeBatPresentWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeBatPresentWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeActiveBatFaultsWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeActiveBatFaultsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeBatReplacementDescriptionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSString * _Nullable)readAttributeBatReplacementDescriptionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeBatCommonDesignationWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeBatCommonDesignationWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeBatANSIDesignationWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSString * _Nullable)readAttributeBatANSIDesignationWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeBatIECDesignationWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSString * _Nullable)readAttributeBatIECDesignationWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeBatApprovedChemistryWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeBatApprovedChemistryWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeBatCapacityWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeBatCapacityWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeBatQuantityWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeBatQuantityWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeBatChargeStateWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeBatChargeStateWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeBatTimeToFullChargeWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeBatTimeToFullChargeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeBatFunctionalWhileChargingWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeBatFunctionalWhileChargingWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeBatChargingCurrentWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeBatChargingCurrentWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeActiveBatChargeFaultsWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeActiveBatChargeFaultsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEndpointListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEndpointListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -1660,6 +2193,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeBreadcrumbWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeBreadcrumbWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeBreadcrumbWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -1670,32 +2205,55 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeBasicCommissioningInfoWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (MTRGeneralCommissioningClusterBasicCommissioningInfo * _Nullable) + readAttributeBasicCommissioningInfoWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRegulatoryConfigWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRegulatoryConfigWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeLocationCapabilityWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeLocationCapabilityWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeSupportsConcurrentConnectionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeSupportsConcurrentConnectionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -1757,18 +2315,29 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeMaxNetworksWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMaxNetworksWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeNetworksWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable) + readAttributeNetworksWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeScanMaxTimeSecondsWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeScanMaxTimeSecondsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeConnectMaxTimeSecondsWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeConnectMaxTimeSecondsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeInterfaceEnabledWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeInterfaceEnabledWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeInterfaceEnabledWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -1779,29 +2348,49 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeLastNetworkingStatusWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeLastNetworkingStatusWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeLastNetworkIDWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSData * _Nullable)readAttributeLastNetworkIDWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeLastConnectErrorValueWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeLastConnectErrorValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -1833,20 +2422,34 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -1877,49 +2480,86 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeNetworkInterfacesWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable) + readAttributeNetworkInterfacesWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRebootCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRebootCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeUpTimeWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeUpTimeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeTotalOperationalHoursWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeTotalOperationalHoursWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeBootReasonWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeBootReasonWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeActiveHardwareFaultsWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeActiveHardwareFaultsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeActiveRadioFaultsWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeActiveRadioFaultsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeActiveNetworkFaultsWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeActiveNetworkFaultsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeTestEventTriggersEnabledWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeTestEventTriggersEnabledWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAverageWearCountWithParams:(MTRReadParams * _Nullable)params MTR_NEWLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeAverageWearCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -1954,32 +2594,55 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeThreadMetricsWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable) + readAttributeThreadMetricsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeCurrentHeapFreeWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeCurrentHeapFreeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeCurrentHeapUsedWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeCurrentHeapUsedWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeCurrentHeapHighWatermarkWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeCurrentHeapHighWatermarkWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -2014,209 +2677,355 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeChannelWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeChannelWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRoutingRoleWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRoutingRoleWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeNetworkNameWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSString * _Nullable)readAttributeNetworkNameWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributePanIdWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributePanIdWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeExtendedPanIdWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeExtendedPanIdWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeMeshLocalPrefixWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSData * _Nullable)readAttributeMeshLocalPrefixWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeOverrunCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeOverrunCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeNeighborTableWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSArray * _Nullable) + readAttributeNeighborTableWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRouteTableWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSArray * _Nullable) + readAttributeRouteTableWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributePartitionIdWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributePartitionIdWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeWeightingWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeWeightingWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeDataVersionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeDataVersionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeStableDataVersionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeStableDataVersionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeLeaderRouterIdWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeLeaderRouterIdWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeDetachedRoleCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeDetachedRoleCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeChildRoleCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeChildRoleCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRouterRoleCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRouterRoleCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeLeaderRoleCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeLeaderRoleCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAttachAttemptCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeAttachAttemptCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributePartitionIdChangeCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributePartitionIdChangeCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeBetterPartitionAttachAttemptCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeBetterPartitionAttachAttemptCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeParentChangeCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeParentChangeCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeTxTotalCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeTxTotalCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeTxUnicastCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeTxUnicastCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeTxBroadcastCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeTxBroadcastCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeTxAckRequestedCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeTxAckRequestedCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeTxAckedCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeTxAckedCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeTxNoAckRequestedCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeTxNoAckRequestedCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeTxDataCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeTxDataCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeTxDataPollCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeTxDataPollCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeTxBeaconCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeTxBeaconCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeTxBeaconRequestCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeTxBeaconRequestCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeTxOtherCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeTxOtherCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeTxRetryCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeTxRetryCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeTxDirectMaxRetryExpiryCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeTxDirectMaxRetryExpiryCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeTxIndirectMaxRetryExpiryCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeTxIndirectMaxRetryExpiryCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeTxErrCcaCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeTxErrCcaCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeTxErrAbortCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeTxErrAbortCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeTxErrBusyChannelCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeTxErrBusyChannelCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRxTotalCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRxTotalCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRxUnicastCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRxUnicastCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRxBroadcastCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRxBroadcastCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRxDataCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRxDataCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRxDataPollCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRxDataPollCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRxBeaconCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRxBeaconCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRxBeaconRequestCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRxBeaconRequestCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRxOtherCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRxOtherCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRxAddressFilteredCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRxAddressFilteredCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRxDestAddrFilteredCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRxDestAddrFilteredCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRxDuplicatedCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRxDuplicatedCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRxErrNoFrameCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRxErrNoFrameCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRxErrUnknownNeighborCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRxErrUnknownNeighborCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRxErrInvalidSrcAddrCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRxErrInvalidSrcAddrCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRxErrSecCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRxErrSecCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRxErrFcsCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRxErrFcsCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRxErrOtherCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRxErrOtherCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeActiveTimestampWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeActiveTimestampWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributePendingTimestampWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributePendingTimestampWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeDelayWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeDelayWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeSecurityPolicyWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (MTRThreadNetworkDiagnosticsClusterSecurityPolicy * _Nullable) + readAttributeSecurityPolicyWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeChannelPage0MaskWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSData * _Nullable)readAttributeChannelPage0MaskWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeOperationalDatasetComponentsWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (MTRThreadNetworkDiagnosticsClusterOperationalDatasetComponents * _Nullable) + readAttributeOperationalDatasetComponentsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeActiveNetworkFaultsListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeActiveNetworkFaultsListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -2251,59 +3060,99 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeBSSIDWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSData * _Nullable)readAttributeBSSIDWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeSecurityTypeWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeSecurityTypeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeWiFiVersionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeWiFiVersionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeChannelNumberWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeChannelNumberWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRSSIWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeRSSIWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeBeaconLostCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeBeaconLostCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeBeaconRxCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeBeaconRxCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributePacketMulticastRxCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributePacketMulticastRxCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributePacketMulticastTxCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributePacketMulticastTxCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributePacketUnicastRxCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributePacketUnicastRxCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributePacketUnicastTxCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributePacketUnicastTxCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeCurrentMaxRateWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeCurrentMaxRateWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeOverrunCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeOverrunCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -2338,47 +3187,79 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributePHYRateWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributePHYRateWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFullDuplexWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFullDuplexWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributePacketRxCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributePacketRxCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributePacketTxCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributePacketTxCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeTxErrCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeTxErrCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeCollisionCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeCollisionCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeOverrunCountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeOverrunCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeCarrierDetectWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeCarrierDetectWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeTimeSinceResetWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeTimeSinceResetWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -2423,52 +3304,96 @@ MTR_PROVISIONALLY_AVAILABLE completion:(MTRStatusCompletion)completion MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeUTCTimeWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeUTCTimeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeGranularityWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeGranularityWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeTimeSourceWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeTimeSourceWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeTrustedTimeSourceWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (MTRTimeSynchronizationClusterTrustedTimeSourceStruct * _Nullable) + readAttributeTrustedTimeSourceWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeDefaultNTPWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSString * _Nullable)readAttributeDefaultNTPWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeTimeZoneWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable) + readAttributeTimeZoneWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeDSTOffsetWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable) + readAttributeDSTOffsetWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeLocalTimeWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeLocalTimeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeTimeZoneDatabaseWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeTimeZoneDatabaseWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeNTPServerAvailableWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeNTPServerAvailableWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeTimeZoneListMaxSizeWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeTimeZoneListMaxSizeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeDSTOffsetListMaxSizeWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeDSTOffsetListMaxSizeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeSupportsDNSResolveWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeSupportsDNSResolveWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -2496,15 +3421,23 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeVendorNameWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSString * _Nullable)readAttributeVendorNameWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeVendorIDWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeVendorIDWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeProductNameWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSString * _Nullable)readAttributeProductNameWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeNodeLabelWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSString * _Nullable)readAttributeNodeLabelWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeNodeLabelWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -2515,56 +3448,95 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeHardwareVersionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeHardwareVersionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeHardwareVersionStringWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSString * _Nullable)readAttributeHardwareVersionStringWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeSoftwareVersionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeSoftwareVersionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeSoftwareVersionStringWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSString * _Nullable)readAttributeSoftwareVersionStringWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeManufacturingDateWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSString * _Nullable)readAttributeManufacturingDateWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributePartNumberWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSString * _Nullable)readAttributePartNumberWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeProductURLWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSString * _Nullable)readAttributeProductURLWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeProductLabelWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSString * _Nullable)readAttributeProductLabelWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeSerialNumberWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSString * _Nullable)readAttributeSerialNumberWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeReachableWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeReachableWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeUniqueIDWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSString * _Nullable)readAttributeUniqueIDWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeProductAppearanceWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(17.0), macos(14.0), watchos(10.0), tvos(17.0)); +- (MTRBridgedDeviceBasicInformationClusterProductAppearanceStruct * _Nullable) + readAttributeProductAppearanceWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -2594,29 +3566,49 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeNumberOfPositionsWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeNumberOfPositionsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeCurrentPositionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeCurrentPositionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeMultiPressMaxWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMultiPressMaxWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -2661,29 +3653,49 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeWindowStatusWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeWindowStatusWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAdminFabricIndexWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeAdminFabricIndexWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAdminVendorIdWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeAdminVendorIdWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -2756,38 +3768,67 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeNOCsWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeNOCsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFabricsWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable) + readAttributeFabricsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeSupportedFabricsWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeSupportedFabricsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeCommissionedFabricsWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeCommissionedFabricsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeTrustedRootCertificatesWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeTrustedRootCertificatesWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeCurrentFabricIndexWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeCurrentFabricIndexWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -2839,6 +3880,9 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeGroupKeyMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable) + readAttributeGroupKeyMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeGroupKeyMapWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -2849,29 +3893,50 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeGroupTableWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable) + readAttributeGroupTableWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeMaxGroupsPerFabricWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMaxGroupsPerFabricWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeMaxGroupKeysPerFabricWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMaxGroupKeysPerFabricWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -2897,23 +3962,40 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeLabelListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeLabelListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -2938,6 +4020,9 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeLabelListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeLabelListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (void)writeAttributeLabelListWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -2948,20 +4033,34 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -2986,23 +4085,39 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeStateValueWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeStateValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -3043,36 +4158,65 @@ MTR_PROVISIONALLY_AVAILABLE - (NSDictionary *)readAttributeIdleModeIntervalWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeIdleModeIntervalWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeActiveModeIntervalWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeActiveModeIntervalWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeActiveModeThresholdWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeActiveModeThresholdWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeRegisteredClientsWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable) + readAttributeRegisteredClientsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeICDCounterWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeICDCounterWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeClientsSupportedPerFabricWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeClientsSupportedPerFabricWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -3102,18 +4246,29 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeDescriptionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSString * _Nullable)readAttributeDescriptionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeStandardNamespaceWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeStandardNamespaceWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeSupportedModesWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable) + readAttributeSupportedModesWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeCurrentModeWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeCurrentModeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeStartUpModeWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeStartUpModeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeStartUpModeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -3124,6 +4279,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeOnModeWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeOnModeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -3134,20 +4291,34 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -3177,10 +4348,17 @@ MTR_PROVISIONALLY_AVAILABLE - (NSDictionary *)readAttributeSupportedModesWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable) + readAttributeSupportedModesWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeCurrentModeWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeCurrentModeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeStartUpModeWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeStartUpModeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (void)writeAttributeStartUpModeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs MTR_PROVISIONALLY_AVAILABLE; - (void)writeAttributeStartUpModeWithValue:(NSDictionary *)dataValueDictionary @@ -3188,6 +4366,8 @@ MTR_PROVISIONALLY_AVAILABLE params:(MTRWriteParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeOnModeWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeOnModeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs MTR_PROVISIONALLY_AVAILABLE; - (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueDictionary @@ -3196,19 +4376,34 @@ MTR_PROVISIONALLY_AVAILABLE - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -3240,10 +4435,17 @@ MTR_PROVISIONALLY_AVAILABLE - (NSDictionary *)readAttributeSupportedModesWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable) + readAttributeSupportedModesWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeCurrentModeWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeCurrentModeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeStartUpModeWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeStartUpModeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (void)writeAttributeStartUpModeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs MTR_PROVISIONALLY_AVAILABLE; - (void)writeAttributeStartUpModeWithValue:(NSDictionary *)dataValueDictionary @@ -3251,6 +4453,8 @@ MTR_PROVISIONALLY_AVAILABLE params:(MTRWriteParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeOnModeWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeOnModeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs MTR_PROVISIONALLY_AVAILABLE; - (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueDictionary @@ -3259,19 +4463,34 @@ MTR_PROVISIONALLY_AVAILABLE - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -3295,9 +4514,13 @@ MTR_PROVISIONALLY_AVAILABLE queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeSpinSpeedsWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeSpinSpeedsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeSpinSpeedCurrentWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeSpinSpeedCurrentWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (void)writeAttributeSpinSpeedCurrentWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs MTR_PROVISIONALLY_AVAILABLE; - (void)writeAttributeSpinSpeedCurrentWithValue:(NSDictionary *)dataValueDictionary @@ -3306,6 +4529,8 @@ MTR_PROVISIONALLY_AVAILABLE - (NSDictionary *)readAttributeNumberOfRinsesWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeNumberOfRinsesWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (void)writeAttributeNumberOfRinsesWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs MTR_PROVISIONALLY_AVAILABLE; - (void)writeAttributeNumberOfRinsesWithValue:(NSDictionary *)dataValueDictionary @@ -3314,22 +4539,40 @@ MTR_PROVISIONALLY_AVAILABLE - (NSDictionary *)readAttributeSupportedRinsesWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeSupportedRinsesWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -3359,10 +4602,17 @@ MTR_PROVISIONALLY_AVAILABLE - (NSDictionary *)readAttributeSupportedModesWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable) + readAttributeSupportedModesWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeCurrentModeWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeCurrentModeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeStartUpModeWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeStartUpModeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (void)writeAttributeStartUpModeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs MTR_PROVISIONALLY_AVAILABLE; - (void)writeAttributeStartUpModeWithValue:(NSDictionary *)dataValueDictionary @@ -3370,6 +4620,8 @@ MTR_PROVISIONALLY_AVAILABLE params:(MTRWriteParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeOnModeWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeOnModeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs MTR_PROVISIONALLY_AVAILABLE; - (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueDictionary @@ -3378,19 +4630,34 @@ MTR_PROVISIONALLY_AVAILABLE - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -3420,10 +4687,17 @@ MTR_PROVISIONALLY_AVAILABLE - (NSDictionary *)readAttributeSupportedModesWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable) + readAttributeSupportedModesWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeCurrentModeWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeCurrentModeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeStartUpModeWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeStartUpModeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (void)writeAttributeStartUpModeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs MTR_PROVISIONALLY_AVAILABLE; - (void)writeAttributeStartUpModeWithValue:(NSDictionary *)dataValueDictionary @@ -3431,6 +4705,8 @@ MTR_PROVISIONALLY_AVAILABLE params:(MTRWriteParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeOnModeWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeOnModeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs MTR_PROVISIONALLY_AVAILABLE; - (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueDictionary @@ -3439,19 +4715,34 @@ MTR_PROVISIONALLY_AVAILABLE - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -3480,36 +4771,65 @@ MTR_PROVISIONALLY_AVAILABLE - (NSDictionary *)readAttributeTemperatureSetpointWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeTemperatureSetpointWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeMinTemperatureWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeMinTemperatureWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeMaxTemperatureWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeMaxTemperatureWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeStepWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeStepWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeSelectedTemperatureLevelWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeSelectedTemperatureLevelWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeSupportedTemperatureLevelsWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeSupportedTemperatureLevelsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -3532,26 +4852,47 @@ MTR_PROVISIONALLY_AVAILABLE queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeMaskWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeMaskWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeStateWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeStateWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeSupportedWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeSupportedWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -3581,10 +4922,17 @@ MTR_PROVISIONALLY_AVAILABLE - (NSDictionary *)readAttributeSupportedModesWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable) + readAttributeSupportedModesWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeCurrentModeWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeCurrentModeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeStartUpModeWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeStartUpModeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (void)writeAttributeStartUpModeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs MTR_PROVISIONALLY_AVAILABLE; - (void)writeAttributeStartUpModeWithValue:(NSDictionary *)dataValueDictionary @@ -3592,6 +4940,8 @@ MTR_PROVISIONALLY_AVAILABLE params:(MTRWriteParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeOnModeWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeOnModeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs MTR_PROVISIONALLY_AVAILABLE; - (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueDictionary @@ -3600,19 +4950,34 @@ MTR_PROVISIONALLY_AVAILABLE - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -3635,22 +5000,39 @@ MTR_PROVISIONALLY_AVAILABLE queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAirQualityWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeAirQualityWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -3682,35 +5064,60 @@ MTR_PROVISIONALLY_AVAILABLE - (NSDictionary *)readAttributeExpressedStateWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeExpressedStateWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeSmokeStateWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeSmokeStateWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeCOStateWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeCOStateWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeBatteryAlertWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeBatteryAlertWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeDeviceMutedWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeDeviceMutedWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeTestInProgressWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeTestInProgressWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeHardwareFaultAlertWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeHardwareFaultAlertWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeEndOfServiceAlertWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeEndOfServiceAlertWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeInterconnectSmokeAlarmWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeInterconnectSmokeAlarmWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeInterconnectCOAlarmWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeInterconnectCOAlarmWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeContaminationStateWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeContaminationStateWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeSmokeSensitivityLevelWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeSmokeSensitivityLevelWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (void)writeAttributeSmokeSensitivityLevelWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs MTR_PROVISIONALLY_AVAILABLE; - (void)writeAttributeSmokeSensitivityLevelWithValue:(NSDictionary *)dataValueDictionary @@ -3718,22 +5125,39 @@ MTR_PROVISIONALLY_AVAILABLE params:(MTRWriteParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeExpiryDateWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeExpiryDateWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -3765,28 +5189,51 @@ MTR_PROVISIONALLY_AVAILABLE completion:(MTRStatusCompletion)completion MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeMaskWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeMaskWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeLatchWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeLatchWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeStateWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeStateWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeSupportedWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeSupportedWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -3847,36 +5294,65 @@ MTR_PROVISIONALLY_AVAILABLE NSError * _Nullable error))completion MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributePhaseListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributePhaseListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeCurrentPhaseWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeCurrentPhaseWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeCountdownTimeWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeCountdownTimeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeOperationalStateListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable) + readAttributeOperationalStateListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeOperationalStateWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeOperationalStateWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeOperationalErrorWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (MTROperationalStateClusterErrorStateStruct * _Nullable)readAttributeOperationalErrorWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -3936,36 +5412,65 @@ MTR_PROVISIONALLY_AVAILABLE NSError * _Nullable error))completion MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributePhaseListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributePhaseListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeCurrentPhaseWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeCurrentPhaseWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeCountdownTimeWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeCountdownTimeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeOperationalStateListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable) + readAttributeOperationalStateListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeOperationalStateWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeOperationalStateWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeOperationalErrorWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (MTRRVCOperationalStateClusterErrorStateStruct * _Nullable) + readAttributeOperationalErrorWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -3996,18 +5501,28 @@ MTR_PROVISIONALLY_AVAILABLE completion:(MTRStatusCompletion)completion MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeConditionWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeConditionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeDegradationDirectionWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeDegradationDirectionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeChangeIndicationWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeChangeIndicationWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeInPlaceIndicatorWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeInPlaceIndicatorWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeLastChangedTimeWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeLastChangedTimeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (void)writeAttributeLastChangedTimeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs MTR_PROVISIONALLY_AVAILABLE; - (void)writeAttributeLastChangedTimeWithValue:(NSDictionary *)dataValueDictionary @@ -4016,22 +5531,40 @@ MTR_PROVISIONALLY_AVAILABLE - (NSDictionary *)readAttributeReplacementProductListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable) + readAttributeReplacementProductListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -4062,18 +5595,28 @@ MTR_PROVISIONALLY_AVAILABLE completion:(MTRStatusCompletion)completion MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeConditionWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeConditionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeDegradationDirectionWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeDegradationDirectionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeChangeIndicationWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeChangeIndicationWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeInPlaceIndicatorWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeInPlaceIndicatorWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeLastChangedTimeWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeLastChangedTimeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (void)writeAttributeLastChangedTimeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs MTR_PROVISIONALLY_AVAILABLE; - (void)writeAttributeLastChangedTimeWithValue:(NSDictionary *)dataValueDictionary @@ -4082,22 +5625,40 @@ MTR_PROVISIONALLY_AVAILABLE - (NSDictionary *)readAttributeReplacementProductListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable) + readAttributeReplacementProductListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -4216,18 +5777,28 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeLockStateWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeLockStateWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeLockTypeWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeLockTypeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeActuatorEnabledWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeActuatorEnabledWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeDoorStateWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeDoorStateWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeDoorOpenEventsWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeDoorOpenEventsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeDoorOpenEventsWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -4238,6 +5809,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeDoorClosedEventsWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeDoorClosedEventsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeDoorClosedEventsWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -4248,6 +5821,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeOpenPeriodWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeOpenPeriodWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeOpenPeriodWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -4258,42 +5833,72 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeNumberOfTotalUsersSupportedWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeNumberOfTotalUsersSupportedWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeNumberOfPINUsersSupportedWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeNumberOfPINUsersSupportedWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeNumberOfRFIDUsersSupportedWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeNumberOfRFIDUsersSupportedWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeNumberOfWeekDaySchedulesSupportedPerUserWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeNumberOfWeekDaySchedulesSupportedPerUserWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeNumberOfYearDaySchedulesSupportedPerUserWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeNumberOfYearDaySchedulesSupportedPerUserWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeNumberOfHolidaySchedulesSupportedWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeNumberOfHolidaySchedulesSupportedWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeMaxPINCodeLengthWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMaxPINCodeLengthWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeMinPINCodeLengthWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMinPINCodeLengthWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeMaxRFIDCodeLengthWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMaxRFIDCodeLengthWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeMinRFIDCodeLengthWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMinRFIDCodeLengthWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeCredentialRulesSupportWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeCredentialRulesSupportWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeNumberOfCredentialsSupportedPerUserWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeNumberOfCredentialsSupportedPerUserWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeLanguageWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSString * _Nullable)readAttributeLanguageWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeLanguageWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -4304,6 +5909,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeLEDSettingsWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeLEDSettingsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeLEDSettingsWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -4314,6 +5921,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeAutoRelockTimeWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeAutoRelockTimeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeAutoRelockTimeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -4324,6 +5933,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeSoundVolumeWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeSoundVolumeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeSoundVolumeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -4334,6 +5945,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeOperatingModeWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeOperatingModeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeOperatingModeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -4344,12 +5957,18 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeSupportedOperatingModesWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeSupportedOperatingModesWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeDefaultConfigurationRegisterWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeDefaultConfigurationRegisterWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEnableLocalProgrammingWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeEnableLocalProgrammingWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeEnableLocalProgrammingWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -4360,6 +5979,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeEnableOneTouchLockingWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeEnableOneTouchLockingWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeEnableOneTouchLockingWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -4370,6 +5991,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeEnableInsideStatusLEDWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeEnableInsideStatusLEDWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeEnableInsideStatusLEDWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -4380,6 +6003,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeEnablePrivacyModeButtonWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeEnablePrivacyModeButtonWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeEnablePrivacyModeButtonWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -4390,6 +6015,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeLocalProgrammingFeaturesWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeLocalProgrammingFeaturesWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeLocalProgrammingFeaturesWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -4400,6 +6027,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeWrongCodeEntryLimitWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeWrongCodeEntryLimitWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeWrongCodeEntryLimitWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -4410,6 +6039,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeUserCodeTemporaryDisableTimeWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeUserCodeTemporaryDisableTimeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeUserCodeTemporaryDisableTimeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -4420,6 +6051,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeSendPINOverTheAirWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeSendPINOverTheAirWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeSendPINOverTheAirWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -4430,6 +6063,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeRequirePINforRemoteOperationWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRequirePINforRemoteOperationWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeRequirePINforRemoteOperationWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -4440,6 +6075,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeExpiringUserTimeoutWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeExpiringUserTimeoutWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeExpiringUserTimeoutWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -4450,20 +6087,34 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -4530,66 +6181,112 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeTypeWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeTypeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributePhysicalClosedLimitLiftWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributePhysicalClosedLimitLiftWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributePhysicalClosedLimitTiltWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributePhysicalClosedLimitTiltWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeCurrentPositionLiftWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeCurrentPositionLiftWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeCurrentPositionTiltWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeCurrentPositionTiltWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeNumberOfActuationsLiftWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeNumberOfActuationsLiftWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeNumberOfActuationsTiltWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeNumberOfActuationsTiltWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeConfigStatusWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeConfigStatusWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeCurrentPositionLiftPercentageWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeCurrentPositionLiftPercentageWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeCurrentPositionTiltPercentageWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeCurrentPositionTiltPercentageWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeOperationalStatusWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeOperationalStatusWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeTargetPositionLiftPercent100thsWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeTargetPositionLiftPercent100thsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeTargetPositionTiltPercent100thsWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeTargetPositionTiltPercent100thsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEndProductTypeWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeEndProductTypeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeCurrentPositionLiftPercent100thsWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeCurrentPositionLiftPercent100thsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeCurrentPositionTiltPercent100thsWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeCurrentPositionTiltPercent100thsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeInstalledOpenLimitLiftWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeInstalledOpenLimitLiftWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeInstalledClosedLimitLiftWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeInstalledClosedLimitLiftWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeInstalledOpenLimitTiltWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeInstalledOpenLimitTiltWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeInstalledClosedLimitTiltWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeInstalledClosedLimitTiltWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeModeWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeModeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeModeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -4600,23 +6297,39 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeSafetyStatusWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeSafetyStatusWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -4656,15 +6369,23 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeBarrierMovingStateWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeBarrierMovingStateWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeBarrierSafetyStatusWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeBarrierSafetyStatusWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeBarrierCapabilitiesWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeBarrierCapabilitiesWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeBarrierOpenEventsWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeBarrierOpenEventsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeBarrierOpenEventsWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -4675,6 +6396,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeBarrierCloseEventsWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeBarrierCloseEventsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeBarrierCloseEventsWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -4685,6 +6408,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeBarrierCommandOpenEventsWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeBarrierCommandOpenEventsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeBarrierCommandOpenEventsWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -4695,6 +6420,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeBarrierCommandCloseEventsWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeBarrierCommandCloseEventsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeBarrierCommandCloseEventsWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -4705,6 +6432,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeBarrierOpenPeriodWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeBarrierOpenPeriodWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeBarrierOpenPeriodWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -4715,6 +6444,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeBarrierClosePeriodWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeBarrierClosePeriodWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeBarrierClosePeriodWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -4725,23 +6456,39 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeBarrierPositionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeBarrierPositionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -4766,60 +6513,98 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeMaxPressureWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMaxPressureWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeMaxSpeedWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMaxSpeedWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeMaxFlowWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMaxFlowWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeMinConstPressureWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMinConstPressureWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeMaxConstPressureWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMaxConstPressureWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeMinCompPressureWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMinCompPressureWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeMaxCompPressureWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMaxCompPressureWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeMinConstSpeedWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMinConstSpeedWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeMaxConstSpeedWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMaxConstSpeedWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeMinConstFlowWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMinConstFlowWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeMaxConstFlowWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMaxConstFlowWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeMinConstTempWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMinConstTempWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeMaxConstTempWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMaxConstTempWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributePumpStatusWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributePumpStatusWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEffectiveOperationModeWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeEffectiveOperationModeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEffectiveControlModeWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeEffectiveControlModeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeCapacityWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeCapacityWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeSpeedWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeSpeedWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeLifetimeRunningHoursWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeLifetimeRunningHoursWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeLifetimeRunningHoursWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -4830,9 +6615,13 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributePowerWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributePowerWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeLifetimeEnergyConsumedWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeLifetimeEnergyConsumedWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeLifetimeEnergyConsumedWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -4843,6 +6632,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeOperationModeWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeOperationModeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeOperationModeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -4853,6 +6644,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeControlModeWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeControlModeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeControlModeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -4863,20 +6656,34 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -4926,33 +6733,53 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeLocalTemperatureWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeLocalTemperatureWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeOutdoorTemperatureWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeOutdoorTemperatureWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeOccupancyWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeOccupancyWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAbsMinHeatSetpointLimitWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeAbsMinHeatSetpointLimitWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAbsMaxHeatSetpointLimitWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeAbsMaxHeatSetpointLimitWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAbsMinCoolSetpointLimitWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeAbsMinCoolSetpointLimitWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAbsMaxCoolSetpointLimitWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeAbsMaxCoolSetpointLimitWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributePICoolingDemandWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributePICoolingDemandWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributePIHeatingDemandWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributePIHeatingDemandWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeHVACSystemTypeConfigurationWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeHVACSystemTypeConfigurationWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeHVACSystemTypeConfigurationWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -4963,6 +6790,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeLocalTemperatureCalibrationWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeLocalTemperatureCalibrationWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeLocalTemperatureCalibrationWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -4973,6 +6802,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeOccupiedCoolingSetpointWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeOccupiedCoolingSetpointWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeOccupiedCoolingSetpointWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -4983,6 +6814,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeOccupiedHeatingSetpointWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeOccupiedHeatingSetpointWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeOccupiedHeatingSetpointWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -4993,6 +6826,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeUnoccupiedCoolingSetpointWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeUnoccupiedCoolingSetpointWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeUnoccupiedCoolingSetpointWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -5003,6 +6838,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeUnoccupiedHeatingSetpointWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeUnoccupiedHeatingSetpointWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeUnoccupiedHeatingSetpointWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -5013,6 +6850,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeMinHeatSetpointLimitWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMinHeatSetpointLimitWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeMinHeatSetpointLimitWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -5023,6 +6862,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeMaxHeatSetpointLimitWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMaxHeatSetpointLimitWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeMaxHeatSetpointLimitWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -5033,6 +6874,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeMinCoolSetpointLimitWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMinCoolSetpointLimitWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeMinCoolSetpointLimitWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -5043,6 +6886,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeMaxCoolSetpointLimitWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMaxCoolSetpointLimitWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeMaxCoolSetpointLimitWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -5053,6 +6898,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeMinSetpointDeadBandWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMinSetpointDeadBandWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeMinSetpointDeadBandWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -5063,6 +6910,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeRemoteSensingWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRemoteSensingWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeRemoteSensingWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -5073,6 +6922,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeControlSequenceOfOperationWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeControlSequenceOfOperationWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeControlSequenceOfOperationWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -5083,6 +6934,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeSystemModeWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeSystemModeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeSystemModeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -5093,18 +6946,28 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeThermostatRunningModeWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeThermostatRunningModeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeStartOfWeekWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeStartOfWeekWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeNumberOfWeeklyTransitionsWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeNumberOfWeeklyTransitionsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeNumberOfDailyTransitionsWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeNumberOfDailyTransitionsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeTemperatureSetpointHoldWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeTemperatureSetpointHoldWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeTemperatureSetpointHoldWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -5115,6 +6978,9 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeTemperatureSetpointHoldDurationWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeTemperatureSetpointHoldDurationWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (void)writeAttributeTemperatureSetpointHoldDurationWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -5125,6 +6991,9 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeThermostatProgrammingOperationModeWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeThermostatProgrammingOperationModeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (void)writeAttributeThermostatProgrammingOperationModeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -5135,18 +7004,28 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeThermostatRunningStateWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeThermostatRunningStateWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeSetpointChangeSourceWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeSetpointChangeSourceWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeSetpointChangeAmountWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeSetpointChangeAmountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeSetpointChangeSourceTimestampWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeSetpointChangeSourceTimestampWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeOccupiedSetbackWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeOccupiedSetbackWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeOccupiedSetbackWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -5157,12 +7036,18 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeOccupiedSetbackMinWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeOccupiedSetbackMinWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeOccupiedSetbackMaxWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeOccupiedSetbackMaxWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeUnoccupiedSetbackWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeUnoccupiedSetbackWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeUnoccupiedSetbackWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -5173,12 +7058,18 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeUnoccupiedSetbackMinWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeUnoccupiedSetbackMinWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeUnoccupiedSetbackMaxWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeUnoccupiedSetbackMaxWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEmergencyHeatDeltaWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeEmergencyHeatDeltaWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeEmergencyHeatDeltaWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -5189,6 +7080,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeACTypeWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeACTypeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeACTypeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -5199,6 +7092,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeACCapacityWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeACCapacityWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeACCapacityWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -5209,6 +7104,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeACRefrigerantTypeWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeACRefrigerantTypeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeACRefrigerantTypeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -5219,6 +7116,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeACCompressorTypeWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeACCompressorTypeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeACCompressorTypeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -5229,6 +7128,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeACErrorCodeWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeACErrorCodeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeACErrorCodeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -5239,6 +7140,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeACLouverPositionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeACLouverPositionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeACLouverPositionWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -5249,9 +7152,13 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeACCoilTemperatureWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeACCoilTemperatureWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeACCapacityformatWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeACCapacityformatWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeACCapacityformatWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -5262,20 +7169,34 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -5305,6 +7226,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeFanModeWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFanModeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeFanModeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -5315,6 +7238,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeFanModeSequenceWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFanModeSequenceWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeFanModeSequenceWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -5325,6 +7250,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributePercentSettingWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributePercentSettingWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributePercentSettingWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -5335,12 +7262,18 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributePercentCurrentWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributePercentCurrentWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeSpeedMaxWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeSpeedMaxWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeSpeedSettingWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeSpeedSettingWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeSpeedSettingWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -5351,12 +7284,18 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeSpeedCurrentWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeSpeedCurrentWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRockSupportWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRockSupportWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRockSettingWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRockSettingWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeRockSettingWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -5367,9 +7306,13 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeWindSupportWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeWindSupportWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeWindSettingWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeWindSettingWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeWindSettingWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -5380,6 +7323,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeAirflowDirectionWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeAirflowDirectionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (void)writeAttributeAirflowDirectionWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs MTR_PROVISIONALLY_AVAILABLE; - (void)writeAttributeAirflowDirectionWithValue:(NSDictionary *)dataValueDictionary @@ -5388,20 +7333,34 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -5426,6 +7385,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeTemperatureDisplayModeWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeTemperatureDisplayModeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeTemperatureDisplayModeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -5436,6 +7397,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeKeypadLockoutWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeKeypadLockoutWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeKeypadLockoutWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -5446,6 +7409,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeScheduleProgrammingVisibilityWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeScheduleProgrammingVisibilityWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeScheduleProgrammingVisibilityWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -5456,20 +7421,34 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -5576,33 +7555,53 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeCurrentHueWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeCurrentHueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeCurrentSaturationWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeCurrentSaturationWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRemainingTimeWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRemainingTimeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeCurrentXWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeCurrentXWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeCurrentYWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeCurrentYWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeDriftCompensationWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeDriftCompensationWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeCompensationTextWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSString * _Nullable)readAttributeCompensationTextWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeColorTemperatureMiredsWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeColorTemperatureMiredsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeColorModeWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeColorModeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeOptionsWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeOptionsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeOptionsWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -5613,63 +7612,103 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeNumberOfPrimariesWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeNumberOfPrimariesWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributePrimary1XWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributePrimary1XWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributePrimary1YWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributePrimary1YWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributePrimary1IntensityWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributePrimary1IntensityWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributePrimary2XWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributePrimary2XWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributePrimary2YWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributePrimary2YWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributePrimary2IntensityWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributePrimary2IntensityWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributePrimary3XWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributePrimary3XWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributePrimary3YWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributePrimary3YWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributePrimary3IntensityWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributePrimary3IntensityWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributePrimary4XWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributePrimary4XWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributePrimary4YWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributePrimary4YWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributePrimary4IntensityWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributePrimary4IntensityWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributePrimary5XWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributePrimary5XWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributePrimary5YWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributePrimary5YWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributePrimary5IntensityWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributePrimary5IntensityWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributePrimary6XWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributePrimary6XWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributePrimary6YWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributePrimary6YWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributePrimary6IntensityWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributePrimary6IntensityWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeWhitePointXWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeWhitePointXWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeWhitePointXWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -5680,6 +7719,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeWhitePointYWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeWhitePointYWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeWhitePointYWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -5690,6 +7731,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeColorPointRXWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeColorPointRXWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeColorPointRXWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -5700,6 +7743,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeColorPointRYWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeColorPointRYWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeColorPointRYWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -5710,6 +7755,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeColorPointRIntensityWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeColorPointRIntensityWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeColorPointRIntensityWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -5720,6 +7767,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeColorPointGXWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeColorPointGXWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeColorPointGXWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -5730,6 +7779,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeColorPointGYWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeColorPointGYWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeColorPointGYWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -5740,6 +7791,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeColorPointGIntensityWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeColorPointGIntensityWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeColorPointGIntensityWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -5750,6 +7803,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeColorPointBXWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeColorPointBXWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeColorPointBXWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -5760,6 +7815,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeColorPointBYWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeColorPointBYWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeColorPointBYWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -5770,6 +7827,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeColorPointBIntensityWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeColorPointBIntensityWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeColorPointBIntensityWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -5780,39 +7839,64 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeEnhancedCurrentHueWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeEnhancedCurrentHueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEnhancedColorModeWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeEnhancedColorModeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeColorLoopActiveWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeColorLoopActiveWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeColorLoopDirectionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeColorLoopDirectionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeColorLoopTimeWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeColorLoopTimeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeColorLoopStartEnhancedHueWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeColorLoopStartEnhancedHueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeColorLoopStoredEnhancedHueWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeColorLoopStoredEnhancedHueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeColorCapabilitiesWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeColorCapabilitiesWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeColorTempPhysicalMinMiredsWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeColorTempPhysicalMinMiredsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeColorTempPhysicalMaxMiredsWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeColorTempPhysicalMaxMiredsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeCoupleColorTempToLevelMinMiredsWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeCoupleColorTempToLevelMinMiredsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeStartUpColorTemperatureMiredsWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeStartUpColorTemperatureMiredsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeStartUpColorTemperatureMiredsWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -5823,20 +7907,34 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -5861,15 +7959,23 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributePhysicalMinLevelWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributePhysicalMinLevelWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributePhysicalMaxLevelWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributePhysicalMaxLevelWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeBallastStatusWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeBallastStatusWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeMinLevelWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMinLevelWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeMinLevelWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -5880,6 +7986,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeMaxLevelWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMaxLevelWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeMaxLevelWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -5890,6 +7998,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeIntrinsicBallastFactorWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeIntrinsicBallastFactorWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeIntrinsicBallastFactorWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -5900,6 +8010,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeBallastFactorAdjustmentWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeBallastFactorAdjustmentWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeBallastFactorAdjustmentWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -5910,9 +8022,13 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeLampQuantityWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeLampQuantityWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeLampTypeWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSString * _Nullable)readAttributeLampTypeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeLampTypeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -5923,6 +8039,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeLampManufacturerWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSString * _Nullable)readAttributeLampManufacturerWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeLampManufacturerWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -5933,6 +8051,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeLampRatedHoursWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeLampRatedHoursWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeLampRatedHoursWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -5943,6 +8063,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeLampBurnHoursWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeLampBurnHoursWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeLampBurnHoursWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -5953,6 +8075,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeLampAlarmModeWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeLampAlarmModeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeLampAlarmModeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -5963,6 +8087,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeLampBurnHoursTripPointWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeLampBurnHoursTripPointWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeLampBurnHoursTripPointWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -5973,20 +8099,34 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -6011,35 +8151,59 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeToleranceWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeToleranceWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeLightSensorTypeWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeLightSensorTypeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -6064,32 +8228,54 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeToleranceWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeToleranceWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -6114,47 +8300,79 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeToleranceWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeToleranceWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeScaledValueWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeScaledValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeMinScaledValueWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMinScaledValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeMaxScaledValueWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMaxScaledValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeScaledToleranceWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeScaledToleranceWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeScaleWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeScaleWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -6179,32 +8397,54 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeToleranceWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeToleranceWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -6229,32 +8469,54 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeToleranceWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeToleranceWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -6279,15 +8541,23 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeOccupancyWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeOccupancyWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeOccupancySensorTypeWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeOccupancySensorTypeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeOccupancySensorTypeBitmapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeOccupancySensorTypeBitmapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributePIROccupiedToUnoccupiedDelayWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributePIROccupiedToUnoccupiedDelayWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributePIROccupiedToUnoccupiedDelayWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -6298,6 +8568,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributePIRUnoccupiedToOccupiedDelayWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributePIRUnoccupiedToOccupiedDelayWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributePIRUnoccupiedToOccupiedDelayWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -6308,6 +8580,9 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributePIRUnoccupiedToOccupiedThresholdWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributePIRUnoccupiedToOccupiedThresholdWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (void)writeAttributePIRUnoccupiedToOccupiedThresholdWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -6318,6 +8593,9 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeUltrasonicOccupiedToUnoccupiedDelayWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeUltrasonicOccupiedToUnoccupiedDelayWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (void)writeAttributeUltrasonicOccupiedToUnoccupiedDelayWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -6328,6 +8606,9 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeUltrasonicUnoccupiedToOccupiedDelayWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeUltrasonicUnoccupiedToOccupiedDelayWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (void)writeAttributeUltrasonicUnoccupiedToOccupiedDelayWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -6338,6 +8619,9 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeUltrasonicUnoccupiedToOccupiedThresholdWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeUltrasonicUnoccupiedToOccupiedThresholdWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (void)writeAttributeUltrasonicUnoccupiedToOccupiedThresholdWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -6348,6 +8632,9 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributePhysicalContactOccupiedToUnoccupiedDelayWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributePhysicalContactOccupiedToUnoccupiedDelayWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (void)writeAttributePhysicalContactOccupiedToUnoccupiedDelayWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -6358,6 +8645,9 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributePhysicalContactUnoccupiedToOccupiedDelayWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributePhysicalContactUnoccupiedToOccupiedDelayWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (void)writeAttributePhysicalContactUnoccupiedToOccupiedDelayWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -6368,6 +8658,9 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributePhysicalContactUnoccupiedToOccupiedThresholdWithParams: (MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributePhysicalContactUnoccupiedToOccupiedThresholdWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (void)writeAttributePhysicalContactUnoccupiedToOccupiedThresholdWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -6378,20 +8671,34 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -6415,50 +8722,89 @@ MTR_PROVISIONALLY_AVAILABLE - (NSDictionary *)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributePeakMeasuredValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributePeakMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributePeakMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributePeakMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAverageMeasuredValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeAverageMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAverageMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeAverageMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeUncertaintyWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeUncertaintyWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeMeasurementUnitWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeMeasurementUnitWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeMeasurementMediumWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeMeasurementMediumWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeLevelValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeLevelValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -6482,50 +8828,89 @@ MTR_PROVISIONALLY_AVAILABLE - (NSDictionary *)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributePeakMeasuredValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributePeakMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributePeakMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributePeakMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAverageMeasuredValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeAverageMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAverageMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeAverageMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeUncertaintyWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeUncertaintyWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeMeasurementUnitWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeMeasurementUnitWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeMeasurementMediumWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeMeasurementMediumWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeLevelValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeLevelValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -6549,50 +8934,89 @@ MTR_PROVISIONALLY_AVAILABLE - (NSDictionary *)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributePeakMeasuredValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributePeakMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributePeakMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributePeakMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAverageMeasuredValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeAverageMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAverageMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeAverageMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeUncertaintyWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeUncertaintyWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeMeasurementUnitWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeMeasurementUnitWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeMeasurementMediumWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeMeasurementMediumWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeLevelValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeLevelValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -6616,50 +9040,89 @@ MTR_PROVISIONALLY_AVAILABLE - (NSDictionary *)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributePeakMeasuredValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributePeakMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributePeakMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributePeakMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAverageMeasuredValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeAverageMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAverageMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeAverageMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeUncertaintyWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeUncertaintyWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeMeasurementUnitWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeMeasurementUnitWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeMeasurementMediumWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeMeasurementMediumWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeLevelValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeLevelValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -6683,50 +9146,89 @@ MTR_PROVISIONALLY_AVAILABLE - (NSDictionary *)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributePeakMeasuredValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributePeakMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributePeakMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributePeakMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAverageMeasuredValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeAverageMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAverageMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeAverageMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeUncertaintyWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeUncertaintyWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeMeasurementUnitWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeMeasurementUnitWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeMeasurementMediumWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeMeasurementMediumWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeLevelValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeLevelValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -6750,50 +9252,89 @@ MTR_PROVISIONALLY_AVAILABLE - (NSDictionary *)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributePeakMeasuredValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributePeakMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributePeakMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributePeakMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAverageMeasuredValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeAverageMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAverageMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeAverageMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeUncertaintyWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeUncertaintyWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeMeasurementUnitWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeMeasurementUnitWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeMeasurementMediumWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeMeasurementMediumWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeLevelValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeLevelValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -6817,50 +9358,89 @@ MTR_PROVISIONALLY_AVAILABLE - (NSDictionary *)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributePeakMeasuredValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributePeakMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributePeakMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributePeakMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAverageMeasuredValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeAverageMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAverageMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeAverageMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeUncertaintyWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeUncertaintyWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeMeasurementUnitWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeMeasurementUnitWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeMeasurementMediumWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeMeasurementMediumWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeLevelValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeLevelValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -6884,50 +9464,89 @@ MTR_PROVISIONALLY_AVAILABLE - (NSDictionary *)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributePeakMeasuredValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributePeakMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributePeakMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributePeakMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAverageMeasuredValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeAverageMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAverageMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeAverageMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeUncertaintyWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeUncertaintyWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeMeasurementUnitWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeMeasurementUnitWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeMeasurementMediumWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeMeasurementMediumWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeLevelValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeLevelValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -6951,50 +9570,89 @@ MTR_PROVISIONALLY_AVAILABLE - (NSDictionary *)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributePeakMeasuredValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributePeakMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributePeakMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributePeakMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAverageMeasuredValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeAverageMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAverageMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeAverageMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeUncertaintyWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeUncertaintyWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeMeasurementUnitWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeMeasurementUnitWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeMeasurementMediumWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeMeasurementMediumWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeLevelValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeLevelValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -7018,50 +9676,89 @@ MTR_PROVISIONALLY_AVAILABLE - (NSDictionary *)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributePeakMeasuredValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributePeakMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributePeakMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributePeakMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAverageMeasuredValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeAverageMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAverageMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeAverageMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeUncertaintyWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeUncertaintyWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeMeasurementUnitWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeMeasurementUnitWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeMeasurementMediumWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeMeasurementMediumWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeLevelValueWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeLevelValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -7086,23 +9783,39 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeMACAddressWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSString * _Nullable)readAttributeMACAddressWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -7143,29 +9856,52 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeChannelListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeChannelListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeLineupWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (MTRChannelClusterLineupInfoStruct * _Nullable)readAttributeLineupWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeCurrentChannelWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (MTRChannelClusterChannelInfoStruct * _Nullable)readAttributeCurrentChannelWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -7197,26 +9933,45 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeTargetListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable) + readAttributeTargetListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeCurrentTargetWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeCurrentTargetWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -7343,41 +10098,70 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeCurrentStateWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeCurrentStateWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeStartTimeWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeStartTimeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeDurationWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeDurationWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeSampledPositionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (MTRMediaPlaybackClusterPlaybackPositionStruct * _Nullable) + readAttributeSampledPositionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributePlaybackSpeedWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributePlaybackSpeedWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeSeekRangeEndWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeSeekRangeEndWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeSeekRangeStartWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeSeekRangeStartWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -7427,26 +10211,45 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeInputListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeInputListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeCurrentInputWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeCurrentInputWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -7479,20 +10282,34 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -7523,20 +10340,34 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -7574,9 +10405,13 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeAcceptHeaderWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptHeaderWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeSupportedStreamingProtocolsWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeSupportedStreamingProtocolsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeSupportedStreamingProtocolsWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -7587,20 +10422,34 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -7634,26 +10483,45 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeOutputListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeOutputListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeCurrentOutputWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeCurrentOutputWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -7695,9 +10563,14 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeCatalogListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeCatalogListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeCurrentAppWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (MTRApplicationLauncherClusterApplicationEPStruct * _Nullable)readAttributeCurrentAppWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (void)writeAttributeCurrentAppWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -7708,20 +10581,34 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -7747,44 +10634,75 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeVendorNameWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSString * _Nullable)readAttributeVendorNameWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeVendorIDWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeVendorIDWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeApplicationNameWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSString * _Nullable)readAttributeApplicationNameWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeProductIDWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeProductIDWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeApplicationWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (MTRApplicationBasicClusterApplicationStruct * _Nullable)readAttributeApplicationWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeStatusWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeStatusWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeApplicationVersionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSString * _Nullable)readAttributeApplicationVersionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAllowedVendorListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAllowedVendorListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -7829,20 +10747,34 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -7883,180 +10815,306 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeMeasurementTypeWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMeasurementTypeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeDcVoltageWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeDcVoltageWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeDcVoltageMinWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeDcVoltageMinWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeDcVoltageMaxWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeDcVoltageMaxWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeDcCurrentWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeDcCurrentWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeDcCurrentMinWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeDcCurrentMinWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeDcCurrentMaxWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeDcCurrentMaxWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeDcPowerWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeDcPowerWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeDcPowerMinWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeDcPowerMinWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeDcPowerMaxWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeDcPowerMaxWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeDcVoltageMultiplierWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeDcVoltageMultiplierWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeDcVoltageDivisorWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeDcVoltageDivisorWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeDcCurrentMultiplierWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeDcCurrentMultiplierWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeDcCurrentDivisorWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeDcCurrentDivisorWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeDcPowerMultiplierWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeDcPowerMultiplierWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeDcPowerDivisorWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeDcPowerDivisorWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcFrequencyWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeAcFrequencyWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcFrequencyMinWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeAcFrequencyMinWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcFrequencyMaxWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeAcFrequencyMaxWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeNeutralCurrentWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeNeutralCurrentWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeTotalActivePowerWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeTotalActivePowerWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeTotalReactivePowerWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeTotalReactivePowerWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeTotalApparentPowerWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeTotalApparentPowerWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeMeasured1stHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMeasured1stHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeMeasured3rdHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMeasured3rdHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeMeasured5thHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMeasured5thHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeMeasured7thHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMeasured7thHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeMeasured9thHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMeasured9thHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeMeasured11thHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMeasured11thHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeMeasuredPhase1stHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMeasuredPhase1stHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeMeasuredPhase3rdHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMeasuredPhase3rdHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeMeasuredPhase5thHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMeasuredPhase5thHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeMeasuredPhase7thHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMeasuredPhase7thHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeMeasuredPhase9thHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMeasuredPhase9thHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeMeasuredPhase11thHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeMeasuredPhase11thHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcFrequencyMultiplierWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeAcFrequencyMultiplierWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcFrequencyDivisorWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeAcFrequencyDivisorWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributePowerMultiplierWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributePowerMultiplierWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributePowerDivisorWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributePowerDivisorWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeHarmonicCurrentMultiplierWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeHarmonicCurrentMultiplierWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributePhaseHarmonicCurrentMultiplierWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributePhaseHarmonicCurrentMultiplierWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeInstantaneousVoltageWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeInstantaneousVoltageWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeInstantaneousLineCurrentWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeInstantaneousLineCurrentWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeInstantaneousActiveCurrentWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeInstantaneousActiveCurrentWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeInstantaneousReactiveCurrentWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeInstantaneousReactiveCurrentWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeInstantaneousPowerWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeInstantaneousPowerWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRmsVoltageWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRmsVoltageWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRmsVoltageMinWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRmsVoltageMinWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRmsVoltageMaxWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRmsVoltageMaxWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRmsCurrentWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRmsCurrentWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRmsCurrentMinWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRmsCurrentMinWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRmsCurrentMaxWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRmsCurrentMaxWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeActivePowerWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeActivePowerWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeActivePowerMinWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeActivePowerMinWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeActivePowerMaxWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeActivePowerMaxWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeReactivePowerWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeReactivePowerWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeApparentPowerWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeApparentPowerWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributePowerFactorWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributePowerFactorWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAverageRmsVoltageMeasurementPeriodWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeAverageRmsVoltageMeasurementPeriodWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (void)writeAttributeAverageRmsVoltageMeasurementPeriodWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -8067,6 +11125,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeAverageRmsUnderVoltageCounterWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeAverageRmsUnderVoltageCounterWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeAverageRmsUnderVoltageCounterWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -8077,6 +11137,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeRmsExtremeOverVoltagePeriodWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRmsExtremeOverVoltagePeriodWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeRmsExtremeOverVoltagePeriodWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -8087,6 +11149,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeRmsExtremeUnderVoltagePeriodWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRmsExtremeUnderVoltagePeriodWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeRmsExtremeUnderVoltagePeriodWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -8097,6 +11161,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeRmsVoltageSagPeriodWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRmsVoltageSagPeriodWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeRmsVoltageSagPeriodWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -8107,6 +11173,8 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeRmsVoltageSwellPeriodWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRmsVoltageSwellPeriodWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeRmsVoltageSwellPeriodWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -8117,24 +11185,38 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeAcVoltageMultiplierWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeAcVoltageMultiplierWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcVoltageDivisorWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeAcVoltageDivisorWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcCurrentMultiplierWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeAcCurrentMultiplierWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcCurrentDivisorWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeAcCurrentDivisorWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcPowerMultiplierWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeAcPowerMultiplierWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcPowerDivisorWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeAcPowerDivisorWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeOverloadAlarmsMaskWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeOverloadAlarmsMaskWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeOverloadAlarmsMaskWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -8145,12 +11227,18 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeVoltageOverloadWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeVoltageOverloadWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeCurrentOverloadWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeCurrentOverloadWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcOverloadAlarmsMaskWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeAcOverloadAlarmsMaskWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -8161,182 +11249,314 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) - (NSDictionary *)readAttributeAcVoltageOverloadWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeAcVoltageOverloadWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcCurrentOverloadWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeAcCurrentOverloadWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcActivePowerOverloadWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeAcActivePowerOverloadWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcReactivePowerOverloadWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeAcReactivePowerOverloadWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAverageRmsOverVoltageWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeAverageRmsOverVoltageWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAverageRmsUnderVoltageWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeAverageRmsUnderVoltageWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRmsExtremeOverVoltageWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRmsExtremeOverVoltageWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRmsExtremeUnderVoltageWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRmsExtremeUnderVoltageWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRmsVoltageSagWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRmsVoltageSagWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRmsVoltageSwellWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRmsVoltageSwellWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeLineCurrentPhaseBWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeLineCurrentPhaseBWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeActiveCurrentPhaseBWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeActiveCurrentPhaseBWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeReactiveCurrentPhaseBWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeReactiveCurrentPhaseBWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRmsVoltagePhaseBWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRmsVoltagePhaseBWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRmsVoltageMinPhaseBWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRmsVoltageMinPhaseBWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRmsVoltageMaxPhaseBWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRmsVoltageMaxPhaseBWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRmsCurrentPhaseBWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRmsCurrentPhaseBWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRmsCurrentMinPhaseBWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRmsCurrentMinPhaseBWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRmsCurrentMaxPhaseBWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRmsCurrentMaxPhaseBWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeActivePowerPhaseBWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeActivePowerPhaseBWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeActivePowerMinPhaseBWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeActivePowerMinPhaseBWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeActivePowerMaxPhaseBWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeActivePowerMaxPhaseBWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeReactivePowerPhaseBWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeReactivePowerPhaseBWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeApparentPowerPhaseBWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeApparentPowerPhaseBWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributePowerFactorPhaseBWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributePowerFactorPhaseBWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAverageRmsVoltageMeasurementPeriodPhaseBWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeAverageRmsVoltageMeasurementPeriodPhaseBWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAverageRmsOverVoltageCounterPhaseBWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeAverageRmsOverVoltageCounterPhaseBWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAverageRmsUnderVoltageCounterPhaseBWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeAverageRmsUnderVoltageCounterPhaseBWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRmsExtremeOverVoltagePeriodPhaseBWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRmsExtremeOverVoltagePeriodPhaseBWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRmsExtremeUnderVoltagePeriodPhaseBWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRmsExtremeUnderVoltagePeriodPhaseBWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRmsVoltageSagPeriodPhaseBWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRmsVoltageSagPeriodPhaseBWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRmsVoltageSwellPeriodPhaseBWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRmsVoltageSwellPeriodPhaseBWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeLineCurrentPhaseCWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeLineCurrentPhaseCWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeActiveCurrentPhaseCWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeActiveCurrentPhaseCWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeReactiveCurrentPhaseCWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeReactiveCurrentPhaseCWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRmsVoltagePhaseCWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRmsVoltagePhaseCWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRmsVoltageMinPhaseCWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRmsVoltageMinPhaseCWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRmsVoltageMaxPhaseCWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRmsVoltageMaxPhaseCWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRmsCurrentPhaseCWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRmsCurrentPhaseCWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRmsCurrentMinPhaseCWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRmsCurrentMinPhaseCWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRmsCurrentMaxPhaseCWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRmsCurrentMaxPhaseCWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeActivePowerPhaseCWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeActivePowerPhaseCWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeActivePowerMinPhaseCWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeActivePowerMinPhaseCWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeActivePowerMaxPhaseCWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeActivePowerMaxPhaseCWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeReactivePowerPhaseCWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeReactivePowerPhaseCWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeApparentPowerPhaseCWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeApparentPowerPhaseCWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributePowerFactorPhaseCWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributePowerFactorPhaseCWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAverageRmsVoltageMeasurementPeriodPhaseCWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeAverageRmsVoltageMeasurementPeriodPhaseCWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAverageRmsOverVoltageCounterPhaseCWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeAverageRmsOverVoltageCounterPhaseCWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAverageRmsUnderVoltageCounterPhaseCWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeAverageRmsUnderVoltageCounterPhaseCWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRmsExtremeOverVoltagePeriodPhaseCWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRmsExtremeOverVoltagePeriodPhaseCWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRmsExtremeUnderVoltagePeriodPhaseCWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRmsExtremeUnderVoltagePeriodPhaseCWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRmsVoltageSagPeriodPhaseCWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRmsVoltageSagPeriodPhaseCWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeRmsVoltageSwellPeriodPhaseCWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeRmsVoltageSwellPeriodPhaseCWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -8518,6 +11738,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeBooleanWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeBooleanWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeBooleanWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -8528,6 +11750,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeBitmap8WithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeBitmap8WithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeBitmap8WithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -8538,6 +11762,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeBitmap16WithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeBitmap16WithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeBitmap16WithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -8548,6 +11774,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeBitmap32WithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeBitmap32WithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeBitmap32WithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -8558,6 +11786,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeBitmap64WithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeBitmap64WithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeBitmap64WithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -8568,6 +11798,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeInt8uWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeInt8uWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeInt8uWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -8578,6 +11810,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeInt16uWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeInt16uWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeInt16uWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -8588,6 +11822,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeInt24uWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeInt24uWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeInt24uWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -8598,6 +11834,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeInt32uWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeInt32uWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeInt32uWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -8608,6 +11846,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeInt40uWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeInt40uWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeInt40uWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -8618,6 +11858,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeInt48uWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeInt48uWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeInt48uWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -8628,6 +11870,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeInt56uWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeInt56uWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeInt56uWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -8638,6 +11882,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeInt64uWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeInt64uWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeInt64uWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -8648,6 +11894,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeInt8sWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeInt8sWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeInt8sWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -8658,6 +11906,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeInt16sWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeInt16sWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeInt16sWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -8668,6 +11918,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeInt24sWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeInt24sWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeInt24sWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -8678,6 +11930,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeInt32sWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeInt32sWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeInt32sWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -8688,6 +11942,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeInt40sWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeInt40sWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeInt40sWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -8698,6 +11954,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeInt48sWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeInt48sWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeInt48sWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -8708,6 +11966,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeInt56sWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeInt56sWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeInt56sWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -8718,6 +11978,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeInt64sWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeInt64sWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeInt64sWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -8728,6 +11990,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeEnum8WithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeEnum8WithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeEnum8WithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -8738,6 +12002,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeEnum16WithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeEnum16WithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeEnum16WithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -8748,6 +12014,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeFloatSingleWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeFloatSingleWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeFloatSingleWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -8758,6 +12026,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeFloatDoubleWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeFloatDoubleWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeFloatDoubleWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -8768,6 +12038,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeOctetStringWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSData * _Nullable)readAttributeOctetStringWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeOctetStringWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -8778,6 +12050,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeListInt8uWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSArray * _Nullable)readAttributeListInt8uWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeListInt8uWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -8788,6 +12062,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeListOctetStringWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSArray * _Nullable)readAttributeListOctetStringWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeListOctetStringWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -8798,6 +12074,9 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeListStructOctetStringWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSArray * _Nullable) + readAttributeListStructOctetStringWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeListStructOctetStringWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -8808,6 +12087,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeLongOctetStringWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSData * _Nullable)readAttributeLongOctetStringWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeLongOctetStringWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -8818,6 +12099,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeCharStringWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSString * _Nullable)readAttributeCharStringWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeCharStringWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -8828,6 +12111,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeLongCharStringWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSString * _Nullable)readAttributeLongCharStringWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeLongCharStringWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -8838,6 +12123,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeEpochUsWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeEpochUsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeEpochUsWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -8848,6 +12135,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeEpochSWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeEpochSWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeEpochSWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -8858,6 +12147,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeVendorIdWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeVendorIdWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeVendorIdWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -8868,6 +12159,9 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeListNullablesAndOptionalsStructWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSArray * _Nullable) + readAttributeListNullablesAndOptionalsStructWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeListNullablesAndOptionalsStructWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -8878,6 +12172,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeEnumAttrWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeEnumAttrWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeEnumAttrWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -8888,6 +12184,9 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeStructAttrWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (MTRUnitTestingClusterSimpleStruct * _Nullable)readAttributeStructAttrWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (void)writeAttributeStructAttrWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -8898,6 +12197,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeRangeRestrictedInt8uWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeRangeRestrictedInt8uWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeRangeRestrictedInt8uWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -8908,6 +12209,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeRangeRestrictedInt8sWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeRangeRestrictedInt8sWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeRangeRestrictedInt8sWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -8918,6 +12221,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeRangeRestrictedInt16uWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeRangeRestrictedInt16uWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeRangeRestrictedInt16uWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -8928,6 +12233,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeRangeRestrictedInt16sWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeRangeRestrictedInt16sWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeRangeRestrictedInt16sWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -8938,6 +12245,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeListLongOctetStringWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSArray * _Nullable)readAttributeListLongOctetStringWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeListLongOctetStringWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -8948,6 +12257,9 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeListFabricScopedWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSArray * _Nullable) + readAttributeListFabricScopedWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeListFabricScopedWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -8958,6 +12270,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeTimedWriteBooleanWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeTimedWriteBooleanWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeTimedWriteBooleanWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -8968,6 +12282,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeGeneralErrorBooleanWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeGeneralErrorBooleanWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeGeneralErrorBooleanWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -8978,6 +12294,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeClusterErrorBooleanWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeClusterErrorBooleanWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeClusterErrorBooleanWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -8988,6 +12306,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeUnsupportedWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeUnsupportedWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeUnsupportedWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -8998,6 +12318,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeNullableBooleanWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeNullableBooleanWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeNullableBooleanWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -9008,6 +12330,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeNullableBitmap8WithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeNullableBitmap8WithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeNullableBitmap8WithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -9018,6 +12342,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeNullableBitmap16WithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeNullableBitmap16WithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeNullableBitmap16WithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -9028,6 +12354,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeNullableBitmap32WithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeNullableBitmap32WithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeNullableBitmap32WithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -9038,6 +12366,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeNullableBitmap64WithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeNullableBitmap64WithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeNullableBitmap64WithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -9048,6 +12378,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeNullableInt8uWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeNullableInt8uWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeNullableInt8uWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -9058,6 +12390,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeNullableInt16uWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeNullableInt16uWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeNullableInt16uWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -9068,6 +12402,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeNullableInt24uWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeNullableInt24uWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeNullableInt24uWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -9078,6 +12414,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeNullableInt32uWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeNullableInt32uWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeNullableInt32uWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -9088,6 +12426,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeNullableInt40uWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeNullableInt40uWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeNullableInt40uWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -9098,6 +12438,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeNullableInt48uWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeNullableInt48uWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeNullableInt48uWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -9108,6 +12450,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeNullableInt56uWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeNullableInt56uWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeNullableInt56uWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -9118,6 +12462,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeNullableInt64uWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeNullableInt64uWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeNullableInt64uWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -9128,6 +12474,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeNullableInt8sWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeNullableInt8sWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeNullableInt8sWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -9138,6 +12486,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeNullableInt16sWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeNullableInt16sWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeNullableInt16sWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -9148,6 +12498,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeNullableInt24sWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeNullableInt24sWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeNullableInt24sWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -9158,6 +12510,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeNullableInt32sWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeNullableInt32sWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeNullableInt32sWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -9168,6 +12522,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeNullableInt40sWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeNullableInt40sWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeNullableInt40sWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -9178,6 +12534,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeNullableInt48sWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeNullableInt48sWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeNullableInt48sWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -9188,6 +12546,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeNullableInt56sWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeNullableInt56sWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeNullableInt56sWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -9198,6 +12558,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeNullableInt64sWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeNullableInt64sWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeNullableInt64sWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -9208,6 +12570,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeNullableEnum8WithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeNullableEnum8WithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeNullableEnum8WithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -9218,6 +12582,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeNullableEnum16WithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeNullableEnum16WithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeNullableEnum16WithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -9228,6 +12594,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeNullableFloatSingleWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeNullableFloatSingleWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeNullableFloatSingleWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -9238,6 +12606,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeNullableFloatDoubleWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeNullableFloatDoubleWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeNullableFloatDoubleWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -9248,6 +12618,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeNullableOctetStringWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSData * _Nullable)readAttributeNullableOctetStringWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeNullableOctetStringWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -9258,6 +12630,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeNullableCharStringWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSString * _Nullable)readAttributeNullableCharStringWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeNullableCharStringWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -9268,6 +12642,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeNullableEnumAttrWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeNullableEnumAttrWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeNullableEnumAttrWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -9278,6 +12654,9 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeNullableStructWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (MTRUnitTestingClusterSimpleStruct * _Nullable)readAttributeNullableStructWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (void)writeAttributeNullableStructWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -9288,6 +12667,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeNullableRangeRestrictedInt8uWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeNullableRangeRestrictedInt8uWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeNullableRangeRestrictedInt8uWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -9298,6 +12679,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeNullableRangeRestrictedInt8sWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeNullableRangeRestrictedInt8sWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeNullableRangeRestrictedInt8sWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -9308,6 +12691,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeNullableRangeRestrictedInt16uWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeNullableRangeRestrictedInt16uWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeNullableRangeRestrictedInt16uWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -9318,6 +12703,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeNullableRangeRestrictedInt16sWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeNullableRangeRestrictedInt16sWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeNullableRangeRestrictedInt16sWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -9328,6 +12715,8 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeWriteOnlyInt8uWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeWriteOnlyInt8uWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (void)writeAttributeWriteOnlyInt8uWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); @@ -9338,20 +12727,34 @@ API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)) - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params API_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4)); +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_NEWLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -9387,6 +12790,8 @@ MTR_PROVISIONALLY_AVAILABLE NSError * _Nullable error))completion MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeFlipFlopWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeFlipFlopWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (void)writeAttributeFlipFlopWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs MTR_PROVISIONALLY_AVAILABLE; - (void)writeAttributeFlipFlopWithValue:(NSDictionary *)dataValueDictionary @@ -9395,19 +12800,34 @@ MTR_PROVISIONALLY_AVAILABLE - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error + MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params MTR_PROVISIONALLY_AVAILABLE; +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error MTR_PROVISIONALLY_AVAILABLE; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRClusters.mm b/src/darwin/Framework/CHIP/zap-generated/MTRClusters.mm index d7a137da21ed48..7e856bbe056e67 100644 --- a/src/darwin/Framework/CHIP/zap-generated/MTRClusters.mm +++ b/src/darwin/Framework/CHIP/zap-generated/MTRClusters.mm @@ -164,6 +164,16 @@ - (void)triggerEffectWithParams:(MTRIdentifyClusterTriggerEffectParams *)params params:params]; } +- (NSNumber * _Nullable)readAttributeIdentifyTimeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeIdentifyID) + attributeID:@(MTRAttributeIDTypeClusterIdentifyAttributeIdentifyTimeID) + params:params + error:error]; +} + - (void)writeAttributeIdentifyTimeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -191,6 +201,16 @@ - (void)writeAttributeIdentifyTimeWithValue:(NSDictionary *)data params:params]; } +- (NSNumber * _Nullable)readAttributeIdentifyTypeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeIdentifyID) + attributeID:@(MTRAttributeIDTypeClusterIdentifyAttributeIdentifyTypeID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -199,6 +219,16 @@ - (void)writeAttributeIdentifyTimeWithValue:(NSDictionary *)data params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeIdentifyID) + attributeID:@(MTRAttributeIDTypeClusterIdentifyAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -207,6 +237,16 @@ - (void)writeAttributeIdentifyTimeWithValue:(NSDictionary *)data params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeIdentifyID) + attributeID:@(MTRAttributeIDTypeClusterIdentifyAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -215,6 +255,16 @@ - (void)writeAttributeIdentifyTimeWithValue:(NSDictionary *)data params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeIdentifyID) + attributeID:@(MTRAttributeIDTypeClusterIdentifyAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -223,6 +273,16 @@ - (void)writeAttributeIdentifyTimeWithValue:(NSDictionary *)data params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeIdentifyID) + attributeID:@(MTRAttributeIDTypeClusterIdentifyAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -231,6 +291,15 @@ - (void)writeAttributeIdentifyTimeWithValue:(NSDictionary *)data params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeIdentifyID) + attributeID:@(MTRAttributeIDTypeClusterIdentifyAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -239,6 +308,16 @@ - (void)writeAttributeIdentifyTimeWithValue:(NSDictionary *)data params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeIdentifyID) + attributeID:@(MTRAttributeIDTypeClusterIdentifyAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterIdentify (Deprecated) @@ -545,6 +624,16 @@ - (void)addGroupIfIdentifyingWithParams:(MTRGroupsClusterAddGroupIfIdentifyingPa params:params]; } +- (NSNumber * _Nullable)readAttributeNameSupportWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeGroupsID) + attributeID:@(MTRAttributeIDTypeClusterGroupsAttributeNameSupportID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -553,6 +642,16 @@ - (void)addGroupIfIdentifyingWithParams:(MTRGroupsClusterAddGroupIfIdentifyingPa params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeGroupsID) + attributeID:@(MTRAttributeIDTypeClusterGroupsAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -561,6 +660,16 @@ - (void)addGroupIfIdentifyingWithParams:(MTRGroupsClusterAddGroupIfIdentifyingPa params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeGroupsID) + attributeID:@(MTRAttributeIDTypeClusterGroupsAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -569,6 +678,16 @@ - (void)addGroupIfIdentifyingWithParams:(MTRGroupsClusterAddGroupIfIdentifyingPa params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeGroupsID) + attributeID:@(MTRAttributeIDTypeClusterGroupsAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -577,6 +696,16 @@ - (void)addGroupIfIdentifyingWithParams:(MTRGroupsClusterAddGroupIfIdentifyingPa params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeGroupsID) + attributeID:@(MTRAttributeIDTypeClusterGroupsAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -585,6 +714,15 @@ - (void)addGroupIfIdentifyingWithParams:(MTRGroupsClusterAddGroupIfIdentifyingPa params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeGroupsID) + attributeID:@(MTRAttributeIDTypeClusterGroupsAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -593,6 +731,16 @@ - (void)addGroupIfIdentifyingWithParams:(MTRGroupsClusterAddGroupIfIdentifyingPa params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeGroupsID) + attributeID:@(MTRAttributeIDTypeClusterGroupsAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterGroups (Deprecated) @@ -1124,6 +1272,15 @@ - (void)copySceneWithParams:(MTRScenesClusterCopySceneParams *)params params:params]; } +- (NSNumber * _Nullable)readAttributeSceneCountWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeScenesID) + attributeID:@(MTRAttributeIDTypeClusterScenesAttributeSceneCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeCurrentSceneWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -1132,6 +1289,16 @@ - (void)copySceneWithParams:(MTRScenesClusterCopySceneParams *)params params:params]; } +- (NSNumber * _Nullable)readAttributeCurrentSceneWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeScenesID) + attributeID:@(MTRAttributeIDTypeClusterScenesAttributeCurrentSceneID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeCurrentGroupWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -1140,6 +1307,16 @@ - (void)copySceneWithParams:(MTRScenesClusterCopySceneParams *)params params:params]; } +- (NSNumber * _Nullable)readAttributeCurrentGroupWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeScenesID) + attributeID:@(MTRAttributeIDTypeClusterScenesAttributeCurrentGroupID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeSceneValidWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -1148,6 +1325,15 @@ - (void)copySceneWithParams:(MTRScenesClusterCopySceneParams *)params params:params]; } +- (NSNumber * _Nullable)readAttributeSceneValidWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeScenesID) + attributeID:@(MTRAttributeIDTypeClusterScenesAttributeSceneValidID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeNameSupportWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -1156,6 +1342,16 @@ - (void)copySceneWithParams:(MTRScenesClusterCopySceneParams *)params params:params]; } +- (NSNumber * _Nullable)readAttributeNameSupportWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeScenesID) + attributeID:@(MTRAttributeIDTypeClusterScenesAttributeNameSupportID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeLastConfiguredByWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -1164,6 +1360,16 @@ - (void)copySceneWithParams:(MTRScenesClusterCopySceneParams *)params params:params]; } +- (NSNumber * _Nullable)readAttributeLastConfiguredByWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeScenesID) + attributeID:@(MTRAttributeIDTypeClusterScenesAttributeLastConfiguredByID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeSceneTableSizeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -1172,6 +1378,16 @@ - (void)copySceneWithParams:(MTRScenesClusterCopySceneParams *)params params:params]; } +- (NSNumber * _Nullable)readAttributeSceneTableSizeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeScenesID) + attributeID:@(MTRAttributeIDTypeClusterScenesAttributeSceneTableSizeID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeRemainingCapacityWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -1180,6 +1396,16 @@ - (void)copySceneWithParams:(MTRScenesClusterCopySceneParams *)params params:params]; } +- (NSNumber * _Nullable)readAttributeRemainingCapacityWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeScenesID) + attributeID:@(MTRAttributeIDTypeClusterScenesAttributeRemainingCapacityID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -1188,6 +1414,16 @@ - (void)copySceneWithParams:(MTRScenesClusterCopySceneParams *)params params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeScenesID) + attributeID:@(MTRAttributeIDTypeClusterScenesAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -1196,6 +1432,16 @@ - (void)copySceneWithParams:(MTRScenesClusterCopySceneParams *)params params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeScenesID) + attributeID:@(MTRAttributeIDTypeClusterScenesAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -1204,6 +1450,16 @@ - (void)copySceneWithParams:(MTRScenesClusterCopySceneParams *)params params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeScenesID) + attributeID:@(MTRAttributeIDTypeClusterScenesAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -1212,6 +1468,16 @@ - (void)copySceneWithParams:(MTRScenesClusterCopySceneParams *)params params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeScenesID) + attributeID:@(MTRAttributeIDTypeClusterScenesAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -1220,6 +1486,15 @@ - (void)copySceneWithParams:(MTRScenesClusterCopySceneParams *)params params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeScenesID) + attributeID:@(MTRAttributeIDTypeClusterScenesAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -1228,6 +1503,16 @@ - (void)copySceneWithParams:(MTRScenesClusterCopySceneParams *)params params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeScenesID) + attributeID:@(MTRAttributeIDTypeClusterScenesAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterScenes (Deprecated) @@ -1666,6 +1951,15 @@ - (void)onWithTimedOffWithParams:(MTROnOffClusterOnWithTimedOffParams *)params params:params]; } +- (NSNumber * _Nullable)readAttributeOnOffWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOnOffID) + attributeID:@(MTRAttributeIDTypeClusterOnOffAttributeOnOffID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGlobalSceneControlWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -1674,6 +1968,16 @@ - (void)onWithTimedOffWithParams:(MTROnOffClusterOnWithTimedOffParams *)params params:params]; } +- (NSNumber * _Nullable)readAttributeGlobalSceneControlWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOnOffID) + attributeID:@(MTRAttributeIDTypeClusterOnOffAttributeGlobalSceneControlID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeOnTimeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -1682,6 +1986,15 @@ - (void)onWithTimedOffWithParams:(MTROnOffClusterOnWithTimedOffParams *)params params:params]; } +- (NSNumber * _Nullable)readAttributeOnTimeWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOnOffID) + attributeID:@(MTRAttributeIDTypeClusterOnOffAttributeOnTimeID) + params:params + error:error]; +} + - (void)writeAttributeOnTimeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -1709,6 +2022,16 @@ - (void)writeAttributeOnTimeWithValue:(NSDictionary *)dataValueD params:params]; } +- (NSNumber * _Nullable)readAttributeOffWaitTimeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOnOffID) + attributeID:@(MTRAttributeIDTypeClusterOnOffAttributeOffWaitTimeID) + params:params + error:error]; +} + - (void)writeAttributeOffWaitTimeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -1736,6 +2059,16 @@ - (void)writeAttributeOffWaitTimeWithValue:(NSDictionary *)dataV params:params]; } +- (NSNumber * _Nullable)readAttributeStartUpOnOffWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOnOffID) + attributeID:@(MTRAttributeIDTypeClusterOnOffAttributeStartUpOnOffID) + params:params + error:error]; +} + - (void)writeAttributeStartUpOnOffWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -1763,6 +2096,16 @@ - (void)writeAttributeStartUpOnOffWithValue:(NSDictionary *)data params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOnOffID) + attributeID:@(MTRAttributeIDTypeClusterOnOffAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -1771,6 +2114,16 @@ - (void)writeAttributeStartUpOnOffWithValue:(NSDictionary *)data params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOnOffID) + attributeID:@(MTRAttributeIDTypeClusterOnOffAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -1779,6 +2132,16 @@ - (void)writeAttributeStartUpOnOffWithValue:(NSDictionary *)data params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOnOffID) + attributeID:@(MTRAttributeIDTypeClusterOnOffAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -1787,6 +2150,16 @@ - (void)writeAttributeStartUpOnOffWithValue:(NSDictionary *)data params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOnOffID) + attributeID:@(MTRAttributeIDTypeClusterOnOffAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -1795,6 +2168,15 @@ - (void)writeAttributeStartUpOnOffWithValue:(NSDictionary *)data params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOnOffID) + attributeID:@(MTRAttributeIDTypeClusterOnOffAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -1803,6 +2185,16 @@ - (void)writeAttributeStartUpOnOffWithValue:(NSDictionary *)data params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOnOffID) + attributeID:@(MTRAttributeIDTypeClusterOnOffAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterOnOff (Deprecated) @@ -1932,6 +2324,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeSwitchTypeWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOnOffSwitchConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterOnOffSwitchConfigurationAttributeSwitchTypeID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeSwitchActionsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -1940,6 +2341,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeSwitchActionsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOnOffSwitchConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterOnOffSwitchConfigurationAttributeSwitchActionsID) + params:params + error:error]; +} + - (void)writeAttributeSwitchActionsWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -1968,6 +2379,17 @@ - (void)writeAttributeSwitchActionsWithValue:(NSDictionary *)dat params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOnOffSwitchConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterOnOffSwitchConfigurationAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return @@ -1977,6 +2399,17 @@ - (void)writeAttributeSwitchActionsWithValue:(NSDictionary *)dat params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOnOffSwitchConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterOnOffSwitchConfigurationAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -1985,6 +2418,16 @@ - (void)writeAttributeSwitchActionsWithValue:(NSDictionary *)dat params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOnOffSwitchConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterOnOffSwitchConfigurationAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -1993,6 +2436,16 @@ - (void)writeAttributeSwitchActionsWithValue:(NSDictionary *)dat params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOnOffSwitchConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterOnOffSwitchConfigurationAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -2001,6 +2454,15 @@ - (void)writeAttributeSwitchActionsWithValue:(NSDictionary *)dat params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOnOffSwitchConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterOnOffSwitchConfigurationAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -2009,6 +2471,16 @@ - (void)writeAttributeSwitchActionsWithValue:(NSDictionary *)dat params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOnOffSwitchConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterOnOffSwitchConfigurationAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterOnOffSwitchConfiguration (Deprecated) @@ -2402,6 +2874,16 @@ - (void)moveToClosestFrequencyWithParams:(MTRLevelControlClusterMoveToClosestFre params:params]; } +- (NSNumber * _Nullable)readAttributeCurrentLevelWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeLevelControlID) + attributeID:@(MTRAttributeIDTypeClusterLevelControlAttributeCurrentLevelID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeRemainingTimeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -2410,6 +2892,16 @@ - (void)moveToClosestFrequencyWithParams:(MTRLevelControlClusterMoveToClosestFre params:params]; } +- (NSNumber * _Nullable)readAttributeRemainingTimeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeLevelControlID) + attributeID:@(MTRAttributeIDTypeClusterLevelControlAttributeRemainingTimeID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMinLevelWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -2418,6 +2910,15 @@ - (void)moveToClosestFrequencyWithParams:(MTRLevelControlClusterMoveToClosestFre params:params]; } +- (NSNumber * _Nullable)readAttributeMinLevelWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeLevelControlID) + attributeID:@(MTRAttributeIDTypeClusterLevelControlAttributeMinLevelID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMaxLevelWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -2426,6 +2927,15 @@ - (void)moveToClosestFrequencyWithParams:(MTRLevelControlClusterMoveToClosestFre params:params]; } +- (NSNumber * _Nullable)readAttributeMaxLevelWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeLevelControlID) + attributeID:@(MTRAttributeIDTypeClusterLevelControlAttributeMaxLevelID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeCurrentFrequencyWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -2434,6 +2944,16 @@ - (void)moveToClosestFrequencyWithParams:(MTRLevelControlClusterMoveToClosestFre params:params]; } +- (NSNumber * _Nullable)readAttributeCurrentFrequencyWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeLevelControlID) + attributeID:@(MTRAttributeIDTypeClusterLevelControlAttributeCurrentFrequencyID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMinFrequencyWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -2442,6 +2962,16 @@ - (void)moveToClosestFrequencyWithParams:(MTRLevelControlClusterMoveToClosestFre params:params]; } +- (NSNumber * _Nullable)readAttributeMinFrequencyWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeLevelControlID) + attributeID:@(MTRAttributeIDTypeClusterLevelControlAttributeMinFrequencyID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMaxFrequencyWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -2450,6 +2980,16 @@ - (void)moveToClosestFrequencyWithParams:(MTRLevelControlClusterMoveToClosestFre params:params]; } +- (NSNumber * _Nullable)readAttributeMaxFrequencyWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeLevelControlID) + attributeID:@(MTRAttributeIDTypeClusterLevelControlAttributeMaxFrequencyID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeOptionsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -2458,6 +2998,15 @@ - (void)moveToClosestFrequencyWithParams:(MTRLevelControlClusterMoveToClosestFre params:params]; } +- (NSNumber * _Nullable)readAttributeOptionsWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeLevelControlID) + attributeID:@(MTRAttributeIDTypeClusterLevelControlAttributeOptionsID) + params:params + error:error]; +} + - (void)writeAttributeOptionsWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -2485,6 +3034,16 @@ - (void)writeAttributeOptionsWithValue:(NSDictionary *)dataValue params:params]; } +- (NSNumber * _Nullable)readAttributeOnOffTransitionTimeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeLevelControlID) + attributeID:@(MTRAttributeIDTypeClusterLevelControlAttributeOnOffTransitionTimeID) + params:params + error:error]; +} + - (void)writeAttributeOnOffTransitionTimeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -2512,6 +3071,15 @@ - (void)writeAttributeOnOffTransitionTimeWithValue:(NSDictionary params:params]; } +- (NSNumber * _Nullable)readAttributeOnLevelWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeLevelControlID) + attributeID:@(MTRAttributeIDTypeClusterLevelControlAttributeOnLevelID) + params:params + error:error]; +} + - (void)writeAttributeOnLevelWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -2539,6 +3107,16 @@ - (void)writeAttributeOnLevelWithValue:(NSDictionary *)dataValue params:params]; } +- (NSNumber * _Nullable)readAttributeOnTransitionTimeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeLevelControlID) + attributeID:@(MTRAttributeIDTypeClusterLevelControlAttributeOnTransitionTimeID) + params:params + error:error]; +} + - (void)writeAttributeOnTransitionTimeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -2566,6 +3144,16 @@ - (void)writeAttributeOnTransitionTimeWithValue:(NSDictionary *) params:params]; } +- (NSNumber * _Nullable)readAttributeOffTransitionTimeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeLevelControlID) + attributeID:@(MTRAttributeIDTypeClusterLevelControlAttributeOffTransitionTimeID) + params:params + error:error]; +} + - (void)writeAttributeOffTransitionTimeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -2593,6 +3181,16 @@ - (void)writeAttributeOffTransitionTimeWithValue:(NSDictionary * params:params]; } +- (NSNumber * _Nullable)readAttributeDefaultMoveRateWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeLevelControlID) + attributeID:@(MTRAttributeIDTypeClusterLevelControlAttributeDefaultMoveRateID) + params:params + error:error]; +} + - (void)writeAttributeDefaultMoveRateWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -2620,6 +3218,16 @@ - (void)writeAttributeDefaultMoveRateWithValue:(NSDictionary *)d params:params]; } +- (NSNumber * _Nullable)readAttributeStartUpCurrentLevelWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeLevelControlID) + attributeID:@(MTRAttributeIDTypeClusterLevelControlAttributeStartUpCurrentLevelID) + params:params + error:error]; +} + - (void)writeAttributeStartUpCurrentLevelWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -2647,6 +3255,16 @@ - (void)writeAttributeStartUpCurrentLevelWithValue:(NSDictionary params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeLevelControlID) + attributeID:@(MTRAttributeIDTypeClusterLevelControlAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -2655,6 +3273,16 @@ - (void)writeAttributeStartUpCurrentLevelWithValue:(NSDictionary params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeLevelControlID) + attributeID:@(MTRAttributeIDTypeClusterLevelControlAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -2663,6 +3291,16 @@ - (void)writeAttributeStartUpCurrentLevelWithValue:(NSDictionary params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeLevelControlID) + attributeID:@(MTRAttributeIDTypeClusterLevelControlAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -2671,6 +3309,16 @@ - (void)writeAttributeStartUpCurrentLevelWithValue:(NSDictionary params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeLevelControlID) + attributeID:@(MTRAttributeIDTypeClusterLevelControlAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -2679,6 +3327,15 @@ - (void)writeAttributeStartUpCurrentLevelWithValue:(NSDictionary params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeLevelControlID) + attributeID:@(MTRAttributeIDTypeClusterLevelControlAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -2687,6 +3344,16 @@ - (void)writeAttributeStartUpCurrentLevelWithValue:(NSDictionary params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeLevelControlID) + attributeID:@(MTRAttributeIDTypeClusterLevelControlAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterLevelControl (Deprecated) @@ -2810,6 +3477,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSString * _Nullable)readAttributeActiveTextWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBinaryInputBasicID) + attributeID:@(MTRAttributeIDTypeClusterBinaryInputBasicAttributeActiveTextID) + params:params + error:error]; +} + - (void)writeAttributeActiveTextWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -2837,6 +3513,16 @@ - (void)writeAttributeActiveTextWithValue:(NSDictionary *)dataVa params:params]; } +- (NSString * _Nullable)readAttributeDescriptionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBinaryInputBasicID) + attributeID:@(MTRAttributeIDTypeClusterBinaryInputBasicAttributeDescriptionID) + params:params + error:error]; +} + - (void)writeAttributeDescriptionWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -2864,6 +3550,16 @@ - (void)writeAttributeDescriptionWithValue:(NSDictionary *)dataV params:params]; } +- (NSString * _Nullable)readAttributeInactiveTextWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBinaryInputBasicID) + attributeID:@(MTRAttributeIDTypeClusterBinaryInputBasicAttributeInactiveTextID) + params:params + error:error]; +} + - (void)writeAttributeInactiveTextWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -2891,6 +3587,16 @@ - (void)writeAttributeInactiveTextWithValue:(NSDictionary *)data params:params]; } +- (NSNumber * _Nullable)readAttributeOutOfServiceWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBinaryInputBasicID) + attributeID:@(MTRAttributeIDTypeClusterBinaryInputBasicAttributeOutOfServiceID) + params:params + error:error]; +} + - (void)writeAttributeOutOfServiceWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -2918,6 +3624,15 @@ - (void)writeAttributeOutOfServiceWithValue:(NSDictionary *)data params:params]; } +- (NSNumber * _Nullable)readAttributePolarityWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBinaryInputBasicID) + attributeID:@(MTRAttributeIDTypeClusterBinaryInputBasicAttributePolarityID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePresentValueWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -2926,6 +3641,16 @@ - (void)writeAttributeOutOfServiceWithValue:(NSDictionary *)data params:params]; } +- (NSNumber * _Nullable)readAttributePresentValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBinaryInputBasicID) + attributeID:@(MTRAttributeIDTypeClusterBinaryInputBasicAttributePresentValueID) + params:params + error:error]; +} + - (void)writeAttributePresentValueWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -2953,6 +3678,16 @@ - (void)writeAttributePresentValueWithValue:(NSDictionary *)data params:params]; } +- (NSNumber * _Nullable)readAttributeReliabilityWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBinaryInputBasicID) + attributeID:@(MTRAttributeIDTypeClusterBinaryInputBasicAttributeReliabilityID) + params:params + error:error]; +} + - (void)writeAttributeReliabilityWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -2980,6 +3715,16 @@ - (void)writeAttributeReliabilityWithValue:(NSDictionary *)dataV params:params]; } +- (NSNumber * _Nullable)readAttributeStatusFlagsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBinaryInputBasicID) + attributeID:@(MTRAttributeIDTypeClusterBinaryInputBasicAttributeStatusFlagsID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeApplicationTypeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -2988,6 +3733,16 @@ - (void)writeAttributeReliabilityWithValue:(NSDictionary *)dataV params:params]; } +- (NSNumber * _Nullable)readAttributeApplicationTypeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBinaryInputBasicID) + attributeID:@(MTRAttributeIDTypeClusterBinaryInputBasicAttributeApplicationTypeID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -2996,6 +3751,16 @@ - (void)writeAttributeReliabilityWithValue:(NSDictionary *)dataV params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBinaryInputBasicID) + attributeID:@(MTRAttributeIDTypeClusterBinaryInputBasicAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -3004,6 +3769,16 @@ - (void)writeAttributeReliabilityWithValue:(NSDictionary *)dataV params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBinaryInputBasicID) + attributeID:@(MTRAttributeIDTypeClusterBinaryInputBasicAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -3012,6 +3787,16 @@ - (void)writeAttributeReliabilityWithValue:(NSDictionary *)dataV params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBinaryInputBasicID) + attributeID:@(MTRAttributeIDTypeClusterBinaryInputBasicAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -3020,6 +3805,16 @@ - (void)writeAttributeReliabilityWithValue:(NSDictionary *)dataV params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBinaryInputBasicID) + attributeID:@(MTRAttributeIDTypeClusterBinaryInputBasicAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -3028,6 +3823,15 @@ - (void)writeAttributeReliabilityWithValue:(NSDictionary *)dataV params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBinaryInputBasicID) + attributeID:@(MTRAttributeIDTypeClusterBinaryInputBasicAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -3036,6 +3840,16 @@ - (void)writeAttributeReliabilityWithValue:(NSDictionary *)dataV params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBinaryInputBasicID) + attributeID:@(MTRAttributeIDTypeClusterBinaryInputBasicAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterBinaryInputBasic (Deprecated) @@ -3069,6 +3883,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePulseWidthModulationID) + attributeID:@(MTRAttributeIDTypeClusterPulseWidthModulationAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -3077,6 +3901,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePulseWidthModulationID) + attributeID:@(MTRAttributeIDTypeClusterPulseWidthModulationAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -3085,6 +3919,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePulseWidthModulationID) + attributeID:@(MTRAttributeIDTypeClusterPulseWidthModulationAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -3093,6 +3937,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePulseWidthModulationID) + attributeID:@(MTRAttributeIDTypeClusterPulseWidthModulationAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -3101,6 +3955,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePulseWidthModulationID) + attributeID:@(MTRAttributeIDTypeClusterPulseWidthModulationAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -3109,6 +3972,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePulseWidthModulationID) + attributeID:@(MTRAttributeIDTypeClusterPulseWidthModulationAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterDescriptor @@ -3133,6 +4006,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable) + readAttributeDeviceTypeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDescriptorID) + attributeID:@(MTRAttributeIDTypeClusterDescriptorAttributeDeviceTypeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeServerListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -3141,6 +4025,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeServerListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDescriptorID) + attributeID:@(MTRAttributeIDTypeClusterDescriptorAttributeServerListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClientListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -3149,6 +4043,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeClientListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDescriptorID) + attributeID:@(MTRAttributeIDTypeClusterDescriptorAttributeClientListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePartsListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -3157,6 +4061,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributePartsListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDescriptorID) + attributeID:@(MTRAttributeIDTypeClusterDescriptorAttributePartsListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeTagListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -3165,6 +4079,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeTagListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDescriptorID) + attributeID:@(MTRAttributeIDTypeClusterDescriptorAttributeTagListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -3173,6 +4097,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDescriptorID) + attributeID:@(MTRAttributeIDTypeClusterDescriptorAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -3181,6 +4115,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDescriptorID) + attributeID:@(MTRAttributeIDTypeClusterDescriptorAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -3189,6 +4133,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDescriptorID) + attributeID:@(MTRAttributeIDTypeClusterDescriptorAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -3197,6 +4151,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDescriptorID) + attributeID:@(MTRAttributeIDTypeClusterDescriptorAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -3205,6 +4169,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDescriptorID) + attributeID:@(MTRAttributeIDTypeClusterDescriptorAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -3213,6 +4186,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDescriptorID) + attributeID:@(MTRAttributeIDTypeClusterDescriptorAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterDescriptor (Deprecated) @@ -3250,6 +4233,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeBindingWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBindingID) + attributeID:@(MTRAttributeIDTypeClusterBindingAttributeBindingID) + params:params + error:error]; +} + - (void)writeAttributeBindingWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -3277,6 +4270,16 @@ - (void)writeAttributeBindingWithValue:(NSDictionary *)dataValue params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBindingID) + attributeID:@(MTRAttributeIDTypeClusterBindingAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -3285,6 +4288,16 @@ - (void)writeAttributeBindingWithValue:(NSDictionary *)dataValue params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBindingID) + attributeID:@(MTRAttributeIDTypeClusterBindingAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -3293,6 +4306,16 @@ - (void)writeAttributeBindingWithValue:(NSDictionary *)dataValue params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBindingID) + attributeID:@(MTRAttributeIDTypeClusterBindingAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -3301,6 +4324,16 @@ - (void)writeAttributeBindingWithValue:(NSDictionary *)dataValue params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBindingID) + attributeID:@(MTRAttributeIDTypeClusterBindingAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -3309,6 +4342,15 @@ - (void)writeAttributeBindingWithValue:(NSDictionary *)dataValue params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBindingID) + attributeID:@(MTRAttributeIDTypeClusterBindingAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -3317,6 +4359,16 @@ - (void)writeAttributeBindingWithValue:(NSDictionary *)dataValue params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBindingID) + attributeID:@(MTRAttributeIDTypeClusterBindingAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterBinding (Deprecated) @@ -3350,6 +4402,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable) + readAttributeACLWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeAccessControlID) + attributeID:@(MTRAttributeIDTypeClusterAccessControlAttributeACLID) + params:params + error:error]; +} + - (void)writeAttributeACLWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -3377,6 +4440,17 @@ - (void)writeAttributeACLWithValue:(NSDictionary *)dataValueDict params:params]; } +- (NSArray * _Nullable) + readAttributeExtensionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeAccessControlID) + attributeID:@(MTRAttributeIDTypeClusterAccessControlAttributeExtensionID) + params:params + error:error]; +} + - (void)writeAttributeExtensionWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -3405,6 +4479,17 @@ - (void)writeAttributeExtensionWithValue:(NSDictionary *)dataVal params:params]; } +- (NSNumber * _Nullable)readAttributeSubjectsPerAccessControlEntryWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeAccessControlID) + attributeID:@(MTRAttributeIDTypeClusterAccessControlAttributeSubjectsPerAccessControlEntryID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeTargetsPerAccessControlEntryWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -3413,6 +4498,16 @@ - (void)writeAttributeExtensionWithValue:(NSDictionary *)dataVal params:params]; } +- (NSNumber * _Nullable)readAttributeTargetsPerAccessControlEntryWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeAccessControlID) + attributeID:@(MTRAttributeIDTypeClusterAccessControlAttributeTargetsPerAccessControlEntryID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAccessControlEntriesPerFabricWithParams:(MTRReadParams * _Nullable)params { return @@ -3422,6 +4517,17 @@ - (void)writeAttributeExtensionWithValue:(NSDictionary *)dataVal params:params]; } +- (NSNumber * _Nullable)readAttributeAccessControlEntriesPerFabricWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeAccessControlID) + attributeID:@(MTRAttributeIDTypeClusterAccessControlAttributeAccessControlEntriesPerFabricID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -3430,6 +4536,16 @@ - (void)writeAttributeExtensionWithValue:(NSDictionary *)dataVal params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeAccessControlID) + attributeID:@(MTRAttributeIDTypeClusterAccessControlAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -3438,6 +4554,16 @@ - (void)writeAttributeExtensionWithValue:(NSDictionary *)dataVal params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeAccessControlID) + attributeID:@(MTRAttributeIDTypeClusterAccessControlAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -3446,6 +4572,16 @@ - (void)writeAttributeExtensionWithValue:(NSDictionary *)dataVal params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeAccessControlID) + attributeID:@(MTRAttributeIDTypeClusterAccessControlAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -3454,6 +4590,16 @@ - (void)writeAttributeExtensionWithValue:(NSDictionary *)dataVal params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeAccessControlID) + attributeID:@(MTRAttributeIDTypeClusterAccessControlAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -3462,6 +4608,15 @@ - (void)writeAttributeExtensionWithValue:(NSDictionary *)dataVal params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeAccessControlID) + attributeID:@(MTRAttributeIDTypeClusterAccessControlAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -3470,6 +4625,16 @@ - (void)writeAttributeExtensionWithValue:(NSDictionary *)dataVal params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeAccessControlID) + attributeID:@(MTRAttributeIDTypeClusterAccessControlAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterAccessControl (Deprecated) @@ -3998,6 +5163,16 @@ - (void)disableActionWithDurationWithParams:(MTRActionsClusterDisableActionWithD params:params]; } +- (NSArray * _Nullable)readAttributeActionListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeActionsID) + attributeID:@(MTRAttributeIDTypeClusterActionsAttributeActionListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEndpointListsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -4006,6 +5181,17 @@ - (void)disableActionWithDurationWithParams:(MTRActionsClusterDisableActionWithD params:params]; } +- (NSArray * _Nullable)readAttributeEndpointListsWithParams:(MTRReadParams * _Nullable)params + error: + (NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeActionsID) + attributeID:@(MTRAttributeIDTypeClusterActionsAttributeEndpointListsID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeSetupURLWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -4014,6 +5200,15 @@ - (void)disableActionWithDurationWithParams:(MTRActionsClusterDisableActionWithD params:params]; } +- (NSString * _Nullable)readAttributeSetupURLWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeActionsID) + attributeID:@(MTRAttributeIDTypeClusterActionsAttributeSetupURLID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -4022,6 +5217,16 @@ - (void)disableActionWithDurationWithParams:(MTRActionsClusterDisableActionWithD params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeActionsID) + attributeID:@(MTRAttributeIDTypeClusterActionsAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -4030,6 +5235,16 @@ - (void)disableActionWithDurationWithParams:(MTRActionsClusterDisableActionWithD params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeActionsID) + attributeID:@(MTRAttributeIDTypeClusterActionsAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -4038,6 +5253,16 @@ - (void)disableActionWithDurationWithParams:(MTRActionsClusterDisableActionWithD params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeActionsID) + attributeID:@(MTRAttributeIDTypeClusterActionsAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -4046,6 +5271,16 @@ - (void)disableActionWithDurationWithParams:(MTRActionsClusterDisableActionWithD params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeActionsID) + attributeID:@(MTRAttributeIDTypeClusterActionsAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -4054,6 +5289,15 @@ - (void)disableActionWithDurationWithParams:(MTRActionsClusterDisableActionWithD params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeActionsID) + attributeID:@(MTRAttributeIDTypeClusterActionsAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -4062,6 +5306,16 @@ - (void)disableActionWithDurationWithParams:(MTRActionsClusterDisableActionWithD params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeActionsID) + attributeID:@(MTRAttributeIDTypeClusterActionsAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterActions (Deprecated) @@ -4263,6 +5517,16 @@ - (void)mfgSpecificPingWithParams:(MTRBasicClusterMfgSpecificPingParams * _Nulla params:params]; } +- (NSNumber * _Nullable)readAttributeDataModelRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBasicInformationID) + attributeID:@(MTRAttributeIDTypeClusterBasicInformationAttributeDataModelRevisionID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeVendorNameWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -4271,6 +5535,15 @@ - (void)mfgSpecificPingWithParams:(MTRBasicClusterMfgSpecificPingParams * _Nulla params:params]; } +- (NSString * _Nullable)readAttributeVendorNameWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBasicInformationID) + attributeID:@(MTRAttributeIDTypeClusterBasicInformationAttributeVendorNameID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeVendorIDWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -4279,6 +5552,15 @@ - (void)mfgSpecificPingWithParams:(MTRBasicClusterMfgSpecificPingParams * _Nulla params:params]; } +- (NSNumber * _Nullable)readAttributeVendorIDWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBasicInformationID) + attributeID:@(MTRAttributeIDTypeClusterBasicInformationAttributeVendorIDID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeProductNameWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -4287,6 +5569,16 @@ - (void)mfgSpecificPingWithParams:(MTRBasicClusterMfgSpecificPingParams * _Nulla params:params]; } +- (NSString * _Nullable)readAttributeProductNameWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBasicInformationID) + attributeID:@(MTRAttributeIDTypeClusterBasicInformationAttributeProductNameID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeProductIDWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -4295,6 +5587,15 @@ - (void)mfgSpecificPingWithParams:(MTRBasicClusterMfgSpecificPingParams * _Nulla params:params]; } +- (NSNumber * _Nullable)readAttributeProductIDWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBasicInformationID) + attributeID:@(MTRAttributeIDTypeClusterBasicInformationAttributeProductIDID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeNodeLabelWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -4303,6 +5604,15 @@ - (void)mfgSpecificPingWithParams:(MTRBasicClusterMfgSpecificPingParams * _Nulla params:params]; } +- (NSString * _Nullable)readAttributeNodeLabelWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBasicInformationID) + attributeID:@(MTRAttributeIDTypeClusterBasicInformationAttributeNodeLabelID) + params:params + error:error]; +} + - (void)writeAttributeNodeLabelWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -4330,6 +5640,15 @@ - (void)writeAttributeNodeLabelWithValue:(NSDictionary *)dataVal params:params]; } +- (NSString * _Nullable)readAttributeLocationWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBasicInformationID) + attributeID:@(MTRAttributeIDTypeClusterBasicInformationAttributeLocationID) + params:params + error:error]; +} + - (void)writeAttributeLocationWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -4357,6 +5676,16 @@ - (void)writeAttributeLocationWithValue:(NSDictionary *)dataValu params:params]; } +- (NSNumber * _Nullable)readAttributeHardwareVersionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBasicInformationID) + attributeID:@(MTRAttributeIDTypeClusterBasicInformationAttributeHardwareVersionID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeHardwareVersionStringWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -4365,6 +5694,16 @@ - (void)writeAttributeLocationWithValue:(NSDictionary *)dataValu params:params]; } +- (NSString * _Nullable)readAttributeHardwareVersionStringWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBasicInformationID) + attributeID:@(MTRAttributeIDTypeClusterBasicInformationAttributeHardwareVersionStringID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeSoftwareVersionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -4373,6 +5712,16 @@ - (void)writeAttributeLocationWithValue:(NSDictionary *)dataValu params:params]; } +- (NSNumber * _Nullable)readAttributeSoftwareVersionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBasicInformationID) + attributeID:@(MTRAttributeIDTypeClusterBasicInformationAttributeSoftwareVersionID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeSoftwareVersionStringWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -4381,6 +5730,16 @@ - (void)writeAttributeLocationWithValue:(NSDictionary *)dataValu params:params]; } +- (NSString * _Nullable)readAttributeSoftwareVersionStringWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBasicInformationID) + attributeID:@(MTRAttributeIDTypeClusterBasicInformationAttributeSoftwareVersionStringID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeManufacturingDateWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -4389,6 +5748,16 @@ - (void)writeAttributeLocationWithValue:(NSDictionary *)dataValu params:params]; } +- (NSString * _Nullable)readAttributeManufacturingDateWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBasicInformationID) + attributeID:@(MTRAttributeIDTypeClusterBasicInformationAttributeManufacturingDateID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePartNumberWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -4397,6 +5766,15 @@ - (void)writeAttributeLocationWithValue:(NSDictionary *)dataValu params:params]; } +- (NSString * _Nullable)readAttributePartNumberWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBasicInformationID) + attributeID:@(MTRAttributeIDTypeClusterBasicInformationAttributePartNumberID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeProductURLWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -4405,6 +5783,15 @@ - (void)writeAttributeLocationWithValue:(NSDictionary *)dataValu params:params]; } +- (NSString * _Nullable)readAttributeProductURLWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBasicInformationID) + attributeID:@(MTRAttributeIDTypeClusterBasicInformationAttributeProductURLID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeProductLabelWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -4413,6 +5800,16 @@ - (void)writeAttributeLocationWithValue:(NSDictionary *)dataValu params:params]; } +- (NSString * _Nullable)readAttributeProductLabelWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBasicInformationID) + attributeID:@(MTRAttributeIDTypeClusterBasicInformationAttributeProductLabelID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeSerialNumberWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -4421,6 +5818,16 @@ - (void)writeAttributeLocationWithValue:(NSDictionary *)dataValu params:params]; } +- (NSString * _Nullable)readAttributeSerialNumberWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBasicInformationID) + attributeID:@(MTRAttributeIDTypeClusterBasicInformationAttributeSerialNumberID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeLocalConfigDisabledWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -4429,6 +5836,16 @@ - (void)writeAttributeLocationWithValue:(NSDictionary *)dataValu params:params]; } +- (NSNumber * _Nullable)readAttributeLocalConfigDisabledWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBasicInformationID) + attributeID:@(MTRAttributeIDTypeClusterBasicInformationAttributeLocalConfigDisabledID) + params:params + error:error]; +} + - (void)writeAttributeLocalConfigDisabledWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -4456,6 +5873,15 @@ - (void)writeAttributeLocalConfigDisabledWithValue:(NSDictionary params:params]; } +- (NSNumber * _Nullable)readAttributeReachableWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBasicInformationID) + attributeID:@(MTRAttributeIDTypeClusterBasicInformationAttributeReachableID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeUniqueIDWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -4464,6 +5890,15 @@ - (void)writeAttributeLocalConfigDisabledWithValue:(NSDictionary params:params]; } +- (NSString * _Nullable)readAttributeUniqueIDWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBasicInformationID) + attributeID:@(MTRAttributeIDTypeClusterBasicInformationAttributeUniqueIDID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeCapabilityMinimaWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -4472,6 +5907,17 @@ - (void)writeAttributeLocalConfigDisabledWithValue:(NSDictionary params:params]; } +- (MTRBasicInformationClusterCapabilityMinimaStruct * _Nullable) + readAttributeCapabilityMinimaWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBasicInformationID) + attributeID:@(MTRAttributeIDTypeClusterBasicInformationAttributeCapabilityMinimaID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeProductAppearanceWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -4480,6 +5926,17 @@ - (void)writeAttributeLocalConfigDisabledWithValue:(NSDictionary params:params]; } +- (MTRBasicInformationClusterProductAppearanceStruct * _Nullable) + readAttributeProductAppearanceWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBasicInformationID) + attributeID:@(MTRAttributeIDTypeClusterBasicInformationAttributeProductAppearanceID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -4488,6 +5945,16 @@ - (void)writeAttributeLocalConfigDisabledWithValue:(NSDictionary params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBasicInformationID) + attributeID:@(MTRAttributeIDTypeClusterBasicInformationAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -4496,6 +5963,16 @@ - (void)writeAttributeLocalConfigDisabledWithValue:(NSDictionary params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBasicInformationID) + attributeID:@(MTRAttributeIDTypeClusterBasicInformationAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -4504,6 +5981,16 @@ - (void)writeAttributeLocalConfigDisabledWithValue:(NSDictionary params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBasicInformationID) + attributeID:@(MTRAttributeIDTypeClusterBasicInformationAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -4512,6 +5999,16 @@ - (void)writeAttributeLocalConfigDisabledWithValue:(NSDictionary params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBasicInformationID) + attributeID:@(MTRAttributeIDTypeClusterBasicInformationAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -4520,6 +6017,15 @@ - (void)writeAttributeLocalConfigDisabledWithValue:(NSDictionary params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBasicInformationID) + attributeID:@(MTRAttributeIDTypeClusterBasicInformationAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -4528,6 +6034,16 @@ - (void)writeAttributeLocalConfigDisabledWithValue:(NSDictionary params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBasicInformationID) + attributeID:@(MTRAttributeIDTypeClusterBasicInformationAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterBasic @end @@ -4707,6 +6223,17 @@ - (void)notifyUpdateAppliedWithParams:(MTROTASoftwareUpdateProviderClusterNotify params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOTASoftwareUpdateProviderID) + attributeID:@(MTRAttributeIDTypeClusterOTASoftwareUpdateProviderAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return @@ -4716,6 +6243,17 @@ - (void)notifyUpdateAppliedWithParams:(MTROTASoftwareUpdateProviderClusterNotify params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOTASoftwareUpdateProviderID) + attributeID:@(MTRAttributeIDTypeClusterOTASoftwareUpdateProviderAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -4724,6 +6262,16 @@ - (void)notifyUpdateAppliedWithParams:(MTROTASoftwareUpdateProviderClusterNotify params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOTASoftwareUpdateProviderID) + attributeID:@(MTRAttributeIDTypeClusterOTASoftwareUpdateProviderAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -4732,6 +6280,16 @@ - (void)notifyUpdateAppliedWithParams:(MTROTASoftwareUpdateProviderClusterNotify params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOTASoftwareUpdateProviderID) + attributeID:@(MTRAttributeIDTypeClusterOTASoftwareUpdateProviderAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -4740,6 +6298,15 @@ - (void)notifyUpdateAppliedWithParams:(MTROTASoftwareUpdateProviderClusterNotify params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOTASoftwareUpdateProviderID) + attributeID:@(MTRAttributeIDTypeClusterOTASoftwareUpdateProviderAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -4748,6 +6315,16 @@ - (void)notifyUpdateAppliedWithParams:(MTROTASoftwareUpdateProviderClusterNotify params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOTASoftwareUpdateProviderID) + attributeID:@(MTRAttributeIDTypeClusterOTASoftwareUpdateProviderAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterOtaSoftwareUpdateProvider @end @@ -4865,6 +6442,18 @@ - (void)announceOTAProviderWithParams:(MTROTASoftwareUpdateRequestorClusterAnnou params:params]; } +- (NSArray * _Nullable) + readAttributeDefaultOTAProvidersWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOTASoftwareUpdateRequestorID) + attributeID:@(MTRAttributeIDTypeClusterOTASoftwareUpdateRequestorAttributeDefaultOTAProvidersID) + params:params + error:error]; +} + - (void)writeAttributeDefaultOTAProvidersWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -4892,6 +6481,16 @@ - (void)writeAttributeDefaultOTAProvidersWithValue:(NSDictionary params:params]; } +- (NSNumber * _Nullable)readAttributeUpdatePossibleWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOTASoftwareUpdateRequestorID) + attributeID:@(MTRAttributeIDTypeClusterOTASoftwareUpdateRequestorAttributeUpdatePossibleID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeUpdateStateWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -4900,6 +6499,16 @@ - (void)writeAttributeDefaultOTAProvidersWithValue:(NSDictionary params:params]; } +- (NSNumber * _Nullable)readAttributeUpdateStateWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOTASoftwareUpdateRequestorID) + attributeID:@(MTRAttributeIDTypeClusterOTASoftwareUpdateRequestorAttributeUpdateStateID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeUpdateStateProgressWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -4909,6 +6518,17 @@ - (void)writeAttributeDefaultOTAProvidersWithValue:(NSDictionary params:params]; } +- (NSNumber * _Nullable)readAttributeUpdateStateProgressWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOTASoftwareUpdateRequestorID) + attributeID:@(MTRAttributeIDTypeClusterOTASoftwareUpdateRequestorAttributeUpdateStateProgressID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -4918,6 +6538,17 @@ - (void)writeAttributeDefaultOTAProvidersWithValue:(NSDictionary params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOTASoftwareUpdateRequestorID) + attributeID:@(MTRAttributeIDTypeClusterOTASoftwareUpdateRequestorAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -4927,6 +6558,17 @@ - (void)writeAttributeDefaultOTAProvidersWithValue:(NSDictionary params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOTASoftwareUpdateRequestorID) + attributeID:@(MTRAttributeIDTypeClusterOTASoftwareUpdateRequestorAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -4935,6 +6577,16 @@ - (void)writeAttributeDefaultOTAProvidersWithValue:(NSDictionary params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOTASoftwareUpdateRequestorID) + attributeID:@(MTRAttributeIDTypeClusterOTASoftwareUpdateRequestorAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -4943,6 +6595,16 @@ - (void)writeAttributeDefaultOTAProvidersWithValue:(NSDictionary params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOTASoftwareUpdateRequestorID) + attributeID:@(MTRAttributeIDTypeClusterOTASoftwareUpdateRequestorAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -4951,6 +6613,15 @@ - (void)writeAttributeDefaultOTAProvidersWithValue:(NSDictionary params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOTASoftwareUpdateRequestorID) + attributeID:@(MTRAttributeIDTypeClusterOTASoftwareUpdateRequestorAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -4959,6 +6630,16 @@ - (void)writeAttributeDefaultOTAProvidersWithValue:(NSDictionary params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOTASoftwareUpdateRequestorID) + attributeID:@(MTRAttributeIDTypeClusterOTASoftwareUpdateRequestorAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterOtaSoftwareUpdateRequestor @end @@ -5021,6 +6702,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSString * _Nullable)readAttributeActiveLocaleWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeLocalizationConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterLocalizationConfigurationAttributeActiveLocaleID) + params:params + error:error]; +} + - (void)writeAttributeActiveLocaleWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -5048,6 +6739,16 @@ - (void)writeAttributeActiveLocaleWithValue:(NSDictionary *)data params:params]; } +- (NSArray * _Nullable)readAttributeSupportedLocalesWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeLocalizationConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterLocalizationConfigurationAttributeSupportedLocalesID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -5057,6 +6758,17 @@ - (void)writeAttributeActiveLocaleWithValue:(NSDictionary *)data params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeLocalizationConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterLocalizationConfigurationAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return @@ -5066,6 +6778,17 @@ - (void)writeAttributeActiveLocaleWithValue:(NSDictionary *)data params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeLocalizationConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterLocalizationConfigurationAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5074,6 +6797,16 @@ - (void)writeAttributeActiveLocaleWithValue:(NSDictionary *)data params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeLocalizationConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterLocalizationConfigurationAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5082,6 +6815,16 @@ - (void)writeAttributeActiveLocaleWithValue:(NSDictionary *)data params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeLocalizationConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterLocalizationConfigurationAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5090,6 +6833,15 @@ - (void)writeAttributeActiveLocaleWithValue:(NSDictionary *)data params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeLocalizationConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterLocalizationConfigurationAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5098,6 +6850,16 @@ - (void)writeAttributeActiveLocaleWithValue:(NSDictionary *)data params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeLocalizationConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterLocalizationConfigurationAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterLocalizationConfiguration (Deprecated) @@ -5131,6 +6893,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeHourFormatWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTimeFormatLocalizationID) + attributeID:@(MTRAttributeIDTypeClusterTimeFormatLocalizationAttributeHourFormatID) + params:params + error:error]; +} + - (void)writeAttributeHourFormatWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -5158,6 +6929,16 @@ - (void)writeAttributeHourFormatWithValue:(NSDictionary *)dataVa params:params]; } +- (NSNumber * _Nullable)readAttributeActiveCalendarTypeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTimeFormatLocalizationID) + attributeID:@(MTRAttributeIDTypeClusterTimeFormatLocalizationAttributeActiveCalendarTypeID) + params:params + error:error]; +} + - (void)writeAttributeActiveCalendarTypeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -5186,6 +6967,17 @@ - (void)writeAttributeActiveCalendarTypeWithValue:(NSDictionary params:params]; } +- (NSArray * _Nullable)readAttributeSupportedCalendarTypesWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTimeFormatLocalizationID) + attributeID:@(MTRAttributeIDTypeClusterTimeFormatLocalizationAttributeSupportedCalendarTypesID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return @@ -5195,6 +6987,17 @@ - (void)writeAttributeActiveCalendarTypeWithValue:(NSDictionary params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTimeFormatLocalizationID) + attributeID:@(MTRAttributeIDTypeClusterTimeFormatLocalizationAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5203,6 +7006,16 @@ - (void)writeAttributeActiveCalendarTypeWithValue:(NSDictionary params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTimeFormatLocalizationID) + attributeID:@(MTRAttributeIDTypeClusterTimeFormatLocalizationAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5211,6 +7024,16 @@ - (void)writeAttributeActiveCalendarTypeWithValue:(NSDictionary params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTimeFormatLocalizationID) + attributeID:@(MTRAttributeIDTypeClusterTimeFormatLocalizationAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5219,6 +7042,16 @@ - (void)writeAttributeActiveCalendarTypeWithValue:(NSDictionary params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTimeFormatLocalizationID) + attributeID:@(MTRAttributeIDTypeClusterTimeFormatLocalizationAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5227,6 +7060,15 @@ - (void)writeAttributeActiveCalendarTypeWithValue:(NSDictionary params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTimeFormatLocalizationID) + attributeID:@(MTRAttributeIDTypeClusterTimeFormatLocalizationAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5235,6 +7077,16 @@ - (void)writeAttributeActiveCalendarTypeWithValue:(NSDictionary params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTimeFormatLocalizationID) + attributeID:@(MTRAttributeIDTypeClusterTimeFormatLocalizationAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterTimeFormatLocalization (Deprecated) @@ -5268,6 +7120,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeTemperatureUnitWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitLocalizationID) + attributeID:@(MTRAttributeIDTypeClusterUnitLocalizationAttributeTemperatureUnitID) + params:params + error:error]; +} + - (void)writeAttributeTemperatureUnitWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -5295,6 +7157,16 @@ - (void)writeAttributeTemperatureUnitWithValue:(NSDictionary *)d params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitLocalizationID) + attributeID:@(MTRAttributeIDTypeClusterUnitLocalizationAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5303,6 +7175,16 @@ - (void)writeAttributeTemperatureUnitWithValue:(NSDictionary *)d params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitLocalizationID) + attributeID:@(MTRAttributeIDTypeClusterUnitLocalizationAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5311,6 +7193,16 @@ - (void)writeAttributeTemperatureUnitWithValue:(NSDictionary *)d params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitLocalizationID) + attributeID:@(MTRAttributeIDTypeClusterUnitLocalizationAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5319,6 +7211,16 @@ - (void)writeAttributeTemperatureUnitWithValue:(NSDictionary *)d params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitLocalizationID) + attributeID:@(MTRAttributeIDTypeClusterUnitLocalizationAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5327,6 +7229,15 @@ - (void)writeAttributeTemperatureUnitWithValue:(NSDictionary *)d params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitLocalizationID) + attributeID:@(MTRAttributeIDTypeClusterUnitLocalizationAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5335,6 +7246,16 @@ - (void)writeAttributeTemperatureUnitWithValue:(NSDictionary *)d params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitLocalizationID) + attributeID:@(MTRAttributeIDTypeClusterUnitLocalizationAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterUnitLocalization (Deprecated) @@ -5368,6 +7289,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeSourcesWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePowerSourceConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceConfigurationAttributeSourcesID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return @@ -5377,6 +7308,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePowerSourceConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceConfigurationAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return @@ -5386,6 +7328,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePowerSourceConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceConfigurationAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5394,6 +7347,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePowerSourceConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceConfigurationAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5402,6 +7365,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePowerSourceConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceConfigurationAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5410,6 +7383,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePowerSourceConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceConfigurationAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5418,6 +7400,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePowerSourceConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceConfigurationAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterPowerSourceConfiguration (Deprecated) @@ -5451,6 +7443,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeStatusWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeStatusID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeOrderWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5459,6 +7460,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeOrderWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeOrderID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeDescriptionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5467,6 +7477,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSString * _Nullable)readAttributeDescriptionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeDescriptionID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeWiredAssessedInputVoltageWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5475,6 +7495,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeWiredAssessedInputVoltageWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeWiredAssessedInputVoltageID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeWiredAssessedInputFrequencyWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5483,6 +7513,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeWiredAssessedInputFrequencyWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeWiredAssessedInputFrequencyID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeWiredCurrentTypeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5491,6 +7531,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeWiredCurrentTypeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeWiredCurrentTypeID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeWiredAssessedCurrentWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5499,6 +7549,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeWiredAssessedCurrentWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeWiredAssessedCurrentID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeWiredNominalVoltageWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5507,6 +7567,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeWiredNominalVoltageWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeWiredNominalVoltageID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeWiredMaximumCurrentWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5515,6 +7585,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeWiredMaximumCurrentWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeWiredMaximumCurrentID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeWiredPresentWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5523,6 +7603,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeWiredPresentWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeWiredPresentID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeActiveWiredFaultsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5531,6 +7621,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeActiveWiredFaultsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeActiveWiredFaultsID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeBatVoltageWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5539,6 +7639,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeBatVoltageWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeBatVoltageID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeBatPercentRemainingWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5547,6 +7656,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeBatPercentRemainingWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeBatPercentRemainingID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeBatTimeRemainingWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5555,6 +7674,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeBatTimeRemainingWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeBatTimeRemainingID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeBatChargeLevelWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5563,6 +7692,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeBatChargeLevelWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeBatChargeLevelID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeBatReplacementNeededWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5571,6 +7710,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeBatReplacementNeededWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeBatReplacementNeededID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeBatReplaceabilityWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5579,6 +7728,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeBatReplaceabilityWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeBatReplaceabilityID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeBatPresentWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5587,6 +7746,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeBatPresentWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeBatPresentID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeActiveBatFaultsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5595,6 +7763,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeActiveBatFaultsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeActiveBatFaultsID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeBatReplacementDescriptionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5603,6 +7781,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSString * _Nullable)readAttributeBatReplacementDescriptionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeBatReplacementDescriptionID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeBatCommonDesignationWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5611,6 +7799,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeBatCommonDesignationWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeBatCommonDesignationID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeBatANSIDesignationWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5619,6 +7817,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSString * _Nullable)readAttributeBatANSIDesignationWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeBatANSIDesignationID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeBatIECDesignationWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5627,6 +7835,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSString * _Nullable)readAttributeBatIECDesignationWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeBatIECDesignationID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeBatApprovedChemistryWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5635,6 +7853,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeBatApprovedChemistryWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeBatApprovedChemistryID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeBatCapacityWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5643,6 +7871,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeBatCapacityWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeBatCapacityID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeBatQuantityWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5651,6 +7889,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeBatQuantityWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeBatQuantityID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeBatChargeStateWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5659,6 +7907,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeBatChargeStateWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeBatChargeStateID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeBatTimeToFullChargeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5667,6 +7925,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeBatTimeToFullChargeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeBatTimeToFullChargeID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeBatFunctionalWhileChargingWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5675,6 +7943,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeBatFunctionalWhileChargingWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeBatFunctionalWhileChargingID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeBatChargingCurrentWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5683,6 +7961,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeBatChargingCurrentWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeBatChargingCurrentID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeActiveBatChargeFaultsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5691,6 +7979,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeActiveBatChargeFaultsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeActiveBatChargeFaultsID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEndpointListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5699,6 +7997,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeEndpointListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeEndpointListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5707,6 +8015,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5715,6 +8033,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5723,6 +8051,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5731,6 +8069,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5739,6 +8087,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5747,6 +8104,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterPowerSource (Deprecated) @@ -5920,6 +8287,15 @@ - (void)commissioningCompleteWithParams:(MTRGeneralCommissioningClusterCommissio params:params]; } +- (NSNumber * _Nullable)readAttributeBreadcrumbWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeGeneralCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterGeneralCommissioningAttributeBreadcrumbID) + params:params + error:error]; +} + - (void)writeAttributeBreadcrumbWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -5948,6 +8324,18 @@ - (void)writeAttributeBreadcrumbWithValue:(NSDictionary *)dataVa params:params]; } +- (MTRGeneralCommissioningClusterBasicCommissioningInfo * _Nullable) + readAttributeBasicCommissioningInfoWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeGeneralCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterGeneralCommissioningAttributeBasicCommissioningInfoID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeRegulatoryConfigWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5956,6 +8344,16 @@ - (void)writeAttributeBreadcrumbWithValue:(NSDictionary *)dataVa params:params]; } +- (NSNumber * _Nullable)readAttributeRegulatoryConfigWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeGeneralCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterGeneralCommissioningAttributeRegulatoryConfigID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeLocationCapabilityWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5964,6 +8362,16 @@ - (void)writeAttributeBreadcrumbWithValue:(NSDictionary *)dataVa params:params]; } +- (NSNumber * _Nullable)readAttributeLocationCapabilityWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeGeneralCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterGeneralCommissioningAttributeLocationCapabilityID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeSupportsConcurrentConnectionWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -5973,6 +8381,17 @@ - (void)writeAttributeBreadcrumbWithValue:(NSDictionary *)dataVa params:params]; } +- (NSNumber * _Nullable)readAttributeSupportsConcurrentConnectionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeGeneralCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterGeneralCommissioningAttributeSupportsConcurrentConnectionID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5981,6 +8400,16 @@ - (void)writeAttributeBreadcrumbWithValue:(NSDictionary *)dataVa params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeGeneralCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterGeneralCommissioningAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5989,6 +8418,16 @@ - (void)writeAttributeBreadcrumbWithValue:(NSDictionary *)dataVa params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeGeneralCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterGeneralCommissioningAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -5997,6 +8436,16 @@ - (void)writeAttributeBreadcrumbWithValue:(NSDictionary *)dataVa params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeGeneralCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterGeneralCommissioningAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -6005,6 +8454,16 @@ - (void)writeAttributeBreadcrumbWithValue:(NSDictionary *)dataVa params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeGeneralCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterGeneralCommissioningAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -6013,6 +8472,15 @@ - (void)writeAttributeBreadcrumbWithValue:(NSDictionary *)dataVa params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeGeneralCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterGeneralCommissioningAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -6021,6 +8489,16 @@ - (void)writeAttributeBreadcrumbWithValue:(NSDictionary *)dataVa params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeGeneralCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterGeneralCommissioningAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterGeneralCommissioning (Deprecated) @@ -6366,6 +8844,16 @@ - (void)reorderNetworkWithParams:(MTRNetworkCommissioningClusterReorderNetworkPa params:params]; } +- (NSNumber * _Nullable)readAttributeMaxNetworksWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeNetworkCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterNetworkCommissioningAttributeMaxNetworksID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeNetworksWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -6374,6 +8862,17 @@ - (void)reorderNetworkWithParams:(MTRNetworkCommissioningClusterReorderNetworkPa params:params]; } +- (NSArray * _Nullable) + readAttributeNetworksWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeNetworkCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterNetworkCommissioningAttributeNetworksID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeScanMaxTimeSecondsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -6382,6 +8881,16 @@ - (void)reorderNetworkWithParams:(MTRNetworkCommissioningClusterReorderNetworkPa params:params]; } +- (NSNumber * _Nullable)readAttributeScanMaxTimeSecondsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeNetworkCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterNetworkCommissioningAttributeScanMaxTimeSecondsID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeConnectMaxTimeSecondsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -6390,6 +8899,16 @@ - (void)reorderNetworkWithParams:(MTRNetworkCommissioningClusterReorderNetworkPa params:params]; } +- (NSNumber * _Nullable)readAttributeConnectMaxTimeSecondsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeNetworkCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterNetworkCommissioningAttributeConnectMaxTimeSecondsID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeInterfaceEnabledWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -6398,6 +8917,16 @@ - (void)reorderNetworkWithParams:(MTRNetworkCommissioningClusterReorderNetworkPa params:params]; } +- (NSNumber * _Nullable)readAttributeInterfaceEnabledWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeNetworkCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterNetworkCommissioningAttributeInterfaceEnabledID) + params:params + error:error]; +} + - (void)writeAttributeInterfaceEnabledWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -6425,6 +8954,16 @@ - (void)writeAttributeInterfaceEnabledWithValue:(NSDictionary *) params:params]; } +- (NSNumber * _Nullable)readAttributeLastNetworkingStatusWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeNetworkCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterNetworkCommissioningAttributeLastNetworkingStatusID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeLastNetworkIDWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -6433,6 +8972,16 @@ - (void)writeAttributeInterfaceEnabledWithValue:(NSDictionary *) params:params]; } +- (NSData * _Nullable)readAttributeLastNetworkIDWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeNetworkCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterNetworkCommissioningAttributeLastNetworkIDID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeLastConnectErrorValueWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -6441,6 +8990,16 @@ - (void)writeAttributeInterfaceEnabledWithValue:(NSDictionary *) params:params]; } +- (NSNumber * _Nullable)readAttributeLastConnectErrorValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeNetworkCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterNetworkCommissioningAttributeLastConnectErrorValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -6449,6 +9008,16 @@ - (void)writeAttributeInterfaceEnabledWithValue:(NSDictionary *) params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeNetworkCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterNetworkCommissioningAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -6457,6 +9026,16 @@ - (void)writeAttributeInterfaceEnabledWithValue:(NSDictionary *) params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeNetworkCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterNetworkCommissioningAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -6465,6 +9044,16 @@ - (void)writeAttributeInterfaceEnabledWithValue:(NSDictionary *) params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeNetworkCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterNetworkCommissioningAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -6473,6 +9062,16 @@ - (void)writeAttributeInterfaceEnabledWithValue:(NSDictionary *) params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeNetworkCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterNetworkCommissioningAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -6481,6 +9080,15 @@ - (void)writeAttributeInterfaceEnabledWithValue:(NSDictionary *) params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeNetworkCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterNetworkCommissioningAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -6489,6 +9097,16 @@ - (void)writeAttributeInterfaceEnabledWithValue:(NSDictionary *) params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeNetworkCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterNetworkCommissioningAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterNetworkCommissioning (Deprecated) @@ -6658,6 +9276,16 @@ - (void)retrieveLogsRequestWithParams:(MTRDiagnosticLogsClusterRetrieveLogsReque params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDiagnosticLogsID) + attributeID:@(MTRAttributeIDTypeClusterDiagnosticLogsAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -6666,6 +9294,16 @@ - (void)retrieveLogsRequestWithParams:(MTRDiagnosticLogsClusterRetrieveLogsReque params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDiagnosticLogsID) + attributeID:@(MTRAttributeIDTypeClusterDiagnosticLogsAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -6674,6 +9312,16 @@ - (void)retrieveLogsRequestWithParams:(MTRDiagnosticLogsClusterRetrieveLogsReque params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDiagnosticLogsID) + attributeID:@(MTRAttributeIDTypeClusterDiagnosticLogsAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -6682,6 +9330,16 @@ - (void)retrieveLogsRequestWithParams:(MTRDiagnosticLogsClusterRetrieveLogsReque params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDiagnosticLogsID) + attributeID:@(MTRAttributeIDTypeClusterDiagnosticLogsAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -6690,6 +9348,15 @@ - (void)retrieveLogsRequestWithParams:(MTRDiagnosticLogsClusterRetrieveLogsReque params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDiagnosticLogsID) + attributeID:@(MTRAttributeIDTypeClusterDiagnosticLogsAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -6698,6 +9365,16 @@ - (void)retrieveLogsRequestWithParams:(MTRDiagnosticLogsClusterRetrieveLogsReque params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDiagnosticLogsID) + attributeID:@(MTRAttributeIDTypeClusterDiagnosticLogsAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterDiagnosticLogs (Deprecated) @@ -6786,6 +9463,17 @@ - (void)testEventTriggerWithParams:(MTRGeneralDiagnosticsClusterTestEventTrigger params:params]; } +- (NSArray * _Nullable) + readAttributeNetworkInterfacesWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeGeneralDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterGeneralDiagnosticsAttributeNetworkInterfacesID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeRebootCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -6794,6 +9482,16 @@ - (void)testEventTriggerWithParams:(MTRGeneralDiagnosticsClusterTestEventTrigger params:params]; } +- (NSNumber * _Nullable)readAttributeRebootCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeGeneralDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterGeneralDiagnosticsAttributeRebootCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeUpTimeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -6802,6 +9500,15 @@ - (void)testEventTriggerWithParams:(MTRGeneralDiagnosticsClusterTestEventTrigger params:params]; } +- (NSNumber * _Nullable)readAttributeUpTimeWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeGeneralDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterGeneralDiagnosticsAttributeUpTimeID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeTotalOperationalHoursWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -6810,6 +9517,16 @@ - (void)testEventTriggerWithParams:(MTRGeneralDiagnosticsClusterTestEventTrigger params:params]; } +- (NSNumber * _Nullable)readAttributeTotalOperationalHoursWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeGeneralDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterGeneralDiagnosticsAttributeTotalOperationalHoursID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeBootReasonWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -6818,6 +9535,15 @@ - (void)testEventTriggerWithParams:(MTRGeneralDiagnosticsClusterTestEventTrigger params:params]; } +- (NSNumber * _Nullable)readAttributeBootReasonWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeGeneralDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterGeneralDiagnosticsAttributeBootReasonID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeActiveHardwareFaultsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -6826,6 +9552,16 @@ - (void)testEventTriggerWithParams:(MTRGeneralDiagnosticsClusterTestEventTrigger params:params]; } +- (NSArray * _Nullable)readAttributeActiveHardwareFaultsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeGeneralDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterGeneralDiagnosticsAttributeActiveHardwareFaultsID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeActiveRadioFaultsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -6834,6 +9570,16 @@ - (void)testEventTriggerWithParams:(MTRGeneralDiagnosticsClusterTestEventTrigger params:params]; } +- (NSArray * _Nullable)readAttributeActiveRadioFaultsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeGeneralDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterGeneralDiagnosticsAttributeActiveRadioFaultsID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeActiveNetworkFaultsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -6842,6 +9588,16 @@ - (void)testEventTriggerWithParams:(MTRGeneralDiagnosticsClusterTestEventTrigger params:params]; } +- (NSArray * _Nullable)readAttributeActiveNetworkFaultsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeGeneralDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterGeneralDiagnosticsAttributeActiveNetworkFaultsID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeTestEventTriggersEnabledWithParams:(MTRReadParams * _Nullable)params { return @@ -6851,6 +9607,17 @@ - (void)testEventTriggerWithParams:(MTRGeneralDiagnosticsClusterTestEventTrigger params:params]; } +- (NSNumber * _Nullable)readAttributeTestEventTriggersEnabledWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeGeneralDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterGeneralDiagnosticsAttributeTestEventTriggersEnabledID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAverageWearCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -6859,6 +9626,16 @@ - (void)testEventTriggerWithParams:(MTRGeneralDiagnosticsClusterTestEventTrigger params:params]; } +- (NSNumber * _Nullable)readAttributeAverageWearCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeGeneralDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterGeneralDiagnosticsAttributeAverageWearCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -6867,6 +9644,16 @@ - (void)testEventTriggerWithParams:(MTRGeneralDiagnosticsClusterTestEventTrigger params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeGeneralDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterGeneralDiagnosticsAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -6875,6 +9662,16 @@ - (void)testEventTriggerWithParams:(MTRGeneralDiagnosticsClusterTestEventTrigger params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeGeneralDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterGeneralDiagnosticsAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -6883,6 +9680,16 @@ - (void)testEventTriggerWithParams:(MTRGeneralDiagnosticsClusterTestEventTrigger params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeGeneralDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterGeneralDiagnosticsAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -6891,6 +9698,16 @@ - (void)testEventTriggerWithParams:(MTRGeneralDiagnosticsClusterTestEventTrigger params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeGeneralDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterGeneralDiagnosticsAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -6899,6 +9716,15 @@ - (void)testEventTriggerWithParams:(MTRGeneralDiagnosticsClusterTestEventTrigger params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeGeneralDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterGeneralDiagnosticsAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -6907,6 +9733,16 @@ - (void)testEventTriggerWithParams:(MTRGeneralDiagnosticsClusterTestEventTrigger params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeGeneralDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterGeneralDiagnosticsAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterGeneralDiagnostics (Deprecated) @@ -7003,6 +9839,17 @@ - (void)resetWatermarksWithParams:(MTRSoftwareDiagnosticsClusterResetWatermarksP params:params]; } +- (NSArray * _Nullable) + readAttributeThreadMetricsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeSoftwareDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterSoftwareDiagnosticsAttributeThreadMetricsID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeCurrentHeapFreeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7011,6 +9858,16 @@ - (void)resetWatermarksWithParams:(MTRSoftwareDiagnosticsClusterResetWatermarksP params:params]; } +- (NSNumber * _Nullable)readAttributeCurrentHeapFreeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeSoftwareDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterSoftwareDiagnosticsAttributeCurrentHeapFreeID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeCurrentHeapUsedWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7019,6 +9876,16 @@ - (void)resetWatermarksWithParams:(MTRSoftwareDiagnosticsClusterResetWatermarksP params:params]; } +- (NSNumber * _Nullable)readAttributeCurrentHeapUsedWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeSoftwareDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterSoftwareDiagnosticsAttributeCurrentHeapUsedID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeCurrentHeapHighWatermarkWithParams:(MTRReadParams * _Nullable)params { return @@ -7028,6 +9895,17 @@ - (void)resetWatermarksWithParams:(MTRSoftwareDiagnosticsClusterResetWatermarksP params:params]; } +- (NSNumber * _Nullable)readAttributeCurrentHeapHighWatermarkWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeSoftwareDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterSoftwareDiagnosticsAttributeCurrentHeapHighWatermarkID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7036,6 +9914,16 @@ - (void)resetWatermarksWithParams:(MTRSoftwareDiagnosticsClusterResetWatermarksP params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeSoftwareDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterSoftwareDiagnosticsAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7044,6 +9932,16 @@ - (void)resetWatermarksWithParams:(MTRSoftwareDiagnosticsClusterResetWatermarksP params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeSoftwareDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterSoftwareDiagnosticsAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7052,6 +9950,16 @@ - (void)resetWatermarksWithParams:(MTRSoftwareDiagnosticsClusterResetWatermarksP params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeSoftwareDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterSoftwareDiagnosticsAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7060,6 +9968,16 @@ - (void)resetWatermarksWithParams:(MTRSoftwareDiagnosticsClusterResetWatermarksP params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeSoftwareDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterSoftwareDiagnosticsAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7068,6 +9986,15 @@ - (void)resetWatermarksWithParams:(MTRSoftwareDiagnosticsClusterResetWatermarksP params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeSoftwareDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterSoftwareDiagnosticsAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7076,6 +10003,16 @@ - (void)resetWatermarksWithParams:(MTRSoftwareDiagnosticsClusterResetWatermarksP params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeSoftwareDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterSoftwareDiagnosticsAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterSoftwareDiagnostics (Deprecated) @@ -7177,6 +10114,15 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributeChannelWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeChannelID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeRoutingRoleWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7185,6 +10131,16 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributeRoutingRoleWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRoutingRoleID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeNetworkNameWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7193,6 +10149,16 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSString * _Nullable)readAttributeNetworkNameWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeNetworkNameID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePanIdWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7201,6 +10167,15 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributePanIdWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributePanIdID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeExtendedPanIdWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7209,6 +10184,16 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributeExtendedPanIdWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeExtendedPanIdID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMeshLocalPrefixWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7217,6 +10202,16 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSData * _Nullable)readAttributeMeshLocalPrefixWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeMeshLocalPrefixID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeOverrunCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7225,6 +10220,16 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributeOverrunCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeOverrunCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeNeighborTableWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7233,6 +10238,17 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSArray * _Nullable) + readAttributeNeighborTableWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeNeighborTableID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeRouteTableWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7241,6 +10257,17 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSArray * _Nullable) + readAttributeRouteTableWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRouteTableID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePartitionIdWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7249,6 +10276,16 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributePartitionIdWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributePartitionIdID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeWeightingWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7257,6 +10294,15 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributeWeightingWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeWeightingID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeDataVersionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7265,6 +10311,16 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributeDataVersionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeDataVersionID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeStableDataVersionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7273,6 +10329,16 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributeStableDataVersionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeStableDataVersionID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeLeaderRouterIdWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7281,6 +10347,16 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributeLeaderRouterIdWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeLeaderRouterIdID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeDetachedRoleCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7289,6 +10365,16 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributeDetachedRoleCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeDetachedRoleCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeChildRoleCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7297,6 +10383,16 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributeChildRoleCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeChildRoleCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeRouterRoleCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7305,6 +10401,16 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributeRouterRoleCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRouterRoleCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeLeaderRoleCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7313,6 +10419,16 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributeLeaderRoleCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeLeaderRoleCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttachAttemptCountWithParams:(MTRReadParams * _Nullable)params { return @@ -7322,6 +10438,17 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributeAttachAttemptCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeAttachAttemptCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePartitionIdChangeCountWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -7331,6 +10458,17 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributePartitionIdChangeCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributePartitionIdChangeCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeBetterPartitionAttachAttemptCountWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -7340,6 +10478,17 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributeBetterPartitionAttachAttemptCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeBetterPartitionAttachAttemptCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeParentChangeCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7348,6 +10497,16 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributeParentChangeCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeParentChangeCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeTxTotalCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7356,6 +10515,16 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributeTxTotalCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxTotalCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeTxUnicastCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7364,6 +10533,16 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributeTxUnicastCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxUnicastCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeTxBroadcastCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7372,6 +10551,16 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributeTxBroadcastCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxBroadcastCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeTxAckRequestedCountWithParams:(MTRReadParams * _Nullable)params { return @@ -7381,6 +10570,17 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributeTxAckRequestedCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxAckRequestedCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeTxAckedCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7389,6 +10589,16 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributeTxAckedCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxAckedCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeTxNoAckRequestedCountWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -7398,6 +10608,17 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributeTxNoAckRequestedCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxNoAckRequestedCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeTxDataCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7406,6 +10627,16 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributeTxDataCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxDataCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeTxDataPollCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7414,6 +10645,16 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributeTxDataPollCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxDataPollCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeTxBeaconCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7422,6 +10663,16 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributeTxBeaconCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxBeaconCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeTxBeaconRequestCountWithParams:(MTRReadParams * _Nullable)params { return @@ -7431,6 +10682,17 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributeTxBeaconRequestCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxBeaconRequestCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeTxOtherCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7439,6 +10701,16 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributeTxOtherCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxOtherCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeTxRetryCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7447,6 +10719,16 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributeTxRetryCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxRetryCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeTxDirectMaxRetryExpiryCountWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -7456,6 +10738,17 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributeTxDirectMaxRetryExpiryCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxDirectMaxRetryExpiryCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeTxIndirectMaxRetryExpiryCountWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -7465,6 +10758,17 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributeTxIndirectMaxRetryExpiryCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxIndirectMaxRetryExpiryCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeTxErrCcaCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7473,6 +10777,16 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributeTxErrCcaCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxErrCcaCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeTxErrAbortCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7481,6 +10795,16 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributeTxErrAbortCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxErrAbortCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeTxErrBusyChannelCountWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -7490,6 +10814,17 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributeTxErrBusyChannelCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxErrBusyChannelCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeRxTotalCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7498,6 +10833,16 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributeRxTotalCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxTotalCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeRxUnicastCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7506,6 +10851,16 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributeRxUnicastCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxUnicastCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeRxBroadcastCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7514,6 +10869,16 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributeRxBroadcastCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxBroadcastCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeRxDataCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7522,6 +10887,16 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributeRxDataCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxDataCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeRxDataPollCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7530,6 +10905,16 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributeRxDataPollCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxDataPollCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeRxBeaconCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7538,6 +10923,16 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributeRxBeaconCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxBeaconCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeRxBeaconRequestCountWithParams:(MTRReadParams * _Nullable)params { return @@ -7547,6 +10942,17 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributeRxBeaconRequestCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxBeaconRequestCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeRxOtherCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7555,6 +10961,16 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributeRxOtherCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxOtherCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeRxAddressFilteredCountWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -7564,6 +10980,17 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributeRxAddressFilteredCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxAddressFilteredCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeRxDestAddrFilteredCountWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -7573,6 +11000,17 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributeRxDestAddrFilteredCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxDestAddrFilteredCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeRxDuplicatedCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7581,6 +11019,16 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributeRxDuplicatedCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxDuplicatedCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeRxErrNoFrameCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7589,6 +11037,16 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributeRxErrNoFrameCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxErrNoFrameCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeRxErrUnknownNeighborCountWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -7598,6 +11056,17 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributeRxErrUnknownNeighborCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxErrUnknownNeighborCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeRxErrInvalidSrcAddrCountWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -7607,6 +11076,17 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributeRxErrInvalidSrcAddrCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxErrInvalidSrcAddrCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeRxErrSecCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7615,6 +11095,16 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributeRxErrSecCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxErrSecCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeRxErrFcsCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7623,6 +11113,16 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributeRxErrFcsCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxErrFcsCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeRxErrOtherCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7631,6 +11131,16 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributeRxErrOtherCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxErrOtherCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeActiveTimestampWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7639,6 +11149,16 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributeActiveTimestampWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeActiveTimestampID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePendingTimestampWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7647,6 +11167,16 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributePendingTimestampWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributePendingTimestampID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeDelayWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7655,6 +11185,15 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributeDelayWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeDelayID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeSecurityPolicyWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7663,6 +11202,17 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (MTRThreadNetworkDiagnosticsClusterSecurityPolicy * _Nullable) + readAttributeSecurityPolicyWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeSecurityPolicyID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeChannelPage0MaskWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7671,6 +11221,16 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSData * _Nullable)readAttributeChannelPage0MaskWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeChannelPage0MaskID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeOperationalDatasetComponentsWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -7680,6 +11240,18 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (MTRThreadNetworkDiagnosticsClusterOperationalDatasetComponents * _Nullable) + readAttributeOperationalDatasetComponentsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeOperationalDatasetComponentsID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeActiveNetworkFaultsListWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -7689,6 +11261,17 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSArray * _Nullable)readAttributeActiveNetworkFaultsListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeActiveNetworkFaultsListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return @@ -7698,6 +11281,17 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return @@ -7707,6 +11301,17 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7715,6 +11320,16 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7723,6 +11338,16 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7731,6 +11356,15 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7739,6 +11373,16 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterThreadNetworkDiagnostics (Deprecated) @@ -7848,6 +11492,15 @@ - (void)resetCountsWithParams:(MTRWiFiNetworkDiagnosticsClusterResetCountsParams params:params]; } +- (NSData * _Nullable)readAttributeBSSIDWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeWiFiNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeBSSIDID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeSecurityTypeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7856,6 +11509,16 @@ - (void)resetCountsWithParams:(MTRWiFiNetworkDiagnosticsClusterResetCountsParams params:params]; } +- (NSNumber * _Nullable)readAttributeSecurityTypeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeWiFiNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeSecurityTypeID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeWiFiVersionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7864,6 +11527,16 @@ - (void)resetCountsWithParams:(MTRWiFiNetworkDiagnosticsClusterResetCountsParams params:params]; } +- (NSNumber * _Nullable)readAttributeWiFiVersionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeWiFiNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeWiFiVersionID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeChannelNumberWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7872,7 +11545,17 @@ - (void)resetCountsWithParams:(MTRWiFiNetworkDiagnosticsClusterResetCountsParams params:params]; } -- (NSDictionary *)readAttributeRSSIWithParams:(MTRReadParams * _Nullable)params +- (NSNumber * _Nullable)readAttributeChannelNumberWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeWiFiNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeChannelNumberID) + params:params + error:error]; +} + +- (NSDictionary *)readAttributeRSSIWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) clusterID:@(MTRClusterIDTypeWiFiNetworkDiagnosticsID) @@ -7880,6 +11563,15 @@ - (void)resetCountsWithParams:(MTRWiFiNetworkDiagnosticsClusterResetCountsParams params:params]; } +- (NSNumber * _Nullable)readAttributeRSSIWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeWiFiNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeRSSIID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeBeaconLostCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7888,6 +11580,16 @@ - (void)resetCountsWithParams:(MTRWiFiNetworkDiagnosticsClusterResetCountsParams params:params]; } +- (NSNumber * _Nullable)readAttributeBeaconLostCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeWiFiNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeBeaconLostCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeBeaconRxCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7896,6 +11598,16 @@ - (void)resetCountsWithParams:(MTRWiFiNetworkDiagnosticsClusterResetCountsParams params:params]; } +- (NSNumber * _Nullable)readAttributeBeaconRxCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeWiFiNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeBeaconRxCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePacketMulticastRxCountWithParams:(MTRReadParams * _Nullable)params { return @@ -7905,6 +11617,17 @@ - (void)resetCountsWithParams:(MTRWiFiNetworkDiagnosticsClusterResetCountsParams params:params]; } +- (NSNumber * _Nullable)readAttributePacketMulticastRxCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeWiFiNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterWiFiNetworkDiagnosticsAttributePacketMulticastRxCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePacketMulticastTxCountWithParams:(MTRReadParams * _Nullable)params { return @@ -7914,6 +11637,17 @@ - (void)resetCountsWithParams:(MTRWiFiNetworkDiagnosticsClusterResetCountsParams params:params]; } +- (NSNumber * _Nullable)readAttributePacketMulticastTxCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeWiFiNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterWiFiNetworkDiagnosticsAttributePacketMulticastTxCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePacketUnicastRxCountWithParams:(MTRReadParams * _Nullable)params { return @@ -7923,6 +11657,17 @@ - (void)resetCountsWithParams:(MTRWiFiNetworkDiagnosticsClusterResetCountsParams params:params]; } +- (NSNumber * _Nullable)readAttributePacketUnicastRxCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeWiFiNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterWiFiNetworkDiagnosticsAttributePacketUnicastRxCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePacketUnicastTxCountWithParams:(MTRReadParams * _Nullable)params { return @@ -7932,6 +11677,17 @@ - (void)resetCountsWithParams:(MTRWiFiNetworkDiagnosticsClusterResetCountsParams params:params]; } +- (NSNumber * _Nullable)readAttributePacketUnicastTxCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeWiFiNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterWiFiNetworkDiagnosticsAttributePacketUnicastTxCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeCurrentMaxRateWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7940,6 +11696,16 @@ - (void)resetCountsWithParams:(MTRWiFiNetworkDiagnosticsClusterResetCountsParams params:params]; } +- (NSNumber * _Nullable)readAttributeCurrentMaxRateWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeWiFiNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeCurrentMaxRateID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeOverrunCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7948,6 +11714,16 @@ - (void)resetCountsWithParams:(MTRWiFiNetworkDiagnosticsClusterResetCountsParams params:params]; } +- (NSNumber * _Nullable)readAttributeOverrunCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeWiFiNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeOverrunCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return @@ -7957,6 +11733,17 @@ - (void)resetCountsWithParams:(MTRWiFiNetworkDiagnosticsClusterResetCountsParams params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeWiFiNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7965,6 +11752,16 @@ - (void)resetCountsWithParams:(MTRWiFiNetworkDiagnosticsClusterResetCountsParams params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeWiFiNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7973,6 +11770,16 @@ - (void)resetCountsWithParams:(MTRWiFiNetworkDiagnosticsClusterResetCountsParams params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeWiFiNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7981,6 +11788,16 @@ - (void)resetCountsWithParams:(MTRWiFiNetworkDiagnosticsClusterResetCountsParams params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeWiFiNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7989,6 +11806,15 @@ - (void)resetCountsWithParams:(MTRWiFiNetworkDiagnosticsClusterResetCountsParams params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeWiFiNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -7997,6 +11823,16 @@ - (void)resetCountsWithParams:(MTRWiFiNetworkDiagnosticsClusterResetCountsParams params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeWiFiNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterWiFiNetworkDiagnostics (Deprecated) @@ -8106,6 +11942,15 @@ - (void)resetCountsWithParams:(MTREthernetNetworkDiagnosticsClusterResetCountsPa params:params]; } +- (NSNumber * _Nullable)readAttributePHYRateWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeEthernetNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterEthernetNetworkDiagnosticsAttributePHYRateID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFullDuplexWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -8114,6 +11959,15 @@ - (void)resetCountsWithParams:(MTREthernetNetworkDiagnosticsClusterResetCountsPa params:params]; } +- (NSNumber * _Nullable)readAttributeFullDuplexWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeEthernetNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterEthernetNetworkDiagnosticsAttributeFullDuplexID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePacketRxCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -8122,6 +11976,16 @@ - (void)resetCountsWithParams:(MTREthernetNetworkDiagnosticsClusterResetCountsPa params:params]; } +- (NSNumber * _Nullable)readAttributePacketRxCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeEthernetNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterEthernetNetworkDiagnosticsAttributePacketRxCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePacketTxCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -8130,6 +11994,16 @@ - (void)resetCountsWithParams:(MTREthernetNetworkDiagnosticsClusterResetCountsPa params:params]; } +- (NSNumber * _Nullable)readAttributePacketTxCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeEthernetNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterEthernetNetworkDiagnosticsAttributePacketTxCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeTxErrCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -8138,6 +12012,15 @@ - (void)resetCountsWithParams:(MTREthernetNetworkDiagnosticsClusterResetCountsPa params:params]; } +- (NSNumber * _Nullable)readAttributeTxErrCountWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeEthernetNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterEthernetNetworkDiagnosticsAttributeTxErrCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeCollisionCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -8146,6 +12029,16 @@ - (void)resetCountsWithParams:(MTREthernetNetworkDiagnosticsClusterResetCountsPa params:params]; } +- (NSNumber * _Nullable)readAttributeCollisionCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeEthernetNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterEthernetNetworkDiagnosticsAttributeCollisionCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeOverrunCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -8154,6 +12047,16 @@ - (void)resetCountsWithParams:(MTREthernetNetworkDiagnosticsClusterResetCountsPa params:params]; } +- (NSNumber * _Nullable)readAttributeOverrunCountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeEthernetNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterEthernetNetworkDiagnosticsAttributeOverrunCountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeCarrierDetectWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -8162,6 +12065,16 @@ - (void)resetCountsWithParams:(MTREthernetNetworkDiagnosticsClusterResetCountsPa params:params]; } +- (NSNumber * _Nullable)readAttributeCarrierDetectWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeEthernetNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterEthernetNetworkDiagnosticsAttributeCarrierDetectID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeTimeSinceResetWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -8170,6 +12083,16 @@ - (void)resetCountsWithParams:(MTREthernetNetworkDiagnosticsClusterResetCountsPa params:params]; } +- (NSNumber * _Nullable)readAttributeTimeSinceResetWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeEthernetNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterEthernetNetworkDiagnosticsAttributeTimeSinceResetID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -8179,6 +12102,17 @@ - (void)resetCountsWithParams:(MTREthernetNetworkDiagnosticsClusterResetCountsPa params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeEthernetNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterEthernetNetworkDiagnosticsAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -8188,6 +12122,17 @@ - (void)resetCountsWithParams:(MTREthernetNetworkDiagnosticsClusterResetCountsPa params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeEthernetNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterEthernetNetworkDiagnosticsAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -8196,6 +12141,16 @@ - (void)resetCountsWithParams:(MTREthernetNetworkDiagnosticsClusterResetCountsPa params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeEthernetNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterEthernetNetworkDiagnosticsAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -8204,6 +12159,16 @@ - (void)resetCountsWithParams:(MTREthernetNetworkDiagnosticsClusterResetCountsPa params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeEthernetNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterEthernetNetworkDiagnosticsAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -8212,6 +12177,15 @@ - (void)resetCountsWithParams:(MTREthernetNetworkDiagnosticsClusterResetCountsPa params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeEthernetNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterEthernetNetworkDiagnosticsAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -8220,6 +12194,16 @@ - (void)resetCountsWithParams:(MTREthernetNetworkDiagnosticsClusterResetCountsPa params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeEthernetNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterEthernetNetworkDiagnosticsAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterEthernetNetworkDiagnostics (Deprecated) @@ -8474,6 +12458,15 @@ - (void)setDefaultNTPWithParams:(MTRTimeSynchronizationClusterSetDefaultNTPParam params:params]; } +- (NSNumber * _Nullable)readAttributeUTCTimeWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTimeSynchronizationID) + attributeID:@(MTRAttributeIDTypeClusterTimeSynchronizationAttributeUTCTimeID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGranularityWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -8482,6 +12475,16 @@ - (void)setDefaultNTPWithParams:(MTRTimeSynchronizationClusterSetDefaultNTPParam params:params]; } +- (NSNumber * _Nullable)readAttributeGranularityWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTimeSynchronizationID) + attributeID:@(MTRAttributeIDTypeClusterTimeSynchronizationAttributeGranularityID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeTimeSourceWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -8490,6 +12493,15 @@ - (void)setDefaultNTPWithParams:(MTRTimeSynchronizationClusterSetDefaultNTPParam params:params]; } +- (NSNumber * _Nullable)readAttributeTimeSourceWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTimeSynchronizationID) + attributeID:@(MTRAttributeIDTypeClusterTimeSynchronizationAttributeTimeSourceID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeTrustedTimeSourceWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -8498,6 +12510,17 @@ - (void)setDefaultNTPWithParams:(MTRTimeSynchronizationClusterSetDefaultNTPParam params:params]; } +- (MTRTimeSynchronizationClusterTrustedTimeSourceStruct * _Nullable) + readAttributeTrustedTimeSourceWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTimeSynchronizationID) + attributeID:@(MTRAttributeIDTypeClusterTimeSynchronizationAttributeTrustedTimeSourceID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeDefaultNTPWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -8506,6 +12529,15 @@ - (void)setDefaultNTPWithParams:(MTRTimeSynchronizationClusterSetDefaultNTPParam params:params]; } +- (NSString * _Nullable)readAttributeDefaultNTPWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTimeSynchronizationID) + attributeID:@(MTRAttributeIDTypeClusterTimeSynchronizationAttributeDefaultNTPID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeTimeZoneWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -8514,6 +12546,17 @@ - (void)setDefaultNTPWithParams:(MTRTimeSynchronizationClusterSetDefaultNTPParam params:params]; } +- (NSArray * _Nullable) + readAttributeTimeZoneWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTimeSynchronizationID) + attributeID:@(MTRAttributeIDTypeClusterTimeSynchronizationAttributeTimeZoneID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeDSTOffsetWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -8522,6 +12565,17 @@ - (void)setDefaultNTPWithParams:(MTRTimeSynchronizationClusterSetDefaultNTPParam params:params]; } +- (NSArray * _Nullable) + readAttributeDSTOffsetWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTimeSynchronizationID) + attributeID:@(MTRAttributeIDTypeClusterTimeSynchronizationAttributeDSTOffsetID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeLocalTimeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -8530,6 +12584,15 @@ - (void)setDefaultNTPWithParams:(MTRTimeSynchronizationClusterSetDefaultNTPParam params:params]; } +- (NSNumber * _Nullable)readAttributeLocalTimeWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTimeSynchronizationID) + attributeID:@(MTRAttributeIDTypeClusterTimeSynchronizationAttributeLocalTimeID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeTimeZoneDatabaseWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -8538,6 +12601,16 @@ - (void)setDefaultNTPWithParams:(MTRTimeSynchronizationClusterSetDefaultNTPParam params:params]; } +- (NSNumber * _Nullable)readAttributeTimeZoneDatabaseWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTimeSynchronizationID) + attributeID:@(MTRAttributeIDTypeClusterTimeSynchronizationAttributeTimeZoneDatabaseID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeNTPServerAvailableWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -8546,6 +12619,16 @@ - (void)setDefaultNTPWithParams:(MTRTimeSynchronizationClusterSetDefaultNTPParam params:params]; } +- (NSNumber * _Nullable)readAttributeNTPServerAvailableWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTimeSynchronizationID) + attributeID:@(MTRAttributeIDTypeClusterTimeSynchronizationAttributeNTPServerAvailableID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeTimeZoneListMaxSizeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -8554,6 +12637,16 @@ - (void)setDefaultNTPWithParams:(MTRTimeSynchronizationClusterSetDefaultNTPParam params:params]; } +- (NSNumber * _Nullable)readAttributeTimeZoneListMaxSizeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTimeSynchronizationID) + attributeID:@(MTRAttributeIDTypeClusterTimeSynchronizationAttributeTimeZoneListMaxSizeID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeDSTOffsetListMaxSizeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -8562,6 +12655,16 @@ - (void)setDefaultNTPWithParams:(MTRTimeSynchronizationClusterSetDefaultNTPParam params:params]; } +- (NSNumber * _Nullable)readAttributeDSTOffsetListMaxSizeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTimeSynchronizationID) + attributeID:@(MTRAttributeIDTypeClusterTimeSynchronizationAttributeDSTOffsetListMaxSizeID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeSupportsDNSResolveWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -8570,6 +12673,16 @@ - (void)setDefaultNTPWithParams:(MTRTimeSynchronizationClusterSetDefaultNTPParam params:params]; } +- (NSNumber * _Nullable)readAttributeSupportsDNSResolveWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTimeSynchronizationID) + attributeID:@(MTRAttributeIDTypeClusterTimeSynchronizationAttributeSupportsDNSResolveID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -8578,6 +12691,16 @@ - (void)setDefaultNTPWithParams:(MTRTimeSynchronizationClusterSetDefaultNTPParam params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTimeSynchronizationID) + attributeID:@(MTRAttributeIDTypeClusterTimeSynchronizationAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -8586,6 +12709,16 @@ - (void)setDefaultNTPWithParams:(MTRTimeSynchronizationClusterSetDefaultNTPParam params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTimeSynchronizationID) + attributeID:@(MTRAttributeIDTypeClusterTimeSynchronizationAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -8594,6 +12727,16 @@ - (void)setDefaultNTPWithParams:(MTRTimeSynchronizationClusterSetDefaultNTPParam params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTimeSynchronizationID) + attributeID:@(MTRAttributeIDTypeClusterTimeSynchronizationAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -8602,6 +12745,16 @@ - (void)setDefaultNTPWithParams:(MTRTimeSynchronizationClusterSetDefaultNTPParam params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTimeSynchronizationID) + attributeID:@(MTRAttributeIDTypeClusterTimeSynchronizationAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -8610,6 +12763,15 @@ - (void)setDefaultNTPWithParams:(MTRTimeSynchronizationClusterSetDefaultNTPParam params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTimeSynchronizationID) + attributeID:@(MTRAttributeIDTypeClusterTimeSynchronizationAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -8618,6 +12780,16 @@ - (void)setDefaultNTPWithParams:(MTRTimeSynchronizationClusterSetDefaultNTPParam params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTimeSynchronizationID) + attributeID:@(MTRAttributeIDTypeClusterTimeSynchronizationAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterBridgedDeviceBasicInformation @@ -8642,6 +12814,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSString * _Nullable)readAttributeVendorNameWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBridgedDeviceBasicInformationID) + attributeID:@(MTRAttributeIDTypeClusterBridgedDeviceBasicInformationAttributeVendorNameID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeVendorIDWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -8650,6 +12831,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeVendorIDWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBridgedDeviceBasicInformationID) + attributeID:@(MTRAttributeIDTypeClusterBridgedDeviceBasicInformationAttributeVendorIDID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeProductNameWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -8658,6 +12848,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSString * _Nullable)readAttributeProductNameWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBridgedDeviceBasicInformationID) + attributeID:@(MTRAttributeIDTypeClusterBridgedDeviceBasicInformationAttributeProductNameID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeNodeLabelWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -8666,6 +12866,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSString * _Nullable)readAttributeNodeLabelWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBridgedDeviceBasicInformationID) + attributeID:@(MTRAttributeIDTypeClusterBridgedDeviceBasicInformationAttributeNodeLabelID) + params:params + error:error]; +} + - (void)writeAttributeNodeLabelWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -8694,6 +12903,17 @@ - (void)writeAttributeNodeLabelWithValue:(NSDictionary *)dataVal params:params]; } +- (NSNumber * _Nullable)readAttributeHardwareVersionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBridgedDeviceBasicInformationID) + attributeID:@(MTRAttributeIDTypeClusterBridgedDeviceBasicInformationAttributeHardwareVersionID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeHardwareVersionStringWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -8703,6 +12923,17 @@ - (void)writeAttributeNodeLabelWithValue:(NSDictionary *)dataVal params:params]; } +- (NSString * _Nullable)readAttributeHardwareVersionStringWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBridgedDeviceBasicInformationID) + attributeID:@(MTRAttributeIDTypeClusterBridgedDeviceBasicInformationAttributeHardwareVersionStringID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeSoftwareVersionWithParams:(MTRReadParams * _Nullable)params { return @@ -8712,6 +12943,17 @@ - (void)writeAttributeNodeLabelWithValue:(NSDictionary *)dataVal params:params]; } +- (NSNumber * _Nullable)readAttributeSoftwareVersionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBridgedDeviceBasicInformationID) + attributeID:@(MTRAttributeIDTypeClusterBridgedDeviceBasicInformationAttributeSoftwareVersionID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeSoftwareVersionStringWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -8721,6 +12963,17 @@ - (void)writeAttributeNodeLabelWithValue:(NSDictionary *)dataVal params:params]; } +- (NSString * _Nullable)readAttributeSoftwareVersionStringWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBridgedDeviceBasicInformationID) + attributeID:@(MTRAttributeIDTypeClusterBridgedDeviceBasicInformationAttributeSoftwareVersionStringID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeManufacturingDateWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -8730,6 +12983,17 @@ - (void)writeAttributeNodeLabelWithValue:(NSDictionary *)dataVal params:params]; } +- (NSString * _Nullable)readAttributeManufacturingDateWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBridgedDeviceBasicInformationID) + attributeID:@(MTRAttributeIDTypeClusterBridgedDeviceBasicInformationAttributeManufacturingDateID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePartNumberWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -8738,6 +13002,15 @@ - (void)writeAttributeNodeLabelWithValue:(NSDictionary *)dataVal params:params]; } +- (NSString * _Nullable)readAttributePartNumberWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBridgedDeviceBasicInformationID) + attributeID:@(MTRAttributeIDTypeClusterBridgedDeviceBasicInformationAttributePartNumberID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeProductURLWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -8746,6 +13019,15 @@ - (void)writeAttributeNodeLabelWithValue:(NSDictionary *)dataVal params:params]; } +- (NSString * _Nullable)readAttributeProductURLWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBridgedDeviceBasicInformationID) + attributeID:@(MTRAttributeIDTypeClusterBridgedDeviceBasicInformationAttributeProductURLID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeProductLabelWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -8754,6 +13036,16 @@ - (void)writeAttributeNodeLabelWithValue:(NSDictionary *)dataVal params:params]; } +- (NSString * _Nullable)readAttributeProductLabelWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBridgedDeviceBasicInformationID) + attributeID:@(MTRAttributeIDTypeClusterBridgedDeviceBasicInformationAttributeProductLabelID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeSerialNumberWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -8762,6 +13054,16 @@ - (void)writeAttributeNodeLabelWithValue:(NSDictionary *)dataVal params:params]; } +- (NSString * _Nullable)readAttributeSerialNumberWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBridgedDeviceBasicInformationID) + attributeID:@(MTRAttributeIDTypeClusterBridgedDeviceBasicInformationAttributeSerialNumberID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeReachableWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -8770,6 +13072,15 @@ - (void)writeAttributeNodeLabelWithValue:(NSDictionary *)dataVal params:params]; } +- (NSNumber * _Nullable)readAttributeReachableWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBridgedDeviceBasicInformationID) + attributeID:@(MTRAttributeIDTypeClusterBridgedDeviceBasicInformationAttributeReachableID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeUniqueIDWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -8778,6 +13089,15 @@ - (void)writeAttributeNodeLabelWithValue:(NSDictionary *)dataVal params:params]; } +- (NSString * _Nullable)readAttributeUniqueIDWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBridgedDeviceBasicInformationID) + attributeID:@(MTRAttributeIDTypeClusterBridgedDeviceBasicInformationAttributeUniqueIDID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeProductAppearanceWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -8787,6 +13107,18 @@ - (void)writeAttributeNodeLabelWithValue:(NSDictionary *)dataVal params:params]; } +- (MTRBridgedDeviceBasicInformationClusterProductAppearanceStruct * _Nullable) + readAttributeProductAppearanceWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBridgedDeviceBasicInformationID) + attributeID:@(MTRAttributeIDTypeClusterBridgedDeviceBasicInformationAttributeProductAppearanceID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -8796,6 +13128,17 @@ - (void)writeAttributeNodeLabelWithValue:(NSDictionary *)dataVal params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBridgedDeviceBasicInformationID) + attributeID:@(MTRAttributeIDTypeClusterBridgedDeviceBasicInformationAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -8805,6 +13148,17 @@ - (void)writeAttributeNodeLabelWithValue:(NSDictionary *)dataVal params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBridgedDeviceBasicInformationID) + attributeID:@(MTRAttributeIDTypeClusterBridgedDeviceBasicInformationAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -8813,6 +13167,16 @@ - (void)writeAttributeNodeLabelWithValue:(NSDictionary *)dataVal params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBridgedDeviceBasicInformationID) + attributeID:@(MTRAttributeIDTypeClusterBridgedDeviceBasicInformationAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return @@ -8822,6 +13186,17 @@ - (void)writeAttributeNodeLabelWithValue:(NSDictionary *)dataVal params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBridgedDeviceBasicInformationID) + attributeID:@(MTRAttributeIDTypeClusterBridgedDeviceBasicInformationAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -8830,6 +13205,15 @@ - (void)writeAttributeNodeLabelWithValue:(NSDictionary *)dataVal params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBridgedDeviceBasicInformationID) + attributeID:@(MTRAttributeIDTypeClusterBridgedDeviceBasicInformationAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return @@ -8839,6 +13223,17 @@ - (void)writeAttributeNodeLabelWithValue:(NSDictionary *)dataVal params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBridgedDeviceBasicInformationID) + attributeID:@(MTRAttributeIDTypeClusterBridgedDeviceBasicInformationAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterBridgedDeviceBasic @end @@ -8874,6 +13269,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeNumberOfPositionsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeSwitchID) + attributeID:@(MTRAttributeIDTypeClusterSwitchAttributeNumberOfPositionsID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeCurrentPositionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -8882,6 +13287,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeCurrentPositionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeSwitchID) + attributeID:@(MTRAttributeIDTypeClusterSwitchAttributeCurrentPositionID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMultiPressMaxWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -8890,6 +13305,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMultiPressMaxWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeSwitchID) + attributeID:@(MTRAttributeIDTypeClusterSwitchAttributeMultiPressMaxID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -8898,6 +13323,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeSwitchID) + attributeID:@(MTRAttributeIDTypeClusterSwitchAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -8906,6 +13341,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeSwitchID) + attributeID:@(MTRAttributeIDTypeClusterSwitchAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -8914,6 +13359,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeSwitchID) + attributeID:@(MTRAttributeIDTypeClusterSwitchAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -8922,6 +13377,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeSwitchID) + attributeID:@(MTRAttributeIDTypeClusterSwitchAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -8930,6 +13395,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeSwitchID) + attributeID:@(MTRAttributeIDTypeClusterSwitchAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -8938,6 +13412,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeSwitchID) + attributeID:@(MTRAttributeIDTypeClusterSwitchAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterSwitch (Deprecated) @@ -9102,6 +13586,16 @@ - (void)revokeCommissioningWithParams:(MTRAdministratorCommissioningClusterRevok params:params]; } +- (NSNumber * _Nullable)readAttributeWindowStatusWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeAdministratorCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterAdministratorCommissioningAttributeWindowStatusID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAdminFabricIndexWithParams:(MTRReadParams * _Nullable)params { return @@ -9111,6 +13605,17 @@ - (void)revokeCommissioningWithParams:(MTRAdministratorCommissioningClusterRevok params:params]; } +- (NSNumber * _Nullable)readAttributeAdminFabricIndexWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeAdministratorCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterAdministratorCommissioningAttributeAdminFabricIndexID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAdminVendorIdWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -9119,6 +13624,16 @@ - (void)revokeCommissioningWithParams:(MTRAdministratorCommissioningClusterRevok params:params]; } +- (NSNumber * _Nullable)readAttributeAdminVendorIdWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeAdministratorCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterAdministratorCommissioningAttributeAdminVendorIdID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -9128,6 +13643,17 @@ - (void)revokeCommissioningWithParams:(MTRAdministratorCommissioningClusterRevok params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeAdministratorCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterAdministratorCommissioningAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -9137,6 +13663,17 @@ - (void)revokeCommissioningWithParams:(MTRAdministratorCommissioningClusterRevok params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeAdministratorCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterAdministratorCommissioningAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -9145,6 +13682,16 @@ - (void)revokeCommissioningWithParams:(MTRAdministratorCommissioningClusterRevok params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeAdministratorCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterAdministratorCommissioningAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -9153,6 +13700,16 @@ - (void)revokeCommissioningWithParams:(MTRAdministratorCommissioningClusterRevok params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeAdministratorCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterAdministratorCommissioningAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -9161,6 +13718,15 @@ - (void)revokeCommissioningWithParams:(MTRAdministratorCommissioningClusterRevok params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeAdministratorCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterAdministratorCommissioningAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -9169,6 +13735,16 @@ - (void)revokeCommissioningWithParams:(MTRAdministratorCommissioningClusterRevok params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeAdministratorCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterAdministratorCommissioningAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterAdministratorCommissioning (Deprecated) @@ -9577,6 +14153,16 @@ - (void)addTrustedRootCertificateWithParams:(MTROperationalCredentialsClusterAdd params:params]; } +- (NSArray * _Nullable)readAttributeNOCsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOperationalCredentialsID) + attributeID:@(MTRAttributeIDTypeClusterOperationalCredentialsAttributeNOCsID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFabricsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -9585,6 +14171,17 @@ - (void)addTrustedRootCertificateWithParams:(MTROperationalCredentialsClusterAdd params:params]; } +- (NSArray * _Nullable) + readAttributeFabricsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOperationalCredentialsID) + attributeID:@(MTRAttributeIDTypeClusterOperationalCredentialsAttributeFabricsID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeSupportedFabricsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -9593,6 +14190,16 @@ - (void)addTrustedRootCertificateWithParams:(MTROperationalCredentialsClusterAdd params:params]; } +- (NSNumber * _Nullable)readAttributeSupportedFabricsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOperationalCredentialsID) + attributeID:@(MTRAttributeIDTypeClusterOperationalCredentialsAttributeSupportedFabricsID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeCommissionedFabricsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -9601,6 +14208,16 @@ - (void)addTrustedRootCertificateWithParams:(MTROperationalCredentialsClusterAdd params:params]; } +- (NSNumber * _Nullable)readAttributeCommissionedFabricsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOperationalCredentialsID) + attributeID:@(MTRAttributeIDTypeClusterOperationalCredentialsAttributeCommissionedFabricsID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeTrustedRootCertificatesWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -9610,6 +14227,17 @@ - (void)addTrustedRootCertificateWithParams:(MTROperationalCredentialsClusterAdd params:params]; } +- (NSArray * _Nullable)readAttributeTrustedRootCertificatesWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOperationalCredentialsID) + attributeID:@(MTRAttributeIDTypeClusterOperationalCredentialsAttributeTrustedRootCertificatesID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeCurrentFabricIndexWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -9618,6 +14246,16 @@ - (void)addTrustedRootCertificateWithParams:(MTROperationalCredentialsClusterAdd params:params]; } +- (NSNumber * _Nullable)readAttributeCurrentFabricIndexWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOperationalCredentialsID) + attributeID:@(MTRAttributeIDTypeClusterOperationalCredentialsAttributeCurrentFabricIndexID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return @@ -9627,6 +14265,17 @@ - (void)addTrustedRootCertificateWithParams:(MTROperationalCredentialsClusterAdd params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOperationalCredentialsID) + attributeID:@(MTRAttributeIDTypeClusterOperationalCredentialsAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -9635,6 +14284,16 @@ - (void)addTrustedRootCertificateWithParams:(MTROperationalCredentialsClusterAdd params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOperationalCredentialsID) + attributeID:@(MTRAttributeIDTypeClusterOperationalCredentialsAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -9643,6 +14302,16 @@ - (void)addTrustedRootCertificateWithParams:(MTROperationalCredentialsClusterAdd params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOperationalCredentialsID) + attributeID:@(MTRAttributeIDTypeClusterOperationalCredentialsAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -9651,6 +14320,16 @@ - (void)addTrustedRootCertificateWithParams:(MTROperationalCredentialsClusterAdd params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOperationalCredentialsID) + attributeID:@(MTRAttributeIDTypeClusterOperationalCredentialsAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -9659,6 +14338,15 @@ - (void)addTrustedRootCertificateWithParams:(MTROperationalCredentialsClusterAdd params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOperationalCredentialsID) + attributeID:@(MTRAttributeIDTypeClusterOperationalCredentialsAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -9667,6 +14355,16 @@ - (void)addTrustedRootCertificateWithParams:(MTROperationalCredentialsClusterAdd params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOperationalCredentialsID) + attributeID:@(MTRAttributeIDTypeClusterOperationalCredentialsAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterOperationalCredentials (Deprecated) @@ -9989,6 +14687,17 @@ - (void)keySetReadAllIndicesWithParams:(MTRGroupKeyManagementClusterKeySetReadAl params:params]; } +- (NSArray * _Nullable) + readAttributeGroupKeyMapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeGroupKeyManagementID) + attributeID:@(MTRAttributeIDTypeClusterGroupKeyManagementAttributeGroupKeyMapID) + params:params + error:error]; +} + - (void)writeAttributeGroupKeyMapWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -10016,6 +14725,17 @@ - (void)writeAttributeGroupKeyMapWithValue:(NSDictionary *)dataV params:params]; } +- (NSArray * _Nullable) + readAttributeGroupTableWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeGroupKeyManagementID) + attributeID:@(MTRAttributeIDTypeClusterGroupKeyManagementAttributeGroupTableID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMaxGroupsPerFabricWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -10024,6 +14744,16 @@ - (void)writeAttributeGroupKeyMapWithValue:(NSDictionary *)dataV params:params]; } +- (NSNumber * _Nullable)readAttributeMaxGroupsPerFabricWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeGroupKeyManagementID) + attributeID:@(MTRAttributeIDTypeClusterGroupKeyManagementAttributeMaxGroupsPerFabricID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMaxGroupKeysPerFabricWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -10032,6 +14762,16 @@ - (void)writeAttributeGroupKeyMapWithValue:(NSDictionary *)dataV params:params]; } +- (NSNumber * _Nullable)readAttributeMaxGroupKeysPerFabricWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeGroupKeyManagementID) + attributeID:@(MTRAttributeIDTypeClusterGroupKeyManagementAttributeMaxGroupKeysPerFabricID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -10040,6 +14780,16 @@ - (void)writeAttributeGroupKeyMapWithValue:(NSDictionary *)dataV params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeGroupKeyManagementID) + attributeID:@(MTRAttributeIDTypeClusterGroupKeyManagementAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -10048,6 +14798,16 @@ - (void)writeAttributeGroupKeyMapWithValue:(NSDictionary *)dataV params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeGroupKeyManagementID) + attributeID:@(MTRAttributeIDTypeClusterGroupKeyManagementAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -10056,6 +14816,16 @@ - (void)writeAttributeGroupKeyMapWithValue:(NSDictionary *)dataV params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeGroupKeyManagementID) + attributeID:@(MTRAttributeIDTypeClusterGroupKeyManagementAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -10064,6 +14834,16 @@ - (void)writeAttributeGroupKeyMapWithValue:(NSDictionary *)dataV params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeGroupKeyManagementID) + attributeID:@(MTRAttributeIDTypeClusterGroupKeyManagementAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -10072,6 +14852,15 @@ - (void)writeAttributeGroupKeyMapWithValue:(NSDictionary *)dataV params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeGroupKeyManagementID) + attributeID:@(MTRAttributeIDTypeClusterGroupKeyManagementAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -10080,6 +14869,16 @@ - (void)writeAttributeGroupKeyMapWithValue:(NSDictionary *)dataV params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeGroupKeyManagementID) + attributeID:@(MTRAttributeIDTypeClusterGroupKeyManagementAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterGroupKeyManagement (Deprecated) @@ -10163,6 +14962,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeLabelListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeFixedLabelID) + attributeID:@(MTRAttributeIDTypeClusterFixedLabelAttributeLabelListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -10171,6 +14980,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeFixedLabelID) + attributeID:@(MTRAttributeIDTypeClusterFixedLabelAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -10179,6 +14998,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeFixedLabelID) + attributeID:@(MTRAttributeIDTypeClusterFixedLabelAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -10187,6 +15016,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeFixedLabelID) + attributeID:@(MTRAttributeIDTypeClusterFixedLabelAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -10195,6 +15034,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeFixedLabelID) + attributeID:@(MTRAttributeIDTypeClusterFixedLabelAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -10203,6 +15052,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeFixedLabelID) + attributeID:@(MTRAttributeIDTypeClusterFixedLabelAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -10211,6 +15069,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeFixedLabelID) + attributeID:@(MTRAttributeIDTypeClusterFixedLabelAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterFixedLabel (Deprecated) @@ -10244,6 +15112,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeLabelListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUserLabelID) + attributeID:@(MTRAttributeIDTypeClusterUserLabelAttributeLabelListID) + params:params + error:error]; +} + - (void)writeAttributeLabelListWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -10271,6 +15149,16 @@ - (void)writeAttributeLabelListWithValue:(NSDictionary *)dataVal params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUserLabelID) + attributeID:@(MTRAttributeIDTypeClusterUserLabelAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -10279,6 +15167,16 @@ - (void)writeAttributeLabelListWithValue:(NSDictionary *)dataVal params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUserLabelID) + attributeID:@(MTRAttributeIDTypeClusterUserLabelAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -10287,6 +15185,16 @@ - (void)writeAttributeLabelListWithValue:(NSDictionary *)dataVal params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUserLabelID) + attributeID:@(MTRAttributeIDTypeClusterUserLabelAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -10295,6 +15203,16 @@ - (void)writeAttributeLabelListWithValue:(NSDictionary *)dataVal params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUserLabelID) + attributeID:@(MTRAttributeIDTypeClusterUserLabelAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -10303,6 +15221,15 @@ - (void)writeAttributeLabelListWithValue:(NSDictionary *)dataVal params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUserLabelID) + attributeID:@(MTRAttributeIDTypeClusterUserLabelAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -10311,6 +15238,16 @@ - (void)writeAttributeLabelListWithValue:(NSDictionary *)dataVal params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUserLabelID) + attributeID:@(MTRAttributeIDTypeClusterUserLabelAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterUserLabel (Deprecated) @@ -10344,6 +15281,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeStateValueWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBooleanStateID) + attributeID:@(MTRAttributeIDTypeClusterBooleanStateAttributeStateValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -10352,6 +15298,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBooleanStateID) + attributeID:@(MTRAttributeIDTypeClusterBooleanStateAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -10360,6 +15316,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBooleanStateID) + attributeID:@(MTRAttributeIDTypeClusterBooleanStateAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -10368,6 +15334,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBooleanStateID) + attributeID:@(MTRAttributeIDTypeClusterBooleanStateAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -10376,6 +15352,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBooleanStateID) + attributeID:@(MTRAttributeIDTypeClusterBooleanStateAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -10384,6 +15370,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBooleanStateID) + attributeID:@(MTRAttributeIDTypeClusterBooleanStateAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -10392,6 +15387,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBooleanStateID) + attributeID:@(MTRAttributeIDTypeClusterBooleanStateAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterBooleanState (Deprecated) @@ -10556,6 +15561,16 @@ - (void)stayActiveRequestWithParams:(MTRICDManagementClusterStayActiveRequestPar params:params]; } +- (NSNumber * _Nullable)readAttributeIdleModeIntervalWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeICDManagementID) + attributeID:@(MTRAttributeIDTypeClusterICDManagementAttributeIdleModeIntervalID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeActiveModeIntervalWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -10564,6 +15579,16 @@ - (void)stayActiveRequestWithParams:(MTRICDManagementClusterStayActiveRequestPar params:params]; } +- (NSNumber * _Nullable)readAttributeActiveModeIntervalWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeICDManagementID) + attributeID:@(MTRAttributeIDTypeClusterICDManagementAttributeActiveModeIntervalID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeActiveModeThresholdWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -10572,6 +15597,16 @@ - (void)stayActiveRequestWithParams:(MTRICDManagementClusterStayActiveRequestPar params:params]; } +- (NSNumber * _Nullable)readAttributeActiveModeThresholdWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeICDManagementID) + attributeID:@(MTRAttributeIDTypeClusterICDManagementAttributeActiveModeThresholdID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeRegisteredClientsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -10580,6 +15615,17 @@ - (void)stayActiveRequestWithParams:(MTRICDManagementClusterStayActiveRequestPar params:params]; } +- (NSArray * _Nullable) + readAttributeRegisteredClientsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeICDManagementID) + attributeID:@(MTRAttributeIDTypeClusterICDManagementAttributeRegisteredClientsID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeICDCounterWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -10588,6 +15634,15 @@ - (void)stayActiveRequestWithParams:(MTRICDManagementClusterStayActiveRequestPar params:params]; } +- (NSNumber * _Nullable)readAttributeICDCounterWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeICDManagementID) + attributeID:@(MTRAttributeIDTypeClusterICDManagementAttributeICDCounterID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClientsSupportedPerFabricWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -10596,6 +15651,16 @@ - (void)stayActiveRequestWithParams:(MTRICDManagementClusterStayActiveRequestPar params:params]; } +- (NSNumber * _Nullable)readAttributeClientsSupportedPerFabricWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeICDManagementID) + attributeID:@(MTRAttributeIDTypeClusterICDManagementAttributeClientsSupportedPerFabricID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -10604,6 +15669,16 @@ - (void)stayActiveRequestWithParams:(MTRICDManagementClusterStayActiveRequestPar params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeICDManagementID) + attributeID:@(MTRAttributeIDTypeClusterICDManagementAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -10612,6 +15687,16 @@ - (void)stayActiveRequestWithParams:(MTRICDManagementClusterStayActiveRequestPar params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeICDManagementID) + attributeID:@(MTRAttributeIDTypeClusterICDManagementAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -10620,6 +15705,16 @@ - (void)stayActiveRequestWithParams:(MTRICDManagementClusterStayActiveRequestPar params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeICDManagementID) + attributeID:@(MTRAttributeIDTypeClusterICDManagementAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -10628,6 +15723,16 @@ - (void)stayActiveRequestWithParams:(MTRICDManagementClusterStayActiveRequestPar params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeICDManagementID) + attributeID:@(MTRAttributeIDTypeClusterICDManagementAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -10636,6 +15741,15 @@ - (void)stayActiveRequestWithParams:(MTRICDManagementClusterStayActiveRequestPar params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeICDManagementID) + attributeID:@(MTRAttributeIDTypeClusterICDManagementAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -10644,6 +15758,16 @@ - (void)stayActiveRequestWithParams:(MTRICDManagementClusterStayActiveRequestPar params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeICDManagementID) + attributeID:@(MTRAttributeIDTypeClusterICDManagementAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterModeSelect @@ -10708,6 +15832,16 @@ - (void)changeToModeWithParams:(MTRModeSelectClusterChangeToModeParams *)params params:params]; } +- (NSString * _Nullable)readAttributeDescriptionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeModeSelectID) + attributeID:@(MTRAttributeIDTypeClusterModeSelectAttributeDescriptionID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeStandardNamespaceWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -10716,6 +15850,16 @@ - (void)changeToModeWithParams:(MTRModeSelectClusterChangeToModeParams *)params params:params]; } +- (NSNumber * _Nullable)readAttributeStandardNamespaceWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeModeSelectID) + attributeID:@(MTRAttributeIDTypeClusterModeSelectAttributeStandardNamespaceID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeSupportedModesWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -10724,6 +15868,17 @@ - (void)changeToModeWithParams:(MTRModeSelectClusterChangeToModeParams *)params params:params]; } +- (NSArray * _Nullable) + readAttributeSupportedModesWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeModeSelectID) + attributeID:@(MTRAttributeIDTypeClusterModeSelectAttributeSupportedModesID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeCurrentModeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -10732,6 +15887,16 @@ - (void)changeToModeWithParams:(MTRModeSelectClusterChangeToModeParams *)params params:params]; } +- (NSNumber * _Nullable)readAttributeCurrentModeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeModeSelectID) + attributeID:@(MTRAttributeIDTypeClusterModeSelectAttributeCurrentModeID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeStartUpModeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -10740,6 +15905,16 @@ - (void)changeToModeWithParams:(MTRModeSelectClusterChangeToModeParams *)params params:params]; } +- (NSNumber * _Nullable)readAttributeStartUpModeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeModeSelectID) + attributeID:@(MTRAttributeIDTypeClusterModeSelectAttributeStartUpModeID) + params:params + error:error]; +} + - (void)writeAttributeStartUpModeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -10767,6 +15942,15 @@ - (void)writeAttributeStartUpModeWithValue:(NSDictionary *)dataV params:params]; } +- (NSNumber * _Nullable)readAttributeOnModeWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeModeSelectID) + attributeID:@(MTRAttributeIDTypeClusterModeSelectAttributeOnModeID) + params:params + error:error]; +} + - (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -10794,6 +15978,16 @@ - (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueD params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeModeSelectID) + attributeID:@(MTRAttributeIDTypeClusterModeSelectAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -10802,6 +15996,16 @@ - (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueD params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeModeSelectID) + attributeID:@(MTRAttributeIDTypeClusterModeSelectAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -10810,6 +16014,16 @@ - (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueD params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeModeSelectID) + attributeID:@(MTRAttributeIDTypeClusterModeSelectAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -10818,6 +16032,16 @@ - (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueD params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeModeSelectID) + attributeID:@(MTRAttributeIDTypeClusterModeSelectAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -10826,6 +16050,15 @@ - (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueD params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeModeSelectID) + attributeID:@(MTRAttributeIDTypeClusterModeSelectAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -10834,6 +16067,16 @@ - (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueD params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeModeSelectID) + attributeID:@(MTRAttributeIDTypeClusterModeSelectAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterModeSelect (Deprecated) @@ -10919,6 +16162,17 @@ - (void)changeToModeWithParams:(MTRLaundryWasherModeClusterChangeToModeParams *) params:params]; } +- (NSArray * _Nullable) + readAttributeSupportedModesWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeLaundryWasherModeID) + attributeID:@(MTRAttributeIDTypeClusterLaundryWasherModeAttributeSupportedModesID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeCurrentModeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -10927,6 +16181,16 @@ - (void)changeToModeWithParams:(MTRLaundryWasherModeClusterChangeToModeParams *) params:params]; } +- (NSNumber * _Nullable)readAttributeCurrentModeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeLaundryWasherModeID) + attributeID:@(MTRAttributeIDTypeClusterLaundryWasherModeAttributeCurrentModeID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeStartUpModeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -10935,6 +16199,16 @@ - (void)changeToModeWithParams:(MTRLaundryWasherModeClusterChangeToModeParams *) params:params]; } +- (NSNumber * _Nullable)readAttributeStartUpModeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeLaundryWasherModeID) + attributeID:@(MTRAttributeIDTypeClusterLaundryWasherModeAttributeStartUpModeID) + params:params + error:error]; +} + - (void)writeAttributeStartUpModeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -10962,6 +16236,15 @@ - (void)writeAttributeStartUpModeWithValue:(NSDictionary *)dataV params:params]; } +- (NSNumber * _Nullable)readAttributeOnModeWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeLaundryWasherModeID) + attributeID:@(MTRAttributeIDTypeClusterLaundryWasherModeAttributeOnModeID) + params:params + error:error]; +} + - (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -10989,6 +16272,16 @@ - (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueD params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeLaundryWasherModeID) + attributeID:@(MTRAttributeIDTypeClusterLaundryWasherModeAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -10997,6 +16290,16 @@ - (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueD params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeLaundryWasherModeID) + attributeID:@(MTRAttributeIDTypeClusterLaundryWasherModeAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -11005,6 +16308,16 @@ - (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueD params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeLaundryWasherModeID) + attributeID:@(MTRAttributeIDTypeClusterLaundryWasherModeAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -11013,6 +16326,16 @@ - (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueD params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeLaundryWasherModeID) + attributeID:@(MTRAttributeIDTypeClusterLaundryWasherModeAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -11021,6 +16344,15 @@ - (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueD params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeLaundryWasherModeID) + attributeID:@(MTRAttributeIDTypeClusterLaundryWasherModeAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -11029,6 +16361,16 @@ - (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueD params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeLaundryWasherModeID) + attributeID:@(MTRAttributeIDTypeClusterLaundryWasherModeAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterRefrigeratorAndTemperatureControlledCabinetMode @@ -11102,6 +16444,19 @@ - (void)changeToModeWithParams:(MTRRefrigeratorAndTemperatureControlledCabinetMo params:params]; } +- (NSArray * _Nullable) + readAttributeSupportedModesWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRefrigeratorAndTemperatureControlledCabinetModeID) + attributeID: + @(MTRAttributeIDTypeClusterRefrigeratorAndTemperatureControlledCabinetModeAttributeSupportedModesID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeCurrentModeWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -11112,6 +16467,18 @@ - (void)changeToModeWithParams:(MTRRefrigeratorAndTemperatureControlledCabinetMo params:params]; } +- (NSNumber * _Nullable)readAttributeCurrentModeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRefrigeratorAndTemperatureControlledCabinetModeID) + attributeID: + @(MTRAttributeIDTypeClusterRefrigeratorAndTemperatureControlledCabinetModeAttributeCurrentModeID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeStartUpModeWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -11122,6 +16489,18 @@ - (void)changeToModeWithParams:(MTRRefrigeratorAndTemperatureControlledCabinetMo params:params]; } +- (NSNumber * _Nullable)readAttributeStartUpModeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRefrigeratorAndTemperatureControlledCabinetModeID) + attributeID: + @(MTRAttributeIDTypeClusterRefrigeratorAndTemperatureControlledCabinetModeAttributeStartUpModeID) + params:params + error:error]; +} + - (void)writeAttributeStartUpModeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -11152,6 +16531,16 @@ - (void)writeAttributeStartUpModeWithValue:(NSDictionary *)dataV params:params]; } +- (NSNumber * _Nullable)readAttributeOnModeWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRefrigeratorAndTemperatureControlledCabinetModeID) + attributeID:@(MTRAttributeIDTypeClusterRefrigeratorAndTemperatureControlledCabinetModeAttributeOnModeID) + params:params + error:error]; +} + - (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -11182,6 +16571,18 @@ - (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueD params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRefrigeratorAndTemperatureControlledCabinetModeID) + attributeID: + @(MTRAttributeIDTypeClusterRefrigeratorAndTemperatureControlledCabinetModeAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -11192,6 +16593,18 @@ - (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueD params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRefrigeratorAndTemperatureControlledCabinetModeID) + attributeID: + @(MTRAttributeIDTypeClusterRefrigeratorAndTemperatureControlledCabinetModeAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -11201,6 +16614,17 @@ - (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueD params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRefrigeratorAndTemperatureControlledCabinetModeID) + attributeID:@(MTRAttributeIDTypeClusterRefrigeratorAndTemperatureControlledCabinetModeAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -11211,6 +16635,18 @@ - (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueD params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRefrigeratorAndTemperatureControlledCabinetModeID) + attributeID: + @(MTRAttributeIDTypeClusterRefrigeratorAndTemperatureControlledCabinetModeAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -11220,6 +16656,16 @@ - (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueD params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRefrigeratorAndTemperatureControlledCabinetModeID) + attributeID:@(MTRAttributeIDTypeClusterRefrigeratorAndTemperatureControlledCabinetModeAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -11230,6 +16676,18 @@ - (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueD params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRefrigeratorAndTemperatureControlledCabinetModeID) + attributeID: + @(MTRAttributeIDTypeClusterRefrigeratorAndTemperatureControlledCabinetModeAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterLaundryWasherControls @@ -11254,6 +16712,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeSpinSpeedsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeLaundryWasherControlsID) + attributeID:@(MTRAttributeIDTypeClusterLaundryWasherControlsAttributeSpinSpeedsID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeSpinSpeedCurrentWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -11262,6 +16730,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeSpinSpeedCurrentWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeLaundryWasherControlsID) + attributeID:@(MTRAttributeIDTypeClusterLaundryWasherControlsAttributeSpinSpeedCurrentID) + params:params + error:error]; +} + - (void)writeAttributeSpinSpeedCurrentWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -11289,6 +16767,16 @@ - (void)writeAttributeSpinSpeedCurrentWithValue:(NSDictionary *) params:params]; } +- (NSNumber * _Nullable)readAttributeNumberOfRinsesWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeLaundryWasherControlsID) + attributeID:@(MTRAttributeIDTypeClusterLaundryWasherControlsAttributeNumberOfRinsesID) + params:params + error:error]; +} + - (void)writeAttributeNumberOfRinsesWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -11316,6 +16804,16 @@ - (void)writeAttributeNumberOfRinsesWithValue:(NSDictionary *)da params:params]; } +- (NSArray * _Nullable)readAttributeSupportedRinsesWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeLaundryWasherControlsID) + attributeID:@(MTRAttributeIDTypeClusterLaundryWasherControlsAttributeSupportedRinsesID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -11324,6 +16822,16 @@ - (void)writeAttributeNumberOfRinsesWithValue:(NSDictionary *)da params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeLaundryWasherControlsID) + attributeID:@(MTRAttributeIDTypeClusterLaundryWasherControlsAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -11332,6 +16840,16 @@ - (void)writeAttributeNumberOfRinsesWithValue:(NSDictionary *)da params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeLaundryWasherControlsID) + attributeID:@(MTRAttributeIDTypeClusterLaundryWasherControlsAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -11340,6 +16858,16 @@ - (void)writeAttributeNumberOfRinsesWithValue:(NSDictionary *)da params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeLaundryWasherControlsID) + attributeID:@(MTRAttributeIDTypeClusterLaundryWasherControlsAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -11348,6 +16876,16 @@ - (void)writeAttributeNumberOfRinsesWithValue:(NSDictionary *)da params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeLaundryWasherControlsID) + attributeID:@(MTRAttributeIDTypeClusterLaundryWasherControlsAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -11356,6 +16894,15 @@ - (void)writeAttributeNumberOfRinsesWithValue:(NSDictionary *)da params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeLaundryWasherControlsID) + attributeID:@(MTRAttributeIDTypeClusterLaundryWasherControlsAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -11364,6 +16911,16 @@ - (void)writeAttributeNumberOfRinsesWithValue:(NSDictionary *)da params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeLaundryWasherControlsID) + attributeID:@(MTRAttributeIDTypeClusterLaundryWasherControlsAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterRVCRunMode @@ -11430,6 +16987,17 @@ - (void)changeToModeWithParams:(MTRRVCRunModeClusterChangeToModeParams *)params params:params]; } +- (NSArray * _Nullable) + readAttributeSupportedModesWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRVCRunModeID) + attributeID:@(MTRAttributeIDTypeClusterRVCRunModeAttributeSupportedModesID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeCurrentModeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -11438,6 +17006,16 @@ - (void)changeToModeWithParams:(MTRRVCRunModeClusterChangeToModeParams *)params params:params]; } +- (NSNumber * _Nullable)readAttributeCurrentModeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRVCRunModeID) + attributeID:@(MTRAttributeIDTypeClusterRVCRunModeAttributeCurrentModeID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeStartUpModeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -11446,6 +17024,16 @@ - (void)changeToModeWithParams:(MTRRVCRunModeClusterChangeToModeParams *)params params:params]; } +- (NSNumber * _Nullable)readAttributeStartUpModeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRVCRunModeID) + attributeID:@(MTRAttributeIDTypeClusterRVCRunModeAttributeStartUpModeID) + params:params + error:error]; +} + - (void)writeAttributeStartUpModeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -11473,6 +17061,15 @@ - (void)writeAttributeStartUpModeWithValue:(NSDictionary *)dataV params:params]; } +- (NSNumber * _Nullable)readAttributeOnModeWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRVCRunModeID) + attributeID:@(MTRAttributeIDTypeClusterRVCRunModeAttributeOnModeID) + params:params + error:error]; +} + - (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -11500,6 +17097,16 @@ - (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueD params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRVCRunModeID) + attributeID:@(MTRAttributeIDTypeClusterRVCRunModeAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -11508,6 +17115,16 @@ - (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueD params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRVCRunModeID) + attributeID:@(MTRAttributeIDTypeClusterRVCRunModeAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -11516,6 +17133,16 @@ - (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueD params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRVCRunModeID) + attributeID:@(MTRAttributeIDTypeClusterRVCRunModeAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -11524,6 +17151,16 @@ - (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueD params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRVCRunModeID) + attributeID:@(MTRAttributeIDTypeClusterRVCRunModeAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -11532,6 +17169,15 @@ - (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueD params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRVCRunModeID) + attributeID:@(MTRAttributeIDTypeClusterRVCRunModeAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -11540,6 +17186,16 @@ - (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueD params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRVCRunModeID) + attributeID:@(MTRAttributeIDTypeClusterRVCRunModeAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterRVCCleanMode @@ -11606,6 +17262,17 @@ - (void)changeToModeWithParams:(MTRRVCCleanModeClusterChangeToModeParams *)param params:params]; } +- (NSArray * _Nullable) + readAttributeSupportedModesWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRVCCleanModeID) + attributeID:@(MTRAttributeIDTypeClusterRVCCleanModeAttributeSupportedModesID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeCurrentModeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -11614,6 +17281,16 @@ - (void)changeToModeWithParams:(MTRRVCCleanModeClusterChangeToModeParams *)param params:params]; } +- (NSNumber * _Nullable)readAttributeCurrentModeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRVCCleanModeID) + attributeID:@(MTRAttributeIDTypeClusterRVCCleanModeAttributeCurrentModeID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeStartUpModeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -11622,6 +17299,16 @@ - (void)changeToModeWithParams:(MTRRVCCleanModeClusterChangeToModeParams *)param params:params]; } +- (NSNumber * _Nullable)readAttributeStartUpModeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRVCCleanModeID) + attributeID:@(MTRAttributeIDTypeClusterRVCCleanModeAttributeStartUpModeID) + params:params + error:error]; +} + - (void)writeAttributeStartUpModeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -11649,6 +17336,15 @@ - (void)writeAttributeStartUpModeWithValue:(NSDictionary *)dataV params:params]; } +- (NSNumber * _Nullable)readAttributeOnModeWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRVCCleanModeID) + attributeID:@(MTRAttributeIDTypeClusterRVCCleanModeAttributeOnModeID) + params:params + error:error]; +} + - (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -11676,6 +17372,16 @@ - (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueD params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRVCCleanModeID) + attributeID:@(MTRAttributeIDTypeClusterRVCCleanModeAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -11684,6 +17390,16 @@ - (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueD params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRVCCleanModeID) + attributeID:@(MTRAttributeIDTypeClusterRVCCleanModeAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -11692,6 +17408,16 @@ - (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueD params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRVCCleanModeID) + attributeID:@(MTRAttributeIDTypeClusterRVCCleanModeAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -11700,6 +17426,16 @@ - (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueD params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRVCCleanModeID) + attributeID:@(MTRAttributeIDTypeClusterRVCCleanModeAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -11708,6 +17444,15 @@ - (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueD params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRVCCleanModeID) + attributeID:@(MTRAttributeIDTypeClusterRVCCleanModeAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -11716,6 +17461,16 @@ - (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueD params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRVCCleanModeID) + attributeID:@(MTRAttributeIDTypeClusterRVCCleanModeAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterTemperatureControl @@ -11780,6 +17535,16 @@ - (void)setTemperatureWithParams:(MTRTemperatureControlClusterSetTemperaturePara params:params]; } +- (NSNumber * _Nullable)readAttributeTemperatureSetpointWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTemperatureControlID) + attributeID:@(MTRAttributeIDTypeClusterTemperatureControlAttributeTemperatureSetpointID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMinTemperatureWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -11788,6 +17553,16 @@ - (void)setTemperatureWithParams:(MTRTemperatureControlClusterSetTemperaturePara params:params]; } +- (NSNumber * _Nullable)readAttributeMinTemperatureWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTemperatureControlID) + attributeID:@(MTRAttributeIDTypeClusterTemperatureControlAttributeMinTemperatureID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMaxTemperatureWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -11796,6 +17571,16 @@ - (void)setTemperatureWithParams:(MTRTemperatureControlClusterSetTemperaturePara params:params]; } +- (NSNumber * _Nullable)readAttributeMaxTemperatureWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTemperatureControlID) + attributeID:@(MTRAttributeIDTypeClusterTemperatureControlAttributeMaxTemperatureID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeStepWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -11804,6 +17589,15 @@ - (void)setTemperatureWithParams:(MTRTemperatureControlClusterSetTemperaturePara params:params]; } +- (NSNumber * _Nullable)readAttributeStepWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTemperatureControlID) + attributeID:@(MTRAttributeIDTypeClusterTemperatureControlAttributeStepID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeSelectedTemperatureLevelWithParams:(MTRReadParams * _Nullable)params { return @@ -11813,6 +17607,17 @@ - (void)setTemperatureWithParams:(MTRTemperatureControlClusterSetTemperaturePara params:params]; } +- (NSNumber * _Nullable)readAttributeSelectedTemperatureLevelWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTemperatureControlID) + attributeID:@(MTRAttributeIDTypeClusterTemperatureControlAttributeSelectedTemperatureLevelID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeSupportedTemperatureLevelsWithParams:(MTRReadParams * _Nullable)params { return @@ -11822,6 +17627,17 @@ - (void)setTemperatureWithParams:(MTRTemperatureControlClusterSetTemperaturePara params:params]; } +- (NSArray * _Nullable)readAttributeSupportedTemperatureLevelsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTemperatureControlID) + attributeID:@(MTRAttributeIDTypeClusterTemperatureControlAttributeSupportedTemperatureLevelsID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -11830,6 +17646,16 @@ - (void)setTemperatureWithParams:(MTRTemperatureControlClusterSetTemperaturePara params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTemperatureControlID) + attributeID:@(MTRAttributeIDTypeClusterTemperatureControlAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -11838,6 +17664,16 @@ - (void)setTemperatureWithParams:(MTRTemperatureControlClusterSetTemperaturePara params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTemperatureControlID) + attributeID:@(MTRAttributeIDTypeClusterTemperatureControlAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -11846,6 +17682,16 @@ - (void)setTemperatureWithParams:(MTRTemperatureControlClusterSetTemperaturePara params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTemperatureControlID) + attributeID:@(MTRAttributeIDTypeClusterTemperatureControlAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -11854,6 +17700,16 @@ - (void)setTemperatureWithParams:(MTRTemperatureControlClusterSetTemperaturePara params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTemperatureControlID) + attributeID:@(MTRAttributeIDTypeClusterTemperatureControlAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -11862,6 +17718,15 @@ - (void)setTemperatureWithParams:(MTRTemperatureControlClusterSetTemperaturePara params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTemperatureControlID) + attributeID:@(MTRAttributeIDTypeClusterTemperatureControlAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -11870,6 +17735,16 @@ - (void)setTemperatureWithParams:(MTRTemperatureControlClusterSetTemperaturePara params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTemperatureControlID) + attributeID:@(MTRAttributeIDTypeClusterTemperatureControlAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterRefrigeratorAlarm @@ -11894,6 +17769,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMaskWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRefrigeratorAlarmID) + attributeID:@(MTRAttributeIDTypeClusterRefrigeratorAlarmAttributeMaskID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeStateWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -11902,6 +17786,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeStateWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRefrigeratorAlarmID) + attributeID:@(MTRAttributeIDTypeClusterRefrigeratorAlarmAttributeStateID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeSupportedWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -11910,6 +17803,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeSupportedWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRefrigeratorAlarmID) + attributeID:@(MTRAttributeIDTypeClusterRefrigeratorAlarmAttributeSupportedID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -11918,6 +17820,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRefrigeratorAlarmID) + attributeID:@(MTRAttributeIDTypeClusterRefrigeratorAlarmAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -11926,6 +17838,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRefrigeratorAlarmID) + attributeID:@(MTRAttributeIDTypeClusterRefrigeratorAlarmAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -11934,6 +17856,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRefrigeratorAlarmID) + attributeID:@(MTRAttributeIDTypeClusterRefrigeratorAlarmAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -11942,6 +17874,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRefrigeratorAlarmID) + attributeID:@(MTRAttributeIDTypeClusterRefrigeratorAlarmAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -11950,6 +17892,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRefrigeratorAlarmID) + attributeID:@(MTRAttributeIDTypeClusterRefrigeratorAlarmAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -11958,6 +17909,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRefrigeratorAlarmID) + attributeID:@(MTRAttributeIDTypeClusterRefrigeratorAlarmAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterDishwasherMode @@ -12024,6 +17985,17 @@ - (void)changeToModeWithParams:(MTRDishwasherModeClusterChangeToModeParams *)par params:params]; } +- (NSArray * _Nullable) + readAttributeSupportedModesWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDishwasherModeID) + attributeID:@(MTRAttributeIDTypeClusterDishwasherModeAttributeSupportedModesID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeCurrentModeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -12032,6 +18004,16 @@ - (void)changeToModeWithParams:(MTRDishwasherModeClusterChangeToModeParams *)par params:params]; } +- (NSNumber * _Nullable)readAttributeCurrentModeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDishwasherModeID) + attributeID:@(MTRAttributeIDTypeClusterDishwasherModeAttributeCurrentModeID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeStartUpModeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -12040,6 +18022,16 @@ - (void)changeToModeWithParams:(MTRDishwasherModeClusterChangeToModeParams *)par params:params]; } +- (NSNumber * _Nullable)readAttributeStartUpModeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDishwasherModeID) + attributeID:@(MTRAttributeIDTypeClusterDishwasherModeAttributeStartUpModeID) + params:params + error:error]; +} + - (void)writeAttributeStartUpModeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -12067,6 +18059,15 @@ - (void)writeAttributeStartUpModeWithValue:(NSDictionary *)dataV params:params]; } +- (NSNumber * _Nullable)readAttributeOnModeWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDishwasherModeID) + attributeID:@(MTRAttributeIDTypeClusterDishwasherModeAttributeOnModeID) + params:params + error:error]; +} + - (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -12094,6 +18095,16 @@ - (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueD params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDishwasherModeID) + attributeID:@(MTRAttributeIDTypeClusterDishwasherModeAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -12102,6 +18113,16 @@ - (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueD params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDishwasherModeID) + attributeID:@(MTRAttributeIDTypeClusterDishwasherModeAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -12110,6 +18131,16 @@ - (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueD params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDishwasherModeID) + attributeID:@(MTRAttributeIDTypeClusterDishwasherModeAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -12118,6 +18149,16 @@ - (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueD params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDishwasherModeID) + attributeID:@(MTRAttributeIDTypeClusterDishwasherModeAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -12126,6 +18167,15 @@ - (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueD params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDishwasherModeID) + attributeID:@(MTRAttributeIDTypeClusterDishwasherModeAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -12134,6 +18184,16 @@ - (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueD params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDishwasherModeID) + attributeID:@(MTRAttributeIDTypeClusterDishwasherModeAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterAirQuality @@ -12158,6 +18218,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeAirQualityWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeAirQualityID) + attributeID:@(MTRAttributeIDTypeClusterAirQualityAttributeAirQualityID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -12166,6 +18235,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeAirQualityID) + attributeID:@(MTRAttributeIDTypeClusterAirQualityAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -12174,6 +18253,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeAirQualityID) + attributeID:@(MTRAttributeIDTypeClusterAirQualityAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -12182,6 +18271,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeAirQualityID) + attributeID:@(MTRAttributeIDTypeClusterAirQualityAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -12190,6 +18289,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeAirQualityID) + attributeID:@(MTRAttributeIDTypeClusterAirQualityAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -12198,6 +18307,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeAirQualityID) + attributeID:@(MTRAttributeIDTypeClusterAirQualityAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -12206,6 +18324,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeAirQualityID) + attributeID:@(MTRAttributeIDTypeClusterAirQualityAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterSmokeCOAlarm @@ -12279,6 +18407,16 @@ - (void)selfTestRequestWithParams:(MTRSmokeCOAlarmClusterSelfTestRequestParams * params:params]; } +- (NSNumber * _Nullable)readAttributeExpressedStateWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeSmokeCOAlarmID) + attributeID:@(MTRAttributeIDTypeClusterSmokeCOAlarmAttributeExpressedStateID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeSmokeStateWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -12287,6 +18425,15 @@ - (void)selfTestRequestWithParams:(MTRSmokeCOAlarmClusterSelfTestRequestParams * params:params]; } +- (NSNumber * _Nullable)readAttributeSmokeStateWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeSmokeCOAlarmID) + attributeID:@(MTRAttributeIDTypeClusterSmokeCOAlarmAttributeSmokeStateID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeCOStateWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -12295,6 +18442,15 @@ - (void)selfTestRequestWithParams:(MTRSmokeCOAlarmClusterSelfTestRequestParams * params:params]; } +- (NSNumber * _Nullable)readAttributeCOStateWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeSmokeCOAlarmID) + attributeID:@(MTRAttributeIDTypeClusterSmokeCOAlarmAttributeCOStateID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeBatteryAlertWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -12303,6 +18459,16 @@ - (void)selfTestRequestWithParams:(MTRSmokeCOAlarmClusterSelfTestRequestParams * params:params]; } +- (NSNumber * _Nullable)readAttributeBatteryAlertWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeSmokeCOAlarmID) + attributeID:@(MTRAttributeIDTypeClusterSmokeCOAlarmAttributeBatteryAlertID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeDeviceMutedWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -12311,6 +18477,16 @@ - (void)selfTestRequestWithParams:(MTRSmokeCOAlarmClusterSelfTestRequestParams * params:params]; } +- (NSNumber * _Nullable)readAttributeDeviceMutedWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeSmokeCOAlarmID) + attributeID:@(MTRAttributeIDTypeClusterSmokeCOAlarmAttributeDeviceMutedID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeTestInProgressWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -12319,6 +18495,16 @@ - (void)selfTestRequestWithParams:(MTRSmokeCOAlarmClusterSelfTestRequestParams * params:params]; } +- (NSNumber * _Nullable)readAttributeTestInProgressWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeSmokeCOAlarmID) + attributeID:@(MTRAttributeIDTypeClusterSmokeCOAlarmAttributeTestInProgressID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeHardwareFaultAlertWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -12327,6 +18513,16 @@ - (void)selfTestRequestWithParams:(MTRSmokeCOAlarmClusterSelfTestRequestParams * params:params]; } +- (NSNumber * _Nullable)readAttributeHardwareFaultAlertWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeSmokeCOAlarmID) + attributeID:@(MTRAttributeIDTypeClusterSmokeCOAlarmAttributeHardwareFaultAlertID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEndOfServiceAlertWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -12335,6 +18531,16 @@ - (void)selfTestRequestWithParams:(MTRSmokeCOAlarmClusterSelfTestRequestParams * params:params]; } +- (NSNumber * _Nullable)readAttributeEndOfServiceAlertWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeSmokeCOAlarmID) + attributeID:@(MTRAttributeIDTypeClusterSmokeCOAlarmAttributeEndOfServiceAlertID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeInterconnectSmokeAlarmWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -12343,6 +18549,16 @@ - (void)selfTestRequestWithParams:(MTRSmokeCOAlarmClusterSelfTestRequestParams * params:params]; } +- (NSNumber * _Nullable)readAttributeInterconnectSmokeAlarmWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeSmokeCOAlarmID) + attributeID:@(MTRAttributeIDTypeClusterSmokeCOAlarmAttributeInterconnectSmokeAlarmID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeInterconnectCOAlarmWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -12351,6 +18567,16 @@ - (void)selfTestRequestWithParams:(MTRSmokeCOAlarmClusterSelfTestRequestParams * params:params]; } +- (NSNumber * _Nullable)readAttributeInterconnectCOAlarmWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeSmokeCOAlarmID) + attributeID:@(MTRAttributeIDTypeClusterSmokeCOAlarmAttributeInterconnectCOAlarmID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeContaminationStateWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -12359,6 +18585,16 @@ - (void)selfTestRequestWithParams:(MTRSmokeCOAlarmClusterSelfTestRequestParams * params:params]; } +- (NSNumber * _Nullable)readAttributeContaminationStateWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeSmokeCOAlarmID) + attributeID:@(MTRAttributeIDTypeClusterSmokeCOAlarmAttributeContaminationStateID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeSmokeSensitivityLevelWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -12367,6 +18603,16 @@ - (void)selfTestRequestWithParams:(MTRSmokeCOAlarmClusterSelfTestRequestParams * params:params]; } +- (NSNumber * _Nullable)readAttributeSmokeSensitivityLevelWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeSmokeCOAlarmID) + attributeID:@(MTRAttributeIDTypeClusterSmokeCOAlarmAttributeSmokeSensitivityLevelID) + params:params + error:error]; +} + - (void)writeAttributeSmokeSensitivityLevelWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -12396,6 +18642,15 @@ - (void)writeAttributeSmokeSensitivityLevelWithValue:(NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -12404,6 +18659,16 @@ - (void)writeAttributeSmokeSensitivityLevelWithValue:(NSDictionary * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeSmokeCOAlarmID) + attributeID:@(MTRAttributeIDTypeClusterSmokeCOAlarmAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -12412,6 +18677,16 @@ - (void)writeAttributeSmokeSensitivityLevelWithValue:(NSDictionary * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeSmokeCOAlarmID) + attributeID:@(MTRAttributeIDTypeClusterSmokeCOAlarmAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -12420,6 +18695,16 @@ - (void)writeAttributeSmokeSensitivityLevelWithValue:(NSDictionary * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeSmokeCOAlarmID) + attributeID:@(MTRAttributeIDTypeClusterSmokeCOAlarmAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -12428,6 +18713,16 @@ - (void)writeAttributeSmokeSensitivityLevelWithValue:(NSDictionary * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeSmokeCOAlarmID) + attributeID:@(MTRAttributeIDTypeClusterSmokeCOAlarmAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -12436,6 +18731,15 @@ - (void)writeAttributeSmokeSensitivityLevelWithValue:(NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -12444,6 +18748,16 @@ - (void)writeAttributeSmokeSensitivityLevelWithValue:(NSDictionary *)readAttributeLatchWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -12556,6 +18879,15 @@ - (void)modifyEnabledAlarmsWithParams:(MTRDishwasherAlarmClusterModifyEnabledAla params:params]; } +- (NSNumber * _Nullable)readAttributeLatchWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDishwasherAlarmID) + attributeID:@(MTRAttributeIDTypeClusterDishwasherAlarmAttributeLatchID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeStateWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -12564,6 +18896,15 @@ - (void)modifyEnabledAlarmsWithParams:(MTRDishwasherAlarmClusterModifyEnabledAla params:params]; } +- (NSNumber * _Nullable)readAttributeStateWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDishwasherAlarmID) + attributeID:@(MTRAttributeIDTypeClusterDishwasherAlarmAttributeStateID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeSupportedWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -12572,6 +18913,15 @@ - (void)modifyEnabledAlarmsWithParams:(MTRDishwasherAlarmClusterModifyEnabledAla params:params]; } +- (NSNumber * _Nullable)readAttributeSupportedWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDishwasherAlarmID) + attributeID:@(MTRAttributeIDTypeClusterDishwasherAlarmAttributeSupportedID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -12580,6 +18930,16 @@ - (void)modifyEnabledAlarmsWithParams:(MTRDishwasherAlarmClusterModifyEnabledAla params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDishwasherAlarmID) + attributeID:@(MTRAttributeIDTypeClusterDishwasherAlarmAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -12588,6 +18948,16 @@ - (void)modifyEnabledAlarmsWithParams:(MTRDishwasherAlarmClusterModifyEnabledAla params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDishwasherAlarmID) + attributeID:@(MTRAttributeIDTypeClusterDishwasherAlarmAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -12596,6 +18966,16 @@ - (void)modifyEnabledAlarmsWithParams:(MTRDishwasherAlarmClusterModifyEnabledAla params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDishwasherAlarmID) + attributeID:@(MTRAttributeIDTypeClusterDishwasherAlarmAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -12604,6 +18984,16 @@ - (void)modifyEnabledAlarmsWithParams:(MTRDishwasherAlarmClusterModifyEnabledAla params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDishwasherAlarmID) + attributeID:@(MTRAttributeIDTypeClusterDishwasherAlarmAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -12612,6 +19002,15 @@ - (void)modifyEnabledAlarmsWithParams:(MTRDishwasherAlarmClusterModifyEnabledAla params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDishwasherAlarmID) + attributeID:@(MTRAttributeIDTypeClusterDishwasherAlarmAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -12620,6 +19019,16 @@ - (void)modifyEnabledAlarmsWithParams:(MTRDishwasherAlarmClusterModifyEnabledAla params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDishwasherAlarmID) + attributeID:@(MTRAttributeIDTypeClusterDishwasherAlarmAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterOperationalState @@ -12840,6 +19249,16 @@ - (void)resumeWithParams:(MTROperationalStateClusterResumeParams * _Nullable)par params:params]; } +- (NSArray * _Nullable)readAttributePhaseListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOperationalStateID) + attributeID:@(MTRAttributeIDTypeClusterOperationalStateAttributePhaseListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeCurrentPhaseWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -12848,6 +19267,16 @@ - (void)resumeWithParams:(MTROperationalStateClusterResumeParams * _Nullable)par params:params]; } +- (NSNumber * _Nullable)readAttributeCurrentPhaseWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOperationalStateID) + attributeID:@(MTRAttributeIDTypeClusterOperationalStateAttributeCurrentPhaseID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeCountdownTimeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -12856,6 +19285,16 @@ - (void)resumeWithParams:(MTROperationalStateClusterResumeParams * _Nullable)par params:params]; } +- (NSNumber * _Nullable)readAttributeCountdownTimeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOperationalStateID) + attributeID:@(MTRAttributeIDTypeClusterOperationalStateAttributeCountdownTimeID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeOperationalStateListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -12864,6 +19303,17 @@ - (void)resumeWithParams:(MTROperationalStateClusterResumeParams * _Nullable)par params:params]; } +- (NSArray * _Nullable) + readAttributeOperationalStateListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOperationalStateID) + attributeID:@(MTRAttributeIDTypeClusterOperationalStateAttributeOperationalStateListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeOperationalStateWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -12872,6 +19322,16 @@ - (void)resumeWithParams:(MTROperationalStateClusterResumeParams * _Nullable)par params:params]; } +- (NSNumber * _Nullable)readAttributeOperationalStateWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOperationalStateID) + attributeID:@(MTRAttributeIDTypeClusterOperationalStateAttributeOperationalStateID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeOperationalErrorWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -12880,6 +19340,16 @@ - (void)resumeWithParams:(MTROperationalStateClusterResumeParams * _Nullable)par params:params]; } +- (MTROperationalStateClusterErrorStateStruct * _Nullable)readAttributeOperationalErrorWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOperationalStateID) + attributeID:@(MTRAttributeIDTypeClusterOperationalStateAttributeOperationalErrorID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -12888,6 +19358,16 @@ - (void)resumeWithParams:(MTROperationalStateClusterResumeParams * _Nullable)par params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOperationalStateID) + attributeID:@(MTRAttributeIDTypeClusterOperationalStateAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -12896,6 +19376,16 @@ - (void)resumeWithParams:(MTROperationalStateClusterResumeParams * _Nullable)par params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOperationalStateID) + attributeID:@(MTRAttributeIDTypeClusterOperationalStateAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -12904,6 +19394,16 @@ - (void)resumeWithParams:(MTROperationalStateClusterResumeParams * _Nullable)par params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOperationalStateID) + attributeID:@(MTRAttributeIDTypeClusterOperationalStateAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -12912,6 +19412,16 @@ - (void)resumeWithParams:(MTROperationalStateClusterResumeParams * _Nullable)par params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOperationalStateID) + attributeID:@(MTRAttributeIDTypeClusterOperationalStateAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -12920,6 +19430,15 @@ - (void)resumeWithParams:(MTROperationalStateClusterResumeParams * _Nullable)par params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOperationalStateID) + attributeID:@(MTRAttributeIDTypeClusterOperationalStateAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -12928,6 +19447,16 @@ - (void)resumeWithParams:(MTROperationalStateClusterResumeParams * _Nullable)par params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOperationalStateID) + attributeID:@(MTRAttributeIDTypeClusterOperationalStateAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterRVCOperationalState @@ -13148,278 +19677,519 @@ - (void)resumeWithParams:(MTRRVCOperationalStateClusterResumeParams * _Nullable) params:params]; } -- (NSDictionary *)readAttributeCurrentPhaseWithParams:(MTRReadParams * _Nullable)params +- (NSArray * _Nullable)readAttributePhaseListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error { return [self.device readAttributeWithEndpointID:@(self.endpoint) clusterID:@(MTRClusterIDTypeRVCOperationalStateID) - attributeID:@(MTRAttributeIDTypeClusterRVCOperationalStateAttributeCurrentPhaseID) - params:params]; + attributeID:@(MTRAttributeIDTypeClusterRVCOperationalStateAttributePhaseListID) + params:params + error:error]; } -- (NSDictionary *)readAttributeCountdownTimeWithParams:(MTRReadParams * _Nullable)params +- (NSDictionary *)readAttributeCurrentPhaseWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) clusterID:@(MTRClusterIDTypeRVCOperationalStateID) - attributeID:@(MTRAttributeIDTypeClusterRVCOperationalStateAttributeCountdownTimeID) + attributeID:@(MTRAttributeIDTypeClusterRVCOperationalStateAttributeCurrentPhaseID) params:params]; } -- (NSDictionary *)readAttributeOperationalStateListWithParams:(MTRReadParams * _Nullable)params +- (NSNumber * _Nullable)readAttributeCurrentPhaseWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error { return [self.device readAttributeWithEndpointID:@(self.endpoint) clusterID:@(MTRClusterIDTypeRVCOperationalStateID) - attributeID:@(MTRAttributeIDTypeClusterRVCOperationalStateAttributeOperationalStateListID) - params:params]; + attributeID:@(MTRAttributeIDTypeClusterRVCOperationalStateAttributeCurrentPhaseID) + params:params + error:error]; } -- (NSDictionary *)readAttributeOperationalStateWithParams:(MTRReadParams * _Nullable)params +- (NSDictionary *)readAttributeCountdownTimeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) clusterID:@(MTRClusterIDTypeRVCOperationalStateID) - attributeID:@(MTRAttributeIDTypeClusterRVCOperationalStateAttributeOperationalStateID) + attributeID:@(MTRAttributeIDTypeClusterRVCOperationalStateAttributeCountdownTimeID) params:params]; } -- (NSDictionary *)readAttributeOperationalErrorWithParams:(MTRReadParams * _Nullable)params +- (NSNumber * _Nullable)readAttributeCountdownTimeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error { return [self.device readAttributeWithEndpointID:@(self.endpoint) clusterID:@(MTRClusterIDTypeRVCOperationalStateID) - attributeID:@(MTRAttributeIDTypeClusterRVCOperationalStateAttributeOperationalErrorID) - params:params]; + attributeID:@(MTRAttributeIDTypeClusterRVCOperationalStateAttributeCountdownTimeID) + params:params + error:error]; } -- (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params +- (NSDictionary *)readAttributeOperationalStateListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) clusterID:@(MTRClusterIDTypeRVCOperationalStateID) - attributeID:@(MTRAttributeIDTypeClusterRVCOperationalStateAttributeGeneratedCommandListID) + attributeID:@(MTRAttributeIDTypeClusterRVCOperationalStateAttributeOperationalStateListID) params:params]; } -- (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params +- (NSArray * _Nullable) + readAttributeOperationalStateListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error { return [self.device readAttributeWithEndpointID:@(self.endpoint) clusterID:@(MTRClusterIDTypeRVCOperationalStateID) - attributeID:@(MTRAttributeIDTypeClusterRVCOperationalStateAttributeAcceptedCommandListID) - params:params]; + attributeID:@(MTRAttributeIDTypeClusterRVCOperationalStateAttributeOperationalStateListID) + params:params + error:error]; } -- (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params +- (NSDictionary *)readAttributeOperationalStateWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) clusterID:@(MTRClusterIDTypeRVCOperationalStateID) - attributeID:@(MTRAttributeIDTypeClusterRVCOperationalStateAttributeEventListID) + attributeID:@(MTRAttributeIDTypeClusterRVCOperationalStateAttributeOperationalStateID) params:params]; } -- (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params +- (NSNumber * _Nullable)readAttributeOperationalStateWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error { return [self.device readAttributeWithEndpointID:@(self.endpoint) clusterID:@(MTRClusterIDTypeRVCOperationalStateID) - attributeID:@(MTRAttributeIDTypeClusterRVCOperationalStateAttributeAttributeListID) - params:params]; + attributeID:@(MTRAttributeIDTypeClusterRVCOperationalStateAttributeOperationalStateID) + params:params + error:error]; } -- (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params +- (NSDictionary *)readAttributeOperationalErrorWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) clusterID:@(MTRClusterIDTypeRVCOperationalStateID) - attributeID:@(MTRAttributeIDTypeClusterRVCOperationalStateAttributeFeatureMapID) + attributeID:@(MTRAttributeIDTypeClusterRVCOperationalStateAttributeOperationalErrorID) params:params]; } -- (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params +- (MTRRVCOperationalStateClusterErrorStateStruct * _Nullable) + readAttributeOperationalErrorWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error { return [self.device readAttributeWithEndpointID:@(self.endpoint) clusterID:@(MTRClusterIDTypeRVCOperationalStateID) - attributeID:@(MTRAttributeIDTypeClusterRVCOperationalStateAttributeClusterRevisionID) - params:params]; -} - -@end - -@implementation MTRClusterHEPAFilterMonitoring - -- (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue -{ - if (self = [super initWithEndpointID:endpointID queue:queue]) { - if (device == nil) { - return nil; - } - - _device = device; - } - return self; -} - -- (void)resetConditionWithExpectedValues:(NSArray *> *)expectedValues - expectedValueInterval:(NSNumber *)expectedValueIntervalMs - completion:(MTRStatusCompletion)completion -{ - [self resetConditionWithParams:nil - expectedValues:expectedValues - expectedValueInterval:expectedValueIntervalMs - completion:completion]; -} -- (void)resetConditionWithParams:(MTRHEPAFilterMonitoringClusterResetConditionParams * _Nullable)params - expectedValues:(NSArray *> *)expectedValues - expectedValueInterval:(NSNumber *)expectedValueIntervalMs - completion:(MTRStatusCompletion)completion -{ - NSString * logPrefix = [NSString stringWithFormat:@"MTRDevice command %u %u %u %u", self.device.deviceController.fabricIndex, - self.endpoint, (unsigned int) MTRClusterIDTypeHEPAFilterMonitoringID, - (unsigned int) MTRCommandIDTypeClusterHEPAFilterMonitoringCommandResetConditionID]; - // Make a copy of params before we go async. - params = [params copy]; - MTRAsyncWorkItem * workItem = [[MTRAsyncWorkItem alloc] initWithQueue:self.device.queue]; - MTRAsyncWorkReadyHandler readyHandler = ^(MTRDevice * device, NSUInteger retryCount) { - MTRClustersLogDequeue(logPrefix, self.device.asyncCallbackWorkQueue); - auto * baseDevice = [[MTRBaseDevice alloc] initWithNodeID:self.device.nodeID controller:self.device.deviceController]; - auto * cluster = [[MTRBaseClusterHEPAFilterMonitoring alloc] initWithDevice:baseDevice - endpointID:@(self.endpoint) - queue:self.device.queue]; - [cluster resetConditionWithParams:params - completion:^(NSError * _Nullable error) { - MTRClustersLogCompletion(logPrefix, nil, error); - dispatch_async(self.callbackQueue, ^{ - completion(error); - }); - [workItem endWork]; - }]; - }; - workItem.readyHandler = readyHandler; - MTRClustersLogEnqueue(logPrefix, self.device.asyncCallbackWorkQueue); - [self.device.asyncCallbackWorkQueue enqueueWorkItem:workItem]; - - if (!expectedValueIntervalMs || ([expectedValueIntervalMs compare:@(0)] == NSOrderedAscending)) { - expectedValues = nil; - } else { - expectedValueIntervalMs = MTRClampedNumber(expectedValueIntervalMs, @(1), @(UINT32_MAX)); - } - if (expectedValues) { - [self.device setExpectedValues:expectedValues expectedValueInterval:expectedValueIntervalMs]; - } + attributeID:@(MTRAttributeIDTypeClusterRVCOperationalStateAttributeOperationalErrorID) + params:params + error:error]; } -- (NSDictionary *)readAttributeConditionWithParams:(MTRReadParams * _Nullable)params +- (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) - clusterID:@(MTRClusterIDTypeHEPAFilterMonitoringID) - attributeID:@(MTRAttributeIDTypeClusterHEPAFilterMonitoringAttributeConditionID) + clusterID:@(MTRClusterIDTypeRVCOperationalStateID) + attributeID:@(MTRAttributeIDTypeClusterRVCOperationalStateAttributeGeneratedCommandListID) params:params]; } -- (NSDictionary *)readAttributeDegradationDirectionWithParams:(MTRReadParams * _Nullable)params +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error { return [self.device readAttributeWithEndpointID:@(self.endpoint) - clusterID:@(MTRClusterIDTypeHEPAFilterMonitoringID) - attributeID:@(MTRAttributeIDTypeClusterHEPAFilterMonitoringAttributeDegradationDirectionID) - params:params]; + clusterID:@(MTRClusterIDTypeRVCOperationalStateID) + attributeID:@(MTRAttributeIDTypeClusterRVCOperationalStateAttributeGeneratedCommandListID) + params:params + error:error]; } -- (NSDictionary *)readAttributeChangeIndicationWithParams:(MTRReadParams * _Nullable)params +- (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) - clusterID:@(MTRClusterIDTypeHEPAFilterMonitoringID) - attributeID:@(MTRAttributeIDTypeClusterHEPAFilterMonitoringAttributeChangeIndicationID) + clusterID:@(MTRClusterIDTypeRVCOperationalStateID) + attributeID:@(MTRAttributeIDTypeClusterRVCOperationalStateAttributeAcceptedCommandListID) params:params]; } -- (NSDictionary *)readAttributeInPlaceIndicatorWithParams:(MTRReadParams * _Nullable)params +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error { return [self.device readAttributeWithEndpointID:@(self.endpoint) - clusterID:@(MTRClusterIDTypeHEPAFilterMonitoringID) - attributeID:@(MTRAttributeIDTypeClusterHEPAFilterMonitoringAttributeInPlaceIndicatorID) - params:params]; + clusterID:@(MTRClusterIDTypeRVCOperationalStateID) + attributeID:@(MTRAttributeIDTypeClusterRVCOperationalStateAttributeAcceptedCommandListID) + params:params + error:error]; } -- (NSDictionary *)readAttributeLastChangedTimeWithParams:(MTRReadParams * _Nullable)params +- (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) - clusterID:@(MTRClusterIDTypeHEPAFilterMonitoringID) - attributeID:@(MTRAttributeIDTypeClusterHEPAFilterMonitoringAttributeLastChangedTimeID) + clusterID:@(MTRClusterIDTypeRVCOperationalStateID) + attributeID:@(MTRAttributeIDTypeClusterRVCOperationalStateAttributeEventListID) params:params]; } -- (void)writeAttributeLastChangedTimeWithValue:(NSDictionary *)dataValueDictionary - expectedValueInterval:(NSNumber *)expectedValueIntervalMs -{ - [self writeAttributeLastChangedTimeWithValue:dataValueDictionary expectedValueInterval:expectedValueIntervalMs params:nil]; -} -- (void)writeAttributeLastChangedTimeWithValue:(NSDictionary *)dataValueDictionary - expectedValueInterval:(NSNumber *)expectedValueIntervalMs - params:(MTRWriteParams * _Nullable)params +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error { - NSNumber * timedWriteTimeout = params.timedWriteTimeout; - - [self.device writeAttributeWithEndpointID:@(self.endpoint) - clusterID:@(MTRClusterIDTypeHEPAFilterMonitoringID) - attributeID:@(MTRAttributeIDTypeClusterHEPAFilterMonitoringAttributeLastChangedTimeID) - value:dataValueDictionary - expectedValueInterval:expectedValueIntervalMs - timedWriteTimeout:timedWriteTimeout]; -} - -- (NSDictionary *)readAttributeReplacementProductListWithParams:(MTRReadParams * _Nullable)params -{ - return - [self.device readAttributeWithEndpointID:@(self.endpoint) - clusterID:@(MTRClusterIDTypeHEPAFilterMonitoringID) - attributeID:@(MTRAttributeIDTypeClusterHEPAFilterMonitoringAttributeReplacementProductListID) - params:params]; + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRVCOperationalStateID) + attributeID:@(MTRAttributeIDTypeClusterRVCOperationalStateAttributeEventListID) + params:params + error:error]; } -- (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params +- (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) - clusterID:@(MTRClusterIDTypeHEPAFilterMonitoringID) - attributeID:@(MTRAttributeIDTypeClusterHEPAFilterMonitoringAttributeGeneratedCommandListID) + clusterID:@(MTRClusterIDTypeRVCOperationalStateID) + attributeID:@(MTRAttributeIDTypeClusterRVCOperationalStateAttributeAttributeListID) params:params]; } -- (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error { return [self.device readAttributeWithEndpointID:@(self.endpoint) - clusterID:@(MTRClusterIDTypeHEPAFilterMonitoringID) - attributeID:@(MTRAttributeIDTypeClusterHEPAFilterMonitoringAttributeAcceptedCommandListID) - params:params]; + clusterID:@(MTRClusterIDTypeRVCOperationalStateID) + attributeID:@(MTRAttributeIDTypeClusterRVCOperationalStateAttributeAttributeListID) + params:params + error:error]; } -- (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params +- (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) - clusterID:@(MTRClusterIDTypeHEPAFilterMonitoringID) - attributeID:@(MTRAttributeIDTypeClusterHEPAFilterMonitoringAttributeEventListID) + clusterID:@(MTRClusterIDTypeRVCOperationalStateID) + attributeID:@(MTRAttributeIDTypeClusterRVCOperationalStateAttributeFeatureMapID) params:params]; } -- (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error { return [self.device readAttributeWithEndpointID:@(self.endpoint) - clusterID:@(MTRClusterIDTypeHEPAFilterMonitoringID) - attributeID:@(MTRAttributeIDTypeClusterHEPAFilterMonitoringAttributeAttributeListID) - params:params]; + clusterID:@(MTRClusterIDTypeRVCOperationalStateID) + attributeID:@(MTRAttributeIDTypeClusterRVCOperationalStateAttributeFeatureMapID) + params:params + error:error]; } -- (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params +- (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) - clusterID:@(MTRClusterIDTypeHEPAFilterMonitoringID) - attributeID:@(MTRAttributeIDTypeClusterHEPAFilterMonitoringAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeRVCOperationalStateID) + attributeID:@(MTRAttributeIDTypeClusterRVCOperationalStateAttributeClusterRevisionID) params:params]; } -- (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error { return [self.device readAttributeWithEndpointID:@(self.endpoint) - clusterID:@(MTRClusterIDTypeHEPAFilterMonitoringID) - attributeID:@(MTRAttributeIDTypeClusterHEPAFilterMonitoringAttributeClusterRevisionID) - params:params]; + clusterID:@(MTRClusterIDTypeRVCOperationalStateID) + attributeID:@(MTRAttributeIDTypeClusterRVCOperationalStateAttributeClusterRevisionID) + params:params + error:error]; } @end -@implementation MTRClusterActivatedCarbonFilterMonitoring +@implementation MTRClusterHEPAFilterMonitoring + +- (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue +{ + if (self = [super initWithEndpointID:endpointID queue:queue]) { + if (device == nil) { + return nil; + } + + _device = device; + } + return self; +} + +- (void)resetConditionWithExpectedValues:(NSArray *> *)expectedValues + expectedValueInterval:(NSNumber *)expectedValueIntervalMs + completion:(MTRStatusCompletion)completion +{ + [self resetConditionWithParams:nil + expectedValues:expectedValues + expectedValueInterval:expectedValueIntervalMs + completion:completion]; +} +- (void)resetConditionWithParams:(MTRHEPAFilterMonitoringClusterResetConditionParams * _Nullable)params + expectedValues:(NSArray *> *)expectedValues + expectedValueInterval:(NSNumber *)expectedValueIntervalMs + completion:(MTRStatusCompletion)completion +{ + NSString * logPrefix = [NSString stringWithFormat:@"MTRDevice command %u %u %u %u", self.device.deviceController.fabricIndex, + self.endpoint, (unsigned int) MTRClusterIDTypeHEPAFilterMonitoringID, + (unsigned int) MTRCommandIDTypeClusterHEPAFilterMonitoringCommandResetConditionID]; + // Make a copy of params before we go async. + params = [params copy]; + MTRAsyncWorkItem * workItem = [[MTRAsyncWorkItem alloc] initWithQueue:self.device.queue]; + MTRAsyncWorkReadyHandler readyHandler = ^(MTRDevice * device, NSUInteger retryCount) { + MTRClustersLogDequeue(logPrefix, self.device.asyncCallbackWorkQueue); + auto * baseDevice = [[MTRBaseDevice alloc] initWithNodeID:self.device.nodeID controller:self.device.deviceController]; + auto * cluster = [[MTRBaseClusterHEPAFilterMonitoring alloc] initWithDevice:baseDevice + endpointID:@(self.endpoint) + queue:self.device.queue]; + [cluster resetConditionWithParams:params + completion:^(NSError * _Nullable error) { + MTRClustersLogCompletion(logPrefix, nil, error); + dispatch_async(self.callbackQueue, ^{ + completion(error); + }); + [workItem endWork]; + }]; + }; + workItem.readyHandler = readyHandler; + MTRClustersLogEnqueue(logPrefix, self.device.asyncCallbackWorkQueue); + [self.device.asyncCallbackWorkQueue enqueueWorkItem:workItem]; + + if (!expectedValueIntervalMs || ([expectedValueIntervalMs compare:@(0)] == NSOrderedAscending)) { + expectedValues = nil; + } else { + expectedValueIntervalMs = MTRClampedNumber(expectedValueIntervalMs, @(1), @(UINT32_MAX)); + } + if (expectedValues) { + [self.device setExpectedValues:expectedValues expectedValueInterval:expectedValueIntervalMs]; + } +} + +- (NSDictionary *)readAttributeConditionWithParams:(MTRReadParams * _Nullable)params +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeHEPAFilterMonitoringID) + attributeID:@(MTRAttributeIDTypeClusterHEPAFilterMonitoringAttributeConditionID) + params:params]; +} + +- (NSNumber * _Nullable)readAttributeConditionWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeHEPAFilterMonitoringID) + attributeID:@(MTRAttributeIDTypeClusterHEPAFilterMonitoringAttributeConditionID) + params:params + error:error]; +} + +- (NSDictionary *)readAttributeDegradationDirectionWithParams:(MTRReadParams * _Nullable)params +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeHEPAFilterMonitoringID) + attributeID:@(MTRAttributeIDTypeClusterHEPAFilterMonitoringAttributeDegradationDirectionID) + params:params]; +} + +- (NSNumber * _Nullable)readAttributeDegradationDirectionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeHEPAFilterMonitoringID) + attributeID:@(MTRAttributeIDTypeClusterHEPAFilterMonitoringAttributeDegradationDirectionID) + params:params + error:error]; +} + +- (NSDictionary *)readAttributeChangeIndicationWithParams:(MTRReadParams * _Nullable)params +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeHEPAFilterMonitoringID) + attributeID:@(MTRAttributeIDTypeClusterHEPAFilterMonitoringAttributeChangeIndicationID) + params:params]; +} + +- (NSNumber * _Nullable)readAttributeChangeIndicationWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeHEPAFilterMonitoringID) + attributeID:@(MTRAttributeIDTypeClusterHEPAFilterMonitoringAttributeChangeIndicationID) + params:params + error:error]; +} + +- (NSDictionary *)readAttributeInPlaceIndicatorWithParams:(MTRReadParams * _Nullable)params +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeHEPAFilterMonitoringID) + attributeID:@(MTRAttributeIDTypeClusterHEPAFilterMonitoringAttributeInPlaceIndicatorID) + params:params]; +} + +- (NSNumber * _Nullable)readAttributeInPlaceIndicatorWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeHEPAFilterMonitoringID) + attributeID:@(MTRAttributeIDTypeClusterHEPAFilterMonitoringAttributeInPlaceIndicatorID) + params:params + error:error]; +} + +- (NSDictionary *)readAttributeLastChangedTimeWithParams:(MTRReadParams * _Nullable)params +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeHEPAFilterMonitoringID) + attributeID:@(MTRAttributeIDTypeClusterHEPAFilterMonitoringAttributeLastChangedTimeID) + params:params]; +} + +- (NSNumber * _Nullable)readAttributeLastChangedTimeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeHEPAFilterMonitoringID) + attributeID:@(MTRAttributeIDTypeClusterHEPAFilterMonitoringAttributeLastChangedTimeID) + params:params + error:error]; +} + +- (void)writeAttributeLastChangedTimeWithValue:(NSDictionary *)dataValueDictionary + expectedValueInterval:(NSNumber *)expectedValueIntervalMs +{ + [self writeAttributeLastChangedTimeWithValue:dataValueDictionary expectedValueInterval:expectedValueIntervalMs params:nil]; +} +- (void)writeAttributeLastChangedTimeWithValue:(NSDictionary *)dataValueDictionary + expectedValueInterval:(NSNumber *)expectedValueIntervalMs + params:(MTRWriteParams * _Nullable)params +{ + NSNumber * timedWriteTimeout = params.timedWriteTimeout; + + [self.device writeAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeHEPAFilterMonitoringID) + attributeID:@(MTRAttributeIDTypeClusterHEPAFilterMonitoringAttributeLastChangedTimeID) + value:dataValueDictionary + expectedValueInterval:expectedValueIntervalMs + timedWriteTimeout:timedWriteTimeout]; +} + +- (NSDictionary *)readAttributeReplacementProductListWithParams:(MTRReadParams * _Nullable)params +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeHEPAFilterMonitoringID) + attributeID:@(MTRAttributeIDTypeClusterHEPAFilterMonitoringAttributeReplacementProductListID) + params:params]; +} + +- (NSArray * _Nullable) + readAttributeReplacementProductListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeHEPAFilterMonitoringID) + attributeID:@(MTRAttributeIDTypeClusterHEPAFilterMonitoringAttributeReplacementProductListID) + params:params + error:error]; +} + +- (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeHEPAFilterMonitoringID) + attributeID:@(MTRAttributeIDTypeClusterHEPAFilterMonitoringAttributeGeneratedCommandListID) + params:params]; +} + +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeHEPAFilterMonitoringID) + attributeID:@(MTRAttributeIDTypeClusterHEPAFilterMonitoringAttributeGeneratedCommandListID) + params:params + error:error]; +} + +- (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeHEPAFilterMonitoringID) + attributeID:@(MTRAttributeIDTypeClusterHEPAFilterMonitoringAttributeAcceptedCommandListID) + params:params]; +} + +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeHEPAFilterMonitoringID) + attributeID:@(MTRAttributeIDTypeClusterHEPAFilterMonitoringAttributeAcceptedCommandListID) + params:params + error:error]; +} + +- (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeHEPAFilterMonitoringID) + attributeID:@(MTRAttributeIDTypeClusterHEPAFilterMonitoringAttributeEventListID) + params:params]; +} + +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeHEPAFilterMonitoringID) + attributeID:@(MTRAttributeIDTypeClusterHEPAFilterMonitoringAttributeEventListID) + params:params + error:error]; +} + +- (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeHEPAFilterMonitoringID) + attributeID:@(MTRAttributeIDTypeClusterHEPAFilterMonitoringAttributeAttributeListID) + params:params]; +} + +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeHEPAFilterMonitoringID) + attributeID:@(MTRAttributeIDTypeClusterHEPAFilterMonitoringAttributeAttributeListID) + params:params + error:error]; +} + +- (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeHEPAFilterMonitoringID) + attributeID:@(MTRAttributeIDTypeClusterHEPAFilterMonitoringAttributeFeatureMapID) + params:params]; +} + +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeHEPAFilterMonitoringID) + attributeID:@(MTRAttributeIDTypeClusterHEPAFilterMonitoringAttributeFeatureMapID) + params:params + error:error]; +} + +- (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeHEPAFilterMonitoringID) + attributeID:@(MTRAttributeIDTypeClusterHEPAFilterMonitoringAttributeClusterRevisionID) + params:params]; +} + +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeHEPAFilterMonitoringID) + attributeID:@(MTRAttributeIDTypeClusterHEPAFilterMonitoringAttributeClusterRevisionID) + params:params + error:error]; +} + +@end + +@implementation MTRClusterActivatedCarbonFilterMonitoring - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { @@ -13490,6 +20260,15 @@ - (void)resetConditionWithParams:(MTRActivatedCarbonFilterMonitoringClusterReset params:params]; } +- (NSNumber * _Nullable)readAttributeConditionWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeActivatedCarbonFilterMonitoringID) + attributeID:@(MTRAttributeIDTypeClusterActivatedCarbonFilterMonitoringAttributeConditionID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeDegradationDirectionWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -13499,6 +20278,17 @@ - (void)resetConditionWithParams:(MTRActivatedCarbonFilterMonitoringClusterReset params:params]; } +- (NSNumber * _Nullable)readAttributeDegradationDirectionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeActivatedCarbonFilterMonitoringID) + attributeID:@(MTRAttributeIDTypeClusterActivatedCarbonFilterMonitoringAttributeDegradationDirectionID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeChangeIndicationWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -13508,6 +20298,17 @@ - (void)resetConditionWithParams:(MTRActivatedCarbonFilterMonitoringClusterReset params:params]; } +- (NSNumber * _Nullable)readAttributeChangeIndicationWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeActivatedCarbonFilterMonitoringID) + attributeID:@(MTRAttributeIDTypeClusterActivatedCarbonFilterMonitoringAttributeChangeIndicationID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeInPlaceIndicatorWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -13517,6 +20318,17 @@ - (void)resetConditionWithParams:(MTRActivatedCarbonFilterMonitoringClusterReset params:params]; } +- (NSNumber * _Nullable)readAttributeInPlaceIndicatorWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeActivatedCarbonFilterMonitoringID) + attributeID:@(MTRAttributeIDTypeClusterActivatedCarbonFilterMonitoringAttributeInPlaceIndicatorID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeLastChangedTimeWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -13526,6 +20338,17 @@ - (void)resetConditionWithParams:(MTRActivatedCarbonFilterMonitoringClusterReset params:params]; } +- (NSNumber * _Nullable)readAttributeLastChangedTimeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeActivatedCarbonFilterMonitoringID) + attributeID:@(MTRAttributeIDTypeClusterActivatedCarbonFilterMonitoringAttributeLastChangedTimeID) + params:params + error:error]; +} + - (void)writeAttributeLastChangedTimeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -13554,6 +20377,18 @@ - (void)writeAttributeLastChangedTimeWithValue:(NSDictionary *)d params:params]; } +- (NSArray * _Nullable) + readAttributeReplacementProductListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeActivatedCarbonFilterMonitoringID) + attributeID:@(MTRAttributeIDTypeClusterActivatedCarbonFilterMonitoringAttributeReplacementProductListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -13563,6 +20398,17 @@ - (void)writeAttributeLastChangedTimeWithValue:(NSDictionary *)d params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeActivatedCarbonFilterMonitoringID) + attributeID:@(MTRAttributeIDTypeClusterActivatedCarbonFilterMonitoringAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -13572,6 +20418,17 @@ - (void)writeAttributeLastChangedTimeWithValue:(NSDictionary *)d params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeActivatedCarbonFilterMonitoringID) + attributeID:@(MTRAttributeIDTypeClusterActivatedCarbonFilterMonitoringAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -13580,6 +20437,16 @@ - (void)writeAttributeLastChangedTimeWithValue:(NSDictionary *)d params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeActivatedCarbonFilterMonitoringID) + attributeID:@(MTRAttributeIDTypeClusterActivatedCarbonFilterMonitoringAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return @@ -13589,6 +20456,17 @@ - (void)writeAttributeLastChangedTimeWithValue:(NSDictionary *)d params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeActivatedCarbonFilterMonitoringID) + attributeID:@(MTRAttributeIDTypeClusterActivatedCarbonFilterMonitoringAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -13597,6 +20475,15 @@ - (void)writeAttributeLastChangedTimeWithValue:(NSDictionary *)d params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeActivatedCarbonFilterMonitoringID) + attributeID:@(MTRAttributeIDTypeClusterActivatedCarbonFilterMonitoringAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -13606,6 +20493,17 @@ - (void)writeAttributeLastChangedTimeWithValue:(NSDictionary *)d params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeActivatedCarbonFilterMonitoringID) + attributeID:@(MTRAttributeIDTypeClusterActivatedCarbonFilterMonitoringAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterDoorLock @@ -14400,6 +21298,15 @@ - (void)unboltDoorWithParams:(MTRDoorLockClusterUnboltDoorParams * _Nullable)par params:params]; } +- (NSNumber * _Nullable)readAttributeLockStateWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeLockStateID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeLockTypeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -14408,6 +21315,15 @@ - (void)unboltDoorWithParams:(MTRDoorLockClusterUnboltDoorParams * _Nullable)par params:params]; } +- (NSNumber * _Nullable)readAttributeLockTypeWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeLockTypeID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeActuatorEnabledWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -14416,6 +21332,16 @@ - (void)unboltDoorWithParams:(MTRDoorLockClusterUnboltDoorParams * _Nullable)par params:params]; } +- (NSNumber * _Nullable)readAttributeActuatorEnabledWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeActuatorEnabledID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeDoorStateWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -14424,6 +21350,15 @@ - (void)unboltDoorWithParams:(MTRDoorLockClusterUnboltDoorParams * _Nullable)par params:params]; } +- (NSNumber * _Nullable)readAttributeDoorStateWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeDoorStateID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeDoorOpenEventsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -14432,6 +21367,16 @@ - (void)unboltDoorWithParams:(MTRDoorLockClusterUnboltDoorParams * _Nullable)par params:params]; } +- (NSNumber * _Nullable)readAttributeDoorOpenEventsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeDoorOpenEventsID) + params:params + error:error]; +} + - (void)writeAttributeDoorOpenEventsWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -14459,6 +21404,16 @@ - (void)writeAttributeDoorOpenEventsWithValue:(NSDictionary *)da params:params]; } +- (NSNumber * _Nullable)readAttributeDoorClosedEventsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeDoorClosedEventsID) + params:params + error:error]; +} + - (void)writeAttributeDoorClosedEventsWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -14486,6 +21441,15 @@ - (void)writeAttributeDoorClosedEventsWithValue:(NSDictionary *) params:params]; } +- (NSNumber * _Nullable)readAttributeOpenPeriodWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeOpenPeriodID) + params:params + error:error]; +} + - (void)writeAttributeOpenPeriodWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -14513,6 +21477,16 @@ - (void)writeAttributeOpenPeriodWithValue:(NSDictionary *)dataVa params:params]; } +- (NSNumber * _Nullable)readAttributeNumberOfTotalUsersSupportedWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeNumberOfTotalUsersSupportedID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeNumberOfPINUsersSupportedWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -14521,6 +21495,16 @@ - (void)writeAttributeOpenPeriodWithValue:(NSDictionary *)dataVa params:params]; } +- (NSNumber * _Nullable)readAttributeNumberOfPINUsersSupportedWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeNumberOfPINUsersSupportedID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeNumberOfRFIDUsersSupportedWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -14529,6 +21513,16 @@ - (void)writeAttributeOpenPeriodWithValue:(NSDictionary *)dataVa params:params]; } +- (NSNumber * _Nullable)readAttributeNumberOfRFIDUsersSupportedWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeNumberOfRFIDUsersSupportedID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeNumberOfWeekDaySchedulesSupportedPerUserWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -14538,6 +21532,17 @@ - (void)writeAttributeOpenPeriodWithValue:(NSDictionary *)dataVa params:params]; } +- (NSNumber * _Nullable)readAttributeNumberOfWeekDaySchedulesSupportedPerUserWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeNumberOfWeekDaySchedulesSupportedPerUserID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeNumberOfYearDaySchedulesSupportedPerUserWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -14547,6 +21552,17 @@ - (void)writeAttributeOpenPeriodWithValue:(NSDictionary *)dataVa params:params]; } +- (NSNumber * _Nullable)readAttributeNumberOfYearDaySchedulesSupportedPerUserWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeNumberOfYearDaySchedulesSupportedPerUserID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeNumberOfHolidaySchedulesSupportedWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -14555,6 +21571,16 @@ - (void)writeAttributeOpenPeriodWithValue:(NSDictionary *)dataVa params:params]; } +- (NSNumber * _Nullable)readAttributeNumberOfHolidaySchedulesSupportedWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeNumberOfHolidaySchedulesSupportedID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMaxPINCodeLengthWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -14563,6 +21589,16 @@ - (void)writeAttributeOpenPeriodWithValue:(NSDictionary *)dataVa params:params]; } +- (NSNumber * _Nullable)readAttributeMaxPINCodeLengthWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeMaxPINCodeLengthID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMinPINCodeLengthWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -14571,6 +21607,16 @@ - (void)writeAttributeOpenPeriodWithValue:(NSDictionary *)dataVa params:params]; } +- (NSNumber * _Nullable)readAttributeMinPINCodeLengthWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeMinPINCodeLengthID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMaxRFIDCodeLengthWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -14579,6 +21625,16 @@ - (void)writeAttributeOpenPeriodWithValue:(NSDictionary *)dataVa params:params]; } +- (NSNumber * _Nullable)readAttributeMaxRFIDCodeLengthWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeMaxRFIDCodeLengthID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMinRFIDCodeLengthWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -14587,6 +21643,16 @@ - (void)writeAttributeOpenPeriodWithValue:(NSDictionary *)dataVa params:params]; } +- (NSNumber * _Nullable)readAttributeMinRFIDCodeLengthWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeMinRFIDCodeLengthID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeCredentialRulesSupportWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -14595,6 +21661,16 @@ - (void)writeAttributeOpenPeriodWithValue:(NSDictionary *)dataVa params:params]; } +- (NSNumber * _Nullable)readAttributeCredentialRulesSupportWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeCredentialRulesSupportID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeNumberOfCredentialsSupportedPerUserWithParams:(MTRReadParams * _Nullable)params { return @@ -14604,6 +21680,17 @@ - (void)writeAttributeOpenPeriodWithValue:(NSDictionary *)dataVa params:params]; } +- (NSNumber * _Nullable)readAttributeNumberOfCredentialsSupportedPerUserWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeNumberOfCredentialsSupportedPerUserID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeLanguageWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -14612,6 +21699,15 @@ - (void)writeAttributeOpenPeriodWithValue:(NSDictionary *)dataVa params:params]; } +- (NSString * _Nullable)readAttributeLanguageWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeLanguageID) + params:params + error:error]; +} + - (void)writeAttributeLanguageWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -14639,6 +21735,16 @@ - (void)writeAttributeLanguageWithValue:(NSDictionary *)dataValu params:params]; } +- (NSNumber * _Nullable)readAttributeLEDSettingsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeLEDSettingsID) + params:params + error:error]; +} + - (void)writeAttributeLEDSettingsWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -14666,6 +21772,16 @@ - (void)writeAttributeLEDSettingsWithValue:(NSDictionary *)dataV params:params]; } +- (NSNumber * _Nullable)readAttributeAutoRelockTimeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeAutoRelockTimeID) + params:params + error:error]; +} + - (void)writeAttributeAutoRelockTimeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -14693,6 +21809,16 @@ - (void)writeAttributeAutoRelockTimeWithValue:(NSDictionary *)da params:params]; } +- (NSNumber * _Nullable)readAttributeSoundVolumeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeSoundVolumeID) + params:params + error:error]; +} + - (void)writeAttributeSoundVolumeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -14720,6 +21846,16 @@ - (void)writeAttributeSoundVolumeWithValue:(NSDictionary *)dataV params:params]; } +- (NSNumber * _Nullable)readAttributeOperatingModeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeOperatingModeID) + params:params + error:error]; +} + - (void)writeAttributeOperatingModeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -14747,6 +21883,16 @@ - (void)writeAttributeOperatingModeWithValue:(NSDictionary *)dat params:params]; } +- (NSNumber * _Nullable)readAttributeSupportedOperatingModesWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeSupportedOperatingModesID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeDefaultConfigurationRegisterWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -14755,6 +21901,16 @@ - (void)writeAttributeOperatingModeWithValue:(NSDictionary *)dat params:params]; } +- (NSNumber * _Nullable)readAttributeDefaultConfigurationRegisterWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeDefaultConfigurationRegisterID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEnableLocalProgrammingWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -14763,6 +21919,16 @@ - (void)writeAttributeOperatingModeWithValue:(NSDictionary *)dat params:params]; } +- (NSNumber * _Nullable)readAttributeEnableLocalProgrammingWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeEnableLocalProgrammingID) + params:params + error:error]; +} + - (void)writeAttributeEnableLocalProgrammingWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -14792,6 +21958,16 @@ - (void)writeAttributeEnableLocalProgrammingWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -14821,6 +21997,16 @@ - (void)writeAttributeEnableOneTouchLockingWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -14850,6 +22036,16 @@ - (void)writeAttributeEnableInsideStatusLEDWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -14879,6 +22075,16 @@ - (void)writeAttributeEnablePrivacyModeButtonWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -14908,6 +22114,16 @@ - (void)writeAttributeLocalProgrammingFeaturesWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -14935,6 +22151,16 @@ - (void)writeAttributeWrongCodeEntryLimitWithValue:(NSDictionary params:params]; } +- (NSNumber * _Nullable)readAttributeUserCodeTemporaryDisableTimeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeUserCodeTemporaryDisableTimeID) + params:params + error:error]; +} + - (void)writeAttributeUserCodeTemporaryDisableTimeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -14964,6 +22190,16 @@ - (void)writeAttributeUserCodeTemporaryDisableTimeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -14991,6 +22227,16 @@ - (void)writeAttributeSendPINOverTheAirWithValue:(NSDictionary * params:params]; } +- (NSNumber * _Nullable)readAttributeRequirePINforRemoteOperationWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeRequirePINforRemoteOperationID) + params:params + error:error]; +} + - (void)writeAttributeRequirePINforRemoteOperationWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -15020,6 +22266,16 @@ - (void)writeAttributeRequirePINforRemoteOperationWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -15047,6 +22303,16 @@ - (void)writeAttributeExpiringUserTimeoutWithValue:(NSDictionary params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -15055,6 +22321,16 @@ - (void)writeAttributeExpiringUserTimeoutWithValue:(NSDictionary params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -15063,6 +22339,16 @@ - (void)writeAttributeExpiringUserTimeoutWithValue:(NSDictionary params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -15071,6 +22357,16 @@ - (void)writeAttributeExpiringUserTimeoutWithValue:(NSDictionary params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -15079,6 +22375,15 @@ - (void)writeAttributeExpiringUserTimeoutWithValue:(NSDictionary params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -15087,6 +22392,16 @@ - (void)writeAttributeExpiringUserTimeoutWithValue:(NSDictionary params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterDoorLock (Deprecated) @@ -15632,6 +22947,15 @@ - (void)goToTiltPercentageWithParams:(MTRWindowCoveringClusterGoToTiltPercentage params:params]; } +- (NSNumber * _Nullable)readAttributeTypeWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeWindowCoveringID) + attributeID:@(MTRAttributeIDTypeClusterWindowCoveringAttributeTypeID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePhysicalClosedLimitLiftWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -15640,6 +22964,16 @@ - (void)goToTiltPercentageWithParams:(MTRWindowCoveringClusterGoToTiltPercentage params:params]; } +- (NSNumber * _Nullable)readAttributePhysicalClosedLimitLiftWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeWindowCoveringID) + attributeID:@(MTRAttributeIDTypeClusterWindowCoveringAttributePhysicalClosedLimitLiftID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePhysicalClosedLimitTiltWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -15648,6 +22982,16 @@ - (void)goToTiltPercentageWithParams:(MTRWindowCoveringClusterGoToTiltPercentage params:params]; } +- (NSNumber * _Nullable)readAttributePhysicalClosedLimitTiltWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeWindowCoveringID) + attributeID:@(MTRAttributeIDTypeClusterWindowCoveringAttributePhysicalClosedLimitTiltID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeCurrentPositionLiftWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -15656,6 +23000,16 @@ - (void)goToTiltPercentageWithParams:(MTRWindowCoveringClusterGoToTiltPercentage params:params]; } +- (NSNumber * _Nullable)readAttributeCurrentPositionLiftWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeWindowCoveringID) + attributeID:@(MTRAttributeIDTypeClusterWindowCoveringAttributeCurrentPositionLiftID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeCurrentPositionTiltWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -15664,6 +23018,16 @@ - (void)goToTiltPercentageWithParams:(MTRWindowCoveringClusterGoToTiltPercentage params:params]; } +- (NSNumber * _Nullable)readAttributeCurrentPositionTiltWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeWindowCoveringID) + attributeID:@(MTRAttributeIDTypeClusterWindowCoveringAttributeCurrentPositionTiltID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeNumberOfActuationsLiftWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -15672,6 +23036,16 @@ - (void)goToTiltPercentageWithParams:(MTRWindowCoveringClusterGoToTiltPercentage params:params]; } +- (NSNumber * _Nullable)readAttributeNumberOfActuationsLiftWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeWindowCoveringID) + attributeID:@(MTRAttributeIDTypeClusterWindowCoveringAttributeNumberOfActuationsLiftID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeNumberOfActuationsTiltWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -15680,6 +23054,16 @@ - (void)goToTiltPercentageWithParams:(MTRWindowCoveringClusterGoToTiltPercentage params:params]; } +- (NSNumber * _Nullable)readAttributeNumberOfActuationsTiltWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeWindowCoveringID) + attributeID:@(MTRAttributeIDTypeClusterWindowCoveringAttributeNumberOfActuationsTiltID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeConfigStatusWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -15688,6 +23072,16 @@ - (void)goToTiltPercentageWithParams:(MTRWindowCoveringClusterGoToTiltPercentage params:params]; } +- (NSNumber * _Nullable)readAttributeConfigStatusWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeWindowCoveringID) + attributeID:@(MTRAttributeIDTypeClusterWindowCoveringAttributeConfigStatusID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeCurrentPositionLiftPercentageWithParams:(MTRReadParams * _Nullable)params { return @@ -15697,6 +23091,17 @@ - (void)goToTiltPercentageWithParams:(MTRWindowCoveringClusterGoToTiltPercentage params:params]; } +- (NSNumber * _Nullable)readAttributeCurrentPositionLiftPercentageWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeWindowCoveringID) + attributeID:@(MTRAttributeIDTypeClusterWindowCoveringAttributeCurrentPositionLiftPercentageID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeCurrentPositionTiltPercentageWithParams:(MTRReadParams * _Nullable)params { return @@ -15706,6 +23111,17 @@ - (void)goToTiltPercentageWithParams:(MTRWindowCoveringClusterGoToTiltPercentage params:params]; } +- (NSNumber * _Nullable)readAttributeCurrentPositionTiltPercentageWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeWindowCoveringID) + attributeID:@(MTRAttributeIDTypeClusterWindowCoveringAttributeCurrentPositionTiltPercentageID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeOperationalStatusWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -15714,6 +23130,16 @@ - (void)goToTiltPercentageWithParams:(MTRWindowCoveringClusterGoToTiltPercentage params:params]; } +- (NSNumber * _Nullable)readAttributeOperationalStatusWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeWindowCoveringID) + attributeID:@(MTRAttributeIDTypeClusterWindowCoveringAttributeOperationalStatusID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeTargetPositionLiftPercent100thsWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -15723,6 +23149,17 @@ - (void)goToTiltPercentageWithParams:(MTRWindowCoveringClusterGoToTiltPercentage params:params]; } +- (NSNumber * _Nullable)readAttributeTargetPositionLiftPercent100thsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeWindowCoveringID) + attributeID:@(MTRAttributeIDTypeClusterWindowCoveringAttributeTargetPositionLiftPercent100thsID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeTargetPositionTiltPercent100thsWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -15732,6 +23169,17 @@ - (void)goToTiltPercentageWithParams:(MTRWindowCoveringClusterGoToTiltPercentage params:params]; } +- (NSNumber * _Nullable)readAttributeTargetPositionTiltPercent100thsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeWindowCoveringID) + attributeID:@(MTRAttributeIDTypeClusterWindowCoveringAttributeTargetPositionTiltPercent100thsID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEndProductTypeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -15740,6 +23188,16 @@ - (void)goToTiltPercentageWithParams:(MTRWindowCoveringClusterGoToTiltPercentage params:params]; } +- (NSNumber * _Nullable)readAttributeEndProductTypeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeWindowCoveringID) + attributeID:@(MTRAttributeIDTypeClusterWindowCoveringAttributeEndProductTypeID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeCurrentPositionLiftPercent100thsWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -15749,6 +23207,17 @@ - (void)goToTiltPercentageWithParams:(MTRWindowCoveringClusterGoToTiltPercentage params:params]; } +- (NSNumber * _Nullable)readAttributeCurrentPositionLiftPercent100thsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeWindowCoveringID) + attributeID:@(MTRAttributeIDTypeClusterWindowCoveringAttributeCurrentPositionLiftPercent100thsID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeCurrentPositionTiltPercent100thsWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -15758,6 +23227,17 @@ - (void)goToTiltPercentageWithParams:(MTRWindowCoveringClusterGoToTiltPercentage params:params]; } +- (NSNumber * _Nullable)readAttributeCurrentPositionTiltPercent100thsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeWindowCoveringID) + attributeID:@(MTRAttributeIDTypeClusterWindowCoveringAttributeCurrentPositionTiltPercent100thsID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeInstalledOpenLimitLiftWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -15766,6 +23246,16 @@ - (void)goToTiltPercentageWithParams:(MTRWindowCoveringClusterGoToTiltPercentage params:params]; } +- (NSNumber * _Nullable)readAttributeInstalledOpenLimitLiftWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeWindowCoveringID) + attributeID:@(MTRAttributeIDTypeClusterWindowCoveringAttributeInstalledOpenLimitLiftID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeInstalledClosedLimitLiftWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -15774,6 +23264,16 @@ - (void)goToTiltPercentageWithParams:(MTRWindowCoveringClusterGoToTiltPercentage params:params]; } +- (NSNumber * _Nullable)readAttributeInstalledClosedLimitLiftWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeWindowCoveringID) + attributeID:@(MTRAttributeIDTypeClusterWindowCoveringAttributeInstalledClosedLimitLiftID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeInstalledOpenLimitTiltWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -15782,6 +23282,16 @@ - (void)goToTiltPercentageWithParams:(MTRWindowCoveringClusterGoToTiltPercentage params:params]; } +- (NSNumber * _Nullable)readAttributeInstalledOpenLimitTiltWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeWindowCoveringID) + attributeID:@(MTRAttributeIDTypeClusterWindowCoveringAttributeInstalledOpenLimitTiltID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeInstalledClosedLimitTiltWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -15790,6 +23300,16 @@ - (void)goToTiltPercentageWithParams:(MTRWindowCoveringClusterGoToTiltPercentage params:params]; } +- (NSNumber * _Nullable)readAttributeInstalledClosedLimitTiltWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeWindowCoveringID) + attributeID:@(MTRAttributeIDTypeClusterWindowCoveringAttributeInstalledClosedLimitTiltID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeModeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -15798,6 +23318,15 @@ - (void)goToTiltPercentageWithParams:(MTRWindowCoveringClusterGoToTiltPercentage params:params]; } +- (NSNumber * _Nullable)readAttributeModeWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeWindowCoveringID) + attributeID:@(MTRAttributeIDTypeClusterWindowCoveringAttributeModeID) + params:params + error:error]; +} + - (void)writeAttributeModeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -15825,6 +23354,16 @@ - (void)writeAttributeModeWithValue:(NSDictionary *)dataValueDic params:params]; } +- (NSNumber * _Nullable)readAttributeSafetyStatusWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeWindowCoveringID) + attributeID:@(MTRAttributeIDTypeClusterWindowCoveringAttributeSafetyStatusID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -15833,6 +23372,16 @@ - (void)writeAttributeModeWithValue:(NSDictionary *)dataValueDic params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeWindowCoveringID) + attributeID:@(MTRAttributeIDTypeClusterWindowCoveringAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -15841,6 +23390,16 @@ - (void)writeAttributeModeWithValue:(NSDictionary *)dataValueDic params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeWindowCoveringID) + attributeID:@(MTRAttributeIDTypeClusterWindowCoveringAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -15849,6 +23408,16 @@ - (void)writeAttributeModeWithValue:(NSDictionary *)dataValueDic params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeWindowCoveringID) + attributeID:@(MTRAttributeIDTypeClusterWindowCoveringAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -15857,6 +23426,16 @@ - (void)writeAttributeModeWithValue:(NSDictionary *)dataValueDic params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeWindowCoveringID) + attributeID:@(MTRAttributeIDTypeClusterWindowCoveringAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -15865,6 +23444,15 @@ - (void)writeAttributeModeWithValue:(NSDictionary *)dataValueDic params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeWindowCoveringID) + attributeID:@(MTRAttributeIDTypeClusterWindowCoveringAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -15873,6 +23461,16 @@ - (void)writeAttributeModeWithValue:(NSDictionary *)dataValueDic params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeWindowCoveringID) + attributeID:@(MTRAttributeIDTypeClusterWindowCoveringAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterWindowCovering (Deprecated) @@ -16092,6 +23690,16 @@ - (void)barrierControlStopWithParams:(MTRBarrierControlClusterBarrierControlStop params:params]; } +- (NSNumber * _Nullable)readAttributeBarrierMovingStateWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBarrierControlID) + attributeID:@(MTRAttributeIDTypeClusterBarrierControlAttributeBarrierMovingStateID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeBarrierSafetyStatusWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -16100,6 +23708,16 @@ - (void)barrierControlStopWithParams:(MTRBarrierControlClusterBarrierControlStop params:params]; } +- (NSNumber * _Nullable)readAttributeBarrierSafetyStatusWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBarrierControlID) + attributeID:@(MTRAttributeIDTypeClusterBarrierControlAttributeBarrierSafetyStatusID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeBarrierCapabilitiesWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -16108,6 +23726,16 @@ - (void)barrierControlStopWithParams:(MTRBarrierControlClusterBarrierControlStop params:params]; } +- (NSNumber * _Nullable)readAttributeBarrierCapabilitiesWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBarrierControlID) + attributeID:@(MTRAttributeIDTypeClusterBarrierControlAttributeBarrierCapabilitiesID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeBarrierOpenEventsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -16116,6 +23744,16 @@ - (void)barrierControlStopWithParams:(MTRBarrierControlClusterBarrierControlStop params:params]; } +- (NSNumber * _Nullable)readAttributeBarrierOpenEventsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBarrierControlID) + attributeID:@(MTRAttributeIDTypeClusterBarrierControlAttributeBarrierOpenEventsID) + params:params + error:error]; +} + - (void)writeAttributeBarrierOpenEventsWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -16143,6 +23781,16 @@ - (void)writeAttributeBarrierOpenEventsWithValue:(NSDictionary * params:params]; } +- (NSNumber * _Nullable)readAttributeBarrierCloseEventsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBarrierControlID) + attributeID:@(MTRAttributeIDTypeClusterBarrierControlAttributeBarrierCloseEventsID) + params:params + error:error]; +} + - (void)writeAttributeBarrierCloseEventsWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -16170,6 +23818,16 @@ - (void)writeAttributeBarrierCloseEventsWithValue:(NSDictionary params:params]; } +- (NSNumber * _Nullable)readAttributeBarrierCommandOpenEventsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBarrierControlID) + attributeID:@(MTRAttributeIDTypeClusterBarrierControlAttributeBarrierCommandOpenEventsID) + params:params + error:error]; +} + - (void)writeAttributeBarrierCommandOpenEventsWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -16199,6 +23857,16 @@ - (void)writeAttributeBarrierCommandOpenEventsWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -16228,6 +23896,16 @@ - (void)writeAttributeBarrierCommandCloseEventsWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -16255,6 +23933,16 @@ - (void)writeAttributeBarrierOpenPeriodWithValue:(NSDictionary * params:params]; } +- (NSNumber * _Nullable)readAttributeBarrierClosePeriodWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBarrierControlID) + attributeID:@(MTRAttributeIDTypeClusterBarrierControlAttributeBarrierClosePeriodID) + params:params + error:error]; +} + - (void)writeAttributeBarrierClosePeriodWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -16282,6 +23970,16 @@ - (void)writeAttributeBarrierClosePeriodWithValue:(NSDictionary params:params]; } +- (NSNumber * _Nullable)readAttributeBarrierPositionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBarrierControlID) + attributeID:@(MTRAttributeIDTypeClusterBarrierControlAttributeBarrierPositionID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -16290,6 +23988,16 @@ - (void)writeAttributeBarrierClosePeriodWithValue:(NSDictionary params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBarrierControlID) + attributeID:@(MTRAttributeIDTypeClusterBarrierControlAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -16298,6 +24006,16 @@ - (void)writeAttributeBarrierClosePeriodWithValue:(NSDictionary params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBarrierControlID) + attributeID:@(MTRAttributeIDTypeClusterBarrierControlAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -16306,6 +24024,16 @@ - (void)writeAttributeBarrierClosePeriodWithValue:(NSDictionary params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBarrierControlID) + attributeID:@(MTRAttributeIDTypeClusterBarrierControlAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -16314,6 +24042,16 @@ - (void)writeAttributeBarrierClosePeriodWithValue:(NSDictionary params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBarrierControlID) + attributeID:@(MTRAttributeIDTypeClusterBarrierControlAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -16322,6 +24060,15 @@ - (void)writeAttributeBarrierClosePeriodWithValue:(NSDictionary params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBarrierControlID) + attributeID:@(MTRAttributeIDTypeClusterBarrierControlAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -16330,6 +24077,16 @@ - (void)writeAttributeBarrierClosePeriodWithValue:(NSDictionary params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBarrierControlID) + attributeID:@(MTRAttributeIDTypeClusterBarrierControlAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterBarrierControl (Deprecated) @@ -16392,6 +24149,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMaxPressureWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePumpConfigurationAndControlID) + attributeID:@(MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeMaxPressureID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMaxSpeedWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -16400,6 +24167,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMaxSpeedWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePumpConfigurationAndControlID) + attributeID:@(MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeMaxSpeedID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMaxFlowWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -16408,6 +24184,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMaxFlowWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePumpConfigurationAndControlID) + attributeID:@(MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeMaxFlowID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMinConstPressureWithParams:(MTRReadParams * _Nullable)params { return @@ -16417,6 +24202,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMinConstPressureWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePumpConfigurationAndControlID) + attributeID:@(MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeMinConstPressureID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMaxConstPressureWithParams:(MTRReadParams * _Nullable)params { return @@ -16426,6 +24222,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMaxConstPressureWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePumpConfigurationAndControlID) + attributeID:@(MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeMaxConstPressureID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMinCompPressureWithParams:(MTRReadParams * _Nullable)params { return @@ -16435,6 +24242,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMinCompPressureWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePumpConfigurationAndControlID) + attributeID:@(MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeMinCompPressureID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMaxCompPressureWithParams:(MTRReadParams * _Nullable)params { return @@ -16444,6 +24262,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMaxCompPressureWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePumpConfigurationAndControlID) + attributeID:@(MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeMaxCompPressureID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMinConstSpeedWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -16452,6 +24281,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMinConstSpeedWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePumpConfigurationAndControlID) + attributeID:@(MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeMinConstSpeedID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMaxConstSpeedWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -16460,6 +24299,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMaxConstSpeedWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePumpConfigurationAndControlID) + attributeID:@(MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeMaxConstSpeedID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMinConstFlowWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -16468,6 +24317,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMinConstFlowWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePumpConfigurationAndControlID) + attributeID:@(MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeMinConstFlowID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMaxConstFlowWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -16476,6 +24335,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMaxConstFlowWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePumpConfigurationAndControlID) + attributeID:@(MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeMaxConstFlowID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMinConstTempWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -16484,6 +24353,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMinConstTempWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePumpConfigurationAndControlID) + attributeID:@(MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeMinConstTempID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMaxConstTempWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -16492,6 +24371,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMaxConstTempWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePumpConfigurationAndControlID) + attributeID:@(MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeMaxConstTempID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePumpStatusWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -16500,6 +24389,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributePumpStatusWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePumpConfigurationAndControlID) + attributeID:@(MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributePumpStatusID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEffectiveOperationModeWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -16509,6 +24407,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeEffectiveOperationModeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePumpConfigurationAndControlID) + attributeID:@(MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeEffectiveOperationModeID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEffectiveControlModeWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -16518,6 +24427,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeEffectiveControlModeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePumpConfigurationAndControlID) + attributeID:@(MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeEffectiveControlModeID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeCapacityWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -16526,6 +24446,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeCapacityWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePumpConfigurationAndControlID) + attributeID:@(MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeCapacityID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeSpeedWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -16534,6 +24463,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeSpeedWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePumpConfigurationAndControlID) + attributeID:@(MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeSpeedID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeLifetimeRunningHoursWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -16543,6 +24481,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeLifetimeRunningHoursWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePumpConfigurationAndControlID) + attributeID:@(MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeLifetimeRunningHoursID) + params:params + error:error]; +} + - (void)writeAttributeLifetimeRunningHoursWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -16570,6 +24519,15 @@ - (void)writeAttributeLifetimeRunningHoursWithValue:(NSDictionary *)readAttributeLifetimeEnergyConsumedWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -16579,6 +24537,17 @@ - (void)writeAttributeLifetimeRunningHoursWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -16609,6 +24578,16 @@ - (void)writeAttributeLifetimeEnergyConsumedWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -16636,6 +24615,16 @@ - (void)writeAttributeOperationModeWithValue:(NSDictionary *)dat params:params]; } +- (NSNumber * _Nullable)readAttributeControlModeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePumpConfigurationAndControlID) + attributeID:@(MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeControlModeID) + params:params + error:error]; +} + - (void)writeAttributeControlModeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -16664,6 +24653,17 @@ - (void)writeAttributeControlModeWithValue:(NSDictionary *)dataV params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePumpConfigurationAndControlID) + attributeID:@(MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -16673,6 +24673,17 @@ - (void)writeAttributeControlModeWithValue:(NSDictionary *)dataV params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePumpConfigurationAndControlID) + attributeID:@(MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -16681,6 +24692,16 @@ - (void)writeAttributeControlModeWithValue:(NSDictionary *)dataV params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePumpConfigurationAndControlID) + attributeID:@(MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -16689,6 +24710,16 @@ - (void)writeAttributeControlModeWithValue:(NSDictionary *)dataV params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePumpConfigurationAndControlID) + attributeID:@(MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -16697,6 +24728,15 @@ - (void)writeAttributeControlModeWithValue:(NSDictionary *)dataV params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePumpConfigurationAndControlID) + attributeID:@(MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return @@ -16706,6 +24746,17 @@ - (void)writeAttributeControlModeWithValue:(NSDictionary *)dataV params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePumpConfigurationAndControlID) + attributeID:@(MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterPumpConfigurationAndControl (Deprecated) @@ -16910,6 +24961,16 @@ - (void)clearWeeklyScheduleWithParams:(MTRThermostatClusterClearWeeklySchedulePa params:params]; } +- (NSNumber * _Nullable)readAttributeLocalTemperatureWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeLocalTemperatureID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeOutdoorTemperatureWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -16918,6 +24979,16 @@ - (void)clearWeeklyScheduleWithParams:(MTRThermostatClusterClearWeeklySchedulePa params:params]; } +- (NSNumber * _Nullable)readAttributeOutdoorTemperatureWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeOutdoorTemperatureID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeOccupancyWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -16926,6 +24997,15 @@ - (void)clearWeeklyScheduleWithParams:(MTRThermostatClusterClearWeeklySchedulePa params:params]; } +- (NSNumber * _Nullable)readAttributeOccupancyWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeOccupancyID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAbsMinHeatSetpointLimitWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -16934,6 +25014,16 @@ - (void)clearWeeklyScheduleWithParams:(MTRThermostatClusterClearWeeklySchedulePa params:params]; } +- (NSNumber * _Nullable)readAttributeAbsMinHeatSetpointLimitWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeAbsMinHeatSetpointLimitID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAbsMaxHeatSetpointLimitWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -16942,6 +25032,16 @@ - (void)clearWeeklyScheduleWithParams:(MTRThermostatClusterClearWeeklySchedulePa params:params]; } +- (NSNumber * _Nullable)readAttributeAbsMaxHeatSetpointLimitWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeAbsMaxHeatSetpointLimitID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAbsMinCoolSetpointLimitWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -16950,6 +25050,16 @@ - (void)clearWeeklyScheduleWithParams:(MTRThermostatClusterClearWeeklySchedulePa params:params]; } +- (NSNumber * _Nullable)readAttributeAbsMinCoolSetpointLimitWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeAbsMinCoolSetpointLimitID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAbsMaxCoolSetpointLimitWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -16958,6 +25068,16 @@ - (void)clearWeeklyScheduleWithParams:(MTRThermostatClusterClearWeeklySchedulePa params:params]; } +- (NSNumber * _Nullable)readAttributeAbsMaxCoolSetpointLimitWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeAbsMaxCoolSetpointLimitID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePICoolingDemandWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -16966,6 +25086,16 @@ - (void)clearWeeklyScheduleWithParams:(MTRThermostatClusterClearWeeklySchedulePa params:params]; } +- (NSNumber * _Nullable)readAttributePICoolingDemandWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributePICoolingDemandID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePIHeatingDemandWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -16974,6 +25104,16 @@ - (void)clearWeeklyScheduleWithParams:(MTRThermostatClusterClearWeeklySchedulePa params:params]; } +- (NSNumber * _Nullable)readAttributePIHeatingDemandWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributePIHeatingDemandID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeHVACSystemTypeConfigurationWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -16982,6 +25122,16 @@ - (void)clearWeeklyScheduleWithParams:(MTRThermostatClusterClearWeeklySchedulePa params:params]; } +- (NSNumber * _Nullable)readAttributeHVACSystemTypeConfigurationWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeHVACSystemTypeConfigurationID) + params:params + error:error]; +} + - (void)writeAttributeHVACSystemTypeConfigurationWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -17011,6 +25161,16 @@ - (void)writeAttributeHVACSystemTypeConfigurationWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -17040,6 +25200,16 @@ - (void)writeAttributeLocalTemperatureCalibrationWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -17069,6 +25239,16 @@ - (void)writeAttributeOccupiedCoolingSetpointWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -17098,6 +25278,16 @@ - (void)writeAttributeOccupiedHeatingSetpointWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -17127,6 +25317,16 @@ - (void)writeAttributeUnoccupiedCoolingSetpointWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -17156,6 +25356,16 @@ - (void)writeAttributeUnoccupiedHeatingSetpointWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -17183,6 +25393,16 @@ - (void)writeAttributeMinHeatSetpointLimitWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -17210,6 +25430,16 @@ - (void)writeAttributeMaxHeatSetpointLimitWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -17237,6 +25467,16 @@ - (void)writeAttributeMinCoolSetpointLimitWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -17264,6 +25504,16 @@ - (void)writeAttributeMaxCoolSetpointLimitWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -17291,6 +25541,16 @@ - (void)writeAttributeMinSetpointDeadBandWithValue:(NSDictionary params:params]; } +- (NSNumber * _Nullable)readAttributeRemoteSensingWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeRemoteSensingID) + params:params + error:error]; +} + - (void)writeAttributeRemoteSensingWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -17318,6 +25578,16 @@ - (void)writeAttributeRemoteSensingWithValue:(NSDictionary *)dat params:params]; } +- (NSNumber * _Nullable)readAttributeControlSequenceOfOperationWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeControlSequenceOfOperationID) + params:params + error:error]; +} + - (void)writeAttributeControlSequenceOfOperationWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -17347,6 +25617,15 @@ - (void)writeAttributeControlSequenceOfOperationWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -17374,6 +25653,16 @@ - (void)writeAttributeSystemModeWithValue:(NSDictionary *)dataVa params:params]; } +- (NSNumber * _Nullable)readAttributeThermostatRunningModeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeThermostatRunningModeID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeStartOfWeekWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -17382,6 +25671,16 @@ - (void)writeAttributeSystemModeWithValue:(NSDictionary *)dataVa params:params]; } +- (NSNumber * _Nullable)readAttributeStartOfWeekWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeStartOfWeekID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeNumberOfWeeklyTransitionsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -17390,6 +25689,16 @@ - (void)writeAttributeSystemModeWithValue:(NSDictionary *)dataVa params:params]; } +- (NSNumber * _Nullable)readAttributeNumberOfWeeklyTransitionsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeNumberOfWeeklyTransitionsID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeNumberOfDailyTransitionsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -17398,6 +25707,16 @@ - (void)writeAttributeSystemModeWithValue:(NSDictionary *)dataVa params:params]; } +- (NSNumber * _Nullable)readAttributeNumberOfDailyTransitionsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeNumberOfDailyTransitionsID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeTemperatureSetpointHoldWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -17406,6 +25725,16 @@ - (void)writeAttributeSystemModeWithValue:(NSDictionary *)dataVa params:params]; } +- (NSNumber * _Nullable)readAttributeTemperatureSetpointHoldWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeTemperatureSetpointHoldID) + params:params + error:error]; +} + - (void)writeAttributeTemperatureSetpointHoldWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -17435,6 +25764,16 @@ - (void)writeAttributeTemperatureSetpointHoldWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -17465,6 +25804,17 @@ - (void)writeAttributeTemperatureSetpointHoldDurationWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -17494,6 +25844,16 @@ - (void)writeAttributeThermostatProgrammingOperationModeWithValue:(NSDictionary< params:params]; } +- (NSNumber * _Nullable)readAttributeThermostatRunningStateWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeThermostatRunningStateID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeSetpointChangeSourceWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -17502,6 +25862,16 @@ - (void)writeAttributeThermostatProgrammingOperationModeWithValue:(NSDictionary< params:params]; } +- (NSNumber * _Nullable)readAttributeSetpointChangeSourceWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeSetpointChangeSourceID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeSetpointChangeAmountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -17510,6 +25880,16 @@ - (void)writeAttributeThermostatProgrammingOperationModeWithValue:(NSDictionary< params:params]; } +- (NSNumber * _Nullable)readAttributeSetpointChangeAmountWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeSetpointChangeAmountID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeSetpointChangeSourceTimestampWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -17518,6 +25898,16 @@ - (void)writeAttributeThermostatProgrammingOperationModeWithValue:(NSDictionary< params:params]; } +- (NSNumber * _Nullable)readAttributeSetpointChangeSourceTimestampWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeSetpointChangeSourceTimestampID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeOccupiedSetbackWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -17526,6 +25916,16 @@ - (void)writeAttributeThermostatProgrammingOperationModeWithValue:(NSDictionary< params:params]; } +- (NSNumber * _Nullable)readAttributeOccupiedSetbackWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeOccupiedSetbackID) + params:params + error:error]; +} + - (void)writeAttributeOccupiedSetbackWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -17553,6 +25953,16 @@ - (void)writeAttributeOccupiedSetbackWithValue:(NSDictionary *)d params:params]; } +- (NSNumber * _Nullable)readAttributeOccupiedSetbackMinWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeOccupiedSetbackMinID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeOccupiedSetbackMaxWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -17561,6 +25971,16 @@ - (void)writeAttributeOccupiedSetbackWithValue:(NSDictionary *)d params:params]; } +- (NSNumber * _Nullable)readAttributeOccupiedSetbackMaxWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeOccupiedSetbackMaxID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeUnoccupiedSetbackWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -17569,6 +25989,16 @@ - (void)writeAttributeOccupiedSetbackWithValue:(NSDictionary *)d params:params]; } +- (NSNumber * _Nullable)readAttributeUnoccupiedSetbackWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeUnoccupiedSetbackID) + params:params + error:error]; +} + - (void)writeAttributeUnoccupiedSetbackWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -17596,6 +26026,16 @@ - (void)writeAttributeUnoccupiedSetbackWithValue:(NSDictionary * params:params]; } +- (NSNumber * _Nullable)readAttributeUnoccupiedSetbackMinWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeUnoccupiedSetbackMinID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeUnoccupiedSetbackMaxWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -17604,6 +26044,16 @@ - (void)writeAttributeUnoccupiedSetbackWithValue:(NSDictionary * params:params]; } +- (NSNumber * _Nullable)readAttributeUnoccupiedSetbackMaxWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeUnoccupiedSetbackMaxID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEmergencyHeatDeltaWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -17612,6 +26062,16 @@ - (void)writeAttributeUnoccupiedSetbackWithValue:(NSDictionary * params:params]; } +- (NSNumber * _Nullable)readAttributeEmergencyHeatDeltaWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeEmergencyHeatDeltaID) + params:params + error:error]; +} + - (void)writeAttributeEmergencyHeatDeltaWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -17639,6 +26099,15 @@ - (void)writeAttributeEmergencyHeatDeltaWithValue:(NSDictionary params:params]; } +- (NSNumber * _Nullable)readAttributeACTypeWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeACTypeID) + params:params + error:error]; +} + - (void)writeAttributeACTypeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -17666,6 +26135,15 @@ - (void)writeAttributeACTypeWithValue:(NSDictionary *)dataValueD params:params]; } +- (NSNumber * _Nullable)readAttributeACCapacityWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeACCapacityID) + params:params + error:error]; +} + - (void)writeAttributeACCapacityWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -17693,6 +26171,16 @@ - (void)writeAttributeACCapacityWithValue:(NSDictionary *)dataVa params:params]; } +- (NSNumber * _Nullable)readAttributeACRefrigerantTypeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeACRefrigerantTypeID) + params:params + error:error]; +} + - (void)writeAttributeACRefrigerantTypeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -17720,6 +26208,16 @@ - (void)writeAttributeACRefrigerantTypeWithValue:(NSDictionary * params:params]; } +- (NSNumber * _Nullable)readAttributeACCompressorTypeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeACCompressorTypeID) + params:params + error:error]; +} + - (void)writeAttributeACCompressorTypeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -17747,6 +26245,16 @@ - (void)writeAttributeACCompressorTypeWithValue:(NSDictionary *) params:params]; } +- (NSNumber * _Nullable)readAttributeACErrorCodeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeACErrorCodeID) + params:params + error:error]; +} + - (void)writeAttributeACErrorCodeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -17774,6 +26282,16 @@ - (void)writeAttributeACErrorCodeWithValue:(NSDictionary *)dataV params:params]; } +- (NSNumber * _Nullable)readAttributeACLouverPositionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeACLouverPositionID) + params:params + error:error]; +} + - (void)writeAttributeACLouverPositionWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -17801,6 +26319,16 @@ - (void)writeAttributeACLouverPositionWithValue:(NSDictionary *) params:params]; } +- (NSNumber * _Nullable)readAttributeACCoilTemperatureWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeACCoilTemperatureID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeACCapacityformatWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -17809,6 +26337,16 @@ - (void)writeAttributeACLouverPositionWithValue:(NSDictionary *) params:params]; } +- (NSNumber * _Nullable)readAttributeACCapacityformatWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeACCapacityformatID) + params:params + error:error]; +} + - (void)writeAttributeACCapacityformatWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -17836,6 +26374,16 @@ - (void)writeAttributeACCapacityformatWithValue:(NSDictionary *) params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -17844,6 +26392,16 @@ - (void)writeAttributeACCapacityformatWithValue:(NSDictionary *) params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -17852,6 +26410,16 @@ - (void)writeAttributeACCapacityformatWithValue:(NSDictionary *) params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -17860,6 +26428,16 @@ - (void)writeAttributeACCapacityformatWithValue:(NSDictionary *) params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -17868,6 +26446,15 @@ - (void)writeAttributeACCapacityformatWithValue:(NSDictionary *) params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -17876,6 +26463,16 @@ - (void)writeAttributeACCapacityformatWithValue:(NSDictionary *) params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterThermostat (Deprecated) @@ -18003,6 +26600,15 @@ - (void)stepWithParams:(MTRFanControlClusterStepParams *)params params:params]; } +- (NSNumber * _Nullable)readAttributeFanModeWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeFanControlID) + attributeID:@(MTRAttributeIDTypeClusterFanControlAttributeFanModeID) + params:params + error:error]; +} + - (void)writeAttributeFanModeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -18030,6 +26636,16 @@ - (void)writeAttributeFanModeWithValue:(NSDictionary *)dataValue params:params]; } +- (NSNumber * _Nullable)readAttributeFanModeSequenceWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeFanControlID) + attributeID:@(MTRAttributeIDTypeClusterFanControlAttributeFanModeSequenceID) + params:params + error:error]; +} + - (void)writeAttributeFanModeSequenceWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -18057,6 +26673,16 @@ - (void)writeAttributeFanModeSequenceWithValue:(NSDictionary *)d params:params]; } +- (NSNumber * _Nullable)readAttributePercentSettingWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeFanControlID) + attributeID:@(MTRAttributeIDTypeClusterFanControlAttributePercentSettingID) + params:params + error:error]; +} + - (void)writeAttributePercentSettingWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -18084,6 +26710,16 @@ - (void)writeAttributePercentSettingWithValue:(NSDictionary *)da params:params]; } +- (NSNumber * _Nullable)readAttributePercentCurrentWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeFanControlID) + attributeID:@(MTRAttributeIDTypeClusterFanControlAttributePercentCurrentID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeSpeedMaxWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -18092,6 +26728,15 @@ - (void)writeAttributePercentSettingWithValue:(NSDictionary *)da params:params]; } +- (NSNumber * _Nullable)readAttributeSpeedMaxWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeFanControlID) + attributeID:@(MTRAttributeIDTypeClusterFanControlAttributeSpeedMaxID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeSpeedSettingWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -18100,6 +26745,16 @@ - (void)writeAttributePercentSettingWithValue:(NSDictionary *)da params:params]; } +- (NSNumber * _Nullable)readAttributeSpeedSettingWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeFanControlID) + attributeID:@(MTRAttributeIDTypeClusterFanControlAttributeSpeedSettingID) + params:params + error:error]; +} + - (void)writeAttributeSpeedSettingWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -18127,6 +26782,16 @@ - (void)writeAttributeSpeedSettingWithValue:(NSDictionary *)data params:params]; } +- (NSNumber * _Nullable)readAttributeSpeedCurrentWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeFanControlID) + attributeID:@(MTRAttributeIDTypeClusterFanControlAttributeSpeedCurrentID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeRockSupportWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -18135,6 +26800,16 @@ - (void)writeAttributeSpeedSettingWithValue:(NSDictionary *)data params:params]; } +- (NSNumber * _Nullable)readAttributeRockSupportWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeFanControlID) + attributeID:@(MTRAttributeIDTypeClusterFanControlAttributeRockSupportID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeRockSettingWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -18143,6 +26818,16 @@ - (void)writeAttributeSpeedSettingWithValue:(NSDictionary *)data params:params]; } +- (NSNumber * _Nullable)readAttributeRockSettingWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeFanControlID) + attributeID:@(MTRAttributeIDTypeClusterFanControlAttributeRockSettingID) + params:params + error:error]; +} + - (void)writeAttributeRockSettingWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -18170,6 +26855,16 @@ - (void)writeAttributeRockSettingWithValue:(NSDictionary *)dataV params:params]; } +- (NSNumber * _Nullable)readAttributeWindSupportWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeFanControlID) + attributeID:@(MTRAttributeIDTypeClusterFanControlAttributeWindSupportID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeWindSettingWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -18178,6 +26873,16 @@ - (void)writeAttributeRockSettingWithValue:(NSDictionary *)dataV params:params]; } +- (NSNumber * _Nullable)readAttributeWindSettingWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeFanControlID) + attributeID:@(MTRAttributeIDTypeClusterFanControlAttributeWindSettingID) + params:params + error:error]; +} + - (void)writeAttributeWindSettingWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -18205,6 +26910,16 @@ - (void)writeAttributeWindSettingWithValue:(NSDictionary *)dataV params:params]; } +- (NSNumber * _Nullable)readAttributeAirflowDirectionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeFanControlID) + attributeID:@(MTRAttributeIDTypeClusterFanControlAttributeAirflowDirectionID) + params:params + error:error]; +} + - (void)writeAttributeAirflowDirectionWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -18232,6 +26947,16 @@ - (void)writeAttributeAirflowDirectionWithValue:(NSDictionary *) params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeFanControlID) + attributeID:@(MTRAttributeIDTypeClusterFanControlAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -18240,6 +26965,16 @@ - (void)writeAttributeAirflowDirectionWithValue:(NSDictionary *) params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeFanControlID) + attributeID:@(MTRAttributeIDTypeClusterFanControlAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -18248,6 +26983,16 @@ - (void)writeAttributeAirflowDirectionWithValue:(NSDictionary *) params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeFanControlID) + attributeID:@(MTRAttributeIDTypeClusterFanControlAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -18256,6 +27001,16 @@ - (void)writeAttributeAirflowDirectionWithValue:(NSDictionary *) params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeFanControlID) + attributeID:@(MTRAttributeIDTypeClusterFanControlAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -18264,6 +27019,15 @@ - (void)writeAttributeAirflowDirectionWithValue:(NSDictionary *) params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeFanControlID) + attributeID:@(MTRAttributeIDTypeClusterFanControlAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -18272,6 +27036,16 @@ - (void)writeAttributeAirflowDirectionWithValue:(NSDictionary *) params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeFanControlID) + attributeID:@(MTRAttributeIDTypeClusterFanControlAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterFanControl (Deprecated) @@ -18307,6 +27081,18 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeTemperatureDisplayModeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThermostatUserInterfaceConfigurationID) + attributeID: + @(MTRAttributeIDTypeClusterThermostatUserInterfaceConfigurationAttributeTemperatureDisplayModeID) + params:params + error:error]; +} + - (void)writeAttributeTemperatureDisplayModeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -18339,6 +27125,17 @@ - (void)writeAttributeTemperatureDisplayModeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -18369,6 +27166,18 @@ - (void)writeAttributeKeypadLockoutWithValue:(NSDictionary *)dat params:params]; } +- (NSNumber * _Nullable)readAttributeScheduleProgrammingVisibilityWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThermostatUserInterfaceConfigurationID) + attributeID: + @(MTRAttributeIDTypeClusterThermostatUserInterfaceConfigurationAttributeScheduleProgrammingVisibilityID) + params:params + error:error]; +} + - (void)writeAttributeScheduleProgrammingVisibilityWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -18401,6 +27210,17 @@ - (void)writeAttributeScheduleProgrammingVisibilityWithValue:(NSDictionary * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThermostatUserInterfaceConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterThermostatUserInterfaceConfigurationAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -18410,6 +27230,17 @@ - (void)writeAttributeScheduleProgrammingVisibilityWithValue:(NSDictionary * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThermostatUserInterfaceConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterThermostatUserInterfaceConfigurationAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -18419,6 +27250,17 @@ - (void)writeAttributeScheduleProgrammingVisibilityWithValue:(NSDictionary * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThermostatUserInterfaceConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterThermostatUserInterfaceConfigurationAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -18428,6 +27270,17 @@ - (void)writeAttributeScheduleProgrammingVisibilityWithValue:(NSDictionary * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeThermostatUserInterfaceConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterThermostatUserInterfaceConfigurationAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -18437,6 +27290,16 @@ - (void)writeAttributeScheduleProgrammingVisibilityWithValue:(NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -18446,6 +27309,17 @@ - (void)writeAttributeScheduleProgrammingVisibilityWithValue:(NSDictionary *)readAttributeCurrentSaturationWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -19247,6 +28130,16 @@ - (void)stepColorTemperatureWithParams:(MTRColorControlClusterStepColorTemperatu params:params]; } +- (NSNumber * _Nullable)readAttributeCurrentSaturationWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeCurrentSaturationID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeRemainingTimeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -19255,6 +28148,16 @@ - (void)stepColorTemperatureWithParams:(MTRColorControlClusterStepColorTemperatu params:params]; } +- (NSNumber * _Nullable)readAttributeRemainingTimeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeRemainingTimeID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeCurrentXWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -19263,6 +28166,15 @@ - (void)stepColorTemperatureWithParams:(MTRColorControlClusterStepColorTemperatu params:params]; } +- (NSNumber * _Nullable)readAttributeCurrentXWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeCurrentXID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeCurrentYWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -19271,6 +28183,15 @@ - (void)stepColorTemperatureWithParams:(MTRColorControlClusterStepColorTemperatu params:params]; } +- (NSNumber * _Nullable)readAttributeCurrentYWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeCurrentYID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeDriftCompensationWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -19279,6 +28200,16 @@ - (void)stepColorTemperatureWithParams:(MTRColorControlClusterStepColorTemperatu params:params]; } +- (NSNumber * _Nullable)readAttributeDriftCompensationWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeDriftCompensationID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeCompensationTextWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -19287,6 +28218,16 @@ - (void)stepColorTemperatureWithParams:(MTRColorControlClusterStepColorTemperatu params:params]; } +- (NSString * _Nullable)readAttributeCompensationTextWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeCompensationTextID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeColorTemperatureMiredsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -19295,6 +28236,16 @@ - (void)stepColorTemperatureWithParams:(MTRColorControlClusterStepColorTemperatu params:params]; } +- (NSNumber * _Nullable)readAttributeColorTemperatureMiredsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeColorTemperatureMiredsID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeColorModeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -19303,6 +28254,15 @@ - (void)stepColorTemperatureWithParams:(MTRColorControlClusterStepColorTemperatu params:params]; } +- (NSNumber * _Nullable)readAttributeColorModeWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeColorModeID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeOptionsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -19311,6 +28271,15 @@ - (void)stepColorTemperatureWithParams:(MTRColorControlClusterStepColorTemperatu params:params]; } +- (NSNumber * _Nullable)readAttributeOptionsWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeOptionsID) + params:params + error:error]; +} + - (void)writeAttributeOptionsWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -19338,6 +28307,16 @@ - (void)writeAttributeOptionsWithValue:(NSDictionary *)dataValue params:params]; } +- (NSNumber * _Nullable)readAttributeNumberOfPrimariesWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeNumberOfPrimariesID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePrimary1XWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -19346,6 +28325,15 @@ - (void)writeAttributeOptionsWithValue:(NSDictionary *)dataValue params:params]; } +- (NSNumber * _Nullable)readAttributePrimary1XWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributePrimary1XID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePrimary1YWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -19354,6 +28342,15 @@ - (void)writeAttributeOptionsWithValue:(NSDictionary *)dataValue params:params]; } +- (NSNumber * _Nullable)readAttributePrimary1YWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributePrimary1YID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePrimary1IntensityWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -19362,6 +28359,16 @@ - (void)writeAttributeOptionsWithValue:(NSDictionary *)dataValue params:params]; } +- (NSNumber * _Nullable)readAttributePrimary1IntensityWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributePrimary1IntensityID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePrimary2XWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -19370,6 +28377,15 @@ - (void)writeAttributeOptionsWithValue:(NSDictionary *)dataValue params:params]; } +- (NSNumber * _Nullable)readAttributePrimary2XWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributePrimary2XID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePrimary2YWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -19378,6 +28394,15 @@ - (void)writeAttributeOptionsWithValue:(NSDictionary *)dataValue params:params]; } +- (NSNumber * _Nullable)readAttributePrimary2YWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributePrimary2YID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePrimary2IntensityWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -19386,6 +28411,16 @@ - (void)writeAttributeOptionsWithValue:(NSDictionary *)dataValue params:params]; } +- (NSNumber * _Nullable)readAttributePrimary2IntensityWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributePrimary2IntensityID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePrimary3XWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -19394,6 +28429,15 @@ - (void)writeAttributeOptionsWithValue:(NSDictionary *)dataValue params:params]; } +- (NSNumber * _Nullable)readAttributePrimary3XWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributePrimary3XID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePrimary3YWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -19402,6 +28446,15 @@ - (void)writeAttributeOptionsWithValue:(NSDictionary *)dataValue params:params]; } +- (NSNumber * _Nullable)readAttributePrimary3YWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributePrimary3YID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePrimary3IntensityWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -19410,6 +28463,16 @@ - (void)writeAttributeOptionsWithValue:(NSDictionary *)dataValue params:params]; } +- (NSNumber * _Nullable)readAttributePrimary3IntensityWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributePrimary3IntensityID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePrimary4XWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -19418,6 +28481,15 @@ - (void)writeAttributeOptionsWithValue:(NSDictionary *)dataValue params:params]; } +- (NSNumber * _Nullable)readAttributePrimary4XWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributePrimary4XID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePrimary4YWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -19426,6 +28498,15 @@ - (void)writeAttributeOptionsWithValue:(NSDictionary *)dataValue params:params]; } +- (NSNumber * _Nullable)readAttributePrimary4YWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributePrimary4YID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePrimary4IntensityWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -19434,6 +28515,16 @@ - (void)writeAttributeOptionsWithValue:(NSDictionary *)dataValue params:params]; } +- (NSNumber * _Nullable)readAttributePrimary4IntensityWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributePrimary4IntensityID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePrimary5XWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -19442,6 +28533,15 @@ - (void)writeAttributeOptionsWithValue:(NSDictionary *)dataValue params:params]; } +- (NSNumber * _Nullable)readAttributePrimary5XWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributePrimary5XID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePrimary5YWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -19450,6 +28550,15 @@ - (void)writeAttributeOptionsWithValue:(NSDictionary *)dataValue params:params]; } +- (NSNumber * _Nullable)readAttributePrimary5YWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributePrimary5YID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePrimary5IntensityWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -19458,6 +28567,16 @@ - (void)writeAttributeOptionsWithValue:(NSDictionary *)dataValue params:params]; } +- (NSNumber * _Nullable)readAttributePrimary5IntensityWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributePrimary5IntensityID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePrimary6XWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -19466,6 +28585,15 @@ - (void)writeAttributeOptionsWithValue:(NSDictionary *)dataValue params:params]; } +- (NSNumber * _Nullable)readAttributePrimary6XWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributePrimary6XID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePrimary6YWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -19474,6 +28602,15 @@ - (void)writeAttributeOptionsWithValue:(NSDictionary *)dataValue params:params]; } +- (NSNumber * _Nullable)readAttributePrimary6YWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributePrimary6YID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePrimary6IntensityWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -19482,6 +28619,16 @@ - (void)writeAttributeOptionsWithValue:(NSDictionary *)dataValue params:params]; } +- (NSNumber * _Nullable)readAttributePrimary6IntensityWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributePrimary6IntensityID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeWhitePointXWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -19490,6 +28637,16 @@ - (void)writeAttributeOptionsWithValue:(NSDictionary *)dataValue params:params]; } +- (NSNumber * _Nullable)readAttributeWhitePointXWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeWhitePointXID) + params:params + error:error]; +} + - (void)writeAttributeWhitePointXWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -19517,6 +28674,16 @@ - (void)writeAttributeWhitePointXWithValue:(NSDictionary *)dataV params:params]; } +- (NSNumber * _Nullable)readAttributeWhitePointYWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeWhitePointYID) + params:params + error:error]; +} + - (void)writeAttributeWhitePointYWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -19544,6 +28711,16 @@ - (void)writeAttributeWhitePointYWithValue:(NSDictionary *)dataV params:params]; } +- (NSNumber * _Nullable)readAttributeColorPointRXWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeColorPointRXID) + params:params + error:error]; +} + - (void)writeAttributeColorPointRXWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -19571,6 +28748,16 @@ - (void)writeAttributeColorPointRXWithValue:(NSDictionary *)data params:params]; } +- (NSNumber * _Nullable)readAttributeColorPointRYWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeColorPointRYID) + params:params + error:error]; +} + - (void)writeAttributeColorPointRYWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -19598,6 +28785,16 @@ - (void)writeAttributeColorPointRYWithValue:(NSDictionary *)data params:params]; } +- (NSNumber * _Nullable)readAttributeColorPointRIntensityWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeColorPointRIntensityID) + params:params + error:error]; +} + - (void)writeAttributeColorPointRIntensityWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -19625,6 +28822,16 @@ - (void)writeAttributeColorPointRIntensityWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -19652,6 +28859,16 @@ - (void)writeAttributeColorPointGXWithValue:(NSDictionary *)data params:params]; } +- (NSNumber * _Nullable)readAttributeColorPointGYWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeColorPointGYID) + params:params + error:error]; +} + - (void)writeAttributeColorPointGYWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -19679,6 +28896,16 @@ - (void)writeAttributeColorPointGYWithValue:(NSDictionary *)data params:params]; } +- (NSNumber * _Nullable)readAttributeColorPointGIntensityWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeColorPointGIntensityID) + params:params + error:error]; +} + - (void)writeAttributeColorPointGIntensityWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -19706,6 +28933,16 @@ - (void)writeAttributeColorPointGIntensityWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -19733,6 +28970,16 @@ - (void)writeAttributeColorPointBXWithValue:(NSDictionary *)data params:params]; } +- (NSNumber * _Nullable)readAttributeColorPointBYWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeColorPointBYID) + params:params + error:error]; +} + - (void)writeAttributeColorPointBYWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -19760,6 +29007,16 @@ - (void)writeAttributeColorPointBYWithValue:(NSDictionary *)data params:params]; } +- (NSNumber * _Nullable)readAttributeColorPointBIntensityWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeColorPointBIntensityID) + params:params + error:error]; +} + - (void)writeAttributeColorPointBIntensityWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -19787,6 +29044,16 @@ - (void)writeAttributeColorPointBIntensityWithValue:(NSDictionary *)readAttributeEnhancedColorModeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -19795,6 +29062,16 @@ - (void)writeAttributeColorPointBIntensityWithValue:(NSDictionary *)readAttributeColorLoopActiveWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -19803,6 +29080,16 @@ - (void)writeAttributeColorPointBIntensityWithValue:(NSDictionary *)readAttributeColorLoopDirectionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -19811,6 +29098,16 @@ - (void)writeAttributeColorPointBIntensityWithValue:(NSDictionary *)readAttributeColorLoopTimeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -19819,6 +29116,16 @@ - (void)writeAttributeColorPointBIntensityWithValue:(NSDictionary *)readAttributeColorLoopStartEnhancedHueWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -19827,6 +29134,16 @@ - (void)writeAttributeColorPointBIntensityWithValue:(NSDictionary *)readAttributeColorLoopStoredEnhancedHueWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -19835,6 +29152,16 @@ - (void)writeAttributeColorPointBIntensityWithValue:(NSDictionary *)readAttributeColorCapabilitiesWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -19843,6 +29170,16 @@ - (void)writeAttributeColorPointBIntensityWithValue:(NSDictionary *)readAttributeColorTempPhysicalMinMiredsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -19851,6 +29188,16 @@ - (void)writeAttributeColorPointBIntensityWithValue:(NSDictionary *)readAttributeColorTempPhysicalMaxMiredsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -19859,6 +29206,16 @@ - (void)writeAttributeColorPointBIntensityWithValue:(NSDictionary *)readAttributeCoupleColorTempToLevelMinMiredsWithParams:(MTRReadParams * _Nullable)params { return @@ -19868,6 +29225,17 @@ - (void)writeAttributeColorPointBIntensityWithValue:(NSDictionary *)readAttributeStartUpColorTemperatureMiredsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -19876,6 +29244,16 @@ - (void)writeAttributeColorPointBIntensityWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -19905,6 +29283,16 @@ - (void)writeAttributeStartUpColorTemperatureMiredsWithValue:(NSDictionary * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -19913,6 +29301,16 @@ - (void)writeAttributeStartUpColorTemperatureMiredsWithValue:(NSDictionary * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -19921,6 +29319,16 @@ - (void)writeAttributeStartUpColorTemperatureMiredsWithValue:(NSDictionary * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -19929,6 +29337,16 @@ - (void)writeAttributeStartUpColorTemperatureMiredsWithValue:(NSDictionary * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -19937,6 +29355,15 @@ - (void)writeAttributeStartUpColorTemperatureMiredsWithValue:(NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -19945,6 +29372,16 @@ - (void)writeAttributeStartUpColorTemperatureMiredsWithValue:(NSDictionary *)readAttributePhysicalMaxLevelWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -20176,6 +29623,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributePhysicalMaxLevelWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBallastConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterBallastConfigurationAttributePhysicalMaxLevelID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeBallastStatusWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -20184,6 +29641,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeBallastStatusWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBallastConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterBallastConfigurationAttributeBallastStatusID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMinLevelWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -20192,6 +29659,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMinLevelWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBallastConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterBallastConfigurationAttributeMinLevelID) + params:params + error:error]; +} + - (void)writeAttributeMinLevelWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -20219,6 +29695,15 @@ - (void)writeAttributeMinLevelWithValue:(NSDictionary *)dataValu params:params]; } +- (NSNumber * _Nullable)readAttributeMaxLevelWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBallastConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterBallastConfigurationAttributeMaxLevelID) + params:params + error:error]; +} + - (void)writeAttributeMaxLevelWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -20247,6 +29732,17 @@ - (void)writeAttributeMaxLevelWithValue:(NSDictionary *)dataValu params:params]; } +- (NSNumber * _Nullable)readAttributeIntrinsicBallastFactorWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBallastConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterBallastConfigurationAttributeIntrinsicBallastFactorID) + params:params + error:error]; +} + - (void)writeAttributeIntrinsicBallastFactorWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -20277,6 +29773,17 @@ - (void)writeAttributeIntrinsicBallastFactorWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -20306,6 +29813,16 @@ - (void)writeAttributeBallastFactorAdjustmentWithValue:(NSDictionary *)readAttributeLampTypeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -20314,6 +29831,15 @@ - (void)writeAttributeBallastFactorAdjustmentWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -20341,6 +29867,16 @@ - (void)writeAttributeLampTypeWithValue:(NSDictionary *)dataValu params:params]; } +- (NSString * _Nullable)readAttributeLampManufacturerWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBallastConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterBallastConfigurationAttributeLampManufacturerID) + params:params + error:error]; +} + - (void)writeAttributeLampManufacturerWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -20368,6 +29904,16 @@ - (void)writeAttributeLampManufacturerWithValue:(NSDictionary *) params:params]; } +- (NSNumber * _Nullable)readAttributeLampRatedHoursWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBallastConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterBallastConfigurationAttributeLampRatedHoursID) + params:params + error:error]; +} + - (void)writeAttributeLampRatedHoursWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -20395,6 +29941,16 @@ - (void)writeAttributeLampRatedHoursWithValue:(NSDictionary *)da params:params]; } +- (NSNumber * _Nullable)readAttributeLampBurnHoursWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBallastConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterBallastConfigurationAttributeLampBurnHoursID) + params:params + error:error]; +} + - (void)writeAttributeLampBurnHoursWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -20422,6 +29978,16 @@ - (void)writeAttributeLampBurnHoursWithValue:(NSDictionary *)dat params:params]; } +- (NSNumber * _Nullable)readAttributeLampAlarmModeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBallastConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterBallastConfigurationAttributeLampAlarmModeID) + params:params + error:error]; +} + - (void)writeAttributeLampAlarmModeWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -20450,6 +30016,17 @@ - (void)writeAttributeLampAlarmModeWithValue:(NSDictionary *)dat params:params]; } +- (NSNumber * _Nullable)readAttributeLampBurnHoursTripPointWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBallastConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterBallastConfigurationAttributeLampBurnHoursTripPointID) + params:params + error:error]; +} + - (void)writeAttributeLampBurnHoursTripPointWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -20479,6 +30056,16 @@ - (void)writeAttributeLampBurnHoursTripPointWithValue:(NSDictionary * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBallastConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterBallastConfigurationAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -20487,6 +30074,16 @@ - (void)writeAttributeLampBurnHoursTripPointWithValue:(NSDictionary * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBallastConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterBallastConfigurationAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -20495,6 +30092,16 @@ - (void)writeAttributeLampBurnHoursTripPointWithValue:(NSDictionary * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBallastConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterBallastConfigurationAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -20503,6 +30110,16 @@ - (void)writeAttributeLampBurnHoursTripPointWithValue:(NSDictionary * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeBallastConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterBallastConfigurationAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -20511,6 +30128,15 @@ - (void)writeAttributeLampBurnHoursTripPointWithValue:(NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -20519,6 +30145,16 @@ - (void)writeAttributeLampBurnHoursTripPointWithValue:(NSDictionary *)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -20577,6 +30223,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeIlluminanceMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterIlluminanceMeasurementAttributeMinMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -20585,6 +30241,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeIlluminanceMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterIlluminanceMeasurementAttributeMaxMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeToleranceWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -20593,6 +30259,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeToleranceWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeIlluminanceMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterIlluminanceMeasurementAttributeToleranceID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeLightSensorTypeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -20601,6 +30276,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeLightSensorTypeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeIlluminanceMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterIlluminanceMeasurementAttributeLightSensorTypeID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return @@ -20610,6 +30295,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeIlluminanceMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterIlluminanceMeasurementAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -20618,6 +30314,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeIlluminanceMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterIlluminanceMeasurementAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -20626,6 +30332,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeIlluminanceMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterIlluminanceMeasurementAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -20634,6 +30350,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeIlluminanceMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterIlluminanceMeasurementAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -20642,6 +30368,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeIlluminanceMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterIlluminanceMeasurementAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -20650,6 +30385,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeIlluminanceMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterIlluminanceMeasurementAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterIlluminanceMeasurement (Deprecated) @@ -20683,6 +30428,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTemperatureMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterTemperatureMeasurementAttributeMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -20691,6 +30446,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTemperatureMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterTemperatureMeasurementAttributeMinMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -20699,6 +30464,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTemperatureMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterTemperatureMeasurementAttributeMaxMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeToleranceWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -20707,6 +30482,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeToleranceWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTemperatureMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterTemperatureMeasurementAttributeToleranceID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return @@ -20716,6 +30500,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTemperatureMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterTemperatureMeasurementAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -20724,6 +30519,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTemperatureMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterTemperatureMeasurementAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -20732,6 +30537,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTemperatureMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterTemperatureMeasurementAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -20740,6 +30555,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTemperatureMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterTemperatureMeasurementAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -20748,6 +30573,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTemperatureMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterTemperatureMeasurementAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -20756,6 +30590,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTemperatureMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterTemperatureMeasurementAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterTemperatureMeasurement (Deprecated) @@ -20789,6 +30633,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePressureMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPressureMeasurementAttributeMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -20797,6 +30651,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePressureMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPressureMeasurementAttributeMinMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -20805,6 +30669,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePressureMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPressureMeasurementAttributeMaxMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeToleranceWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -20813,6 +30687,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeToleranceWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePressureMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPressureMeasurementAttributeToleranceID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeScaledValueWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -20821,6 +30704,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeScaledValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePressureMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPressureMeasurementAttributeScaledValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMinScaledValueWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -20829,6 +30722,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMinScaledValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePressureMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPressureMeasurementAttributeMinScaledValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMaxScaledValueWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -20837,6 +30740,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMaxScaledValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePressureMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPressureMeasurementAttributeMaxScaledValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeScaledToleranceWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -20845,6 +30758,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeScaledToleranceWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePressureMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPressureMeasurementAttributeScaledToleranceID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeScaleWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -20853,6 +30776,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeScaleWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePressureMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPressureMeasurementAttributeScaleID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -20861,6 +30793,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePressureMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPressureMeasurementAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -20869,6 +30811,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePressureMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPressureMeasurementAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -20877,6 +30829,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePressureMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPressureMeasurementAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -20885,6 +30847,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePressureMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPressureMeasurementAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -20893,6 +30865,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePressureMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPressureMeasurementAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -20901,6 +30882,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePressureMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPressureMeasurementAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterPressureMeasurement (Deprecated) @@ -20934,6 +30925,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeFlowMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterFlowMeasurementAttributeMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -20942,6 +30943,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeFlowMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterFlowMeasurementAttributeMinMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -20950,6 +30961,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeFlowMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterFlowMeasurementAttributeMaxMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeToleranceWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -20958,6 +30979,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeToleranceWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeFlowMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterFlowMeasurementAttributeToleranceID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -20966,6 +30996,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeFlowMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterFlowMeasurementAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -20974,6 +31014,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeFlowMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterFlowMeasurementAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -20982,6 +31032,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeFlowMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterFlowMeasurementAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -20990,6 +31050,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeFlowMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterFlowMeasurementAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -20998,6 +31068,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeFlowMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterFlowMeasurementAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -21006,6 +31085,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeFlowMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterFlowMeasurementAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterFlowMeasurement (Deprecated) @@ -21039,6 +31128,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRelativeHumidityMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterRelativeHumidityMeasurementAttributeMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return @@ -21048,6 +31147,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRelativeHumidityMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterRelativeHumidityMeasurementAttributeMinMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return @@ -21057,6 +31167,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRelativeHumidityMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterRelativeHumidityMeasurementAttributeMaxMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeToleranceWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -21065,6 +31186,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeToleranceWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRelativeHumidityMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterRelativeHumidityMeasurementAttributeToleranceID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -21074,6 +31204,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRelativeHumidityMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterRelativeHumidityMeasurementAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -21083,6 +31224,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRelativeHumidityMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterRelativeHumidityMeasurementAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -21091,6 +31243,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRelativeHumidityMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterRelativeHumidityMeasurementAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -21099,6 +31261,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRelativeHumidityMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterRelativeHumidityMeasurementAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -21107,6 +31279,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRelativeHumidityMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterRelativeHumidityMeasurementAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return @@ -21116,6 +31297,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRelativeHumidityMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterRelativeHumidityMeasurementAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterRelativeHumidityMeasurement (Deprecated) @@ -21149,6 +31341,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeOccupancyWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOccupancySensingID) + attributeID:@(MTRAttributeIDTypeClusterOccupancySensingAttributeOccupancyID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeOccupancySensorTypeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -21157,6 +31358,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeOccupancySensorTypeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOccupancySensingID) + attributeID:@(MTRAttributeIDTypeClusterOccupancySensingAttributeOccupancySensorTypeID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeOccupancySensorTypeBitmapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -21165,6 +31376,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeOccupancySensorTypeBitmapWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOccupancySensingID) + attributeID:@(MTRAttributeIDTypeClusterOccupancySensingAttributeOccupancySensorTypeBitmapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePIROccupiedToUnoccupiedDelayWithParams:(MTRReadParams * _Nullable)params { return @@ -21174,6 +31395,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributePIROccupiedToUnoccupiedDelayWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOccupancySensingID) + attributeID:@(MTRAttributeIDTypeClusterOccupancySensingAttributePIROccupiedToUnoccupiedDelayID) + params:params + error:error]; +} + - (void)writeAttributePIROccupiedToUnoccupiedDelayWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -21204,6 +31436,17 @@ - (void)writeAttributePIROccupiedToUnoccupiedDelayWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -21234,6 +31477,17 @@ - (void)writeAttributePIRUnoccupiedToOccupiedDelayWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -21265,6 +31519,17 @@ - (void)writeAttributePIRUnoccupiedToOccupiedThresholdWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -21296,6 +31561,17 @@ - (void)writeAttributeUltrasonicOccupiedToUnoccupiedDelayWithValue:(NSDictionary params:params]; } +- (NSNumber * _Nullable)readAttributeUltrasonicUnoccupiedToOccupiedDelayWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOccupancySensingID) + attributeID:@(MTRAttributeIDTypeClusterOccupancySensingAttributeUltrasonicUnoccupiedToOccupiedDelayID) + params:params + error:error]; +} + - (void)writeAttributeUltrasonicUnoccupiedToOccupiedDelayWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -21327,6 +31603,17 @@ - (void)writeAttributeUltrasonicUnoccupiedToOccupiedDelayWithValue:(NSDictionary params:params]; } +- (NSNumber * _Nullable)readAttributeUltrasonicUnoccupiedToOccupiedThresholdWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOccupancySensingID) + attributeID:@(MTRAttributeIDTypeClusterOccupancySensingAttributeUltrasonicUnoccupiedToOccupiedThresholdID) + params:params + error:error]; +} + - (void)writeAttributeUltrasonicUnoccupiedToOccupiedThresholdWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -21358,6 +31645,17 @@ - (void)writeAttributeUltrasonicUnoccupiedToOccupiedThresholdWithValue:(NSDictio params:params]; } +- (NSNumber * _Nullable)readAttributePhysicalContactOccupiedToUnoccupiedDelayWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOccupancySensingID) + attributeID:@(MTRAttributeIDTypeClusterOccupancySensingAttributePhysicalContactOccupiedToUnoccupiedDelayID) + params:params + error:error]; +} + - (void)writeAttributePhysicalContactOccupiedToUnoccupiedDelayWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -21389,6 +31687,17 @@ - (void)writeAttributePhysicalContactOccupiedToUnoccupiedDelayWithValue:(NSDicti params:params]; } +- (NSNumber * _Nullable)readAttributePhysicalContactUnoccupiedToOccupiedDelayWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOccupancySensingID) + attributeID:@(MTRAttributeIDTypeClusterOccupancySensingAttributePhysicalContactUnoccupiedToOccupiedDelayID) + params:params + error:error]; +} + - (void)writeAttributePhysicalContactUnoccupiedToOccupiedDelayWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -21422,6 +31731,18 @@ - (void)writeAttributePhysicalContactUnoccupiedToOccupiedDelayWithValue:(NSDicti params:params]; } +- (NSNumber * _Nullable)readAttributePhysicalContactUnoccupiedToOccupiedThresholdWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOccupancySensingID) + attributeID: + @(MTRAttributeIDTypeClusterOccupancySensingAttributePhysicalContactUnoccupiedToOccupiedThresholdID) + params:params + error:error]; +} + - (void)writeAttributePhysicalContactUnoccupiedToOccupiedThresholdWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -21453,6 +31774,16 @@ - (void)writeAttributePhysicalContactUnoccupiedToOccupiedThresholdWithValue:(NSD params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOccupancySensingID) + attributeID:@(MTRAttributeIDTypeClusterOccupancySensingAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -21461,6 +31792,16 @@ - (void)writeAttributePhysicalContactUnoccupiedToOccupiedThresholdWithValue:(NSD params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOccupancySensingID) + attributeID:@(MTRAttributeIDTypeClusterOccupancySensingAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -21469,6 +31810,16 @@ - (void)writeAttributePhysicalContactUnoccupiedToOccupiedThresholdWithValue:(NSD params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOccupancySensingID) + attributeID:@(MTRAttributeIDTypeClusterOccupancySensingAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -21477,6 +31828,16 @@ - (void)writeAttributePhysicalContactUnoccupiedToOccupiedThresholdWithValue:(NSD params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOccupancySensingID) + attributeID:@(MTRAttributeIDTypeClusterOccupancySensingAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -21485,6 +31846,15 @@ - (void)writeAttributePhysicalContactUnoccupiedToOccupiedThresholdWithValue:(NSD params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOccupancySensingID) + attributeID:@(MTRAttributeIDTypeClusterOccupancySensingAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -21493,6 +31863,16 @@ - (void)writeAttributePhysicalContactUnoccupiedToOccupiedThresholdWithValue:(NSD params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOccupancySensingID) + attributeID:@(MTRAttributeIDTypeClusterOccupancySensingAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterOccupancySensing (Deprecated) @@ -21579,6 +31959,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeCarbonMonoxideConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterCarbonMonoxideConcentrationMeasurementAttributeMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -21588,6 +31979,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeCarbonMonoxideConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterCarbonMonoxideConcentrationMeasurementAttributeMinMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -21597,6 +31999,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeCarbonMonoxideConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterCarbonMonoxideConcentrationMeasurementAttributeMaxMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePeakMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -21606,6 +32019,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributePeakMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeCarbonMonoxideConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterCarbonMonoxideConcentrationMeasurementAttributePeakMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePeakMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -21616,6 +32040,18 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributePeakMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeCarbonMonoxideConcentrationMeasurementID) + attributeID: + @(MTRAttributeIDTypeClusterCarbonMonoxideConcentrationMeasurementAttributePeakMeasuredValueWindowID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAverageMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -21626,6 +32062,18 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeAverageMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeCarbonMonoxideConcentrationMeasurementID) + attributeID: + @(MTRAttributeIDTypeClusterCarbonMonoxideConcentrationMeasurementAttributeAverageMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAverageMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -21636,6 +32084,18 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeAverageMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeCarbonMonoxideConcentrationMeasurementID) + attributeID: + @(MTRAttributeIDTypeClusterCarbonMonoxideConcentrationMeasurementAttributeAverageMeasuredValueWindowID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeUncertaintyWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -21645,6 +32105,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeUncertaintyWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeCarbonMonoxideConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterCarbonMonoxideConcentrationMeasurementAttributeUncertaintyID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMeasurementUnitWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -21654,6 +32125,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMeasurementUnitWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeCarbonMonoxideConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterCarbonMonoxideConcentrationMeasurementAttributeMeasurementUnitID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMeasurementMediumWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -21663,6 +32145,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMeasurementMediumWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeCarbonMonoxideConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterCarbonMonoxideConcentrationMeasurementAttributeMeasurementMediumID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeLevelValueWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -21672,6 +32165,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeLevelValueWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeCarbonMonoxideConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterCarbonMonoxideConcentrationMeasurementAttributeLevelValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -21682,6 +32185,18 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeCarbonMonoxideConcentrationMeasurementID) + attributeID: + @(MTRAttributeIDTypeClusterCarbonMonoxideConcentrationMeasurementAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -21691,6 +32206,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeCarbonMonoxideConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterCarbonMonoxideConcentrationMeasurementAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -21700,6 +32226,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeCarbonMonoxideConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterCarbonMonoxideConcentrationMeasurementAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -21709,6 +32246,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeCarbonMonoxideConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterCarbonMonoxideConcentrationMeasurementAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -21718,6 +32266,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeCarbonMonoxideConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterCarbonMonoxideConcentrationMeasurementAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -21727,6 +32285,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeCarbonMonoxideConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterCarbonMonoxideConcentrationMeasurementAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterCarbonDioxideConcentrationMeasurement @@ -21752,6 +32321,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeCarbonDioxideConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterCarbonDioxideConcentrationMeasurementAttributeMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -21761,6 +32341,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeCarbonDioxideConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterCarbonDioxideConcentrationMeasurementAttributeMinMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -21770,6 +32361,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeCarbonDioxideConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterCarbonDioxideConcentrationMeasurementAttributeMaxMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePeakMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -21779,6 +32381,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributePeakMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeCarbonDioxideConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterCarbonDioxideConcentrationMeasurementAttributePeakMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePeakMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -21789,6 +32402,18 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributePeakMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeCarbonDioxideConcentrationMeasurementID) + attributeID: + @(MTRAttributeIDTypeClusterCarbonDioxideConcentrationMeasurementAttributePeakMeasuredValueWindowID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAverageMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -21798,6 +32423,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeAverageMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeCarbonDioxideConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterCarbonDioxideConcentrationMeasurementAttributeAverageMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAverageMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -21808,6 +32444,18 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeAverageMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeCarbonDioxideConcentrationMeasurementID) + attributeID: + @(MTRAttributeIDTypeClusterCarbonDioxideConcentrationMeasurementAttributeAverageMeasuredValueWindowID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeUncertaintyWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -21817,6 +32465,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeUncertaintyWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeCarbonDioxideConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterCarbonDioxideConcentrationMeasurementAttributeUncertaintyID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMeasurementUnitWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -21826,6 +32485,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMeasurementUnitWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeCarbonDioxideConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterCarbonDioxideConcentrationMeasurementAttributeMeasurementUnitID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMeasurementMediumWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -21835,6 +32505,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMeasurementMediumWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeCarbonDioxideConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterCarbonDioxideConcentrationMeasurementAttributeMeasurementMediumID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeLevelValueWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -21844,6 +32525,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeLevelValueWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeCarbonDioxideConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterCarbonDioxideConcentrationMeasurementAttributeLevelValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -21853,6 +32544,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeCarbonDioxideConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterCarbonDioxideConcentrationMeasurementAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -21862,6 +32564,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeCarbonDioxideConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterCarbonDioxideConcentrationMeasurementAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -21871,6 +32584,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeCarbonDioxideConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterCarbonDioxideConcentrationMeasurementAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -21880,6 +32604,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeCarbonDioxideConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterCarbonDioxideConcentrationMeasurementAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -21889,6 +32624,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeCarbonDioxideConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterCarbonDioxideConcentrationMeasurementAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -21898,6 +32643,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeCarbonDioxideConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterCarbonDioxideConcentrationMeasurementAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterNitrogenDioxideConcentrationMeasurement @@ -21923,6 +32679,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeNitrogenDioxideConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterNitrogenDioxideConcentrationMeasurementAttributeMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -21932,6 +32699,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeNitrogenDioxideConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterNitrogenDioxideConcentrationMeasurementAttributeMinMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -21941,6 +32719,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeNitrogenDioxideConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterNitrogenDioxideConcentrationMeasurementAttributeMaxMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePeakMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -21950,6 +32739,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributePeakMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeNitrogenDioxideConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterNitrogenDioxideConcentrationMeasurementAttributePeakMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePeakMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -21960,6 +32760,18 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributePeakMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeNitrogenDioxideConcentrationMeasurementID) + attributeID: + @(MTRAttributeIDTypeClusterNitrogenDioxideConcentrationMeasurementAttributePeakMeasuredValueWindowID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAverageMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -21970,6 +32782,18 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeAverageMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeNitrogenDioxideConcentrationMeasurementID) + attributeID: + @(MTRAttributeIDTypeClusterNitrogenDioxideConcentrationMeasurementAttributeAverageMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAverageMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -21980,6 +32804,18 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeAverageMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeNitrogenDioxideConcentrationMeasurementID) + attributeID: + @(MTRAttributeIDTypeClusterNitrogenDioxideConcentrationMeasurementAttributeAverageMeasuredValueWindowID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeUncertaintyWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -21989,6 +32825,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeUncertaintyWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeNitrogenDioxideConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterNitrogenDioxideConcentrationMeasurementAttributeUncertaintyID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMeasurementUnitWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -21998,6 +32845,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMeasurementUnitWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeNitrogenDioxideConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterNitrogenDioxideConcentrationMeasurementAttributeMeasurementUnitID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMeasurementMediumWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22007,6 +32865,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMeasurementMediumWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeNitrogenDioxideConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterNitrogenDioxideConcentrationMeasurementAttributeMeasurementMediumID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeLevelValueWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22016,6 +32885,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeLevelValueWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeNitrogenDioxideConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterNitrogenDioxideConcentrationMeasurementAttributeLevelValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22026,6 +32905,18 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeNitrogenDioxideConcentrationMeasurementID) + attributeID: + @(MTRAttributeIDTypeClusterNitrogenDioxideConcentrationMeasurementAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22036,6 +32927,18 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeNitrogenDioxideConcentrationMeasurementID) + attributeID: + @(MTRAttributeIDTypeClusterNitrogenDioxideConcentrationMeasurementAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22045,6 +32948,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeNitrogenDioxideConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterNitrogenDioxideConcentrationMeasurementAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22054,6 +32968,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeNitrogenDioxideConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterNitrogenDioxideConcentrationMeasurementAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22063,6 +32988,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeNitrogenDioxideConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterNitrogenDioxideConcentrationMeasurementAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22072,6 +33007,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeNitrogenDioxideConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterNitrogenDioxideConcentrationMeasurementAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterOzoneConcentrationMeasurement @@ -22097,6 +33043,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOzoneConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterOzoneConcentrationMeasurementAttributeMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22106,6 +33063,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOzoneConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterOzoneConcentrationMeasurementAttributeMinMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22115,6 +33083,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOzoneConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterOzoneConcentrationMeasurementAttributeMaxMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePeakMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22124,6 +33103,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributePeakMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOzoneConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterOzoneConcentrationMeasurementAttributePeakMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePeakMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22133,6 +33123,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributePeakMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOzoneConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterOzoneConcentrationMeasurementAttributePeakMeasuredValueWindowID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAverageMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22142,6 +33143,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeAverageMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOzoneConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterOzoneConcentrationMeasurementAttributeAverageMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAverageMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22151,6 +33163,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeAverageMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOzoneConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterOzoneConcentrationMeasurementAttributeAverageMeasuredValueWindowID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeUncertaintyWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -22159,6 +33182,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeUncertaintyWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOzoneConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterOzoneConcentrationMeasurementAttributeUncertaintyID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMeasurementUnitWithParams:(MTRReadParams * _Nullable)params { return @@ -22168,6 +33201,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMeasurementUnitWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOzoneConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterOzoneConcentrationMeasurementAttributeMeasurementUnitID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMeasurementMediumWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22177,6 +33221,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMeasurementMediumWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOzoneConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterOzoneConcentrationMeasurementAttributeMeasurementMediumID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeLevelValueWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -22185,6 +33240,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeLevelValueWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOzoneConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterOzoneConcentrationMeasurementAttributeLevelValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22194,13 +33258,35 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } -- (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error { return [self.device readAttributeWithEndpointID:@(self.endpoint) clusterID:@(MTRClusterIDTypeOzoneConcentrationMeasurementID) - attributeID:@(MTRAttributeIDTypeClusterOzoneConcentrationMeasurementAttributeAcceptedCommandListID) - params:params]; + attributeID:@(MTRAttributeIDTypeClusterOzoneConcentrationMeasurementAttributeGeneratedCommandListID) + params:params + error:error]; +} + +- (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOzoneConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterOzoneConcentrationMeasurementAttributeAcceptedCommandListID) + params:params]; +} + +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOzoneConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterOzoneConcentrationMeasurementAttributeAcceptedCommandListID) + params:params + error:error]; } - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params @@ -22211,6 +33297,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOzoneConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterOzoneConcentrationMeasurementAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return @@ -22220,6 +33316,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOzoneConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterOzoneConcentrationMeasurementAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -22228,6 +33335,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOzoneConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterOzoneConcentrationMeasurementAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return @@ -22237,6 +33353,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeOzoneConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterOzoneConcentrationMeasurementAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterPM25ConcentrationMeasurement @@ -22261,6 +33388,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePM25ConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPM25ConcentrationMeasurementAttributeMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return @@ -22270,6 +33407,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePM25ConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPM25ConcentrationMeasurementAttributeMinMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return @@ -22279,6 +33427,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePM25ConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPM25ConcentrationMeasurementAttributeMaxMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePeakMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22288,6 +33447,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributePeakMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePM25ConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPM25ConcentrationMeasurementAttributePeakMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePeakMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22297,6 +33467,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributePeakMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePM25ConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPM25ConcentrationMeasurementAttributePeakMeasuredValueWindowID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAverageMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22306,6 +33487,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeAverageMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePM25ConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPM25ConcentrationMeasurementAttributeAverageMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAverageMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22315,6 +33507,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeAverageMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePM25ConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPM25ConcentrationMeasurementAttributeAverageMeasuredValueWindowID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeUncertaintyWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -22323,6 +33526,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeUncertaintyWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePM25ConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPM25ConcentrationMeasurementAttributeUncertaintyID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMeasurementUnitWithParams:(MTRReadParams * _Nullable)params { return @@ -22332,6 +33545,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMeasurementUnitWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePM25ConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPM25ConcentrationMeasurementAttributeMeasurementUnitID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMeasurementMediumWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22341,6 +33565,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMeasurementMediumWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePM25ConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPM25ConcentrationMeasurementAttributeMeasurementMediumID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeLevelValueWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -22349,6 +33584,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeLevelValueWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePM25ConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPM25ConcentrationMeasurementAttributeLevelValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22358,6 +33602,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePM25ConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPM25ConcentrationMeasurementAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22367,6 +33622,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePM25ConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPM25ConcentrationMeasurementAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -22375,6 +33641,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePM25ConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPM25ConcentrationMeasurementAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -22383,6 +33659,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePM25ConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPM25ConcentrationMeasurementAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -22391,6 +33677,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePM25ConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPM25ConcentrationMeasurementAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return @@ -22400,6 +33695,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePM25ConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPM25ConcentrationMeasurementAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterFormaldehydeConcentrationMeasurement @@ -22425,6 +33731,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeFormaldehydeConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterFormaldehydeConcentrationMeasurementAttributeMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22434,6 +33751,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeFormaldehydeConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterFormaldehydeConcentrationMeasurementAttributeMinMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22443,6 +33771,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeFormaldehydeConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterFormaldehydeConcentrationMeasurementAttributeMaxMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePeakMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22452,6 +33791,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributePeakMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeFormaldehydeConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterFormaldehydeConcentrationMeasurementAttributePeakMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePeakMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22462,6 +33812,18 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributePeakMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeFormaldehydeConcentrationMeasurementID) + attributeID: + @(MTRAttributeIDTypeClusterFormaldehydeConcentrationMeasurementAttributePeakMeasuredValueWindowID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAverageMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22471,6 +33833,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeAverageMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeFormaldehydeConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterFormaldehydeConcentrationMeasurementAttributeAverageMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAverageMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22481,6 +33854,18 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeAverageMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeFormaldehydeConcentrationMeasurementID) + attributeID: + @(MTRAttributeIDTypeClusterFormaldehydeConcentrationMeasurementAttributeAverageMeasuredValueWindowID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeUncertaintyWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22490,6 +33875,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeUncertaintyWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeFormaldehydeConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterFormaldehydeConcentrationMeasurementAttributeUncertaintyID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMeasurementUnitWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22499,6 +33895,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMeasurementUnitWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeFormaldehydeConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterFormaldehydeConcentrationMeasurementAttributeMeasurementUnitID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMeasurementMediumWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22508,6 +33915,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMeasurementMediumWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeFormaldehydeConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterFormaldehydeConcentrationMeasurementAttributeMeasurementMediumID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeLevelValueWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22517,6 +33935,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeLevelValueWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeFormaldehydeConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterFormaldehydeConcentrationMeasurementAttributeLevelValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22526,6 +33954,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeFormaldehydeConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterFormaldehydeConcentrationMeasurementAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22535,6 +33974,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeFormaldehydeConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterFormaldehydeConcentrationMeasurementAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22544,6 +33994,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeFormaldehydeConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterFormaldehydeConcentrationMeasurementAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22553,6 +34014,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeFormaldehydeConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterFormaldehydeConcentrationMeasurementAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22562,6 +34034,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeFormaldehydeConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterFormaldehydeConcentrationMeasurementAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22571,6 +34053,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeFormaldehydeConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterFormaldehydeConcentrationMeasurementAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterPM1ConcentrationMeasurement @@ -22595,6 +34088,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePM1ConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPM1ConcentrationMeasurementAttributeMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return @@ -22604,6 +34107,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePM1ConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPM1ConcentrationMeasurementAttributeMinMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return @@ -22613,6 +34127,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePM1ConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPM1ConcentrationMeasurementAttributeMaxMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePeakMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return @@ -22622,6 +34147,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributePeakMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePM1ConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPM1ConcentrationMeasurementAttributePeakMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePeakMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22631,6 +34167,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributePeakMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePM1ConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPM1ConcentrationMeasurementAttributePeakMeasuredValueWindowID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAverageMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22640,6 +34187,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeAverageMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePM1ConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPM1ConcentrationMeasurementAttributeAverageMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAverageMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22649,6 +34207,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeAverageMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePM1ConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPM1ConcentrationMeasurementAttributeAverageMeasuredValueWindowID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeUncertaintyWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -22657,6 +34226,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeUncertaintyWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePM1ConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPM1ConcentrationMeasurementAttributeUncertaintyID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMeasurementUnitWithParams:(MTRReadParams * _Nullable)params { return @@ -22666,6 +34245,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMeasurementUnitWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePM1ConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPM1ConcentrationMeasurementAttributeMeasurementUnitID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMeasurementMediumWithParams:(MTRReadParams * _Nullable)params { return @@ -22675,6 +34265,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMeasurementMediumWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePM1ConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPM1ConcentrationMeasurementAttributeMeasurementMediumID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeLevelValueWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -22683,6 +34284,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeLevelValueWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePM1ConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPM1ConcentrationMeasurementAttributeLevelValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22692,6 +34302,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePM1ConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPM1ConcentrationMeasurementAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22701,6 +34322,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePM1ConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPM1ConcentrationMeasurementAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -22709,6 +34341,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePM1ConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPM1ConcentrationMeasurementAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -22717,6 +34359,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePM1ConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPM1ConcentrationMeasurementAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -22725,6 +34377,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePM1ConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPM1ConcentrationMeasurementAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return @@ -22734,6 +34395,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePM1ConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPM1ConcentrationMeasurementAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterPM10ConcentrationMeasurement @@ -22758,6 +34430,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePM10ConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPM10ConcentrationMeasurementAttributeMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return @@ -22767,6 +34449,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePM10ConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPM10ConcentrationMeasurementAttributeMinMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return @@ -22776,6 +34469,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePM10ConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPM10ConcentrationMeasurementAttributeMaxMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePeakMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22785,6 +34489,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributePeakMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePM10ConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPM10ConcentrationMeasurementAttributePeakMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePeakMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22794,6 +34509,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributePeakMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePM10ConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPM10ConcentrationMeasurementAttributePeakMeasuredValueWindowID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAverageMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22803,6 +34529,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeAverageMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePM10ConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPM10ConcentrationMeasurementAttributeAverageMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAverageMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22812,6 +34549,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeAverageMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePM10ConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPM10ConcentrationMeasurementAttributeAverageMeasuredValueWindowID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeUncertaintyWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -22820,6 +34568,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeUncertaintyWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePM10ConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPM10ConcentrationMeasurementAttributeUncertaintyID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMeasurementUnitWithParams:(MTRReadParams * _Nullable)params { return @@ -22829,6 +34587,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMeasurementUnitWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePM10ConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPM10ConcentrationMeasurementAttributeMeasurementUnitID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMeasurementMediumWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22838,6 +34607,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMeasurementMediumWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePM10ConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPM10ConcentrationMeasurementAttributeMeasurementMediumID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeLevelValueWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -22846,6 +34626,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeLevelValueWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePM10ConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPM10ConcentrationMeasurementAttributeLevelValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22855,6 +34644,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePM10ConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPM10ConcentrationMeasurementAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22864,6 +34664,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePM10ConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPM10ConcentrationMeasurementAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -22872,6 +34683,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePM10ConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPM10ConcentrationMeasurementAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -22880,6 +34701,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePM10ConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPM10ConcentrationMeasurementAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -22888,6 +34719,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePM10ConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPM10ConcentrationMeasurementAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return @@ -22897,6 +34737,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypePM10ConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPM10ConcentrationMeasurementAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterTotalVolatileOrganicCompoundsConcentrationMeasurement @@ -22923,6 +34774,18 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTotalVolatileOrganicCompoundsConcentrationMeasurementID) + attributeID: + @(MTRAttributeIDTypeClusterTotalVolatileOrganicCompoundsConcentrationMeasurementAttributeMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22933,6 +34796,18 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTotalVolatileOrganicCompoundsConcentrationMeasurementID) + attributeID: + @(MTRAttributeIDTypeClusterTotalVolatileOrganicCompoundsConcentrationMeasurementAttributeMinMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22943,6 +34818,18 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTotalVolatileOrganicCompoundsConcentrationMeasurementID) + attributeID: + @(MTRAttributeIDTypeClusterTotalVolatileOrganicCompoundsConcentrationMeasurementAttributeMaxMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePeakMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22953,6 +34840,18 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributePeakMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTotalVolatileOrganicCompoundsConcentrationMeasurementID) + attributeID: + @(MTRAttributeIDTypeClusterTotalVolatileOrganicCompoundsConcentrationMeasurementAttributePeakMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePeakMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22963,6 +34862,18 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributePeakMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTotalVolatileOrganicCompoundsConcentrationMeasurementID) + attributeID: + @(MTRAttributeIDTypeClusterTotalVolatileOrganicCompoundsConcentrationMeasurementAttributePeakMeasuredValueWindowID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAverageMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22973,6 +34884,18 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeAverageMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTotalVolatileOrganicCompoundsConcentrationMeasurementID) + attributeID: + @(MTRAttributeIDTypeClusterTotalVolatileOrganicCompoundsConcentrationMeasurementAttributeAverageMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAverageMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22983,6 +34906,18 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeAverageMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTotalVolatileOrganicCompoundsConcentrationMeasurementID) + attributeID: + @(MTRAttributeIDTypeClusterTotalVolatileOrganicCompoundsConcentrationMeasurementAttributeAverageMeasuredValueWindowID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeUncertaintyWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -22993,6 +34928,18 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeUncertaintyWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTotalVolatileOrganicCompoundsConcentrationMeasurementID) + attributeID: + @(MTRAttributeIDTypeClusterTotalVolatileOrganicCompoundsConcentrationMeasurementAttributeUncertaintyID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMeasurementUnitWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -23003,6 +34950,18 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMeasurementUnitWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTotalVolatileOrganicCompoundsConcentrationMeasurementID) + attributeID: + @(MTRAttributeIDTypeClusterTotalVolatileOrganicCompoundsConcentrationMeasurementAttributeMeasurementUnitID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMeasurementMediumWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -23013,6 +34972,18 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMeasurementMediumWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTotalVolatileOrganicCompoundsConcentrationMeasurementID) + attributeID: + @(MTRAttributeIDTypeClusterTotalVolatileOrganicCompoundsConcentrationMeasurementAttributeMeasurementMediumID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeLevelValueWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -23023,6 +34994,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeLevelValueWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTotalVolatileOrganicCompoundsConcentrationMeasurementID) + attributeID: + @(MTRAttributeIDTypeClusterTotalVolatileOrganicCompoundsConcentrationMeasurementAttributeLevelValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -23033,6 +35015,18 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTotalVolatileOrganicCompoundsConcentrationMeasurementID) + attributeID: + @(MTRAttributeIDTypeClusterTotalVolatileOrganicCompoundsConcentrationMeasurementAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -23043,6 +35037,18 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTotalVolatileOrganicCompoundsConcentrationMeasurementID) + attributeID: + @(MTRAttributeIDTypeClusterTotalVolatileOrganicCompoundsConcentrationMeasurementAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -23053,6 +35059,18 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTotalVolatileOrganicCompoundsConcentrationMeasurementID) + attributeID: + @(MTRAttributeIDTypeClusterTotalVolatileOrganicCompoundsConcentrationMeasurementAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -23063,6 +35081,18 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTotalVolatileOrganicCompoundsConcentrationMeasurementID) + attributeID: + @(MTRAttributeIDTypeClusterTotalVolatileOrganicCompoundsConcentrationMeasurementAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -23073,6 +35103,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTotalVolatileOrganicCompoundsConcentrationMeasurementID) + attributeID: + @(MTRAttributeIDTypeClusterTotalVolatileOrganicCompoundsConcentrationMeasurementAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -23083,6 +35124,18 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTotalVolatileOrganicCompoundsConcentrationMeasurementID) + attributeID: + @(MTRAttributeIDTypeClusterTotalVolatileOrganicCompoundsConcentrationMeasurementAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterRadonConcentrationMeasurement @@ -23108,6 +35161,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRadonConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterRadonConcentrationMeasurementAttributeMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -23117,6 +35181,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRadonConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterRadonConcentrationMeasurementAttributeMinMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -23126,6 +35201,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRadonConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterRadonConcentrationMeasurementAttributeMaxMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePeakMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -23135,6 +35221,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributePeakMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRadonConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterRadonConcentrationMeasurementAttributePeakMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePeakMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -23144,6 +35241,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributePeakMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRadonConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterRadonConcentrationMeasurementAttributePeakMeasuredValueWindowID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAverageMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -23153,6 +35261,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeAverageMeasuredValueWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRadonConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterRadonConcentrationMeasurementAttributeAverageMeasuredValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAverageMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -23162,6 +35281,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeAverageMeasuredValueWindowWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRadonConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterRadonConcentrationMeasurementAttributeAverageMeasuredValueWindowID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeUncertaintyWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -23170,6 +35300,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeUncertaintyWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRadonConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterRadonConcentrationMeasurementAttributeUncertaintyID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMeasurementUnitWithParams:(MTRReadParams * _Nullable)params { return @@ -23179,6 +35319,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMeasurementUnitWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRadonConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterRadonConcentrationMeasurementAttributeMeasurementUnitID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMeasurementMediumWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -23188,6 +35339,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeMeasurementMediumWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRadonConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterRadonConcentrationMeasurementAttributeMeasurementMediumID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeLevelValueWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -23196,6 +35358,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeLevelValueWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRadonConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterRadonConcentrationMeasurementAttributeLevelValueID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -23205,6 +35376,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRadonConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterRadonConcentrationMeasurementAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -23214,6 +35396,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRadonConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterRadonConcentrationMeasurementAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -23222,6 +35415,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRadonConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterRadonConcentrationMeasurementAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return @@ -23231,6 +35434,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRadonConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterRadonConcentrationMeasurementAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -23239,6 +35453,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRadonConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterRadonConcentrationMeasurementAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return @@ -23248,6 +35471,17 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeRadonConcentrationMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterRadonConcentrationMeasurementAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterWakeOnLAN @@ -23272,6 +35506,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSString * _Nullable)readAttributeMACAddressWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeWakeOnLANID) + attributeID:@(MTRAttributeIDTypeClusterWakeOnLANAttributeMACAddressID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -23280,6 +35523,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeWakeOnLANID) + attributeID:@(MTRAttributeIDTypeClusterWakeOnLANAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -23288,6 +35541,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeWakeOnLANID) + attributeID:@(MTRAttributeIDTypeClusterWakeOnLANAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -23296,6 +35559,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeWakeOnLANID) + attributeID:@(MTRAttributeIDTypeClusterWakeOnLANAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -23304,6 +35577,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeWakeOnLANID) + attributeID:@(MTRAttributeIDTypeClusterWakeOnLANAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -23312,6 +35595,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeWakeOnLANID) + attributeID:@(MTRAttributeIDTypeClusterWakeOnLANAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -23320,6 +35612,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeWakeOnLANID) + attributeID:@(MTRAttributeIDTypeClusterWakeOnLANAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterWakeOnLan @end @@ -23477,6 +35779,16 @@ - (void)skipChannelWithParams:(MTRChannelClusterSkipChannelParams *)params params:params]; } +- (NSArray * _Nullable)readAttributeChannelListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeChannelID) + attributeID:@(MTRAttributeIDTypeClusterChannelAttributeChannelListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeLineupWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -23485,6 +35797,16 @@ - (void)skipChannelWithParams:(MTRChannelClusterSkipChannelParams *)params params:params]; } +- (MTRChannelClusterLineupInfoStruct * _Nullable)readAttributeLineupWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeChannelID) + attributeID:@(MTRAttributeIDTypeClusterChannelAttributeLineupID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeCurrentChannelWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -23493,6 +35815,16 @@ - (void)skipChannelWithParams:(MTRChannelClusterSkipChannelParams *)params params:params]; } +- (MTRChannelClusterChannelInfoStruct * _Nullable)readAttributeCurrentChannelWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeChannelID) + attributeID:@(MTRAttributeIDTypeClusterChannelAttributeCurrentChannelID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -23501,6 +35833,16 @@ - (void)skipChannelWithParams:(MTRChannelClusterSkipChannelParams *)params params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeChannelID) + attributeID:@(MTRAttributeIDTypeClusterChannelAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -23509,6 +35851,16 @@ - (void)skipChannelWithParams:(MTRChannelClusterSkipChannelParams *)params params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeChannelID) + attributeID:@(MTRAttributeIDTypeClusterChannelAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -23517,6 +35869,16 @@ - (void)skipChannelWithParams:(MTRChannelClusterSkipChannelParams *)params params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeChannelID) + attributeID:@(MTRAttributeIDTypeClusterChannelAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -23525,6 +35887,16 @@ - (void)skipChannelWithParams:(MTRChannelClusterSkipChannelParams *)params params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeChannelID) + attributeID:@(MTRAttributeIDTypeClusterChannelAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -23533,6 +35905,15 @@ - (void)skipChannelWithParams:(MTRChannelClusterSkipChannelParams *)params params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeChannelID) + attributeID:@(MTRAttributeIDTypeClusterChannelAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -23541,6 +35922,16 @@ - (void)skipChannelWithParams:(MTRChannelClusterSkipChannelParams *)params params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeChannelID) + attributeID:@(MTRAttributeIDTypeClusterChannelAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterChannel (Deprecated) @@ -23650,6 +36041,17 @@ - (void)navigateTargetWithParams:(MTRTargetNavigatorClusterNavigateTargetParams params:params]; } +- (NSArray * _Nullable) + readAttributeTargetListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTargetNavigatorID) + attributeID:@(MTRAttributeIDTypeClusterTargetNavigatorAttributeTargetListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeCurrentTargetWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -23658,6 +36060,16 @@ - (void)navigateTargetWithParams:(MTRTargetNavigatorClusterNavigateTargetParams params:params]; } +- (NSNumber * _Nullable)readAttributeCurrentTargetWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTargetNavigatorID) + attributeID:@(MTRAttributeIDTypeClusterTargetNavigatorAttributeCurrentTargetID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -23666,6 +36078,16 @@ - (void)navigateTargetWithParams:(MTRTargetNavigatorClusterNavigateTargetParams params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTargetNavigatorID) + attributeID:@(MTRAttributeIDTypeClusterTargetNavigatorAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -23674,6 +36096,16 @@ - (void)navigateTargetWithParams:(MTRTargetNavigatorClusterNavigateTargetParams params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTargetNavigatorID) + attributeID:@(MTRAttributeIDTypeClusterTargetNavigatorAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -23682,6 +36114,16 @@ - (void)navigateTargetWithParams:(MTRTargetNavigatorClusterNavigateTargetParams params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTargetNavigatorID) + attributeID:@(MTRAttributeIDTypeClusterTargetNavigatorAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -23690,6 +36132,16 @@ - (void)navigateTargetWithParams:(MTRTargetNavigatorClusterNavigateTargetParams params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTargetNavigatorID) + attributeID:@(MTRAttributeIDTypeClusterTargetNavigatorAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -23698,6 +36150,15 @@ - (void)navigateTargetWithParams:(MTRTargetNavigatorClusterNavigateTargetParams params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTargetNavigatorID) + attributeID:@(MTRAttributeIDTypeClusterTargetNavigatorAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -23706,6 +36167,16 @@ - (void)navigateTargetWithParams:(MTRTargetNavigatorClusterNavigateTargetParams params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeTargetNavigatorID) + attributeID:@(MTRAttributeIDTypeClusterTargetNavigatorAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterTargetNavigator (Deprecated) @@ -24270,6 +36741,16 @@ - (void)seekWithParams:(MTRMediaPlaybackClusterSeekParams *)params params:params]; } +- (NSNumber * _Nullable)readAttributeCurrentStateWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeMediaPlaybackID) + attributeID:@(MTRAttributeIDTypeClusterMediaPlaybackAttributeCurrentStateID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeStartTimeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -24278,6 +36759,15 @@ - (void)seekWithParams:(MTRMediaPlaybackClusterSeekParams *)params params:params]; } +- (NSNumber * _Nullable)readAttributeStartTimeWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeMediaPlaybackID) + attributeID:@(MTRAttributeIDTypeClusterMediaPlaybackAttributeStartTimeID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeDurationWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -24286,6 +36776,15 @@ - (void)seekWithParams:(MTRMediaPlaybackClusterSeekParams *)params params:params]; } +- (NSNumber * _Nullable)readAttributeDurationWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeMediaPlaybackID) + attributeID:@(MTRAttributeIDTypeClusterMediaPlaybackAttributeDurationID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeSampledPositionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -24294,6 +36793,17 @@ - (void)seekWithParams:(MTRMediaPlaybackClusterSeekParams *)params params:params]; } +- (MTRMediaPlaybackClusterPlaybackPositionStruct * _Nullable) + readAttributeSampledPositionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeMediaPlaybackID) + attributeID:@(MTRAttributeIDTypeClusterMediaPlaybackAttributeSampledPositionID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePlaybackSpeedWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -24302,6 +36812,16 @@ - (void)seekWithParams:(MTRMediaPlaybackClusterSeekParams *)params params:params]; } +- (NSNumber * _Nullable)readAttributePlaybackSpeedWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeMediaPlaybackID) + attributeID:@(MTRAttributeIDTypeClusterMediaPlaybackAttributePlaybackSpeedID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeSeekRangeEndWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -24310,6 +36830,16 @@ - (void)seekWithParams:(MTRMediaPlaybackClusterSeekParams *)params params:params]; } +- (NSNumber * _Nullable)readAttributeSeekRangeEndWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeMediaPlaybackID) + attributeID:@(MTRAttributeIDTypeClusterMediaPlaybackAttributeSeekRangeEndID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeSeekRangeStartWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -24318,6 +36848,16 @@ - (void)seekWithParams:(MTRMediaPlaybackClusterSeekParams *)params params:params]; } +- (NSNumber * _Nullable)readAttributeSeekRangeStartWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeMediaPlaybackID) + attributeID:@(MTRAttributeIDTypeClusterMediaPlaybackAttributeSeekRangeStartID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -24326,6 +36866,16 @@ - (void)seekWithParams:(MTRMediaPlaybackClusterSeekParams *)params params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeMediaPlaybackID) + attributeID:@(MTRAttributeIDTypeClusterMediaPlaybackAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -24334,6 +36884,16 @@ - (void)seekWithParams:(MTRMediaPlaybackClusterSeekParams *)params params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeMediaPlaybackID) + attributeID:@(MTRAttributeIDTypeClusterMediaPlaybackAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -24342,6 +36902,16 @@ - (void)seekWithParams:(MTRMediaPlaybackClusterSeekParams *)params params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeMediaPlaybackID) + attributeID:@(MTRAttributeIDTypeClusterMediaPlaybackAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -24350,6 +36920,16 @@ - (void)seekWithParams:(MTRMediaPlaybackClusterSeekParams *)params params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeMediaPlaybackID) + attributeID:@(MTRAttributeIDTypeClusterMediaPlaybackAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -24358,6 +36938,15 @@ - (void)seekWithParams:(MTRMediaPlaybackClusterSeekParams *)params params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeMediaPlaybackID) + attributeID:@(MTRAttributeIDTypeClusterMediaPlaybackAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -24366,6 +36955,16 @@ - (void)seekWithParams:(MTRMediaPlaybackClusterSeekParams *)params params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeMediaPlaybackID) + attributeID:@(MTRAttributeIDTypeClusterMediaPlaybackAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterMediaPlayback (Deprecated) @@ -24811,6 +37410,16 @@ - (void)renameInputWithParams:(MTRMediaInputClusterRenameInputParams *)params params:params]; } +- (NSArray * _Nullable)readAttributeInputListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeMediaInputID) + attributeID:@(MTRAttributeIDTypeClusterMediaInputAttributeInputListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeCurrentInputWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -24819,6 +37428,16 @@ - (void)renameInputWithParams:(MTRMediaInputClusterRenameInputParams *)params params:params]; } +- (NSNumber * _Nullable)readAttributeCurrentInputWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeMediaInputID) + attributeID:@(MTRAttributeIDTypeClusterMediaInputAttributeCurrentInputID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -24827,6 +37446,16 @@ - (void)renameInputWithParams:(MTRMediaInputClusterRenameInputParams *)params params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeMediaInputID) + attributeID:@(MTRAttributeIDTypeClusterMediaInputAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -24835,6 +37464,16 @@ - (void)renameInputWithParams:(MTRMediaInputClusterRenameInputParams *)params params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeMediaInputID) + attributeID:@(MTRAttributeIDTypeClusterMediaInputAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -24843,6 +37482,16 @@ - (void)renameInputWithParams:(MTRMediaInputClusterRenameInputParams *)params params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeMediaInputID) + attributeID:@(MTRAttributeIDTypeClusterMediaInputAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -24851,6 +37500,16 @@ - (void)renameInputWithParams:(MTRMediaInputClusterRenameInputParams *)params params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeMediaInputID) + attributeID:@(MTRAttributeIDTypeClusterMediaInputAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -24859,6 +37518,15 @@ - (void)renameInputWithParams:(MTRMediaInputClusterRenameInputParams *)params params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeMediaInputID) + attributeID:@(MTRAttributeIDTypeClusterMediaInputAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -24867,6 +37535,16 @@ - (void)renameInputWithParams:(MTRMediaInputClusterRenameInputParams *)params params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeMediaInputID) + attributeID:@(MTRAttributeIDTypeClusterMediaInputAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterMediaInput (Deprecated) @@ -25004,6 +37682,16 @@ - (void)sleepWithParams:(MTRLowPowerClusterSleepParams * _Nullable)params params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeLowPowerID) + attributeID:@(MTRAttributeIDTypeClusterLowPowerAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -25012,6 +37700,16 @@ - (void)sleepWithParams:(MTRLowPowerClusterSleepParams * _Nullable)params params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeLowPowerID) + attributeID:@(MTRAttributeIDTypeClusterLowPowerAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -25020,6 +37718,16 @@ - (void)sleepWithParams:(MTRLowPowerClusterSleepParams * _Nullable)params params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeLowPowerID) + attributeID:@(MTRAttributeIDTypeClusterLowPowerAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -25028,6 +37736,16 @@ - (void)sleepWithParams:(MTRLowPowerClusterSleepParams * _Nullable)params params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeLowPowerID) + attributeID:@(MTRAttributeIDTypeClusterLowPowerAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -25036,6 +37754,15 @@ - (void)sleepWithParams:(MTRLowPowerClusterSleepParams * _Nullable)params params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeLowPowerID) + attributeID:@(MTRAttributeIDTypeClusterLowPowerAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -25044,6 +37771,16 @@ - (void)sleepWithParams:(MTRLowPowerClusterSleepParams * _Nullable)params params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeLowPowerID) + attributeID:@(MTRAttributeIDTypeClusterLowPowerAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterLowPower (Deprecated) @@ -25137,6 +37874,16 @@ - (void)sendKeyWithParams:(MTRKeypadInputClusterSendKeyParams *)params params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeKeypadInputID) + attributeID:@(MTRAttributeIDTypeClusterKeypadInputAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -25145,6 +37892,16 @@ - (void)sendKeyWithParams:(MTRKeypadInputClusterSendKeyParams *)params params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeKeypadInputID) + attributeID:@(MTRAttributeIDTypeClusterKeypadInputAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -25153,6 +37910,16 @@ - (void)sendKeyWithParams:(MTRKeypadInputClusterSendKeyParams *)params params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeKeypadInputID) + attributeID:@(MTRAttributeIDTypeClusterKeypadInputAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -25161,6 +37928,16 @@ - (void)sendKeyWithParams:(MTRKeypadInputClusterSendKeyParams *)params params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeKeypadInputID) + attributeID:@(MTRAttributeIDTypeClusterKeypadInputAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -25169,6 +37946,15 @@ - (void)sendKeyWithParams:(MTRKeypadInputClusterSendKeyParams *)params params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeKeypadInputID) + attributeID:@(MTRAttributeIDTypeClusterKeypadInputAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -25177,6 +37963,16 @@ - (void)sendKeyWithParams:(MTRKeypadInputClusterSendKeyParams *)params params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeKeypadInputID) + attributeID:@(MTRAttributeIDTypeClusterKeypadInputAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterKeypadInput (Deprecated) @@ -25308,6 +38104,16 @@ - (void)launchURLWithParams:(MTRContentLauncherClusterLaunchURLParams *)params params:params]; } +- (NSArray * _Nullable)readAttributeAcceptHeaderWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeContentLauncherID) + attributeID:@(MTRAttributeIDTypeClusterContentLauncherAttributeAcceptHeaderID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeSupportedStreamingProtocolsWithParams:(MTRReadParams * _Nullable)params { return @@ -25317,6 +38123,17 @@ - (void)launchURLWithParams:(MTRContentLauncherClusterLaunchURLParams *)params params:params]; } +- (NSNumber * _Nullable)readAttributeSupportedStreamingProtocolsWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeContentLauncherID) + attributeID:@(MTRAttributeIDTypeClusterContentLauncherAttributeSupportedStreamingProtocolsID) + params:params + error:error]; +} + - (void)writeAttributeSupportedStreamingProtocolsWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -25346,6 +38163,16 @@ - (void)writeAttributeSupportedStreamingProtocolsWithValue:(NSDictionary * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeContentLauncherID) + attributeID:@(MTRAttributeIDTypeClusterContentLauncherAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -25354,6 +38181,16 @@ - (void)writeAttributeSupportedStreamingProtocolsWithValue:(NSDictionary * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeContentLauncherID) + attributeID:@(MTRAttributeIDTypeClusterContentLauncherAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -25362,6 +38199,16 @@ - (void)writeAttributeSupportedStreamingProtocolsWithValue:(NSDictionary * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeContentLauncherID) + attributeID:@(MTRAttributeIDTypeClusterContentLauncherAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -25370,6 +38217,16 @@ - (void)writeAttributeSupportedStreamingProtocolsWithValue:(NSDictionary * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeContentLauncherID) + attributeID:@(MTRAttributeIDTypeClusterContentLauncherAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -25378,6 +38235,15 @@ - (void)writeAttributeSupportedStreamingProtocolsWithValue:(NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -25386,6 +38252,16 @@ - (void)writeAttributeSupportedStreamingProtocolsWithValue:(NSDictionary * _Nullable)readAttributeOutputListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeAudioOutputID) + attributeID:@(MTRAttributeIDTypeClusterAudioOutputAttributeOutputListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeCurrentOutputWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -25535,6 +38421,16 @@ - (void)renameOutputWithParams:(MTRAudioOutputClusterRenameOutputParams *)params params:params]; } +- (NSNumber * _Nullable)readAttributeCurrentOutputWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeAudioOutputID) + attributeID:@(MTRAttributeIDTypeClusterAudioOutputAttributeCurrentOutputID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -25543,6 +38439,16 @@ - (void)renameOutputWithParams:(MTRAudioOutputClusterRenameOutputParams *)params params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeAudioOutputID) + attributeID:@(MTRAttributeIDTypeClusterAudioOutputAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -25551,6 +38457,16 @@ - (void)renameOutputWithParams:(MTRAudioOutputClusterRenameOutputParams *)params params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeAudioOutputID) + attributeID:@(MTRAttributeIDTypeClusterAudioOutputAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -25559,6 +38475,16 @@ - (void)renameOutputWithParams:(MTRAudioOutputClusterRenameOutputParams *)params params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeAudioOutputID) + attributeID:@(MTRAttributeIDTypeClusterAudioOutputAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -25567,6 +38493,16 @@ - (void)renameOutputWithParams:(MTRAudioOutputClusterRenameOutputParams *)params params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeAudioOutputID) + attributeID:@(MTRAttributeIDTypeClusterAudioOutputAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -25575,6 +38511,15 @@ - (void)renameOutputWithParams:(MTRAudioOutputClusterRenameOutputParams *)params params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeAudioOutputID) + attributeID:@(MTRAttributeIDTypeClusterAudioOutputAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -25583,6 +38528,16 @@ - (void)renameOutputWithParams:(MTRAudioOutputClusterRenameOutputParams *)params params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeAudioOutputID) + attributeID:@(MTRAttributeIDTypeClusterAudioOutputAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterAudioOutput (Deprecated) @@ -25762,6 +38717,16 @@ - (void)hideAppWithParams:(MTRApplicationLauncherClusterHideAppParams * _Nullabl params:params]; } +- (NSArray * _Nullable)readAttributeCatalogListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeApplicationLauncherID) + attributeID:@(MTRAttributeIDTypeClusterApplicationLauncherAttributeCatalogListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeCurrentAppWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -25770,6 +38735,16 @@ - (void)hideAppWithParams:(MTRApplicationLauncherClusterHideAppParams * _Nullabl params:params]; } +- (MTRApplicationLauncherClusterApplicationEPStruct * _Nullable)readAttributeCurrentAppWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeApplicationLauncherID) + attributeID:@(MTRAttributeIDTypeClusterApplicationLauncherAttributeCurrentAppID) + params:params + error:error]; +} + - (void)writeAttributeCurrentAppWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -25797,6 +38772,16 @@ - (void)writeAttributeCurrentAppWithValue:(NSDictionary *)dataVa params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeApplicationLauncherID) + attributeID:@(MTRAttributeIDTypeClusterApplicationLauncherAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -25805,6 +38790,16 @@ - (void)writeAttributeCurrentAppWithValue:(NSDictionary *)dataVa params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeApplicationLauncherID) + attributeID:@(MTRAttributeIDTypeClusterApplicationLauncherAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -25813,6 +38808,16 @@ - (void)writeAttributeCurrentAppWithValue:(NSDictionary *)dataVa params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeApplicationLauncherID) + attributeID:@(MTRAttributeIDTypeClusterApplicationLauncherAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -25821,6 +38826,16 @@ - (void)writeAttributeCurrentAppWithValue:(NSDictionary *)dataVa params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeApplicationLauncherID) + attributeID:@(MTRAttributeIDTypeClusterApplicationLauncherAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -25829,6 +38844,15 @@ - (void)writeAttributeCurrentAppWithValue:(NSDictionary *)dataVa params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeApplicationLauncherID) + attributeID:@(MTRAttributeIDTypeClusterApplicationLauncherAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -25837,6 +38861,16 @@ - (void)writeAttributeCurrentAppWithValue:(NSDictionary *)dataVa params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeApplicationLauncherID) + attributeID:@(MTRAttributeIDTypeClusterApplicationLauncherAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterApplicationLauncher (Deprecated) @@ -25912,6 +38946,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSString * _Nullable)readAttributeVendorNameWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeApplicationBasicID) + attributeID:@(MTRAttributeIDTypeClusterApplicationBasicAttributeVendorNameID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeVendorIDWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -25920,6 +38963,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeVendorIDWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeApplicationBasicID) + attributeID:@(MTRAttributeIDTypeClusterApplicationBasicAttributeVendorIDID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeApplicationNameWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -25928,6 +38980,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSString * _Nullable)readAttributeApplicationNameWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeApplicationBasicID) + attributeID:@(MTRAttributeIDTypeClusterApplicationBasicAttributeApplicationNameID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeProductIDWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -25936,6 +38998,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeProductIDWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeApplicationBasicID) + attributeID:@(MTRAttributeIDTypeClusterApplicationBasicAttributeProductIDID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeApplicationWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -25944,6 +39015,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (MTRApplicationBasicClusterApplicationStruct * _Nullable)readAttributeApplicationWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeApplicationBasicID) + attributeID:@(MTRAttributeIDTypeClusterApplicationBasicAttributeApplicationID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeStatusWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -25952,6 +39033,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeStatusWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeApplicationBasicID) + attributeID:@(MTRAttributeIDTypeClusterApplicationBasicAttributeStatusID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeApplicationVersionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -25960,6 +39050,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSString * _Nullable)readAttributeApplicationVersionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeApplicationBasicID) + attributeID:@(MTRAttributeIDTypeClusterApplicationBasicAttributeApplicationVersionID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAllowedVendorListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -25968,6 +39068,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeAllowedVendorListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeApplicationBasicID) + attributeID:@(MTRAttributeIDTypeClusterApplicationBasicAttributeAllowedVendorListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -25976,6 +39086,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeApplicationBasicID) + attributeID:@(MTRAttributeIDTypeClusterApplicationBasicAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -25984,6 +39104,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeApplicationBasicID) + attributeID:@(MTRAttributeIDTypeClusterApplicationBasicAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -25992,6 +39122,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeApplicationBasicID) + attributeID:@(MTRAttributeIDTypeClusterApplicationBasicAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -26000,6 +39140,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeApplicationBasicID) + attributeID:@(MTRAttributeIDTypeClusterApplicationBasicAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -26008,6 +39158,15 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeApplicationBasicID) + attributeID:@(MTRAttributeIDTypeClusterApplicationBasicAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -26016,6 +39175,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpoi params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeApplicationBasicID) + attributeID:@(MTRAttributeIDTypeClusterApplicationBasicAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterApplicationBasic (Deprecated) @@ -26177,6 +39346,16 @@ - (void)logoutWithParams:(MTRAccountLoginClusterLogoutParams * _Nullable)params params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeAccountLoginID) + attributeID:@(MTRAttributeIDTypeClusterAccountLoginAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -26185,6 +39364,16 @@ - (void)logoutWithParams:(MTRAccountLoginClusterLogoutParams * _Nullable)params params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeAccountLoginID) + attributeID:@(MTRAttributeIDTypeClusterAccountLoginAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -26193,6 +39382,16 @@ - (void)logoutWithParams:(MTRAccountLoginClusterLogoutParams * _Nullable)params params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeAccountLoginID) + attributeID:@(MTRAttributeIDTypeClusterAccountLoginAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -26201,6 +39400,16 @@ - (void)logoutWithParams:(MTRAccountLoginClusterLogoutParams * _Nullable)params params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeAccountLoginID) + attributeID:@(MTRAttributeIDTypeClusterAccountLoginAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -26209,6 +39418,15 @@ - (void)logoutWithParams:(MTRAccountLoginClusterLogoutParams * _Nullable)params params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeAccountLoginID) + attributeID:@(MTRAttributeIDTypeClusterAccountLoginAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -26217,6 +39435,16 @@ - (void)logoutWithParams:(MTRAccountLoginClusterLogoutParams * _Nullable)params params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeAccountLoginID) + attributeID:@(MTRAttributeIDTypeClusterAccountLoginAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterAccountLogin (Deprecated) @@ -26383,6 +39611,16 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributeMeasurementTypeWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeMeasurementTypeID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeDcVoltageWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -26391,6 +39629,15 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributeDcVoltageWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeDcVoltageID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeDcVoltageMinWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -26399,6 +39646,16 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributeDcVoltageMinWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeDcVoltageMinID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeDcVoltageMaxWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -26407,6 +39664,16 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributeDcVoltageMaxWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeDcVoltageMaxID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeDcCurrentWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -26415,6 +39682,15 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributeDcCurrentWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeDcCurrentID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeDcCurrentMinWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -26423,6 +39699,16 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributeDcCurrentMinWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeDcCurrentMinID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeDcCurrentMaxWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -26431,6 +39717,16 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributeDcCurrentMaxWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeDcCurrentMaxID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeDcPowerWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -26439,6 +39735,15 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributeDcPowerWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeDcPowerID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeDcPowerMinWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -26447,6 +39752,15 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributeDcPowerMinWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeDcPowerMinID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeDcPowerMaxWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -26455,6 +39769,15 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributeDcPowerMaxWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeDcPowerMaxID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeDcVoltageMultiplierWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -26463,6 +39786,16 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributeDcVoltageMultiplierWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeDcVoltageMultiplierID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeDcVoltageDivisorWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -26471,6 +39804,16 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributeDcVoltageDivisorWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeDcVoltageDivisorID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeDcCurrentMultiplierWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -26479,6 +39822,16 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributeDcCurrentMultiplierWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeDcCurrentMultiplierID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeDcCurrentDivisorWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -26487,6 +39840,16 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributeDcCurrentDivisorWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeDcCurrentDivisorID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeDcPowerMultiplierWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -26495,6 +39858,16 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributeDcPowerMultiplierWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeDcPowerMultiplierID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeDcPowerDivisorWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -26503,6 +39876,16 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributeDcPowerDivisorWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeDcPowerDivisorID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcFrequencyWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -26511,6 +39894,16 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributeAcFrequencyWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeAcFrequencyID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcFrequencyMinWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -26519,6 +39912,16 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributeAcFrequencyMinWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeAcFrequencyMinID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcFrequencyMaxWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -26527,6 +39930,16 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributeAcFrequencyMaxWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeAcFrequencyMaxID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeNeutralCurrentWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -26535,6 +39948,16 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributeNeutralCurrentWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeNeutralCurrentID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeTotalActivePowerWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -26543,6 +39966,16 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributeTotalActivePowerWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeTotalActivePowerID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeTotalReactivePowerWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -26551,6 +39984,16 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributeTotalReactivePowerWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeTotalReactivePowerID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeTotalApparentPowerWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -26559,6 +40002,16 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributeTotalApparentPowerWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeTotalApparentPowerID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMeasured1stHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -26568,6 +40021,17 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributeMeasured1stHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeMeasured1stHarmonicCurrentID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMeasured3rdHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -26577,6 +40041,17 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributeMeasured3rdHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeMeasured3rdHarmonicCurrentID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMeasured5thHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -26586,6 +40061,17 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributeMeasured5thHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeMeasured5thHarmonicCurrentID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMeasured7thHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -26595,6 +40081,17 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributeMeasured7thHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeMeasured7thHarmonicCurrentID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMeasured9thHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -26604,6 +40101,17 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributeMeasured9thHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeMeasured9thHarmonicCurrentID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMeasured11thHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -26613,6 +40121,17 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributeMeasured11thHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeMeasured11thHarmonicCurrentID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMeasuredPhase1stHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -26622,6 +40141,17 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributeMeasuredPhase1stHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeMeasuredPhase1stHarmonicCurrentID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMeasuredPhase3rdHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -26631,6 +40161,17 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributeMeasuredPhase3rdHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeMeasuredPhase3rdHarmonicCurrentID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMeasuredPhase5thHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -26640,6 +40181,17 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributeMeasuredPhase5thHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeMeasuredPhase5thHarmonicCurrentID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMeasuredPhase7thHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -26649,6 +40201,17 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributeMeasuredPhase7thHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeMeasuredPhase7thHarmonicCurrentID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMeasuredPhase9thHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -26658,6 +40221,17 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributeMeasuredPhase9thHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeMeasuredPhase9thHarmonicCurrentID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeMeasuredPhase11thHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -26667,6 +40241,17 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributeMeasuredPhase11thHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeMeasuredPhase11thHarmonicCurrentID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcFrequencyMultiplierWithParams:(MTRReadParams * _Nullable)params { return @@ -26676,6 +40261,17 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributeAcFrequencyMultiplierWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeAcFrequencyMultiplierID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcFrequencyDivisorWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -26684,6 +40280,16 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributeAcFrequencyDivisorWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeAcFrequencyDivisorID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePowerMultiplierWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -26692,6 +40298,16 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributePowerMultiplierWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributePowerMultiplierID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePowerDivisorWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -26700,6 +40316,16 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributePowerDivisorWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributePowerDivisorID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeHarmonicCurrentMultiplierWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -26709,6 +40335,17 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributeHarmonicCurrentMultiplierWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeHarmonicCurrentMultiplierID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePhaseHarmonicCurrentMultiplierWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -26718,6 +40355,17 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributePhaseHarmonicCurrentMultiplierWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributePhaseHarmonicCurrentMultiplierID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeInstantaneousVoltageWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -26726,6 +40374,16 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributeInstantaneousVoltageWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeInstantaneousVoltageID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeInstantaneousLineCurrentWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -26735,6 +40393,17 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributeInstantaneousLineCurrentWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeInstantaneousLineCurrentID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeInstantaneousActiveCurrentWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -26744,6 +40413,17 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributeInstantaneousActiveCurrentWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeInstantaneousActiveCurrentID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeInstantaneousReactiveCurrentWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -26753,6 +40433,17 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributeInstantaneousReactiveCurrentWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeInstantaneousReactiveCurrentID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeInstantaneousPowerWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -26761,6 +40452,16 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributeInstantaneousPowerWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeInstantaneousPowerID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeRmsVoltageWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -26769,6 +40470,15 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributeRmsVoltageWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsVoltageID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeRmsVoltageMinWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -26777,6 +40487,16 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributeRmsVoltageMinWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsVoltageMinID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeRmsVoltageMaxWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -26785,6 +40505,16 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributeRmsVoltageMaxWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsVoltageMaxID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeRmsCurrentWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -26793,6 +40523,15 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributeRmsCurrentWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsCurrentID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeRmsCurrentMinWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -26801,6 +40540,16 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributeRmsCurrentMinWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsCurrentMinID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeRmsCurrentMaxWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -26809,6 +40558,16 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributeRmsCurrentMaxWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsCurrentMaxID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeActivePowerWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -26817,6 +40576,16 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributeActivePowerWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeActivePowerID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeActivePowerMinWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -26825,6 +40594,16 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributeActivePowerMinWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeActivePowerMinID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeActivePowerMaxWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -26833,6 +40612,16 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributeActivePowerMaxWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeActivePowerMaxID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeReactivePowerWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -26841,6 +40630,16 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributeReactivePowerWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeReactivePowerID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeApparentPowerWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -26849,6 +40648,16 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributeApparentPowerWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeApparentPowerID) + params:params + error:error]; +} + - (NSDictionary *)readAttributePowerFactorWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -26857,6 +40666,16 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributePowerFactorWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributePowerFactorID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAverageRmsVoltageMeasurementPeriodWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -26866,6 +40685,17 @@ - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterG params:params]; } +- (NSNumber * _Nullable)readAttributeAverageRmsVoltageMeasurementPeriodWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeAverageRmsVoltageMeasurementPeriodID) + params:params + error:error]; +} + - (void)writeAttributeAverageRmsVoltageMeasurementPeriodWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -26897,6 +40727,17 @@ - (void)writeAttributeAverageRmsVoltageMeasurementPeriodWithValue:(NSDictionary< params:params]; } +- (NSNumber * _Nullable)readAttributeAverageRmsUnderVoltageCounterWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device + readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeAverageRmsUnderVoltageCounterID) + params:params + error:error]; +} + - (void)writeAttributeAverageRmsUnderVoltageCounterWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -26928,6 +40769,17 @@ - (void)writeAttributeAverageRmsUnderVoltageCounterWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -26959,6 +40811,17 @@ - (void)writeAttributeRmsExtremeOverVoltagePeriodWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -26989,6 +40852,16 @@ - (void)writeAttributeRmsExtremeUnderVoltagePeriodWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -27017,6 +40890,17 @@ - (void)writeAttributeRmsVoltageSagPeriodWithValue:(NSDictionary params:params]; } +- (NSNumber * _Nullable)readAttributeRmsVoltageSwellPeriodWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsVoltageSwellPeriodID) + params:params + error:error]; +} + - (void)writeAttributeRmsVoltageSwellPeriodWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -27046,6 +40930,16 @@ - (void)writeAttributeRmsVoltageSwellPeriodWithValue:(NSDictionary *)readAttributeAcVoltageDivisorWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -27054,6 +40948,16 @@ - (void)writeAttributeRmsVoltageSwellPeriodWithValue:(NSDictionary *)readAttributeAcCurrentMultiplierWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -27062,6 +40966,16 @@ - (void)writeAttributeRmsVoltageSwellPeriodWithValue:(NSDictionary *)readAttributeAcCurrentDivisorWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -27070,6 +40984,16 @@ - (void)writeAttributeRmsVoltageSwellPeriodWithValue:(NSDictionary *)readAttributeAcPowerMultiplierWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -27078,6 +41002,16 @@ - (void)writeAttributeRmsVoltageSwellPeriodWithValue:(NSDictionary *)readAttributeAcPowerDivisorWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -27086,6 +41020,16 @@ - (void)writeAttributeRmsVoltageSwellPeriodWithValue:(NSDictionary *)readAttributeOverloadAlarmsMaskWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -27094,6 +41038,16 @@ - (void)writeAttributeRmsVoltageSwellPeriodWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -27121,6 +41075,16 @@ - (void)writeAttributeOverloadAlarmsMaskWithValue:(NSDictionary params:params]; } +- (NSNumber * _Nullable)readAttributeVoltageOverloadWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeVoltageOverloadID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeCurrentOverloadWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -27129,6 +41093,16 @@ - (void)writeAttributeOverloadAlarmsMaskWithValue:(NSDictionary params:params]; } +- (NSNumber * _Nullable)readAttributeCurrentOverloadWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeCurrentOverloadID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcOverloadAlarmsMaskWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -27137,6 +41111,16 @@ - (void)writeAttributeOverloadAlarmsMaskWithValue:(NSDictionary params:params]; } +- (NSNumber * _Nullable)readAttributeAcOverloadAlarmsMaskWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeAcOverloadAlarmsMaskID) + params:params + error:error]; +} + - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -27164,6 +41148,16 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributeAcCurrentOverloadWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -27172,6 +41166,16 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributeAcActivePowerOverloadWithParams:(MTRReadParams * _Nullable)params { return @@ -27181,6 +41185,17 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributeAcReactivePowerOverloadWithParams:(MTRReadParams * _Nullable)params { return @@ -27190,6 +41205,17 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributeAverageRmsOverVoltageWithParams:(MTRReadParams * _Nullable)params { return @@ -27199,6 +41225,17 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributeAverageRmsUnderVoltageWithParams:(MTRReadParams * _Nullable)params { return @@ -27208,6 +41245,17 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributeRmsExtremeOverVoltageWithParams:(MTRReadParams * _Nullable)params { return @@ -27217,6 +41265,17 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributeRmsExtremeUnderVoltageWithParams:(MTRReadParams * _Nullable)params { return @@ -27226,6 +41285,17 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributeRmsVoltageSagWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -27234,6 +41304,16 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributeRmsVoltageSwellWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -27242,6 +41322,16 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributeLineCurrentPhaseBWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -27250,6 +41340,16 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributeActiveCurrentPhaseBWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -27258,6 +41358,16 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributeReactiveCurrentPhaseBWithParams:(MTRReadParams * _Nullable)params { return @@ -27267,6 +41377,17 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributeRmsVoltagePhaseBWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -27275,6 +41396,16 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributeRmsVoltageMinPhaseBWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -27283,6 +41414,16 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributeRmsVoltageMaxPhaseBWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -27291,6 +41432,16 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributeRmsCurrentPhaseBWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -27299,6 +41450,16 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributeRmsCurrentMinPhaseBWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -27307,6 +41468,16 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributeRmsCurrentMaxPhaseBWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -27315,6 +41486,16 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributeActivePowerPhaseBWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -27323,6 +41504,16 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributeActivePowerMinPhaseBWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -27331,6 +41522,16 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributeActivePowerMaxPhaseBWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -27339,6 +41540,16 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributeReactivePowerPhaseBWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -27347,6 +41558,16 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributeApparentPowerPhaseBWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -27355,6 +41576,16 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributePowerFactorPhaseBWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -27363,6 +41594,16 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributeAverageRmsVoltageMeasurementPeriodPhaseBWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -27373,6 +41614,18 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributeAverageRmsOverVoltageCounterPhaseBWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -27382,6 +41635,17 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributeAverageRmsUnderVoltageCounterPhaseBWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -27391,6 +41655,17 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributeRmsExtremeOverVoltagePeriodPhaseBWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -27400,6 +41675,17 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributeRmsExtremeUnderVoltagePeriodPhaseBWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -27409,6 +41695,17 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributeRmsVoltageSagPeriodPhaseBWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -27418,6 +41715,17 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributeRmsVoltageSwellPeriodPhaseBWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -27427,6 +41735,17 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributeLineCurrentPhaseCWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -27435,6 +41754,16 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributeActiveCurrentPhaseCWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -27443,6 +41772,16 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributeReactiveCurrentPhaseCWithParams:(MTRReadParams * _Nullable)params { return @@ -27452,6 +41791,17 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributeRmsVoltagePhaseCWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -27460,6 +41810,16 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributeRmsVoltageMinPhaseCWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -27468,6 +41828,16 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributeRmsVoltageMaxPhaseCWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -27476,6 +41846,16 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributeRmsCurrentPhaseCWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -27484,6 +41864,16 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributeRmsCurrentMinPhaseCWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -27492,6 +41882,16 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributeRmsCurrentMaxPhaseCWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -27500,6 +41900,16 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributeActivePowerPhaseCWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -27508,6 +41918,16 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributeActivePowerMinPhaseCWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -27516,6 +41936,16 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributeActivePowerMaxPhaseCWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -27524,6 +41954,16 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributeReactivePowerPhaseCWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -27532,6 +41972,16 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributeApparentPowerPhaseCWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -27540,6 +41990,16 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributePowerFactorPhaseCWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -27548,6 +42008,16 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributeAverageRmsVoltageMeasurementPeriodPhaseCWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -27558,6 +42028,18 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributeAverageRmsOverVoltageCounterPhaseCWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -27567,6 +42049,17 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributeAverageRmsUnderVoltageCounterPhaseCWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -27576,6 +42069,17 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributeRmsExtremeOverVoltagePeriodPhaseCWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -27585,6 +42089,17 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributeRmsExtremeUnderVoltagePeriodPhaseCWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -27594,6 +42109,17 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributeRmsVoltageSagPeriodPhaseCWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -27603,6 +42129,17 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributeRmsVoltageSwellPeriodPhaseCWithParams:(MTRReadParams * _Nullable)params { return [self.device @@ -27612,6 +42149,17 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -27620,6 +42168,16 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -27628,6 +42186,16 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -27636,6 +42204,16 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -27644,6 +42222,16 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -27652,6 +42240,15 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -27660,6 +42257,16 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -28720,6 +43336,15 @@ - (void)writeAttributeBooleanWithValue:(NSDictionary *)dataValue params:params]; } +- (NSNumber * _Nullable)readAttributeBitmap8WithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeBitmap8ID) + params:params + error:error]; +} + - (void)writeAttributeBitmap8WithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -28747,6 +43372,15 @@ - (void)writeAttributeBitmap8WithValue:(NSDictionary *)dataValue params:params]; } +- (NSNumber * _Nullable)readAttributeBitmap16WithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeBitmap16ID) + params:params + error:error]; +} + - (void)writeAttributeBitmap16WithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -28774,6 +43408,15 @@ - (void)writeAttributeBitmap16WithValue:(NSDictionary *)dataValu params:params]; } +- (NSNumber * _Nullable)readAttributeBitmap32WithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeBitmap32ID) + params:params + error:error]; +} + - (void)writeAttributeBitmap32WithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -28801,6 +43444,15 @@ - (void)writeAttributeBitmap32WithValue:(NSDictionary *)dataValu params:params]; } +- (NSNumber * _Nullable)readAttributeBitmap64WithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeBitmap64ID) + params:params + error:error]; +} + - (void)writeAttributeBitmap64WithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -28828,6 +43480,15 @@ - (void)writeAttributeBitmap64WithValue:(NSDictionary *)dataValu params:params]; } +- (NSNumber * _Nullable)readAttributeInt8uWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeInt8uID) + params:params + error:error]; +} + - (void)writeAttributeInt8uWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -28855,6 +43516,15 @@ - (void)writeAttributeInt8uWithValue:(NSDictionary *)dataValueDi params:params]; } +- (NSNumber * _Nullable)readAttributeInt16uWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeInt16uID) + params:params + error:error]; +} + - (void)writeAttributeInt16uWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -28882,6 +43552,15 @@ - (void)writeAttributeInt16uWithValue:(NSDictionary *)dataValueD params:params]; } +- (NSNumber * _Nullable)readAttributeInt24uWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeInt24uID) + params:params + error:error]; +} + - (void)writeAttributeInt24uWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -28909,6 +43588,15 @@ - (void)writeAttributeInt24uWithValue:(NSDictionary *)dataValueD params:params]; } +- (NSNumber * _Nullable)readAttributeInt32uWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeInt32uID) + params:params + error:error]; +} + - (void)writeAttributeInt32uWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -28936,6 +43624,15 @@ - (void)writeAttributeInt32uWithValue:(NSDictionary *)dataValueD params:params]; } +- (NSNumber * _Nullable)readAttributeInt40uWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeInt40uID) + params:params + error:error]; +} + - (void)writeAttributeInt40uWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -28963,6 +43660,15 @@ - (void)writeAttributeInt40uWithValue:(NSDictionary *)dataValueD params:params]; } +- (NSNumber * _Nullable)readAttributeInt48uWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeInt48uID) + params:params + error:error]; +} + - (void)writeAttributeInt48uWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -28990,6 +43696,15 @@ - (void)writeAttributeInt48uWithValue:(NSDictionary *)dataValueD params:params]; } +- (NSNumber * _Nullable)readAttributeInt56uWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeInt56uID) + params:params + error:error]; +} + - (void)writeAttributeInt56uWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -29017,6 +43732,15 @@ - (void)writeAttributeInt56uWithValue:(NSDictionary *)dataValueD params:params]; } +- (NSNumber * _Nullable)readAttributeInt64uWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeInt64uID) + params:params + error:error]; +} + - (void)writeAttributeInt64uWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -29044,6 +43768,15 @@ - (void)writeAttributeInt64uWithValue:(NSDictionary *)dataValueD params:params]; } +- (NSNumber * _Nullable)readAttributeInt8sWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeInt8sID) + params:params + error:error]; +} + - (void)writeAttributeInt8sWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -29071,6 +43804,15 @@ - (void)writeAttributeInt8sWithValue:(NSDictionary *)dataValueDi params:params]; } +- (NSNumber * _Nullable)readAttributeInt16sWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeInt16sID) + params:params + error:error]; +} + - (void)writeAttributeInt16sWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -29098,6 +43840,15 @@ - (void)writeAttributeInt16sWithValue:(NSDictionary *)dataValueD params:params]; } +- (NSNumber * _Nullable)readAttributeInt24sWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeInt24sID) + params:params + error:error]; +} + - (void)writeAttributeInt24sWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -29125,6 +43876,15 @@ - (void)writeAttributeInt24sWithValue:(NSDictionary *)dataValueD params:params]; } +- (NSNumber * _Nullable)readAttributeInt32sWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeInt32sID) + params:params + error:error]; +} + - (void)writeAttributeInt32sWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -29152,6 +43912,15 @@ - (void)writeAttributeInt32sWithValue:(NSDictionary *)dataValueD params:params]; } +- (NSNumber * _Nullable)readAttributeInt40sWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeInt40sID) + params:params + error:error]; +} + - (void)writeAttributeInt40sWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -29179,6 +43948,15 @@ - (void)writeAttributeInt40sWithValue:(NSDictionary *)dataValueD params:params]; } +- (NSNumber * _Nullable)readAttributeInt48sWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeInt48sID) + params:params + error:error]; +} + - (void)writeAttributeInt48sWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -29206,6 +43984,15 @@ - (void)writeAttributeInt48sWithValue:(NSDictionary *)dataValueD params:params]; } +- (NSNumber * _Nullable)readAttributeInt56sWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeInt56sID) + params:params + error:error]; +} + - (void)writeAttributeInt56sWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -29233,6 +44020,15 @@ - (void)writeAttributeInt56sWithValue:(NSDictionary *)dataValueD params:params]; } +- (NSNumber * _Nullable)readAttributeInt64sWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeInt64sID) + params:params + error:error]; +} + - (void)writeAttributeInt64sWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -29260,6 +44056,15 @@ - (void)writeAttributeInt64sWithValue:(NSDictionary *)dataValueD params:params]; } +- (NSNumber * _Nullable)readAttributeEnum8WithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeEnum8ID) + params:params + error:error]; +} + - (void)writeAttributeEnum8WithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -29287,6 +44092,15 @@ - (void)writeAttributeEnum8WithValue:(NSDictionary *)dataValueDi params:params]; } +- (NSNumber * _Nullable)readAttributeEnum16WithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeEnum16ID) + params:params + error:error]; +} + - (void)writeAttributeEnum16WithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -29314,6 +44128,16 @@ - (void)writeAttributeEnum16WithValue:(NSDictionary *)dataValueD params:params]; } +- (NSNumber * _Nullable)readAttributeFloatSingleWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeFloatSingleID) + params:params + error:error]; +} + - (void)writeAttributeFloatSingleWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -29341,6 +44165,16 @@ - (void)writeAttributeFloatSingleWithValue:(NSDictionary *)dataV params:params]; } +- (NSNumber * _Nullable)readAttributeFloatDoubleWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeFloatDoubleID) + params:params + error:error]; +} + - (void)writeAttributeFloatDoubleWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -29368,6 +44202,15 @@ - (void)writeAttributeFloatDoubleWithValue:(NSDictionary *)dataV params:params]; } +- (NSData * _Nullable)readAttributeOctetStringWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeOctetStringID) + params:params + error:error]; +} + - (void)writeAttributeOctetStringWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -29395,6 +44238,16 @@ - (void)writeAttributeOctetStringWithValue:(NSDictionary *)dataV params:params]; } +- (NSArray * _Nullable)readAttributeListInt8uWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeListInt8uID) + params:params + error:error]; +} + - (void)writeAttributeListInt8uWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -29422,6 +44275,16 @@ - (void)writeAttributeListInt8uWithValue:(NSDictionary *)dataVal params:params]; } +- (NSArray * _Nullable)readAttributeListOctetStringWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeListOctetStringID) + params:params + error:error]; +} + - (void)writeAttributeListOctetStringWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -29449,6 +44312,17 @@ - (void)writeAttributeListOctetStringWithValue:(NSDictionary *)d params:params]; } +- (NSArray * _Nullable) + readAttributeListStructOctetStringWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeListStructOctetStringID) + params:params + error:error]; +} + - (void)writeAttributeListStructOctetStringWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -29478,6 +44352,16 @@ - (void)writeAttributeListStructOctetStringWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -29505,6 +44389,15 @@ - (void)writeAttributeLongOctetStringWithValue:(NSDictionary *)d params:params]; } +- (NSString * _Nullable)readAttributeCharStringWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeCharStringID) + params:params + error:error]; +} + - (void)writeAttributeCharStringWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -29532,6 +44425,16 @@ - (void)writeAttributeCharStringWithValue:(NSDictionary *)dataVa params:params]; } +- (NSString * _Nullable)readAttributeLongCharStringWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeLongCharStringID) + params:params + error:error]; +} + - (void)writeAttributeLongCharStringWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -29559,6 +44462,15 @@ - (void)writeAttributeLongCharStringWithValue:(NSDictionary *)da params:params]; } +- (NSNumber * _Nullable)readAttributeEpochUsWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeEpochUsID) + params:params + error:error]; +} + - (void)writeAttributeEpochUsWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -29586,6 +44498,15 @@ - (void)writeAttributeEpochUsWithValue:(NSDictionary *)dataValue params:params]; } +- (NSNumber * _Nullable)readAttributeEpochSWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeEpochSID) + params:params + error:error]; +} + - (void)writeAttributeEpochSWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -29613,6 +44534,15 @@ - (void)writeAttributeEpochSWithValue:(NSDictionary *)dataValueD params:params]; } +- (NSNumber * _Nullable)readAttributeVendorIdWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeVendorIdID) + params:params + error:error]; +} + - (void)writeAttributeVendorIdWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -29641,6 +44571,18 @@ - (void)writeAttributeVendorIdWithValue:(NSDictionary *)dataValu params:params]; } +- (NSArray * _Nullable) + readAttributeListNullablesAndOptionalsStructWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return + [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeListNullablesAndOptionalsStructID) + params:params + error:error]; +} + - (void)writeAttributeListNullablesAndOptionalsStructWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -29670,6 +44612,15 @@ - (void)writeAttributeListNullablesAndOptionalsStructWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -29697,6 +44648,16 @@ - (void)writeAttributeEnumAttrWithValue:(NSDictionary *)dataValu params:params]; } +- (MTRUnitTestingClusterSimpleStruct * _Nullable)readAttributeStructAttrWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeStructAttrID) + params:params + error:error]; +} + - (void)writeAttributeStructAttrWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -29724,6 +44685,16 @@ - (void)writeAttributeStructAttrWithValue:(NSDictionary *)dataVa params:params]; } +- (NSNumber * _Nullable)readAttributeRangeRestrictedInt8uWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeRangeRestrictedInt8uID) + params:params + error:error]; +} + - (void)writeAttributeRangeRestrictedInt8uWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -29751,6 +44722,16 @@ - (void)writeAttributeRangeRestrictedInt8uWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -29778,6 +44759,16 @@ - (void)writeAttributeRangeRestrictedInt8sWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -29807,6 +44798,16 @@ - (void)writeAttributeRangeRestrictedInt16uWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -29836,6 +44837,16 @@ - (void)writeAttributeRangeRestrictedInt16sWithValue:(NSDictionary * _Nullable)readAttributeListLongOctetStringWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeListLongOctetStringID) + params:params + error:error]; +} + - (void)writeAttributeListLongOctetStringWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -29863,6 +44874,17 @@ - (void)writeAttributeListLongOctetStringWithValue:(NSDictionary params:params]; } +- (NSArray * _Nullable) + readAttributeListFabricScopedWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeListFabricScopedID) + params:params + error:error]; +} + - (void)writeAttributeListFabricScopedWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -29890,6 +44912,16 @@ - (void)writeAttributeListFabricScopedWithValue:(NSDictionary *) params:params]; } +- (NSNumber * _Nullable)readAttributeTimedWriteBooleanWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeTimedWriteBooleanID) + params:params + error:error]; +} + - (void)writeAttributeTimedWriteBooleanWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -29917,6 +44949,16 @@ - (void)writeAttributeTimedWriteBooleanWithValue:(NSDictionary * params:params]; } +- (NSNumber * _Nullable)readAttributeGeneralErrorBooleanWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeGeneralErrorBooleanID) + params:params + error:error]; +} + - (void)writeAttributeGeneralErrorBooleanWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -29944,6 +44986,16 @@ - (void)writeAttributeGeneralErrorBooleanWithValue:(NSDictionary params:params]; } +- (NSNumber * _Nullable)readAttributeClusterErrorBooleanWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeClusterErrorBooleanID) + params:params + error:error]; +} + - (void)writeAttributeClusterErrorBooleanWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -29971,6 +45023,16 @@ - (void)writeAttributeClusterErrorBooleanWithValue:(NSDictionary params:params]; } +- (NSNumber * _Nullable)readAttributeUnsupportedWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeUnsupportedID) + params:params + error:error]; +} + - (void)writeAttributeUnsupportedWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -29998,6 +45060,16 @@ - (void)writeAttributeUnsupportedWithValue:(NSDictionary *)dataV params:params]; } +- (NSNumber * _Nullable)readAttributeNullableBooleanWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeNullableBooleanID) + params:params + error:error]; +} + - (void)writeAttributeNullableBooleanWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -30025,6 +45097,16 @@ - (void)writeAttributeNullableBooleanWithValue:(NSDictionary *)d params:params]; } +- (NSNumber * _Nullable)readAttributeNullableBitmap8WithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeNullableBitmap8ID) + params:params + error:error]; +} + - (void)writeAttributeNullableBitmap8WithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -30052,6 +45134,16 @@ - (void)writeAttributeNullableBitmap8WithValue:(NSDictionary *)d params:params]; } +- (NSNumber * _Nullable)readAttributeNullableBitmap16WithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeNullableBitmap16ID) + params:params + error:error]; +} + - (void)writeAttributeNullableBitmap16WithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -30079,6 +45171,16 @@ - (void)writeAttributeNullableBitmap16WithValue:(NSDictionary *) params:params]; } +- (NSNumber * _Nullable)readAttributeNullableBitmap32WithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeNullableBitmap32ID) + params:params + error:error]; +} + - (void)writeAttributeNullableBitmap32WithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -30106,6 +45208,16 @@ - (void)writeAttributeNullableBitmap32WithValue:(NSDictionary *) params:params]; } +- (NSNumber * _Nullable)readAttributeNullableBitmap64WithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeNullableBitmap64ID) + params:params + error:error]; +} + - (void)writeAttributeNullableBitmap64WithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -30133,6 +45245,16 @@ - (void)writeAttributeNullableBitmap64WithValue:(NSDictionary *) params:params]; } +- (NSNumber * _Nullable)readAttributeNullableInt8uWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeNullableInt8uID) + params:params + error:error]; +} + - (void)writeAttributeNullableInt8uWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -30160,6 +45282,16 @@ - (void)writeAttributeNullableInt8uWithValue:(NSDictionary *)dat params:params]; } +- (NSNumber * _Nullable)readAttributeNullableInt16uWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeNullableInt16uID) + params:params + error:error]; +} + - (void)writeAttributeNullableInt16uWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -30187,6 +45319,16 @@ - (void)writeAttributeNullableInt16uWithValue:(NSDictionary *)da params:params]; } +- (NSNumber * _Nullable)readAttributeNullableInt24uWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeNullableInt24uID) + params:params + error:error]; +} + - (void)writeAttributeNullableInt24uWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -30214,6 +45356,16 @@ - (void)writeAttributeNullableInt24uWithValue:(NSDictionary *)da params:params]; } +- (NSNumber * _Nullable)readAttributeNullableInt32uWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeNullableInt32uID) + params:params + error:error]; +} + - (void)writeAttributeNullableInt32uWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -30241,6 +45393,16 @@ - (void)writeAttributeNullableInt32uWithValue:(NSDictionary *)da params:params]; } +- (NSNumber * _Nullable)readAttributeNullableInt40uWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeNullableInt40uID) + params:params + error:error]; +} + - (void)writeAttributeNullableInt40uWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -30268,6 +45430,16 @@ - (void)writeAttributeNullableInt40uWithValue:(NSDictionary *)da params:params]; } +- (NSNumber * _Nullable)readAttributeNullableInt48uWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeNullableInt48uID) + params:params + error:error]; +} + - (void)writeAttributeNullableInt48uWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -30295,6 +45467,16 @@ - (void)writeAttributeNullableInt48uWithValue:(NSDictionary *)da params:params]; } +- (NSNumber * _Nullable)readAttributeNullableInt56uWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeNullableInt56uID) + params:params + error:error]; +} + - (void)writeAttributeNullableInt56uWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -30322,6 +45504,16 @@ - (void)writeAttributeNullableInt56uWithValue:(NSDictionary *)da params:params]; } +- (NSNumber * _Nullable)readAttributeNullableInt64uWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeNullableInt64uID) + params:params + error:error]; +} + - (void)writeAttributeNullableInt64uWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -30349,6 +45541,16 @@ - (void)writeAttributeNullableInt64uWithValue:(NSDictionary *)da params:params]; } +- (NSNumber * _Nullable)readAttributeNullableInt8sWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeNullableInt8sID) + params:params + error:error]; +} + - (void)writeAttributeNullableInt8sWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -30376,6 +45578,16 @@ - (void)writeAttributeNullableInt8sWithValue:(NSDictionary *)dat params:params]; } +- (NSNumber * _Nullable)readAttributeNullableInt16sWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeNullableInt16sID) + params:params + error:error]; +} + - (void)writeAttributeNullableInt16sWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -30403,6 +45615,16 @@ - (void)writeAttributeNullableInt16sWithValue:(NSDictionary *)da params:params]; } +- (NSNumber * _Nullable)readAttributeNullableInt24sWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeNullableInt24sID) + params:params + error:error]; +} + - (void)writeAttributeNullableInt24sWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -30430,6 +45652,16 @@ - (void)writeAttributeNullableInt24sWithValue:(NSDictionary *)da params:params]; } +- (NSNumber * _Nullable)readAttributeNullableInt32sWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeNullableInt32sID) + params:params + error:error]; +} + - (void)writeAttributeNullableInt32sWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -30457,6 +45689,16 @@ - (void)writeAttributeNullableInt32sWithValue:(NSDictionary *)da params:params]; } +- (NSNumber * _Nullable)readAttributeNullableInt40sWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeNullableInt40sID) + params:params + error:error]; +} + - (void)writeAttributeNullableInt40sWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -30484,6 +45726,16 @@ - (void)writeAttributeNullableInt40sWithValue:(NSDictionary *)da params:params]; } +- (NSNumber * _Nullable)readAttributeNullableInt48sWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeNullableInt48sID) + params:params + error:error]; +} + - (void)writeAttributeNullableInt48sWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -30511,6 +45763,16 @@ - (void)writeAttributeNullableInt48sWithValue:(NSDictionary *)da params:params]; } +- (NSNumber * _Nullable)readAttributeNullableInt56sWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeNullableInt56sID) + params:params + error:error]; +} + - (void)writeAttributeNullableInt56sWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -30538,6 +45800,16 @@ - (void)writeAttributeNullableInt56sWithValue:(NSDictionary *)da params:params]; } +- (NSNumber * _Nullable)readAttributeNullableInt64sWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeNullableInt64sID) + params:params + error:error]; +} + - (void)writeAttributeNullableInt64sWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -30565,6 +45837,16 @@ - (void)writeAttributeNullableInt64sWithValue:(NSDictionary *)da params:params]; } +- (NSNumber * _Nullable)readAttributeNullableEnum8WithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeNullableEnum8ID) + params:params + error:error]; +} + - (void)writeAttributeNullableEnum8WithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -30592,6 +45874,16 @@ - (void)writeAttributeNullableEnum8WithValue:(NSDictionary *)dat params:params]; } +- (NSNumber * _Nullable)readAttributeNullableEnum16WithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeNullableEnum16ID) + params:params + error:error]; +} + - (void)writeAttributeNullableEnum16WithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -30619,6 +45911,16 @@ - (void)writeAttributeNullableEnum16WithValue:(NSDictionary *)da params:params]; } +- (NSNumber * _Nullable)readAttributeNullableFloatSingleWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeNullableFloatSingleID) + params:params + error:error]; +} + - (void)writeAttributeNullableFloatSingleWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -30646,6 +45948,16 @@ - (void)writeAttributeNullableFloatSingleWithValue:(NSDictionary params:params]; } +- (NSNumber * _Nullable)readAttributeNullableFloatDoubleWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeNullableFloatDoubleID) + params:params + error:error]; +} + - (void)writeAttributeNullableFloatDoubleWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -30673,6 +45985,16 @@ - (void)writeAttributeNullableFloatDoubleWithValue:(NSDictionary params:params]; } +- (NSData * _Nullable)readAttributeNullableOctetStringWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeNullableOctetStringID) + params:params + error:error]; +} + - (void)writeAttributeNullableOctetStringWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -30700,6 +46022,16 @@ - (void)writeAttributeNullableOctetStringWithValue:(NSDictionary params:params]; } +- (NSString * _Nullable)readAttributeNullableCharStringWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeNullableCharStringID) + params:params + error:error]; +} + - (void)writeAttributeNullableCharStringWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -30727,6 +46059,16 @@ - (void)writeAttributeNullableCharStringWithValue:(NSDictionary params:params]; } +- (NSNumber * _Nullable)readAttributeNullableEnumAttrWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeNullableEnumAttrID) + params:params + error:error]; +} + - (void)writeAttributeNullableEnumAttrWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -30754,6 +46096,16 @@ - (void)writeAttributeNullableEnumAttrWithValue:(NSDictionary *) params:params]; } +- (MTRUnitTestingClusterSimpleStruct * _Nullable)readAttributeNullableStructWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeNullableStructID) + params:params + error:error]; +} + - (void)writeAttributeNullableStructWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -30781,6 +46133,16 @@ - (void)writeAttributeNullableStructWithValue:(NSDictionary *)da params:params]; } +- (NSNumber * _Nullable)readAttributeNullableRangeRestrictedInt8uWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeNullableRangeRestrictedInt8uID) + params:params + error:error]; +} + - (void)writeAttributeNullableRangeRestrictedInt8uWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -30810,6 +46172,16 @@ - (void)writeAttributeNullableRangeRestrictedInt8uWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -30839,6 +46211,16 @@ - (void)writeAttributeNullableRangeRestrictedInt8sWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -30868,6 +46250,16 @@ - (void)writeAttributeNullableRangeRestrictedInt16uWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -30897,6 +46289,16 @@ - (void)writeAttributeNullableRangeRestrictedInt16sWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -30924,6 +46326,16 @@ - (void)writeAttributeWriteOnlyInt8uWithValue:(NSDictionary *)da params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -30932,6 +46344,16 @@ - (void)writeAttributeWriteOnlyInt8uWithValue:(NSDictionary *)da params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -30940,6 +46362,16 @@ - (void)writeAttributeWriteOnlyInt8uWithValue:(NSDictionary *)da params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -30948,6 +46380,16 @@ - (void)writeAttributeWriteOnlyInt8uWithValue:(NSDictionary *)da params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -30956,6 +46398,15 @@ - (void)writeAttributeWriteOnlyInt8uWithValue:(NSDictionary *)da params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -30964,6 +46415,16 @@ - (void)writeAttributeWriteOnlyInt8uWithValue:(NSDictionary *)da params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeUnitTestingID) + attributeID:@(MTRAttributeIDTypeClusterUnitTestingAttributeClusterRevisionID) + params:params + error:error]; +} + @end @implementation MTRClusterTestCluster @end @@ -31465,6 +46926,15 @@ - (void)addArgumentsWithParams:(MTRSampleMEIClusterAddArgumentsParams *)params params:params]; } +- (NSNumber * _Nullable)readAttributeFlipFlopWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeSampleMEIID) + attributeID:@(MTRAttributeIDTypeClusterSampleMEIAttributeFlipFlopID) + params:params + error:error]; +} + - (void)writeAttributeFlipFlopWithValue:(NSDictionary *)dataValueDictionary expectedValueInterval:(NSNumber *)expectedValueIntervalMs { @@ -31492,6 +46962,16 @@ - (void)writeAttributeFlipFlopWithValue:(NSDictionary *)dataValu params:params]; } +- (NSArray * _Nullable)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeSampleMEIID) + attributeID:@(MTRAttributeIDTypeClusterSampleMEIAttributeGeneratedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -31500,6 +46980,16 @@ - (void)writeAttributeFlipFlopWithValue:(NSDictionary *)dataValu params:params]; } +- (NSArray * _Nullable)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeSampleMEIID) + attributeID:@(MTRAttributeIDTypeClusterSampleMEIAttributeAcceptedCommandListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -31508,6 +46998,16 @@ - (void)writeAttributeFlipFlopWithValue:(NSDictionary *)dataValu params:params]; } +- (NSArray * _Nullable)readAttributeEventListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeSampleMEIID) + attributeID:@(MTRAttributeIDTypeClusterSampleMEIAttributeEventListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -31516,6 +47016,16 @@ - (void)writeAttributeFlipFlopWithValue:(NSDictionary *)dataValu params:params]; } +- (NSArray * _Nullable)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeSampleMEIID) + attributeID:@(MTRAttributeIDTypeClusterSampleMEIAttributeAttributeListID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -31524,6 +47034,15 @@ - (void)writeAttributeFlipFlopWithValue:(NSDictionary *)dataValu params:params]; } +- (NSNumber * _Nullable)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeSampleMEIID) + attributeID:@(MTRAttributeIDTypeClusterSampleMEIAttributeFeatureMapID) + params:params + error:error]; +} + - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(self.endpoint) @@ -31532,6 +47051,16 @@ - (void)writeAttributeFlipFlopWithValue:(NSDictionary *)dataValu params:params]; } +- (NSNumber * _Nullable)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params + error:(NSError * __autoreleasing *)error +{ + return [self.device readAttributeWithEndpointID:@(self.endpoint) + clusterID:@(MTRClusterIDTypeSampleMEIID) + attributeID:@(MTRAttributeIDTypeClusterSampleMEIAttributeClusterRevisionID) + params:params + error:error]; +} + @end // NOLINTEND(clang-analyzer-cplusplus.NewDeleteLeaks) diff --git a/src/darwin/Framework/CHIPTests/MTRDeviceTests.m b/src/darwin/Framework/CHIPTests/MTRDeviceTests.m index 95f4aab4d5d30c..1252a1d2cc9ee0 100644 --- a/src/darwin/Framework/CHIPTests/MTRDeviceTests.m +++ b/src/darwin/Framework/CHIPTests/MTRDeviceTests.m @@ -1496,6 +1496,34 @@ - (void)test017_TestMTRDeviceBasics attributeReportsReceived = 0; eventReportsReceived = 0; + // Do a basic sanity-check on our MTRCluster read API. + __auto_type * descriptorCluster = [[MTRClusterDescriptor alloc] initWithDevice:device endpointID:@(1) queue:queue]; + __auto_type * untypedDeviceTypeList = [descriptorCluster readAttributeDeviceTypeListWithParams:nil]; + XCTAssertNotNil(untypedDeviceTypeList); + + NSError * error; + NSArray * typedDeviceTypeList = [descriptorCluster readAttributeDeviceTypeListWithParams:nil error:&error]; + XCTAssertNil(error); + XCTAssertNotNil(typedDeviceTypeList); + + __auto_type * path = [MTRAttributePath attributePathWithEndpointID:@(1) clusterID:@(0x001D) attributeID:@(0x0000)]; + __auto_type * report = + [[MTRAttributeReport alloc] initWithResponseValue:@{ @"attributePath" : path, @"data" : untypedDeviceTypeList } + error:&error]; + XCTAssertNil(error); + XCTAssertNotNil(report); + + NSArray * typedValue = report.value; + XCTAssertEqual(typedDeviceTypeList.count, typedValue.count); + for (unsigned i = 0; i < typedDeviceTypeList.count; ++i) { + XCTAssertTrue([typedDeviceTypeList[i] isKindOfClass:[MTRDescriptorClusterDeviceTypeStruct class]]); + XCTAssertTrue([typedValue[i] isKindOfClass:[MTRDescriptorClusterDeviceTypeStruct class]]); + MTRDescriptorClusterDeviceTypeStruct * struct1 = typedDeviceTypeList[i]; + MTRDescriptorClusterDeviceTypeStruct * struct2 = typedValue[i]; + XCTAssertEqualObjects(struct1.deviceType, struct2.deviceType); + XCTAssertEqualObjects(struct1.revision, struct2.revision); + } + // Before resubscribe, first test write failure and expected value effects NSNumber * testEndpointID = @(1); NSNumber * testClusterID = @(8);