From 8a60d4124012dac13e4ee5e582c2f3b0b4ab84dd Mon Sep 17 00:00:00 2001 From: Boris Zbarsky Date: Tue, 1 Nov 2022 08:51:10 -0400 Subject: [PATCH] Address review comments: * Move Deprecated categories to the bottoms of headers. * Fix unsignedIntegerValue use. * Make sure we consistently treat a boxed 0 as "on-network" for rendezvousInformation. * Make the NSSecureCoding serialization of MTRSetupPayload backwards-compatible. --- src/darwin/Framework/CHIP/MTRBaseDevice.h | 122 +- src/darwin/Framework/CHIP/MTRDevice.h | 22 +- .../Framework/CHIP/MTRDeviceController+XPC.h | 16 +- src/darwin/Framework/CHIP/MTRSetupPayload.h | 12 +- src/darwin/Framework/CHIP/MTRSetupPayload.mm | 90 +- .../CHIP/templates/MTRBaseClusters.zapt | 19 +- .../Framework/CHIP/templates/MTRClusters.zapt | 3 + .../CHIP/zap-generated/MTRBaseClusters.h | 1040 ++++++++--------- .../CHIP/zap-generated/MTRClusters.h | 1024 ++++++++-------- 9 files changed, 1187 insertions(+), 1161 deletions(-) diff --git a/src/darwin/Framework/CHIP/MTRBaseDevice.h b/src/darwin/Framework/CHIP/MTRBaseDevice.h index 74c4680c97ba37..7efd3c2f0d1ddb 100644 --- a/src/darwin/Framework/CHIP/MTRBaseDevice.h +++ b/src/darwin/Framework/CHIP/MTRBaseDevice.h @@ -269,6 +269,67 @@ extern NSString * const MTRArrayValueType; @end +@interface MTRAttributePath : NSObject +@property (nonatomic, readonly, strong, nonnull) NSNumber * endpoint; +@property (nonatomic, readonly, strong, nonnull) NSNumber * cluster; +@property (nonatomic, readonly, strong, nonnull) NSNumber * attribute; + ++ (instancetype)attributePathWithEndpointID:(NSNumber *)endpointID + clusterID:(NSNumber *)clusterID + attributeID:(NSNumber *)attributeID MTR_NEWLY_AVAILABLE; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; +@end + +@interface MTREventPath : NSObject +@property (nonatomic, readonly, strong, nonnull) NSNumber * endpoint; +@property (nonatomic, readonly, strong, nonnull) NSNumber * cluster; +@property (nonatomic, readonly, strong, nonnull) NSNumber * event; + ++ (instancetype)eventPathWithEndpointID:(NSNumber *)endpointID + clusterID:(NSNumber *)clusterID + eventID:(NSNumber *)eventID MTR_NEWLY_AVAILABLE; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; +@end + +@interface MTRCommandPath : NSObject +@property (nonatomic, readonly, strong, nonnull) NSNumber * endpoint; +@property (nonatomic, readonly, strong, nonnull) NSNumber * cluster; +@property (nonatomic, readonly, strong, nonnull) NSNumber * command; + ++ (instancetype)commandPathWithEndpointID:(NSNumber *)endpointID + clusterID:(NSNumber *)clusterID + commandID:(NSNumber *)commandID MTR_NEWLY_AVAILABLE; + +- (instancetype)init NS_UNAVAILABLE; ++ (instancetype)new NS_UNAVAILABLE; +@end + +@interface MTRAttributeReport : NSObject +@property (nonatomic, readonly, strong, nonnull) MTRAttributePath * path; +// value is nullable because nullable attributes can have nil as value. +@property (nonatomic, readonly, strong, nullable) id value; +// If this specific path resulted in an error, the error (in the +// MTRInteractionErrorDomain or MTRErrorDomain) that corresponds to this +// path. +@property (nonatomic, readonly, strong, nullable) NSError * error; +@end + +@interface MTREventReport : NSObject +@property (nonatomic, readonly, strong, nonnull) MTREventPath * path; +@property (nonatomic, readonly, strong, nonnull) NSNumber * eventNumber; // chip::EventNumber type (uint64_t) +@property (nonatomic, readonly, strong, nonnull) NSNumber * priority; // chip::app::PriorityLevel type (uint8_t) +@property (nonatomic, readonly, strong, nonnull) NSNumber * timestamp; // chip::app::Timestamp.mValue type (uint64_t) +@property (nonatomic, readonly, strong, nullable) id value; +// If this specific path resulted in an error, the error (in the +// MTRInteractionErrorDomain or MTRErrorDomain) that corresponds to this +// path. +@property (nonatomic, readonly, strong, nullable) NSError * error; +@end + @interface MTRBaseDevice (Deprecated) /** @@ -331,19 +392,6 @@ extern NSString * const MTRArrayValueType; @end -@interface MTRAttributePath : NSObject -@property (nonatomic, readonly, strong, nonnull) NSNumber * endpoint; -@property (nonatomic, readonly, strong, nonnull) NSNumber * cluster; -@property (nonatomic, readonly, strong, nonnull) NSNumber * attribute; - -+ (instancetype)attributePathWithEndpointID:(NSNumber *)endpointID - clusterID:(NSNumber *)clusterID - attributeID:(NSNumber *)attributeID MTR_NEWLY_AVAILABLE; - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; -@end - @interface MTRAttributePath (Deprecated) + (instancetype)attributePathWithEndpointId:(NSNumber *)endpointId @@ -353,19 +401,6 @@ extern NSString * const MTRArrayValueType; @end -@interface MTREventPath : NSObject -@property (nonatomic, readonly, strong, nonnull) NSNumber * endpoint; -@property (nonatomic, readonly, strong, nonnull) NSNumber * cluster; -@property (nonatomic, readonly, strong, nonnull) NSNumber * event; - -+ (instancetype)eventPathWithEndpointID:(NSNumber *)endpointID - clusterID:(NSNumber *)clusterID - eventID:(NSNumber *)eventID MTR_NEWLY_AVAILABLE; - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; -@end - @interface MTREventPath (Deprecated) + (instancetype)eventPathWithEndpointId:(NSNumber *)endpointId @@ -375,19 +410,6 @@ extern NSString * const MTRArrayValueType; @end -@interface MTRCommandPath : NSObject -@property (nonatomic, readonly, strong, nonnull) NSNumber * endpoint; -@property (nonatomic, readonly, strong, nonnull) NSNumber * cluster; -@property (nonatomic, readonly, strong, nonnull) NSNumber * command; - -+ (instancetype)commandPathWithEndpointID:(NSNumber *)endpointID - clusterID:(NSNumber *)clusterID - commandID:(NSNumber *)commandID MTR_NEWLY_AVAILABLE; - -- (instancetype)init NS_UNAVAILABLE; -+ (instancetype)new NS_UNAVAILABLE; -@end - @interface MTRCommandPath (Deprecated) + (instancetype)commandPathWithEndpointId:(NSNumber *)endpointId @@ -397,26 +419,4 @@ extern NSString * const MTRArrayValueType; @end -@interface MTRAttributeReport : NSObject -@property (nonatomic, readonly, strong, nonnull) MTRAttributePath * path; -// value is nullable because nullable attributes can have nil as value. -@property (nonatomic, readonly, strong, nullable) id value; -// If this specific path resulted in an error, the error (in the -// MTRInteractionErrorDomain or MTRErrorDomain) that corresponds to this -// path. -@property (nonatomic, readonly, strong, nullable) NSError * error; -@end - -@interface MTREventReport : NSObject -@property (nonatomic, readonly, strong, nonnull) MTREventPath * path; -@property (nonatomic, readonly, strong, nonnull) NSNumber * eventNumber; // chip::EventNumber type (uint64_t) -@property (nonatomic, readonly, strong, nonnull) NSNumber * priority; // chip::app::PriorityLevel type (uint8_t) -@property (nonatomic, readonly, strong, nonnull) NSNumber * timestamp; // chip::app::Timestamp.mValue type (uint64_t) -@property (nonatomic, readonly, strong, nullable) id value; -// If this specific path resulted in an error, the error (in the -// MTRInteractionErrorDomain or MTRErrorDomain) that corresponds to this -// path. -@property (nonatomic, readonly, strong, nullable) NSError * error; -@end - NS_ASSUME_NONNULL_END diff --git a/src/darwin/Framework/CHIP/MTRDevice.h b/src/darwin/Framework/CHIP/MTRDevice.h index da420c8869f086..01881f3bbb5b54 100644 --- a/src/darwin/Framework/CHIP/MTRDevice.h +++ b/src/darwin/Framework/CHIP/MTRDevice.h @@ -166,17 +166,6 @@ typedef NS_ENUM(NSUInteger, MTRDeviceState) { @end -@interface MTRDevice (Deprecated) - -/** - * Deprecated MTRDevice APIs. - */ -+ (instancetype)deviceWithNodeID:(uint64_t)nodeID - deviceController:(MTRDeviceController *)deviceController - MTR_NEWLY_DEPRECATED("Please use deviceWithNodeID:controller:"); - -@end - @protocol MTRDeviceDelegate @required /** @@ -206,4 +195,15 @@ typedef NS_ENUM(NSUInteger, MTRDeviceState) { @end +@interface MTRDevice (Deprecated) + +/** + * Deprecated MTRDevice APIs. + */ ++ (instancetype)deviceWithNodeID:(uint64_t)nodeID + deviceController:(MTRDeviceController *)deviceController + MTR_NEWLY_DEPRECATED("Please use deviceWithNodeID:controller:"); + +@end + NS_ASSUME_NONNULL_END diff --git a/src/darwin/Framework/CHIP/MTRDeviceController+XPC.h b/src/darwin/Framework/CHIP/MTRDeviceController+XPC.h index 5f76c9c05a1be7..db8cff52a48d3f 100644 --- a/src/darwin/Framework/CHIP/MTRDeviceController+XPC.h +++ b/src/darwin/Framework/CHIP/MTRDeviceController+XPC.h @@ -77,14 +77,6 @@ typedef void (^MTRValuesHandler)(id _Nullable values, NSError * _Nullable error) @end -@interface MTRDeviceController (Deprecated_XPC) - -+ (MTRDeviceController *)sharedControllerWithId:(id _Nullable)controllerID - xpcConnectBlock:(MTRXPCConnectBlock)xpcConnectBlock - MTR_NEWLY_DEPRECATED("Please use sharedControllerWithID:xpcConnectBlock:"); - -@end - /** * Protocol that remote object must support over XPC */ @@ -194,4 +186,12 @@ typedef void (^MTRValuesHandler)(id _Nullable values, NSError * _Nullable error) @end +@interface MTRDeviceController (Deprecated_XPC) + ++ (MTRDeviceController *)sharedControllerWithId:(id _Nullable)controllerID + xpcConnectBlock:(MTRXPCConnectBlock)xpcConnectBlock + MTR_NEWLY_DEPRECATED("Please use sharedControllerWithID:xpcConnectBlock:"); + +@end + NS_ASSUME_NONNULL_END diff --git a/src/darwin/Framework/CHIP/MTRSetupPayload.h b/src/darwin/Framework/CHIP/MTRSetupPayload.h index 226dc36e4adc00..a482f164cd6e4d 100644 --- a/src/darwin/Framework/CHIP/MTRSetupPayload.h +++ b/src/darwin/Framework/CHIP/MTRSetupPayload.h @@ -57,12 +57,6 @@ typedef NS_ENUM(NSUInteger, MTROptionalQRCodeInfoType) { @property (nonatomic, copy, nullable) NSString * stringValue; @end -@interface MTROptionalQRCodeInfo (Deprecated) - -@property (nonatomic, copy) NSNumber * infoType MTR_NEWLY_DEPRECATED("Please use type"); - -@end - /** * A setup payload that can be created from a pairing code and serialized to a * pairing code. @@ -132,6 +126,12 @@ typedef NS_ENUM(NSUInteger, MTROptionalQRCodeInfoType) { @end +@interface MTROptionalQRCodeInfo (Deprecated) + +@property (nonatomic, copy) NSNumber * infoType MTR_NEWLY_DEPRECATED("Please use type"); + +@end + @interface MTRSetupPayload (Deprecated) @property (nonatomic, copy, nullable) NSNumber * rendezvousInformation MTR_NEWLY_DEPRECATED("Please use discoveryCapabilities"); diff --git a/src/darwin/Framework/CHIP/MTRSetupPayload.mm b/src/darwin/Framework/CHIP/MTRSetupPayload.mm index 88f06b5ac88a9d..786c723768d665 100644 --- a/src/darwin/Framework/CHIP/MTRSetupPayload.mm +++ b/src/darwin/Framework/CHIP/MTRSetupPayload.mm @@ -26,20 +26,6 @@ @implementation MTROptionalQRCodeInfo @end -@implementation MTROptionalQRCodeInfo (Deprecated) - -- (NSNumber *)infoType -{ - return @(self.type); -} - -- (void)setInfoType:(NSNumber *)infoType -{ - self.type = static_cast([infoType unsignedIntValue]); -} - -@end - @implementation MTRSetupPayload { chip::SetupPayload _chipSetupPayload; } @@ -67,14 +53,12 @@ - (MTRDiscoveryCapabilities)convertRendezvousFlags:(const chip::Optional)unconvertRendezvousFlags:(nullable NSNumber *)nullableValue ++ (chip::Optional)convertDiscoveryCapabilities:(MTRDiscoveryCapabilities)value { - if (nullableValue == nil) { + if (value == MTRDiscoveryCapabilitiesUnknown) { return chip::NullOptional; } - MTRDiscoveryCapabilities value = static_cast([nullableValue unsignedLongValue]); - chip::RendezvousInformationFlags flags; if (value & MTRDiscoveryCapabilitiesBLE) { flags.Set(chip::RendezvousInformationFlag::kBLE); @@ -254,10 +238,10 @@ + (MTRSetupPayload * _Nullable)setupPayloadWithOnboardingPayload:(NSString *)onb static NSString * const MTRSetupPayloadCodingKeyVendorID = @"MTRSP.ck.vendorID"; static NSString * const MTRSetupPayloadCodingKeyProductID = @"MTRSP.ck.productID"; static NSString * const MTRSetupPayloadCodingKeyCommissioningFlow = @"MTRSP.ck.commissioningFlow"; -static NSString * const MTRSetupPayloadCodingKeyDiscoveryCapabilities = @"MTRSP.ck.discoveryCapabilities"; +static NSString * const MTRSetupPayloadCodingKeyDiscoveryCapabilities = @"MTRSP.ck.rendezvousFlags"; static NSString * const MTRSetupPayloadCodingKeyHasShortDiscriminator = @"MTRSP.ck.hasShortDiscriminator"; static NSString * const MTRSetupPayloadCodingKeyDiscriminator = @"MTRSP.ck.discriminator"; -static NSString * const MTRSetupPayloadCodingKeySetupPasscode = @"MTRSP.ck.setupPasscode"; +static NSString * const MTRSetupPayloadCodingKeySetupPasscode = @"MTRSP.ck.setupPINCode"; static NSString * const MTRSetupPayloadCodingKeySerialNumber = @"MTRSP.ck.serialNumber"; + (BOOL)supportsSecureCoding @@ -273,7 +257,10 @@ - (void)encodeWithCoder:(NSCoder *)coder // Casts are safe because commissioning flow, discoveryCapabilities, and // hasShortDiscriminator values are all pretty small and non-negative. [coder encodeInteger:static_cast(self.commissioningFlow) forKey:MTRSetupPayloadCodingKeyCommissioningFlow]; - [coder encodeInteger:static_cast(self.discoveryCapabilities) forKey:MTRSetupPayloadCodingKeyDiscoveryCapabilities]; + // We used to encode the discovery capabilities as an NSNumber object, with + // nil representing "unknown". Keep doing that, for backwards compat. + [coder encodeObject:[MTRSetupPayload _boxDiscoveryCapabilities:self.discoveryCapabilities] + forKey:MTRSetupPayloadCodingKeyDiscoveryCapabilities]; [coder encodeInteger:static_cast(self.hasShortDiscriminator) forKey:MTRSetupPayloadCodingKeyHasShortDiscriminator]; [coder encodeObject:self.discriminator forKey:MTRSetupPayloadCodingKeyDiscriminator]; [coder encodeObject:self.setupPasscode forKey:MTRSetupPayloadCodingKeySetupPasscode]; @@ -286,7 +273,9 @@ - (nullable instancetype)initWithCoder:(NSCoder *)decoder NSNumber * vendorID = [decoder decodeObjectOfClass:[NSNumber class] forKey:MTRSetupPayloadCodingKeyVendorID]; NSNumber * productID = [decoder decodeObjectOfClass:[NSNumber class] forKey:MTRSetupPayloadCodingKeyProductID]; NSInteger commissioningFlow = [decoder decodeIntegerForKey:MTRSetupPayloadCodingKeyCommissioningFlow]; - NSInteger discoveryCapabilities = [decoder decodeIntegerForKey:MTRSetupPayloadCodingKeyDiscoveryCapabilities]; + MTRDiscoveryCapabilities discoveryCapabilities = + [MTRSetupPayload _unboxDiscoveryCapabilities:[decoder decodeObjectOfClass:[NSNumber class] + forKey:MTRSetupPayloadCodingKeyDiscoveryCapabilities]]; NSInteger hasShortDiscriminator = [decoder decodeIntegerForKey:MTRSetupPayloadCodingKeyHasShortDiscriminator]; NSNumber * discriminator = [decoder decodeObjectOfClass:[NSNumber class] forKey:MTRSetupPayloadCodingKeyDiscriminator]; NSNumber * setupPasscode = [decoder decodeObjectOfClass:[NSNumber class] forKey:MTRSetupPayloadCodingKeySetupPasscode]; @@ -297,7 +286,7 @@ - (nullable instancetype)initWithCoder:(NSCoder *)decoder payload.vendorID = vendorID; payload.productID = productID; payload.commissioningFlow = static_cast(commissioningFlow); - payload.discoveryCapabilities = static_cast(discoveryCapabilities); + payload.discoveryCapabilities = discoveryCapabilities; payload.hasShortDiscriminator = static_cast(hasShortDiscriminator); payload.discriminator = discriminator; payload.setupPasscode = setupPasscode; @@ -349,7 +338,7 @@ - (NSString * _Nullable)qrCodeString:(NSError * __autoreleasing *)error return nil; } - if (self.rendezvousInformation == nil) { + if (self.discoveryCapabilities == MTRDiscoveryCapabilitiesUnknown) { // Can't create a QR code if we don't know the discovery capabilities. if (error != nil) { *error = [MTRError errorForCHIPErrorCode:CHIP_ERROR_INCORRECT_STATE]; @@ -363,7 +352,7 @@ - (NSString * _Nullable)qrCodeString:(NSError * __autoreleasing *)error payload.vendorID = [self.vendorID unsignedShortValue]; payload.productID = [self.productID unsignedShortValue]; payload.commissioningFlow = [MTRSetupPayload unconvertCommissioningFlow:self.commissioningFlow]; - payload.rendezvousInformation = [MTRSetupPayload unconvertRendezvousFlags:self.rendezvousInformation]; + payload.rendezvousInformation = [MTRSetupPayload convertDiscoveryCapabilities:self.discoveryCapabilities]; payload.discriminator.SetLongValue([self.discriminator unsignedShortValue]); payload.setUpPINCode = [self.setUpPINCode unsignedIntValue]; @@ -380,26 +369,57 @@ - (NSString * _Nullable)qrCodeString:(NSError * __autoreleasing *)error return [NSString stringWithUTF8String:outDecimalString.c_str()]; } ++ (nullable NSNumber *)_boxDiscoveryCapabilities:(MTRDiscoveryCapabilities)discoveryCapabilities +{ + if (discoveryCapabilities == MTRDiscoveryCapabilitiesUnknown) { + return nil; + } + + return @(discoveryCapabilities); +} + ++ (MTRDiscoveryCapabilities)_unboxDiscoveryCapabilities:(nullable NSNumber *)boxedDiscoveryCapabilities +{ + if (boxedDiscoveryCapabilities == nil) { + return MTRDiscoveryCapabilitiesUnknown; + } + + NSUInteger value = [boxedDiscoveryCapabilities unsignedIntegerValue]; + if (value == MTRDiscoveryCapabilitiesUnknown) { + // The discovery capabilities were actually known + // (rendezvousInformation is not nil), and must support on-network. + return MTRDiscoveryCapabilitiesOnNetwork; + } + + return static_cast(value); +} + +@end + +@implementation MTROptionalQRCodeInfo (Deprecated) + +- (NSNumber *)infoType +{ + return @(self.type); +} + +- (void)setInfoType:(NSNumber *)infoType +{ + self.type = static_cast([infoType unsignedIntegerValue]); +} + @end @implementation MTRSetupPayload (Deprecated) - (nullable NSNumber *)rendezvousInformation { - if (self.discoveryCapabilities == MTRDiscoveryCapabilitiesUnknown) { - return nil; - } - - return @(self.discoveryCapabilities); + return [MTRSetupPayload _boxDiscoveryCapabilities:self.discoveryCapabilities]; } - (void)setRendezvousInformation:(nullable NSNumber *)rendezvousInformation { - if (rendezvousInformation == nil) { - self.discoveryCapabilities = MTRDiscoveryCapabilitiesUnknown; - } else { - self.discoveryCapabilities = [rendezvousInformation unsignedIntValue]; - } + self.discoveryCapabilities = [MTRSetupPayload _unboxDiscoveryCapabilities:rendezvousInformation]; } - (NSNumber *)setUpPINCode diff --git a/src/darwin/Framework/CHIP/templates/MTRBaseClusters.zapt b/src/darwin/Framework/CHIP/templates/MTRBaseClusters.zapt index ddb10b6c3feca7..94f8c001efda74 100644 --- a/src/darwin/Framework/CHIP/templates/MTRBaseClusters.zapt +++ b/src/darwin/Framework/CHIP/templates/MTRBaseClusters.zapt @@ -61,14 +61,6 @@ subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEs @end -@interface MTRBaseCluster{{asUpperCamelCase name}} (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - {{/chip_client_clusters}} {{#zcl_clusters}} @@ -102,4 +94,15 @@ API_AVAILABLE(ios(16.2), macos(13.1), watchos(9.2), tvos(16.2)) {{/zcl_bitmaps}} {{/zcl_clusters}} +{{#chip_client_clusters includeAll=true}} +@interface MTRBaseCluster{{asUpperCamelCase name}} (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +{{/chip_client_clusters}} + NS_ASSUME_NONNULL_END diff --git a/src/darwin/Framework/CHIP/templates/MTRClusters.zapt b/src/darwin/Framework/CHIP/templates/MTRClusters.zapt index ad575e342fad5a..050009b74f174d 100644 --- a/src/darwin/Framework/CHIP/templates/MTRClusters.zapt +++ b/src/darwin/Framework/CHIP/templates/MTRClusters.zapt @@ -47,6 +47,9 @@ NS_ASSUME_NONNULL_BEGIN @end +{{/chip_client_clusters}} + +{{#chip_client_clusters includeAll=true}} @interface MTRCluster{{asUpperCamelCase name}} (Deprecated) - (nullable instancetype)initWithDevice:(MTRDevice *)device diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h b/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h index 7b39048352c718..cd9170e7a370bf 100644 --- a/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h +++ b/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h @@ -174,14 +174,6 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface MTRBaseClusterIdentify (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster Groups * Attributes and commands for group configuration and manipulation. @@ -323,14 +315,6 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface MTRBaseClusterGroups (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster Scenes * Attributes and commands for scene configuration and manipulation. @@ -571,14 +555,6 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface MTRBaseClusterScenes (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster On/Off * Attributes and commands for switching devices between 'On' and 'Off' states. @@ -793,14 +769,6 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface MTRBaseClusterOnOff (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster On/off Switch Configuration * Attributes and commands for configuring On/Off switching devices. @@ -946,14 +914,6 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface MTRBaseClusterOnOffSwitchConfiguration (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster Level Control * Attributes and commands for controlling devices that can be set to a level between fully 'On' and fully 'Off.' @@ -1351,14 +1311,6 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface MTRBaseClusterLevelControl (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster Binary Input (Basic) * An interface for reading the value of a binary measurement and accessing various characteristics of that measurement. @@ -1645,14 +1597,6 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface MTRBaseClusterBinaryInputBasic (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster Descriptor * The Descriptor Cluster is meant to replace the support from the Zigbee Device Object (ZDO) for describing a node, its @@ -1824,14 +1768,6 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface MTRBaseClusterDescriptor (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster Binding * The Binding Cluster is meant to replace the support from the Zigbee Device Object (ZDO) for supporting the binding table. @@ -1958,14 +1894,6 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface MTRBaseClusterBinding (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster Access Control * The Access Control Cluster exposes a data model view of a @@ -2172,14 +2100,6 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface MTRBaseClusterAccessControl (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster Actions * This cluster provides a standardized way for a Node (typically a Bridge, but could be any Node) to expose action information. @@ -2356,14 +2276,6 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface MTRBaseClusterActions (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster Basic * This cluster provides attributes and events for determining basic information about Nodes, which supports both @@ -2835,14 +2747,6 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface MTRBaseClusterBasic (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster OTA Software Update Provider * Provides an interface for providing OTA software updates @@ -2958,14 +2862,6 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface MTRBaseClusterOtaSoftwareUpdateProvider (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster OTA Software Update Requestor * Provides an interface for downloading and applying OTA software updates @@ -3153,14 +3049,6 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface MTRBaseClusterOtaSoftwareUpdateRequestor (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster Localization Configuration * Nodes should be expected to be deployed to any and all regions of the world. These global regions @@ -3310,14 +3198,6 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface MTRBaseClusterLocalizationConfiguration (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster Time Format Localization * Nodes should be expected to be deployed to any and all regions of the world. These global regions @@ -3489,14 +3369,6 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface MTRBaseClusterTimeFormatLocalization (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster Unit Localization * Nodes should be expected to be deployed to any and all regions of the world. These global regions @@ -3628,14 +3500,6 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface MTRBaseClusterUnitLocalization (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster Power Source Configuration * This cluster is used to describe the configuration and capabilities of a Device's power system. @@ -3757,14 +3621,6 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface MTRBaseClusterPowerSourceConfiguration (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster Power Source * This cluster is used to describe the configuration and capabilities of a physical power source that provides power to the @@ -4432,14 +4288,6 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface MTRBaseClusterPowerSource (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster General Commissioning * This cluster is used to manage global aspects of the Commissioning flow. @@ -4657,14 +4505,6 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface MTRBaseClusterGeneralCommissioning (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster Network Commissioning * Functionality to configure, enable, disable network credentials and access on a Matter device. @@ -4937,14 +4777,6 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface MTRBaseClusterNetworkCommissioning (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster Diagnostic Logs * The cluster provides commands for retrieving unstructured diagnostic logs from a Node that may be used to aid in diagnostics. @@ -5055,14 +4887,6 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface MTRBaseClusterDiagnosticLogs (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster General Diagnostics * The General Diagnostics Cluster, along with other diagnostics clusters, provide a means to acquire standardized diagnostics @@ -5334,14 +5158,6 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface MTRBaseClusterGeneralDiagnostics (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster Software Diagnostics * The Software Diagnostics Cluster provides a means to acquire standardized diagnostics metrics that MAY be used by a Node to @@ -5526,14 +5342,6 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface MTRBaseClusterSoftwareDiagnostics (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster Thread Network Diagnostics * The Thread Network Diagnostics Cluster provides a means to acquire standardized diagnostics metrics that MAY be used by a Node @@ -6786,14 +6594,6 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface MTRBaseClusterThreadNetworkDiagnostics (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster WiFi Network Diagnostics * The Wi-Fi Network Diagnostics Cluster provides a means to acquire standardized diagnostics metrics that MAY be used by a Node @@ -7136,14 +6936,6 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface MTRBaseClusterWiFiNetworkDiagnostics (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster Ethernet Network Diagnostics * The Ethernet Network Diagnostics Cluster provides a means to acquire standardized diagnostics metrics that MAY be used by a @@ -7413,14 +7205,6 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface MTRBaseClusterEthernetNetworkDiagnostics (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster Bridged Device Basic * This Cluster serves two purposes towards a Node communicating with a Bridge: indicate that the functionality on @@ -7794,14 +7578,6 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface MTRBaseClusterBridgedDeviceBasic (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster Switch * This cluster exposes interactions with a switch device, for the purpose of using those interactions by other devices. @@ -7967,14 +7743,6 @@ light or a window shade. @end -@interface MTRBaseClusterSwitch (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster AdministratorCommissioning * Commands to trigger a Node to allow a new Administrator to commission it. @@ -8143,14 +7911,6 @@ light or a window shade. @end -@interface MTRBaseClusterAdministratorCommissioning (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster Operational Credentials * This cluster is used to add or remove Operational Credentials on a Commissionee or Node, as well as manage the associated @@ -8388,14 +8148,6 @@ light or a window shade. @end -@interface MTRBaseClusterOperationalCredentials (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster Group Key Management * The Group Key Management Cluster is the mechanism by which group keys are managed. @@ -8587,14 +8339,6 @@ light or a window shade. @end -@interface MTRBaseClusterGroupKeyManagement (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster Fixed Label * The Fixed Label Cluster provides a feature for the device to tag an endpoint with zero or more read only @@ -8718,14 +8462,6 @@ labels. @end -@interface MTRBaseClusterFixedLabel (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster User Label * The User Label Cluster provides a feature to tag an endpoint with zero or more labels. @@ -8852,14 +8588,6 @@ labels. @end -@interface MTRBaseClusterUserLabel (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster Boolean State * This cluster provides an interface to a boolean state called StateValue. @@ -8983,14 +8711,6 @@ labels. @end -@interface MTRBaseClusterBooleanState (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster Mode Select * Attributes and commands for selecting a mode from a list of supported options. @@ -9210,14 +8930,6 @@ labels. @end -@interface MTRBaseClusterModeSelect (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster Door Lock * An interface to a generic way to secure a door @@ -10102,14 +9814,6 @@ labels. @end -@interface MTRBaseClusterDoorLock (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster Window Covering * Provides an interface for controlling and adjusting automatic window coverings. @@ -10644,14 +10348,6 @@ labels. @end -@interface MTRBaseClusterWindowCovering (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster Barrier Control * This cluster provides control of a barrier (garage door). @@ -10974,14 +10670,6 @@ labels. @end -@interface MTRBaseClusterBarrierControl (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster Pump Configuration and Control * An interface for configuring and controlling pumps. @@ -11509,14 +11197,6 @@ labels. @end -@interface MTRBaseClusterPumpConfigurationAndControl (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster Thermostat * An interface for configuring and controlling the functionality of a thermostat. @@ -12657,14 +12337,6 @@ labels. @end -@interface MTRBaseClusterThermostat (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster Fan Control * An interface for controlling a fan in a heating/cooling system. @@ -12985,14 +12657,6 @@ labels. @end -@interface MTRBaseClusterFanControl (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster Thermostat User Interface Configuration * An interface for configuring the user interface of a thermostat (which may be remote from the thermostat). @@ -13169,14 +12833,6 @@ labels. @end -@interface MTRBaseClusterThermostatUserInterfaceConfiguration (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster Color Control * Attributes and commands for controlling the color properties of a color-capable light. @@ -14284,14 +13940,6 @@ labels. @end -@interface MTRBaseClusterColorControl (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster Ballast Configuration * Attributes and commands for configuring a lighting ballast. @@ -14690,14 +14338,6 @@ labels. @end -@interface MTRBaseClusterBallastConfiguration (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster Illuminance Measurement * Attributes and commands for configuring the measurement of illuminance, and reporting illuminance measurements. @@ -14892,14 +14532,6 @@ labels. @end -@interface MTRBaseClusterIlluminanceMeasurement (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster Temperature Measurement * Attributes and commands for configuring the measurement of temperature, and reporting temperature measurements. @@ -15076,14 +14708,6 @@ labels. @end -@interface MTRBaseClusterTemperatureMeasurement (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster Pressure Measurement * Attributes and commands for configuring the measurement of pressure, and reporting pressure measurements. @@ -15346,14 +14970,6 @@ labels. @end -@interface MTRBaseClusterPressureMeasurement (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster Flow Measurement * Attributes and commands for configuring the measurement of flow, and reporting flow measurements. @@ -15530,14 +15146,6 @@ labels. @end -@interface MTRBaseClusterFlowMeasurement (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster Relative Humidity Measurement * Attributes and commands for configuring the measurement of relative humidity, and reporting relative humidity measurements. @@ -15714,14 +15322,6 @@ labels. @end -@interface MTRBaseClusterRelativeHumidityMeasurement (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster Occupancy Sensing * Attributes and commands for configuring occupancy sensing, and reporting occupancy status. @@ -16102,14 +15702,6 @@ labels. @end -@interface MTRBaseClusterOccupancySensing (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster Wake on LAN * This cluster provides an interface for managing low power mode on a device that supports the Wake On LAN protocol. @@ -16233,14 +15825,6 @@ labels. @end -@interface MTRBaseClusterWakeOnLan (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster Channel * This cluster provides an interface for controlling the current Channel on a device. @@ -16407,14 +15991,6 @@ labels. @end -@interface MTRBaseClusterChannel (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster Target Navigator * This cluster provides an interface for UX navigation within a set of targets on a device or endpoint. @@ -16559,14 +16135,6 @@ labels. @end -@interface MTRBaseClusterTargetNavigator (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster Media Playback * This cluster provides an interface for controlling Media Playback (PLAY, PAUSE, etc) on a media device such as a TV or @@ -16846,14 +16414,6 @@ labels. @end -@interface MTRBaseClusterMediaPlayback (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster Media Input * This cluster provides an interface for controlling the Input Selector on a media device such as a TV. @@ -17003,14 +16563,6 @@ labels. @end -@interface MTRBaseClusterMediaInput (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster Low Power * This cluster provides an interface for managing low power mode on a device. @@ -17120,14 +16672,6 @@ labels. @end -@interface MTRBaseClusterLowPower (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster Keypad Input * This cluster provides an interface for controlling a device like a TV using action commands such as UP, DOWN, and SELECT. @@ -17238,14 +16782,6 @@ labels. @end -@interface MTRBaseClusterKeypadInput (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster Content Launcher * This cluster provides an interface for launching content on a media player device such as a TV or Speaker. @@ -17400,14 +16936,6 @@ labels. @end -@interface MTRBaseClusterContentLauncher (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster Audio Output * This cluster provides an interface for controlling the Output on a media device such as a TV. @@ -17553,14 +17081,6 @@ labels. @end -@interface MTRBaseClusterAudioOutput (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster Application Launcher * This cluster provides an interface for launching content on a media player device such as a TV or Speaker. @@ -17717,14 +17237,6 @@ labels. @end -@interface MTRBaseClusterApplicationLauncher (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster Application Basic * This cluster provides information about an application running on a TV or media player device which is represented as an @@ -17970,14 +17482,6 @@ labels. @end -@interface MTRBaseClusterApplicationBasic (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster Account Login * This cluster provides commands that facilitate user account login on a Content App or a node. For example, a Content App @@ -18094,14 +17598,6 @@ labels. @end -@interface MTRBaseClusterAccountLogin (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster Electrical Measurement * Attributes related to the electrical properties of a device. This cluster is used by power outlets and other devices that need @@ -20616,14 +20112,6 @@ labels. @end -@interface MTRBaseClusterElectricalMeasurement (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - /** * Cluster Test Cluster * The Test Cluster is meant to validate the generated code @@ -22561,14 +22049,6 @@ labels. @end -@interface MTRBaseClusterTestCluster (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); - -@end - typedef NS_ENUM(uint8_t, MTRIdentifyEffectIdentifier) { MTRIdentifyEffectIdentifierBlink = 0x00, MTRIdentifyEffectIdentifierBreathe = 0x01, @@ -24017,4 +23497,524 @@ typedef NS_ENUM(uint8_t, MTRFaultInjectionFaultType) { MTRFaultInjectionFaultTypeCertFault = 0x04, }; +@interface MTRBaseClusterIdentify (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterGroups (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterScenes (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterOnOff (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterOnOffSwitchConfiguration (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterLevelControl (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterBinaryInputBasic (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterDescriptor (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterBinding (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterAccessControl (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterActions (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterBasic (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterOtaSoftwareUpdateProvider (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterOtaSoftwareUpdateRequestor (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterLocalizationConfiguration (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterTimeFormatLocalization (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterUnitLocalization (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterPowerSourceConfiguration (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterPowerSource (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterGeneralCommissioning (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterNetworkCommissioning (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterDiagnosticLogs (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterGeneralDiagnostics (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterSoftwareDiagnostics (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterThreadNetworkDiagnostics (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterWiFiNetworkDiagnostics (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterEthernetNetworkDiagnostics (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterBridgedDeviceBasic (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterSwitch (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterAdministratorCommissioning (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterOperationalCredentials (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterGroupKeyManagement (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterFixedLabel (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterUserLabel (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterBooleanState (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterModeSelect (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterDoorLock (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterWindowCovering (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterBarrierControl (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterPumpConfigurationAndControl (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterThermostat (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterFanControl (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterThermostatUserInterfaceConfiguration (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterColorControl (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterBallastConfiguration (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterIlluminanceMeasurement (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterTemperatureMeasurement (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterPressureMeasurement (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterFlowMeasurement (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterRelativeHumidityMeasurement (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterOccupancySensing (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterWakeOnLan (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterChannel (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterTargetNavigator (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterMediaPlayback (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterMediaInput (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterLowPower (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterKeypadInput (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterContentLauncher (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterAudioOutput (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterApplicationLauncher (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterApplicationBasic (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterAccountLogin (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterElectricalMeasurement (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + +@interface MTRBaseClusterTestCluster (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + NS_ASSUME_NONNULL_END diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRClusters.h b/src/darwin/Framework/CHIP/zap-generated/MTRClusters.h index 184ddb0ab6ab4a..a9c79f890e8ca5 100644 --- a/src/darwin/Framework/CHIP/zap-generated/MTRClusters.h +++ b/src/darwin/Framework/CHIP/zap-generated/MTRClusters.h @@ -69,14 +69,6 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface MTRClusterIdentify (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster Groups * Attributes and commands for group configuration and manipulation. @@ -136,14 +128,6 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface MTRClusterGroups (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster Scenes * Attributes and commands for scene configuration and manipulation. @@ -231,14 +215,6 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface MTRClusterScenes (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster On/Off * Attributes and commands for switching devices between 'On' and 'Off' states. @@ -326,14 +302,6 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface MTRClusterOnOff (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster On/off Switch Configuration * Attributes and commands for configuring On/Off switching devices. @@ -368,14 +336,6 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface MTRClusterOnOffSwitchConfiguration (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster Level Control * Attributes and commands for controlling devices that can be set to a level between fully 'On' and fully 'Off.' @@ -501,14 +461,6 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface MTRClusterLevelControl (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster Binary Input (Basic) * An interface for reading the value of a binary measurement and accessing various characteristics of that measurement. @@ -582,14 +534,6 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface MTRClusterBinaryInputBasic (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster Descriptor * The Descriptor Cluster is meant to replace the support from the Zigbee Device Object (ZDO) for describing a node, its @@ -624,14 +568,6 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface MTRClusterDescriptor (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster Binding * The Binding Cluster is meant to replace the support from the Zigbee Device Object (ZDO) for supporting the binding table. @@ -664,14 +600,6 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface MTRClusterBinding (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster Access Control * The Access Control Cluster exposes a data model view of a @@ -720,14 +648,6 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface MTRClusterAccessControl (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster Actions * This cluster provides a standardized way for a Node (typically a Bridge, but could be any Node) to expose action information. @@ -808,14 +728,6 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface MTRClusterActions (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster Basic * This cluster provides attributes and events for determining basic information about Nodes, which supports both @@ -906,14 +818,6 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface MTRClusterBasic (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster OTA Software Update Provider * Provides an interface for providing OTA software updates @@ -954,14 +858,6 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface MTRClusterOtaSoftwareUpdateProvider (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster OTA Software Update Requestor * Provides an interface for downloading and applying OTA software updates @@ -1005,14 +901,6 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface MTRClusterOtaSoftwareUpdateRequestor (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster Localization Configuration * Nodes should be expected to be deployed to any and all regions of the world. These global regions @@ -1050,14 +938,6 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface MTRClusterLocalizationConfiguration (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster Time Format Localization * Nodes should be expected to be deployed to any and all regions of the world. These global regions @@ -1102,14 +982,6 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface MTRClusterTimeFormatLocalization (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster Unit Localization * Nodes should be expected to be deployed to any and all regions of the world. These global regions @@ -1145,14 +1017,6 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface MTRClusterUnitLocalization (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster Power Source Configuration * This cluster is used to describe the configuration and capabilities of a Device's power system. @@ -1180,14 +1044,6 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface MTRClusterPowerSourceConfiguration (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster Power Source * This cluster is used to describe the configuration and capabilities of a physical power source that provides power to the @@ -1276,14 +1132,6 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface MTRClusterPowerSource (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster General Commissioning * This cluster is used to manage global aspects of the Commissioning flow. @@ -1346,14 +1194,6 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface MTRClusterGeneralCommissioning (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster Network Commissioning * Functionality to configure, enable, disable network credentials and access on a Matter device. @@ -1431,14 +1271,6 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface MTRClusterNetworkCommissioning (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster Diagnostic Logs * The cluster provides commands for retrieving unstructured diagnostic logs from a Node that may be used to aid in diagnostics. @@ -1470,14 +1302,6 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface MTRClusterDiagnosticLogs (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster General Diagnostics * The General Diagnostics Cluster, along with other diagnostics clusters, provide a means to acquire standardized diagnostics @@ -1527,14 +1351,6 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface MTRClusterGeneralDiagnostics (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster Software Diagnostics * The Software Diagnostics Cluster provides a means to acquire standardized diagnostics metrics that MAY be used by a Node to @@ -1577,14 +1393,6 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface MTRClusterSoftwareDiagnostics (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster Thread Network Diagnostics * The Thread Network Diagnostics Cluster provides a means to acquire standardized diagnostics metrics that MAY be used by a Node @@ -1745,14 +1553,6 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface MTRClusterThreadNetworkDiagnostics (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster WiFi Network Diagnostics * The Wi-Fi Network Diagnostics Cluster provides a means to acquire standardized diagnostics metrics that MAY be used by a Node @@ -1813,14 +1613,6 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface MTRClusterWiFiNetworkDiagnostics (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster Ethernet Network Diagnostics * The Ethernet Network Diagnostics Cluster provides a means to acquire standardized diagnostics metrics that MAY be used by a @@ -1873,14 +1665,6 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface MTRClusterEthernetNetworkDiagnostics (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster Bridged Device Basic * This Cluster serves two purposes towards a Node communicating with a Bridge: indicate that the functionality on @@ -1944,14 +1728,6 @@ NS_ASSUME_NONNULL_BEGIN @end -@interface MTRClusterBridgedDeviceBasic (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster Switch * This cluster exposes interactions with a switch device, for the purpose of using those interactions by other devices. @@ -1988,14 +1764,6 @@ light or a window shade. @end -@interface MTRClusterSwitch (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster AdministratorCommissioning * Commands to trigger a Node to allow a new Administrator to commission it. @@ -2043,14 +1811,6 @@ light or a window shade. @end -@interface MTRClusterAdministratorCommissioning (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster Operational Credentials * This cluster is used to add or remove Operational Credentials on a Commissionee or Node, as well as manage the associated @@ -2129,14 +1889,6 @@ light or a window shade. @end -@interface MTRClusterOperationalCredentials (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster Group Key Management * The Group Key Management Cluster is the mechanism by which group keys are managed. @@ -2194,14 +1946,6 @@ light or a window shade. @end -@interface MTRClusterGroupKeyManagement (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster Fixed Label * The Fixed Label Cluster provides a feature for the device to tag an endpoint with zero or more read only @@ -2230,14 +1974,6 @@ labels. @end -@interface MTRClusterFixedLabel (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster User Label * The User Label Cluster provides a feature to tag an endpoint with zero or more labels. @@ -2270,14 +2006,6 @@ labels. @end -@interface MTRClusterUserLabel (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster Boolean State * This cluster provides an interface to a boolean state called StateValue. @@ -2305,14 +2033,6 @@ labels. @end -@interface MTRClusterBooleanState (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster Mode Select * Attributes and commands for selecting a mode from a list of supported options. @@ -2365,14 +2085,6 @@ labels. @end -@interface MTRClusterModeSelect (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster Door Lock * An interface to a generic way to secure a door @@ -2639,14 +2351,6 @@ labels. @end -@interface MTRClusterDoorLock (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster Window Covering * Provides an interface for controlling and adjusting automatic window coverings. @@ -2759,14 +2463,6 @@ labels. @end -@interface MTRClusterWindowCovering (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster Barrier Control * This cluster provides control of a barrier (garage door). @@ -2854,14 +2550,6 @@ labels. @end -@interface MTRClusterBarrierControl (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster Pump Configuration and Control * An interface for configuring and controlling pumps. @@ -2953,14 +2641,6 @@ labels. @end -@interface MTRClusterPumpConfigurationAndControl (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster Thermostat * An interface for configuring and controlling the functionality of a thermostat. @@ -3240,14 +2920,6 @@ labels. @end -@interface MTRClusterThermostat (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster Fan Control * An interface for controlling a fan in a heating/cooling system. @@ -3325,14 +2997,6 @@ labels. @end -@interface MTRClusterFanControl (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster Thermostat User Interface Configuration * An interface for configuring the user interface of a thermostat (which may be remote from the thermostat). @@ -3379,14 +3043,6 @@ labels. @end -@interface MTRClusterThermostatUserInterfaceConfiguration (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster Color Control * Attributes and commands for controlling the color properties of a color-capable light. @@ -3658,14 +3314,6 @@ labels. @end -@interface MTRClusterColorControl (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster Ballast Configuration * Attributes and commands for configuring a lighting ballast. @@ -3769,14 +3417,6 @@ labels. @end -@interface MTRClusterBallastConfiguration (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster Illuminance Measurement * Attributes and commands for configuring the measurement of illuminance, and reporting illuminance measurements. @@ -3812,14 +3452,6 @@ labels. @end -@interface MTRClusterIlluminanceMeasurement (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster Temperature Measurement * Attributes and commands for configuring the measurement of temperature, and reporting temperature measurements. @@ -3853,14 +3485,6 @@ labels. @end -@interface MTRClusterTemperatureMeasurement (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster Pressure Measurement * Attributes and commands for configuring the measurement of pressure, and reporting pressure measurements. @@ -3904,14 +3528,6 @@ labels. @end -@interface MTRClusterPressureMeasurement (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster Flow Measurement * Attributes and commands for configuring the measurement of flow, and reporting flow measurements. @@ -3945,14 +3561,6 @@ labels. @end -@interface MTRClusterFlowMeasurement (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster Relative Humidity Measurement * Attributes and commands for configuring the measurement of relative humidity, and reporting relative humidity measurements. @@ -3986,14 +3594,6 @@ labels. @end -@interface MTRClusterRelativeHumidityMeasurement (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster Occupancy Sensing * Attributes and commands for configuring occupancy sensing, and reporting occupancy status. @@ -4089,14 +3689,6 @@ labels. @end -@interface MTRClusterOccupancySensing (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster Wake on LAN * This cluster provides an interface for managing low power mode on a device that supports the Wake On LAN protocol. @@ -4124,14 +3716,6 @@ labels. @end -@interface MTRClusterWakeOnLan (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster Channel * This cluster provides an interface for controlling the current Channel on a device. @@ -4177,14 +3761,6 @@ labels. @end -@interface MTRClusterChannel (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster Target Navigator * This cluster provides an interface for UX navigation within a set of targets on a device or endpoint. @@ -4220,14 +3796,6 @@ labels. @end -@interface MTRClusterTargetNavigator (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster Media Playback * This cluster provides an interface for controlling Media Playback (PLAY, PAUSE, etc) on a media device such as a TV or @@ -4356,14 +3924,6 @@ labels. @end -@interface MTRClusterMediaPlayback (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster Media Input * This cluster provides an interface for controlling the Input Selector on a media device such as a TV. @@ -4416,14 +3976,6 @@ labels. @end -@interface MTRClusterMediaInput (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster Low Power * This cluster provides an interface for managing low power mode on a device. @@ -4457,14 +4009,6 @@ labels. @end -@interface MTRClusterLowPower (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster Keypad Input * This cluster provides an interface for controlling a device like a TV using action commands such as UP, DOWN, and SELECT. @@ -4496,14 +4040,6 @@ labels. @end -@interface MTRClusterKeypadInput (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster Content Launcher * This cluster provides an interface for launching content on a media player device such as a TV or Speaker. @@ -4549,14 +4085,6 @@ labels. @end -@interface MTRClusterContentLauncher (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster Audio Output * This cluster provides an interface for controlling the Output on a media device such as a TV. @@ -4595,14 +4123,6 @@ labels. @end -@interface MTRClusterAudioOutput (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster Application Launcher * This cluster provides an interface for launching content on a media player device such as a TV or Speaker. @@ -4653,14 +4173,6 @@ labels. @end -@interface MTRClusterApplicationLauncher (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster Application Basic * This cluster provides information about an application running on a TV or media player device which is represented as an @@ -4703,14 +4215,6 @@ labels. @end -@interface MTRClusterApplicationBasic (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster Account Login * This cluster provides commands that facilitate user account login on a Content App or a node. For example, a Content App @@ -4755,14 +4259,6 @@ labels. @end -@interface MTRClusterAccountLogin (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster Electrical Measurement * Attributes related to the electrical properties of a device. This cluster is used by power outlets and other devices that need @@ -5097,14 +4593,6 @@ labels. @end -@interface MTRClusterElectricalMeasurement (Deprecated) - -- (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); - -@end - /** * Cluster Test Cluster * The Test Cluster is meant to validate the generated code @@ -5839,6 +5327,518 @@ labels. @end +@interface MTRClusterIdentify (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterGroups (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterScenes (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterOnOff (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterOnOffSwitchConfiguration (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterLevelControl (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterBinaryInputBasic (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterDescriptor (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterBinding (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterAccessControl (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterActions (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterBasic (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterOtaSoftwareUpdateProvider (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterOtaSoftwareUpdateRequestor (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterLocalizationConfiguration (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterTimeFormatLocalization (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterUnitLocalization (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterPowerSourceConfiguration (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterPowerSource (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterGeneralCommissioning (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterNetworkCommissioning (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterDiagnosticLogs (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterGeneralDiagnostics (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterSoftwareDiagnostics (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterThreadNetworkDiagnostics (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterWiFiNetworkDiagnostics (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterEthernetNetworkDiagnostics (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterBridgedDeviceBasic (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterSwitch (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterAdministratorCommissioning (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterOperationalCredentials (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterGroupKeyManagement (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterFixedLabel (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterUserLabel (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterBooleanState (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterModeSelect (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterDoorLock (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterWindowCovering (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterBarrierControl (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterPumpConfigurationAndControl (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterThermostat (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterFanControl (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterThermostatUserInterfaceConfiguration (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterColorControl (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterBallastConfiguration (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterIlluminanceMeasurement (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterTemperatureMeasurement (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterPressureMeasurement (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterFlowMeasurement (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterRelativeHumidityMeasurement (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterOccupancySensing (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterWakeOnLan (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterChannel (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterTargetNavigator (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterMediaPlayback (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterMediaInput (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterLowPower (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterKeypadInput (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterContentLauncher (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterAudioOutput (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterApplicationLauncher (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterApplicationBasic (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterAccountLogin (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + +@interface MTRClusterElectricalMeasurement (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + @interface MTRClusterTestCluster (Deprecated) - (nullable instancetype)initWithDevice:(MTRDevice *)device