From 07ed811922564dc1a592433c4f60da06bdd823d3 Mon Sep 17 00:00:00 2001 From: Vivien Nicolas Date: Thu, 15 Sep 2022 17:56:06 +0200 Subject: [PATCH] Update generated code --- .../CHIP/zap-generated/MTRClusterConstants.h | 3101 +++++---- .../CHIP/zap-generated/MTRClusters.mm | 6086 +++++++++-------- 2 files changed, 4718 insertions(+), 4469 deletions(-) diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRClusterConstants.h b/src/darwin/Framework/CHIP/zap-generated/MTRClusterConstants.h index c28f1b195ffaa6..8f2f8731aa589c 100644 --- a/src/darwin/Framework/CHIP/zap-generated/MTRClusterConstants.h +++ b/src/darwin/Framework/CHIP/zap-generated/MTRClusterConstants.h @@ -21,1775 +21,1862 @@ #pragma mark - Clusters IDs typedef NS_ENUM(uint32_t, MTRClusterIDType) { - MTRClusterIdentifyID = 0x00000003, - MTRClusterGroupsID = 0x00000004, - MTRClusterScenesID = 0x00000005, - MTRClusterOnOffID = 0x00000006, - MTRClusterOnOffSwitchConfigurationID = 0x00000007, - MTRClusterLevelControlID = 0x00000008, - MTRClusterBinaryInputBasicID = 0x0000000F, - MTRClusterPulseWidthModulationID = 0x0000001C, - MTRClusterDescriptorID = 0x0000001D, - MTRClusterBindingID = 0x0000001E, - MTRClusterAccessControlID = 0x0000001F, - MTRClusterActionsID = 0x00000025, - MTRClusterBasicID = 0x00000028, - MTRClusterOtaSoftwareUpdateProviderID = 0x00000029, - MTRClusterOtaSoftwareUpdateRequestorID = 0x0000002A, - MTRClusterLocalizationConfigurationID = 0x0000002B, - MTRClusterTimeFormatLocalizationID = 0x0000002C, - MTRClusterUnitLocalizationID = 0x0000002D, - MTRClusterPowerSourceConfigurationID = 0x0000002E, - MTRClusterPowerSourceID = 0x0000002F, - MTRClusterGeneralCommissioningID = 0x00000030, - MTRClusterNetworkCommissioningID = 0x00000031, - MTRClusterDiagnosticLogsID = 0x00000032, - MTRClusterGeneralDiagnosticsID = 0x00000033, - MTRClusterSoftwareDiagnosticsID = 0x00000034, - MTRClusterThreadNetworkDiagnosticsID = 0x00000035, - MTRClusterWiFiNetworkDiagnosticsID = 0x00000036, - MTRClusterEthernetNetworkDiagnosticsID = 0x00000037, - MTRClusterTimeSynchronizationID = 0x00000038, - MTRClusterBridgedDeviceBasicID = 0x00000039, - MTRClusterSwitchID = 0x0000003B, - MTRClusterAdministratorCommissioningID = 0x0000003C, - MTRClusterOperationalCredentialsID = 0x0000003E, - MTRClusterGroupKeyManagementID = 0x0000003F, - MTRClusterFixedLabelID = 0x00000040, - MTRClusterUserLabelID = 0x00000041, - MTRClusterProxyConfigurationID = 0x00000042, - MTRClusterProxyDiscoveryID = 0x00000043, - MTRClusterProxyValidID = 0x00000044, - MTRClusterBooleanStateID = 0x00000045, - MTRClusterModeSelectID = 0x00000050, - MTRClusterDoorLockID = 0x00000101, - MTRClusterWindowCoveringID = 0x00000102, - MTRClusterBarrierControlID = 0x00000103, - MTRClusterPumpConfigurationAndControlID = 0x00000200, - MTRClusterThermostatID = 0x00000201, - MTRClusterFanControlID = 0x00000202, - MTRClusterThermostatUserInterfaceConfigurationID = 0x00000204, - MTRClusterColorControlID = 0x00000300, - MTRClusterBallastConfigurationID = 0x00000301, - MTRClusterIlluminanceMeasurementID = 0x00000400, - MTRClusterTemperatureMeasurementID = 0x00000402, - MTRClusterPressureMeasurementID = 0x00000403, - MTRClusterFlowMeasurementID = 0x00000404, - MTRClusterRelativeHumidityMeasurementID = 0x00000405, - MTRClusterOccupancySensingID = 0x00000406, - MTRClusterWakeOnLanID = 0x00000503, - MTRClusterChannelID = 0x00000504, - MTRClusterTargetNavigatorID = 0x00000505, - MTRClusterMediaPlaybackID = 0x00000506, - MTRClusterMediaInputID = 0x00000507, - MTRClusterLowPowerID = 0x00000508, - MTRClusterKeypadInputID = 0x00000509, - MTRClusterContentLauncherID = 0x0000050A, - MTRClusterAudioOutputID = 0x0000050B, - MTRClusterApplicationLauncherID = 0x0000050C, - MTRClusterApplicationBasicID = 0x0000050D, - MTRClusterAccountLoginID = 0x0000050E, - MTRClusterElectricalMeasurementID = 0x00000B04, - MTRClusterTestClusterID = 0xFFF1FC05, - MTRClusterFaultInjectionID = 0xFFF1FC06, + MTRClusterIDTypeIdentifyID = 0x00000003, + MTRClusterIDTypeGroupsID = 0x00000004, + MTRClusterIDTypeScenesID = 0x00000005, + MTRClusterIDTypeOnOffID = 0x00000006, + MTRClusterIDTypeOnOffSwitchConfigurationID = 0x00000007, + MTRClusterIDTypeLevelControlID = 0x00000008, + MTRClusterIDTypeBinaryInputBasicID = 0x0000000F, + MTRClusterIDTypePulseWidthModulationID = 0x0000001C, + MTRClusterIDTypeDescriptorID = 0x0000001D, + MTRClusterIDTypeBindingID = 0x0000001E, + MTRClusterIDTypeAccessControlID = 0x0000001F, + MTRClusterIDTypeActionsID = 0x00000025, + MTRClusterIDTypeBasicID = 0x00000028, + MTRClusterIDTypeOtaSoftwareUpdateProviderID = 0x00000029, + MTRClusterIDTypeOtaSoftwareUpdateRequestorID = 0x0000002A, + MTRClusterIDTypeLocalizationConfigurationID = 0x0000002B, + MTRClusterIDTypeTimeFormatLocalizationID = 0x0000002C, + MTRClusterIDTypeUnitLocalizationID = 0x0000002D, + MTRClusterIDTypePowerSourceConfigurationID = 0x0000002E, + MTRClusterIDTypePowerSourceID = 0x0000002F, + MTRClusterIDTypeGeneralCommissioningID = 0x00000030, + MTRClusterIDTypeNetworkCommissioningID = 0x00000031, + MTRClusterIDTypeDiagnosticLogsID = 0x00000032, + MTRClusterIDTypeGeneralDiagnosticsID = 0x00000033, + MTRClusterIDTypeSoftwareDiagnosticsID = 0x00000034, + MTRClusterIDTypeThreadNetworkDiagnosticsID = 0x00000035, + MTRClusterIDTypeWiFiNetworkDiagnosticsID = 0x00000036, + MTRClusterIDTypeEthernetNetworkDiagnosticsID = 0x00000037, + MTRClusterIDTypeTimeSynchronizationID = 0x00000038, + MTRClusterIDTypeBridgedDeviceBasicID = 0x00000039, + MTRClusterIDTypeSwitchID = 0x0000003B, + MTRClusterIDTypeAdministratorCommissioningID = 0x0000003C, + MTRClusterIDTypeOperationalCredentialsID = 0x0000003E, + MTRClusterIDTypeGroupKeyManagementID = 0x0000003F, + MTRClusterIDTypeFixedLabelID = 0x00000040, + MTRClusterIDTypeUserLabelID = 0x00000041, + MTRClusterIDTypeProxyConfigurationID = 0x00000042, + MTRClusterIDTypeProxyDiscoveryID = 0x00000043, + MTRClusterIDTypeProxyValidID = 0x00000044, + MTRClusterIDTypeBooleanStateID = 0x00000045, + MTRClusterIDTypeModeSelectID = 0x00000050, + MTRClusterIDTypeDoorLockID = 0x00000101, + MTRClusterIDTypeWindowCoveringID = 0x00000102, + MTRClusterIDTypeBarrierControlID = 0x00000103, + MTRClusterIDTypePumpConfigurationAndControlID = 0x00000200, + MTRClusterIDTypeThermostatID = 0x00000201, + MTRClusterIDTypeFanControlID = 0x00000202, + MTRClusterIDTypeThermostatUserInterfaceConfigurationID = 0x00000204, + MTRClusterIDTypeColorControlID = 0x00000300, + MTRClusterIDTypeBallastConfigurationID = 0x00000301, + MTRClusterIDTypeIlluminanceMeasurementID = 0x00000400, + MTRClusterIDTypeTemperatureMeasurementID = 0x00000402, + MTRClusterIDTypePressureMeasurementID = 0x00000403, + MTRClusterIDTypeFlowMeasurementID = 0x00000404, + MTRClusterIDTypeRelativeHumidityMeasurementID = 0x00000405, + MTRClusterIDTypeOccupancySensingID = 0x00000406, + MTRClusterIDTypeWakeOnLanID = 0x00000503, + MTRClusterIDTypeChannelID = 0x00000504, + MTRClusterIDTypeTargetNavigatorID = 0x00000505, + MTRClusterIDTypeMediaPlaybackID = 0x00000506, + MTRClusterIDTypeMediaInputID = 0x00000507, + MTRClusterIDTypeLowPowerID = 0x00000508, + MTRClusterIDTypeKeypadInputID = 0x00000509, + MTRClusterIDTypeContentLauncherID = 0x0000050A, + MTRClusterIDTypeAudioOutputID = 0x0000050B, + MTRClusterIDTypeApplicationLauncherID = 0x0000050C, + MTRClusterIDTypeApplicationBasicID = 0x0000050D, + MTRClusterIDTypeAccountLoginID = 0x0000050E, + MTRClusterIDTypeElectricalMeasurementID = 0x00000B04, + MTRClusterIDTypeTestClusterID = 0xFFF1FC05, + MTRClusterIDTypeFaultInjectionID = 0xFFF1FC06, }; #pragma mark - Attributes IDs -typedef NS_ENUM(uint32_t, MTRClusterAttributeIDType) { +typedef NS_ENUM(uint32_t, MTRAttributeIDType) { // Global attributes - MTRClusterGlobalAttributeGeneratedCommandListID = 0x0000FFF8, - MTRClusterGlobalAttributeAcceptedCommandListID = 0x0000FFF9, - MTRClusterGlobalAttributeAttributeListID = 0x0000FFFB, - MTRClusterGlobalAttributeFeatureMapID = 0x0000FFFC, - MTRClusterGlobalAttributeClusterRevisionID = 0x0000FFFD, + MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID = 0x0000FFF8, + MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID = 0x0000FFF9, + MTRAttributeIDTypeGlobalAttributeAttributeListID = 0x0000FFFB, + MTRAttributeIDTypeGlobalAttributeFeatureMapID = 0x0000FFFC, + MTRAttributeIDTypeGlobalAttributeClusterRevisionID = 0x0000FFFD, // Cluster Identify attributes - MTRClusterIdentifyAttributeIdentifyTimeID = 0x00000000, - MTRClusterIdentifyAttributeIdentifyTypeID = 0x00000001, - MTRClusterIdentifyAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterIdentifyAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterIdentifyAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterIdentifyAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterIdentifyAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterIdentifyAttributeIdentifyTimeID = 0x00000000, + MTRAttributeIDTypeClusterIdentifyAttributeIdentifyTypeID = 0x00000001, + MTRAttributeIDTypeClusterIdentifyAttributeGeneratedCommandListID = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterIdentifyAttributeAcceptedCommandListID = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterIdentifyAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterIdentifyAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterIdentifyAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster Groups attributes - MTRClusterGroupsAttributeNameSupportID = 0x00000000, - MTRClusterGroupsAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterGroupsAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterGroupsAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterGroupsAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterGroupsAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterGroupsAttributeNameSupportID = 0x00000000, + MTRAttributeIDTypeClusterGroupsAttributeGeneratedCommandListID = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterGroupsAttributeAcceptedCommandListID = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterGroupsAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterGroupsAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterGroupsAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster Scenes attributes - MTRClusterScenesAttributeSceneCountID = 0x00000000, - MTRClusterScenesAttributeCurrentSceneID = 0x00000001, - MTRClusterScenesAttributeCurrentGroupID = 0x00000002, - MTRClusterScenesAttributeSceneValidID = 0x00000003, - MTRClusterScenesAttributeNameSupportID = 0x00000004, - MTRClusterScenesAttributeLastConfiguredByID = 0x00000005, - MTRClusterScenesAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterScenesAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterScenesAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterScenesAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterScenesAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterScenesAttributeSceneCountID = 0x00000000, + MTRAttributeIDTypeClusterScenesAttributeCurrentSceneID = 0x00000001, + MTRAttributeIDTypeClusterScenesAttributeCurrentGroupID = 0x00000002, + MTRAttributeIDTypeClusterScenesAttributeSceneValidID = 0x00000003, + MTRAttributeIDTypeClusterScenesAttributeNameSupportID = 0x00000004, + MTRAttributeIDTypeClusterScenesAttributeLastConfiguredByID = 0x00000005, + MTRAttributeIDTypeClusterScenesAttributeGeneratedCommandListID = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterScenesAttributeAcceptedCommandListID = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterScenesAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterScenesAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterScenesAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster OnOff attributes - MTRClusterOnOffAttributeOnOffID = 0x00000000, - MTRClusterOnOffAttributeGlobalSceneControlID = 0x00004000, - MTRClusterOnOffAttributeOnTimeID = 0x00004001, - MTRClusterOnOffAttributeOffWaitTimeID = 0x00004002, - MTRClusterOnOffAttributeStartUpOnOffID = 0x00004003, - MTRClusterOnOffAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterOnOffAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterOnOffAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterOnOffAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterOnOffAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterOnOffAttributeOnOffID = 0x00000000, + MTRAttributeIDTypeClusterOnOffAttributeGlobalSceneControlID = 0x00004000, + MTRAttributeIDTypeClusterOnOffAttributeOnTimeID = 0x00004001, + MTRAttributeIDTypeClusterOnOffAttributeOffWaitTimeID = 0x00004002, + MTRAttributeIDTypeClusterOnOffAttributeStartUpOnOffID = 0x00004003, + MTRAttributeIDTypeClusterOnOffAttributeGeneratedCommandListID = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterOnOffAttributeAcceptedCommandListID = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterOnOffAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterOnOffAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterOnOffAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster OnOffSwitchConfiguration attributes - MTRClusterOnOffSwitchConfigurationAttributeSwitchTypeID = 0x00000000, - MTRClusterOnOffSwitchConfigurationAttributeSwitchActionsID = 0x00000010, - MTRClusterOnOffSwitchConfigurationAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterOnOffSwitchConfigurationAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterOnOffSwitchConfigurationAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterOnOffSwitchConfigurationAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterOnOffSwitchConfigurationAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterOnOffSwitchConfigurationAttributeSwitchTypeID = 0x00000000, + MTRAttributeIDTypeClusterOnOffSwitchConfigurationAttributeSwitchActionsID = 0x00000010, + MTRAttributeIDTypeClusterOnOffSwitchConfigurationAttributeGeneratedCommandListID + = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterOnOffSwitchConfigurationAttributeAcceptedCommandListID + = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterOnOffSwitchConfigurationAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterOnOffSwitchConfigurationAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterOnOffSwitchConfigurationAttributeClusterRevisionID + = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster LevelControl attributes - MTRClusterLevelControlAttributeCurrentLevelID = 0x00000000, - MTRClusterLevelControlAttributeRemainingTimeID = 0x00000001, - MTRClusterLevelControlAttributeMinLevelID = 0x00000002, - MTRClusterLevelControlAttributeMaxLevelID = 0x00000003, - MTRClusterLevelControlAttributeCurrentFrequencyID = 0x00000004, - MTRClusterLevelControlAttributeMinFrequencyID = 0x00000005, - MTRClusterLevelControlAttributeMaxFrequencyID = 0x00000006, - MTRClusterLevelControlAttributeOptionsID = 0x0000000F, - MTRClusterLevelControlAttributeOnOffTransitionTimeID = 0x00000010, - MTRClusterLevelControlAttributeOnLevelID = 0x00000011, - MTRClusterLevelControlAttributeOnTransitionTimeID = 0x00000012, - MTRClusterLevelControlAttributeOffTransitionTimeID = 0x00000013, - MTRClusterLevelControlAttributeDefaultMoveRateID = 0x00000014, - MTRClusterLevelControlAttributeStartUpCurrentLevelID = 0x00004000, - MTRClusterLevelControlAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterLevelControlAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterLevelControlAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterLevelControlAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterLevelControlAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterLevelControlAttributeCurrentLevelID = 0x00000000, + MTRAttributeIDTypeClusterLevelControlAttributeRemainingTimeID = 0x00000001, + MTRAttributeIDTypeClusterLevelControlAttributeMinLevelID = 0x00000002, + MTRAttributeIDTypeClusterLevelControlAttributeMaxLevelID = 0x00000003, + MTRAttributeIDTypeClusterLevelControlAttributeCurrentFrequencyID = 0x00000004, + MTRAttributeIDTypeClusterLevelControlAttributeMinFrequencyID = 0x00000005, + MTRAttributeIDTypeClusterLevelControlAttributeMaxFrequencyID = 0x00000006, + MTRAttributeIDTypeClusterLevelControlAttributeOptionsID = 0x0000000F, + MTRAttributeIDTypeClusterLevelControlAttributeOnOffTransitionTimeID = 0x00000010, + MTRAttributeIDTypeClusterLevelControlAttributeOnLevelID = 0x00000011, + MTRAttributeIDTypeClusterLevelControlAttributeOnTransitionTimeID = 0x00000012, + MTRAttributeIDTypeClusterLevelControlAttributeOffTransitionTimeID = 0x00000013, + MTRAttributeIDTypeClusterLevelControlAttributeDefaultMoveRateID = 0x00000014, + MTRAttributeIDTypeClusterLevelControlAttributeStartUpCurrentLevelID = 0x00004000, + MTRAttributeIDTypeClusterLevelControlAttributeGeneratedCommandListID = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterLevelControlAttributeAcceptedCommandListID = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterLevelControlAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterLevelControlAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterLevelControlAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster BinaryInputBasic attributes - MTRClusterBinaryInputBasicAttributeActiveTextID = 0x00000004, - MTRClusterBinaryInputBasicAttributeDescriptionID = 0x0000001C, - MTRClusterBinaryInputBasicAttributeInactiveTextID = 0x0000002E, - MTRClusterBinaryInputBasicAttributeOutOfServiceID = 0x00000051, - MTRClusterBinaryInputBasicAttributePolarityID = 0x00000054, - MTRClusterBinaryInputBasicAttributePresentValueID = 0x00000055, - MTRClusterBinaryInputBasicAttributeReliabilityID = 0x00000067, - MTRClusterBinaryInputBasicAttributeStatusFlagsID = 0x0000006F, - MTRClusterBinaryInputBasicAttributeApplicationTypeID = 0x00000100, - MTRClusterBinaryInputBasicAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterBinaryInputBasicAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterBinaryInputBasicAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterBinaryInputBasicAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterBinaryInputBasicAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterBinaryInputBasicAttributeActiveTextID = 0x00000004, + MTRAttributeIDTypeClusterBinaryInputBasicAttributeDescriptionID = 0x0000001C, + MTRAttributeIDTypeClusterBinaryInputBasicAttributeInactiveTextID = 0x0000002E, + MTRAttributeIDTypeClusterBinaryInputBasicAttributeOutOfServiceID = 0x00000051, + MTRAttributeIDTypeClusterBinaryInputBasicAttributePolarityID = 0x00000054, + MTRAttributeIDTypeClusterBinaryInputBasicAttributePresentValueID = 0x00000055, + MTRAttributeIDTypeClusterBinaryInputBasicAttributeReliabilityID = 0x00000067, + MTRAttributeIDTypeClusterBinaryInputBasicAttributeStatusFlagsID = 0x0000006F, + MTRAttributeIDTypeClusterBinaryInputBasicAttributeApplicationTypeID = 0x00000100, + MTRAttributeIDTypeClusterBinaryInputBasicAttributeGeneratedCommandListID + = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterBinaryInputBasicAttributeAcceptedCommandListID + = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterBinaryInputBasicAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterBinaryInputBasicAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterBinaryInputBasicAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster PulseWidthModulation attributes - MTRClusterPulseWidthModulationAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterPulseWidthModulationAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterPulseWidthModulationAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterPulseWidthModulationAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterPulseWidthModulationAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterPulseWidthModulationAttributeGeneratedCommandListID + = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterPulseWidthModulationAttributeAcceptedCommandListID + = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterPulseWidthModulationAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterPulseWidthModulationAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterPulseWidthModulationAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster Descriptor attributes - MTRClusterDescriptorAttributeDeviceTypeListID = 0x00000000, - MTRClusterDescriptorAttributeServerListID = 0x00000001, - MTRClusterDescriptorAttributeClientListID = 0x00000002, - MTRClusterDescriptorAttributePartsListID = 0x00000003, - MTRClusterDescriptorAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterDescriptorAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterDescriptorAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterDescriptorAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterDescriptorAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterDescriptorAttributeDeviceTypeListID = 0x00000000, + MTRAttributeIDTypeClusterDescriptorAttributeServerListID = 0x00000001, + MTRAttributeIDTypeClusterDescriptorAttributeClientListID = 0x00000002, + MTRAttributeIDTypeClusterDescriptorAttributePartsListID = 0x00000003, + MTRAttributeIDTypeClusterDescriptorAttributeGeneratedCommandListID = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterDescriptorAttributeAcceptedCommandListID = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterDescriptorAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterDescriptorAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterDescriptorAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster Binding attributes - MTRClusterBindingAttributeBindingID = 0x00000000, - MTRClusterBindingAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterBindingAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterBindingAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterBindingAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterBindingAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterBindingAttributeBindingID = 0x00000000, + MTRAttributeIDTypeClusterBindingAttributeGeneratedCommandListID = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterBindingAttributeAcceptedCommandListID = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterBindingAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterBindingAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterBindingAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster AccessControl attributes - MTRClusterAccessControlAttributeAclID = 0x00000000, - MTRClusterAccessControlAttributeExtensionID = 0x00000001, - MTRClusterAccessControlAttributeSubjectsPerAccessControlEntryID = 0x00000002, - MTRClusterAccessControlAttributeTargetsPerAccessControlEntryID = 0x00000003, - MTRClusterAccessControlAttributeAccessControlEntriesPerFabricID = 0x00000004, - MTRClusterAccessControlAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterAccessControlAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterAccessControlAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterAccessControlAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterAccessControlAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterAccessControlAttributeAclID = 0x00000000, + MTRAttributeIDTypeClusterAccessControlAttributeExtensionID = 0x00000001, + MTRAttributeIDTypeClusterAccessControlAttributeSubjectsPerAccessControlEntryID = 0x00000002, + MTRAttributeIDTypeClusterAccessControlAttributeTargetsPerAccessControlEntryID = 0x00000003, + MTRAttributeIDTypeClusterAccessControlAttributeAccessControlEntriesPerFabricID = 0x00000004, + MTRAttributeIDTypeClusterAccessControlAttributeGeneratedCommandListID = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterAccessControlAttributeAcceptedCommandListID = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterAccessControlAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterAccessControlAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterAccessControlAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster Actions attributes - MTRClusterActionsAttributeActionListID = 0x00000000, - MTRClusterActionsAttributeEndpointListsID = 0x00000001, - MTRClusterActionsAttributeSetupURLID = 0x00000002, - MTRClusterActionsAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterActionsAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterActionsAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterActionsAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterActionsAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterActionsAttributeActionListID = 0x00000000, + MTRAttributeIDTypeClusterActionsAttributeEndpointListsID = 0x00000001, + MTRAttributeIDTypeClusterActionsAttributeSetupURLID = 0x00000002, + MTRAttributeIDTypeClusterActionsAttributeGeneratedCommandListID = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterActionsAttributeAcceptedCommandListID = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterActionsAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterActionsAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterActionsAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster Basic attributes - MTRClusterBasicAttributeDataModelRevisionID = 0x00000000, - MTRClusterBasicAttributeVendorNameID = 0x00000001, - MTRClusterBasicAttributeVendorIDID = 0x00000002, - MTRClusterBasicAttributeProductNameID = 0x00000003, - MTRClusterBasicAttributeProductIDID = 0x00000004, - MTRClusterBasicAttributeNodeLabelID = 0x00000005, - MTRClusterBasicAttributeLocationID = 0x00000006, - MTRClusterBasicAttributeHardwareVersionID = 0x00000007, - MTRClusterBasicAttributeHardwareVersionStringID = 0x00000008, - MTRClusterBasicAttributeSoftwareVersionID = 0x00000009, - MTRClusterBasicAttributeSoftwareVersionStringID = 0x0000000A, - MTRClusterBasicAttributeManufacturingDateID = 0x0000000B, - MTRClusterBasicAttributePartNumberID = 0x0000000C, - MTRClusterBasicAttributeProductURLID = 0x0000000D, - MTRClusterBasicAttributeProductLabelID = 0x0000000E, - MTRClusterBasicAttributeSerialNumberID = 0x0000000F, - MTRClusterBasicAttributeLocalConfigDisabledID = 0x00000010, - MTRClusterBasicAttributeReachableID = 0x00000011, - MTRClusterBasicAttributeUniqueIDID = 0x00000012, - MTRClusterBasicAttributeCapabilityMinimaID = 0x00000013, - MTRClusterBasicAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterBasicAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterBasicAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterBasicAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterBasicAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterBasicAttributeDataModelRevisionID = 0x00000000, + MTRAttributeIDTypeClusterBasicAttributeVendorNameID = 0x00000001, + MTRAttributeIDTypeClusterBasicAttributeVendorIDID = 0x00000002, + MTRAttributeIDTypeClusterBasicAttributeProductNameID = 0x00000003, + MTRAttributeIDTypeClusterBasicAttributeProductIDID = 0x00000004, + MTRAttributeIDTypeClusterBasicAttributeNodeLabelID = 0x00000005, + MTRAttributeIDTypeClusterBasicAttributeLocationID = 0x00000006, + MTRAttributeIDTypeClusterBasicAttributeHardwareVersionID = 0x00000007, + MTRAttributeIDTypeClusterBasicAttributeHardwareVersionStringID = 0x00000008, + MTRAttributeIDTypeClusterBasicAttributeSoftwareVersionID = 0x00000009, + MTRAttributeIDTypeClusterBasicAttributeSoftwareVersionStringID = 0x0000000A, + MTRAttributeIDTypeClusterBasicAttributeManufacturingDateID = 0x0000000B, + MTRAttributeIDTypeClusterBasicAttributePartNumberID = 0x0000000C, + MTRAttributeIDTypeClusterBasicAttributeProductURLID = 0x0000000D, + MTRAttributeIDTypeClusterBasicAttributeProductLabelID = 0x0000000E, + MTRAttributeIDTypeClusterBasicAttributeSerialNumberID = 0x0000000F, + MTRAttributeIDTypeClusterBasicAttributeLocalConfigDisabledID = 0x00000010, + MTRAttributeIDTypeClusterBasicAttributeReachableID = 0x00000011, + MTRAttributeIDTypeClusterBasicAttributeUniqueIDID = 0x00000012, + MTRAttributeIDTypeClusterBasicAttributeCapabilityMinimaID = 0x00000013, + MTRAttributeIDTypeClusterBasicAttributeGeneratedCommandListID = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterBasicAttributeAcceptedCommandListID = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterBasicAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterBasicAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterBasicAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster OtaSoftwareUpdateProvider attributes - MTRClusterOtaSoftwareUpdateProviderAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterOtaSoftwareUpdateProviderAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterOtaSoftwareUpdateProviderAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterOtaSoftwareUpdateProviderAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterOtaSoftwareUpdateProviderAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterOtaSoftwareUpdateProviderAttributeGeneratedCommandListID + = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterOtaSoftwareUpdateProviderAttributeAcceptedCommandListID + = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterOtaSoftwareUpdateProviderAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterOtaSoftwareUpdateProviderAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterOtaSoftwareUpdateProviderAttributeClusterRevisionID + = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster OtaSoftwareUpdateRequestor attributes - MTRClusterOtaSoftwareUpdateRequestorAttributeDefaultOtaProvidersID = 0x00000000, - MTRClusterOtaSoftwareUpdateRequestorAttributeUpdatePossibleID = 0x00000001, - MTRClusterOtaSoftwareUpdateRequestorAttributeUpdateStateID = 0x00000002, - MTRClusterOtaSoftwareUpdateRequestorAttributeUpdateStateProgressID = 0x00000003, - MTRClusterOtaSoftwareUpdateRequestorAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterOtaSoftwareUpdateRequestorAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterOtaSoftwareUpdateRequestorAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterOtaSoftwareUpdateRequestorAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterOtaSoftwareUpdateRequestorAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterOtaSoftwareUpdateRequestorAttributeDefaultOtaProvidersID = 0x00000000, + MTRAttributeIDTypeClusterOtaSoftwareUpdateRequestorAttributeUpdatePossibleID = 0x00000001, + MTRAttributeIDTypeClusterOtaSoftwareUpdateRequestorAttributeUpdateStateID = 0x00000002, + MTRAttributeIDTypeClusterOtaSoftwareUpdateRequestorAttributeUpdateStateProgressID = 0x00000003, + MTRAttributeIDTypeClusterOtaSoftwareUpdateRequestorAttributeGeneratedCommandListID + = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterOtaSoftwareUpdateRequestorAttributeAcceptedCommandListID + = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterOtaSoftwareUpdateRequestorAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterOtaSoftwareUpdateRequestorAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterOtaSoftwareUpdateRequestorAttributeClusterRevisionID + = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster LocalizationConfiguration attributes - MTRClusterLocalizationConfigurationAttributeActiveLocaleID = 0x00000000, - MTRClusterLocalizationConfigurationAttributeSupportedLocalesID = 0x00000001, - MTRClusterLocalizationConfigurationAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterLocalizationConfigurationAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterLocalizationConfigurationAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterLocalizationConfigurationAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterLocalizationConfigurationAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterLocalizationConfigurationAttributeActiveLocaleID = 0x00000000, + MTRAttributeIDTypeClusterLocalizationConfigurationAttributeSupportedLocalesID = 0x00000001, + MTRAttributeIDTypeClusterLocalizationConfigurationAttributeGeneratedCommandListID + = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterLocalizationConfigurationAttributeAcceptedCommandListID + = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterLocalizationConfigurationAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterLocalizationConfigurationAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterLocalizationConfigurationAttributeClusterRevisionID + = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster TimeFormatLocalization attributes - MTRClusterTimeFormatLocalizationAttributeHourFormatID = 0x00000000, - MTRClusterTimeFormatLocalizationAttributeActiveCalendarTypeID = 0x00000001, - MTRClusterTimeFormatLocalizationAttributeSupportedCalendarTypesID = 0x00000002, - MTRClusterTimeFormatLocalizationAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterTimeFormatLocalizationAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterTimeFormatLocalizationAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterTimeFormatLocalizationAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterTimeFormatLocalizationAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterTimeFormatLocalizationAttributeHourFormatID = 0x00000000, + MTRAttributeIDTypeClusterTimeFormatLocalizationAttributeActiveCalendarTypeID = 0x00000001, + MTRAttributeIDTypeClusterTimeFormatLocalizationAttributeSupportedCalendarTypesID = 0x00000002, + MTRAttributeIDTypeClusterTimeFormatLocalizationAttributeGeneratedCommandListID + = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterTimeFormatLocalizationAttributeAcceptedCommandListID + = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterTimeFormatLocalizationAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterTimeFormatLocalizationAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterTimeFormatLocalizationAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster UnitLocalization attributes - MTRClusterUnitLocalizationAttributeTemperatureUnitID = 0x00000000, - MTRClusterUnitLocalizationAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterUnitLocalizationAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterUnitLocalizationAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterUnitLocalizationAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterUnitLocalizationAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterUnitLocalizationAttributeTemperatureUnitID = 0x00000000, + MTRAttributeIDTypeClusterUnitLocalizationAttributeGeneratedCommandListID + = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterUnitLocalizationAttributeAcceptedCommandListID + = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterUnitLocalizationAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterUnitLocalizationAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterUnitLocalizationAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster PowerSourceConfiguration attributes - MTRClusterPowerSourceConfigurationAttributeSourcesID = 0x00000000, - MTRClusterPowerSourceConfigurationAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterPowerSourceConfigurationAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterPowerSourceConfigurationAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterPowerSourceConfigurationAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterPowerSourceConfigurationAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterPowerSourceConfigurationAttributeSourcesID = 0x00000000, + MTRAttributeIDTypeClusterPowerSourceConfigurationAttributeGeneratedCommandListID + = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterPowerSourceConfigurationAttributeAcceptedCommandListID + = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterPowerSourceConfigurationAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterPowerSourceConfigurationAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterPowerSourceConfigurationAttributeClusterRevisionID + = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster PowerSource attributes - MTRClusterPowerSourceAttributeStatusID = 0x00000000, - MTRClusterPowerSourceAttributeOrderID = 0x00000001, - MTRClusterPowerSourceAttributeDescriptionID = 0x00000002, - MTRClusterPowerSourceAttributeWiredAssessedInputVoltageID = 0x00000003, - MTRClusterPowerSourceAttributeWiredAssessedInputFrequencyID = 0x00000004, - MTRClusterPowerSourceAttributeWiredCurrentTypeID = 0x00000005, - MTRClusterPowerSourceAttributeWiredAssessedCurrentID = 0x00000006, - MTRClusterPowerSourceAttributeWiredNominalVoltageID = 0x00000007, - MTRClusterPowerSourceAttributeWiredMaximumCurrentID = 0x00000008, - MTRClusterPowerSourceAttributeWiredPresentID = 0x00000009, - MTRClusterPowerSourceAttributeActiveWiredFaultsID = 0x0000000A, - MTRClusterPowerSourceAttributeBatVoltageID = 0x0000000B, - MTRClusterPowerSourceAttributeBatPercentRemainingID = 0x0000000C, - MTRClusterPowerSourceAttributeBatTimeRemainingID = 0x0000000D, - MTRClusterPowerSourceAttributeBatChargeLevelID = 0x0000000E, - MTRClusterPowerSourceAttributeBatReplacementNeededID = 0x0000000F, - MTRClusterPowerSourceAttributeBatReplaceabilityID = 0x00000010, - MTRClusterPowerSourceAttributeBatPresentID = 0x00000011, - MTRClusterPowerSourceAttributeActiveBatFaultsID = 0x00000012, - MTRClusterPowerSourceAttributeBatReplacementDescriptionID = 0x00000013, - MTRClusterPowerSourceAttributeBatCommonDesignationID = 0x00000014, - MTRClusterPowerSourceAttributeBatANSIDesignationID = 0x00000015, - MTRClusterPowerSourceAttributeBatIECDesignationID = 0x00000016, - MTRClusterPowerSourceAttributeBatApprovedChemistryID = 0x00000017, - MTRClusterPowerSourceAttributeBatCapacityID = 0x00000018, - MTRClusterPowerSourceAttributeBatQuantityID = 0x00000019, - MTRClusterPowerSourceAttributeBatChargeStateID = 0x0000001A, - MTRClusterPowerSourceAttributeBatTimeToFullChargeID = 0x0000001B, - MTRClusterPowerSourceAttributeBatFunctionalWhileChargingID = 0x0000001C, - MTRClusterPowerSourceAttributeBatChargingCurrentID = 0x0000001D, - MTRClusterPowerSourceAttributeActiveBatChargeFaultsID = 0x0000001E, - MTRClusterPowerSourceAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterPowerSourceAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterPowerSourceAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterPowerSourceAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterPowerSourceAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterPowerSourceAttributeStatusID = 0x00000000, + MTRAttributeIDTypeClusterPowerSourceAttributeOrderID = 0x00000001, + MTRAttributeIDTypeClusterPowerSourceAttributeDescriptionID = 0x00000002, + MTRAttributeIDTypeClusterPowerSourceAttributeWiredAssessedInputVoltageID = 0x00000003, + MTRAttributeIDTypeClusterPowerSourceAttributeWiredAssessedInputFrequencyID = 0x00000004, + MTRAttributeIDTypeClusterPowerSourceAttributeWiredCurrentTypeID = 0x00000005, + MTRAttributeIDTypeClusterPowerSourceAttributeWiredAssessedCurrentID = 0x00000006, + MTRAttributeIDTypeClusterPowerSourceAttributeWiredNominalVoltageID = 0x00000007, + MTRAttributeIDTypeClusterPowerSourceAttributeWiredMaximumCurrentID = 0x00000008, + MTRAttributeIDTypeClusterPowerSourceAttributeWiredPresentID = 0x00000009, + MTRAttributeIDTypeClusterPowerSourceAttributeActiveWiredFaultsID = 0x0000000A, + MTRAttributeIDTypeClusterPowerSourceAttributeBatVoltageID = 0x0000000B, + MTRAttributeIDTypeClusterPowerSourceAttributeBatPercentRemainingID = 0x0000000C, + MTRAttributeIDTypeClusterPowerSourceAttributeBatTimeRemainingID = 0x0000000D, + MTRAttributeIDTypeClusterPowerSourceAttributeBatChargeLevelID = 0x0000000E, + MTRAttributeIDTypeClusterPowerSourceAttributeBatReplacementNeededID = 0x0000000F, + MTRAttributeIDTypeClusterPowerSourceAttributeBatReplaceabilityID = 0x00000010, + MTRAttributeIDTypeClusterPowerSourceAttributeBatPresentID = 0x00000011, + MTRAttributeIDTypeClusterPowerSourceAttributeActiveBatFaultsID = 0x00000012, + MTRAttributeIDTypeClusterPowerSourceAttributeBatReplacementDescriptionID = 0x00000013, + MTRAttributeIDTypeClusterPowerSourceAttributeBatCommonDesignationID = 0x00000014, + MTRAttributeIDTypeClusterPowerSourceAttributeBatANSIDesignationID = 0x00000015, + MTRAttributeIDTypeClusterPowerSourceAttributeBatIECDesignationID = 0x00000016, + MTRAttributeIDTypeClusterPowerSourceAttributeBatApprovedChemistryID = 0x00000017, + MTRAttributeIDTypeClusterPowerSourceAttributeBatCapacityID = 0x00000018, + MTRAttributeIDTypeClusterPowerSourceAttributeBatQuantityID = 0x00000019, + MTRAttributeIDTypeClusterPowerSourceAttributeBatChargeStateID = 0x0000001A, + MTRAttributeIDTypeClusterPowerSourceAttributeBatTimeToFullChargeID = 0x0000001B, + MTRAttributeIDTypeClusterPowerSourceAttributeBatFunctionalWhileChargingID = 0x0000001C, + MTRAttributeIDTypeClusterPowerSourceAttributeBatChargingCurrentID = 0x0000001D, + MTRAttributeIDTypeClusterPowerSourceAttributeActiveBatChargeFaultsID = 0x0000001E, + MTRAttributeIDTypeClusterPowerSourceAttributeGeneratedCommandListID = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterPowerSourceAttributeAcceptedCommandListID = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterPowerSourceAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterPowerSourceAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterPowerSourceAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster GeneralCommissioning attributes - MTRClusterGeneralCommissioningAttributeBreadcrumbID = 0x00000000, - MTRClusterGeneralCommissioningAttributeBasicCommissioningInfoID = 0x00000001, - MTRClusterGeneralCommissioningAttributeRegulatoryConfigID = 0x00000002, - MTRClusterGeneralCommissioningAttributeLocationCapabilityID = 0x00000003, - MTRClusterGeneralCommissioningAttributeSupportsConcurrentConnectionID = 0x00000004, - MTRClusterGeneralCommissioningAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterGeneralCommissioningAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterGeneralCommissioningAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterGeneralCommissioningAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterGeneralCommissioningAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterGeneralCommissioningAttributeBreadcrumbID = 0x00000000, + MTRAttributeIDTypeClusterGeneralCommissioningAttributeBasicCommissioningInfoID = 0x00000001, + MTRAttributeIDTypeClusterGeneralCommissioningAttributeRegulatoryConfigID = 0x00000002, + MTRAttributeIDTypeClusterGeneralCommissioningAttributeLocationCapabilityID = 0x00000003, + MTRAttributeIDTypeClusterGeneralCommissioningAttributeSupportsConcurrentConnectionID = 0x00000004, + MTRAttributeIDTypeClusterGeneralCommissioningAttributeGeneratedCommandListID + = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterGeneralCommissioningAttributeAcceptedCommandListID + = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterGeneralCommissioningAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterGeneralCommissioningAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterGeneralCommissioningAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster NetworkCommissioning attributes - MTRClusterNetworkCommissioningAttributeMaxNetworksID = 0x00000000, - MTRClusterNetworkCommissioningAttributeNetworksID = 0x00000001, - MTRClusterNetworkCommissioningAttributeScanMaxTimeSecondsID = 0x00000002, - MTRClusterNetworkCommissioningAttributeConnectMaxTimeSecondsID = 0x00000003, - MTRClusterNetworkCommissioningAttributeInterfaceEnabledID = 0x00000004, - MTRClusterNetworkCommissioningAttributeLastNetworkingStatusID = 0x00000005, - MTRClusterNetworkCommissioningAttributeLastNetworkIDID = 0x00000006, - MTRClusterNetworkCommissioningAttributeLastConnectErrorValueID = 0x00000007, - MTRClusterNetworkCommissioningAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterNetworkCommissioningAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterNetworkCommissioningAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterNetworkCommissioningAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterNetworkCommissioningAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterNetworkCommissioningAttributeMaxNetworksID = 0x00000000, + MTRAttributeIDTypeClusterNetworkCommissioningAttributeNetworksID = 0x00000001, + MTRAttributeIDTypeClusterNetworkCommissioningAttributeScanMaxTimeSecondsID = 0x00000002, + MTRAttributeIDTypeClusterNetworkCommissioningAttributeConnectMaxTimeSecondsID = 0x00000003, + MTRAttributeIDTypeClusterNetworkCommissioningAttributeInterfaceEnabledID = 0x00000004, + MTRAttributeIDTypeClusterNetworkCommissioningAttributeLastNetworkingStatusID = 0x00000005, + MTRAttributeIDTypeClusterNetworkCommissioningAttributeLastNetworkIDID = 0x00000006, + MTRAttributeIDTypeClusterNetworkCommissioningAttributeLastConnectErrorValueID = 0x00000007, + MTRAttributeIDTypeClusterNetworkCommissioningAttributeGeneratedCommandListID + = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterNetworkCommissioningAttributeAcceptedCommandListID + = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterNetworkCommissioningAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterNetworkCommissioningAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterNetworkCommissioningAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster DiagnosticLogs attributes - MTRClusterDiagnosticLogsAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterDiagnosticLogsAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterDiagnosticLogsAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterDiagnosticLogsAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterDiagnosticLogsAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterDiagnosticLogsAttributeGeneratedCommandListID + = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterDiagnosticLogsAttributeAcceptedCommandListID = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterDiagnosticLogsAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterDiagnosticLogsAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterDiagnosticLogsAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster GeneralDiagnostics attributes - MTRClusterGeneralDiagnosticsAttributeNetworkInterfacesID = 0x00000000, - MTRClusterGeneralDiagnosticsAttributeRebootCountID = 0x00000001, - MTRClusterGeneralDiagnosticsAttributeUpTimeID = 0x00000002, - MTRClusterGeneralDiagnosticsAttributeTotalOperationalHoursID = 0x00000003, - MTRClusterGeneralDiagnosticsAttributeBootReasonsID = 0x00000004, - MTRClusterGeneralDiagnosticsAttributeActiveHardwareFaultsID = 0x00000005, - MTRClusterGeneralDiagnosticsAttributeActiveRadioFaultsID = 0x00000006, - MTRClusterGeneralDiagnosticsAttributeActiveNetworkFaultsID = 0x00000007, - MTRClusterGeneralDiagnosticsAttributeTestEventTriggersEnabledID = 0x00000008, - MTRClusterGeneralDiagnosticsAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterGeneralDiagnosticsAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterGeneralDiagnosticsAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterGeneralDiagnosticsAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterGeneralDiagnosticsAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterGeneralDiagnosticsAttributeNetworkInterfacesID = 0x00000000, + MTRAttributeIDTypeClusterGeneralDiagnosticsAttributeRebootCountID = 0x00000001, + MTRAttributeIDTypeClusterGeneralDiagnosticsAttributeUpTimeID = 0x00000002, + MTRAttributeIDTypeClusterGeneralDiagnosticsAttributeTotalOperationalHoursID = 0x00000003, + MTRAttributeIDTypeClusterGeneralDiagnosticsAttributeBootReasonsID = 0x00000004, + MTRAttributeIDTypeClusterGeneralDiagnosticsAttributeActiveHardwareFaultsID = 0x00000005, + MTRAttributeIDTypeClusterGeneralDiagnosticsAttributeActiveRadioFaultsID = 0x00000006, + MTRAttributeIDTypeClusterGeneralDiagnosticsAttributeActiveNetworkFaultsID = 0x00000007, + MTRAttributeIDTypeClusterGeneralDiagnosticsAttributeTestEventTriggersEnabledID = 0x00000008, + MTRAttributeIDTypeClusterGeneralDiagnosticsAttributeGeneratedCommandListID + = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterGeneralDiagnosticsAttributeAcceptedCommandListID + = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterGeneralDiagnosticsAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterGeneralDiagnosticsAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterGeneralDiagnosticsAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster SoftwareDiagnostics attributes - MTRClusterSoftwareDiagnosticsAttributeThreadMetricsID = 0x00000000, - MTRClusterSoftwareDiagnosticsAttributeCurrentHeapFreeID = 0x00000001, - MTRClusterSoftwareDiagnosticsAttributeCurrentHeapUsedID = 0x00000002, - MTRClusterSoftwareDiagnosticsAttributeCurrentHeapHighWatermarkID = 0x00000003, - MTRClusterSoftwareDiagnosticsAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterSoftwareDiagnosticsAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterSoftwareDiagnosticsAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterSoftwareDiagnosticsAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterSoftwareDiagnosticsAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterSoftwareDiagnosticsAttributeThreadMetricsID = 0x00000000, + MTRAttributeIDTypeClusterSoftwareDiagnosticsAttributeCurrentHeapFreeID = 0x00000001, + MTRAttributeIDTypeClusterSoftwareDiagnosticsAttributeCurrentHeapUsedID = 0x00000002, + MTRAttributeIDTypeClusterSoftwareDiagnosticsAttributeCurrentHeapHighWatermarkID = 0x00000003, + MTRAttributeIDTypeClusterSoftwareDiagnosticsAttributeGeneratedCommandListID + = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterSoftwareDiagnosticsAttributeAcceptedCommandListID + = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterSoftwareDiagnosticsAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterSoftwareDiagnosticsAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterSoftwareDiagnosticsAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster ThreadNetworkDiagnostics attributes - MTRClusterThreadNetworkDiagnosticsAttributeChannelID = 0x00000000, - MTRClusterThreadNetworkDiagnosticsAttributeRoutingRoleID = 0x00000001, - MTRClusterThreadNetworkDiagnosticsAttributeNetworkNameID = 0x00000002, - MTRClusterThreadNetworkDiagnosticsAttributePanIdID = 0x00000003, - MTRClusterThreadNetworkDiagnosticsAttributeExtendedPanIdID = 0x00000004, - MTRClusterThreadNetworkDiagnosticsAttributeMeshLocalPrefixID = 0x00000005, - MTRClusterThreadNetworkDiagnosticsAttributeOverrunCountID = 0x00000006, - MTRClusterThreadNetworkDiagnosticsAttributeNeighborTableListID = 0x00000007, - MTRClusterThreadNetworkDiagnosticsAttributeRouteTableListID = 0x00000008, - MTRClusterThreadNetworkDiagnosticsAttributePartitionIdID = 0x00000009, - MTRClusterThreadNetworkDiagnosticsAttributeWeightingID = 0x0000000A, - MTRClusterThreadNetworkDiagnosticsAttributeDataVersionID = 0x0000000B, - MTRClusterThreadNetworkDiagnosticsAttributeStableDataVersionID = 0x0000000C, - MTRClusterThreadNetworkDiagnosticsAttributeLeaderRouterIdID = 0x0000000D, - MTRClusterThreadNetworkDiagnosticsAttributeDetachedRoleCountID = 0x0000000E, - MTRClusterThreadNetworkDiagnosticsAttributeChildRoleCountID = 0x0000000F, - MTRClusterThreadNetworkDiagnosticsAttributeRouterRoleCountID = 0x00000010, - MTRClusterThreadNetworkDiagnosticsAttributeLeaderRoleCountID = 0x00000011, - MTRClusterThreadNetworkDiagnosticsAttributeAttachAttemptCountID = 0x00000012, - MTRClusterThreadNetworkDiagnosticsAttributePartitionIdChangeCountID = 0x00000013, - MTRClusterThreadNetworkDiagnosticsAttributeBetterPartitionAttachAttemptCountID = 0x00000014, - MTRClusterThreadNetworkDiagnosticsAttributeParentChangeCountID = 0x00000015, - MTRClusterThreadNetworkDiagnosticsAttributeTxTotalCountID = 0x00000016, - MTRClusterThreadNetworkDiagnosticsAttributeTxUnicastCountID = 0x00000017, - MTRClusterThreadNetworkDiagnosticsAttributeTxBroadcastCountID = 0x00000018, - MTRClusterThreadNetworkDiagnosticsAttributeTxAckRequestedCountID = 0x00000019, - MTRClusterThreadNetworkDiagnosticsAttributeTxAckedCountID = 0x0000001A, - MTRClusterThreadNetworkDiagnosticsAttributeTxNoAckRequestedCountID = 0x0000001B, - MTRClusterThreadNetworkDiagnosticsAttributeTxDataCountID = 0x0000001C, - MTRClusterThreadNetworkDiagnosticsAttributeTxDataPollCountID = 0x0000001D, - MTRClusterThreadNetworkDiagnosticsAttributeTxBeaconCountID = 0x0000001E, - MTRClusterThreadNetworkDiagnosticsAttributeTxBeaconRequestCountID = 0x0000001F, - MTRClusterThreadNetworkDiagnosticsAttributeTxOtherCountID = 0x00000020, - MTRClusterThreadNetworkDiagnosticsAttributeTxRetryCountID = 0x00000021, - MTRClusterThreadNetworkDiagnosticsAttributeTxDirectMaxRetryExpiryCountID = 0x00000022, - MTRClusterThreadNetworkDiagnosticsAttributeTxIndirectMaxRetryExpiryCountID = 0x00000023, - MTRClusterThreadNetworkDiagnosticsAttributeTxErrCcaCountID = 0x00000024, - MTRClusterThreadNetworkDiagnosticsAttributeTxErrAbortCountID = 0x00000025, - MTRClusterThreadNetworkDiagnosticsAttributeTxErrBusyChannelCountID = 0x00000026, - MTRClusterThreadNetworkDiagnosticsAttributeRxTotalCountID = 0x00000027, - MTRClusterThreadNetworkDiagnosticsAttributeRxUnicastCountID = 0x00000028, - MTRClusterThreadNetworkDiagnosticsAttributeRxBroadcastCountID = 0x00000029, - MTRClusterThreadNetworkDiagnosticsAttributeRxDataCountID = 0x0000002A, - MTRClusterThreadNetworkDiagnosticsAttributeRxDataPollCountID = 0x0000002B, - MTRClusterThreadNetworkDiagnosticsAttributeRxBeaconCountID = 0x0000002C, - MTRClusterThreadNetworkDiagnosticsAttributeRxBeaconRequestCountID = 0x0000002D, - MTRClusterThreadNetworkDiagnosticsAttributeRxOtherCountID = 0x0000002E, - MTRClusterThreadNetworkDiagnosticsAttributeRxAddressFilteredCountID = 0x0000002F, - MTRClusterThreadNetworkDiagnosticsAttributeRxDestAddrFilteredCountID = 0x00000030, - MTRClusterThreadNetworkDiagnosticsAttributeRxDuplicatedCountID = 0x00000031, - MTRClusterThreadNetworkDiagnosticsAttributeRxErrNoFrameCountID = 0x00000032, - MTRClusterThreadNetworkDiagnosticsAttributeRxErrUnknownNeighborCountID = 0x00000033, - MTRClusterThreadNetworkDiagnosticsAttributeRxErrInvalidSrcAddrCountID = 0x00000034, - MTRClusterThreadNetworkDiagnosticsAttributeRxErrSecCountID = 0x00000035, - MTRClusterThreadNetworkDiagnosticsAttributeRxErrFcsCountID = 0x00000036, - MTRClusterThreadNetworkDiagnosticsAttributeRxErrOtherCountID = 0x00000037, - MTRClusterThreadNetworkDiagnosticsAttributeActiveTimestampID = 0x00000038, - MTRClusterThreadNetworkDiagnosticsAttributePendingTimestampID = 0x00000039, - MTRClusterThreadNetworkDiagnosticsAttributeDelayID = 0x0000003A, - MTRClusterThreadNetworkDiagnosticsAttributeSecurityPolicyID = 0x0000003B, - MTRClusterThreadNetworkDiagnosticsAttributeChannelPage0MaskID = 0x0000003C, - MTRClusterThreadNetworkDiagnosticsAttributeOperationalDatasetComponentsID = 0x0000003D, - MTRClusterThreadNetworkDiagnosticsAttributeActiveNetworkFaultsListID = 0x0000003E, - MTRClusterThreadNetworkDiagnosticsAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterThreadNetworkDiagnosticsAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterThreadNetworkDiagnosticsAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterThreadNetworkDiagnosticsAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterThreadNetworkDiagnosticsAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeChannelID = 0x00000000, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRoutingRoleID = 0x00000001, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeNetworkNameID = 0x00000002, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributePanIdID = 0x00000003, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeExtendedPanIdID = 0x00000004, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeMeshLocalPrefixID = 0x00000005, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeOverrunCountID = 0x00000006, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeNeighborTableListID = 0x00000007, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRouteTableListID = 0x00000008, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributePartitionIdID = 0x00000009, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeWeightingID = 0x0000000A, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeDataVersionID = 0x0000000B, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeStableDataVersionID = 0x0000000C, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeLeaderRouterIdID = 0x0000000D, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeDetachedRoleCountID = 0x0000000E, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeChildRoleCountID = 0x0000000F, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRouterRoleCountID = 0x00000010, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeLeaderRoleCountID = 0x00000011, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeAttachAttemptCountID = 0x00000012, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributePartitionIdChangeCountID = 0x00000013, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeBetterPartitionAttachAttemptCountID = 0x00000014, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeParentChangeCountID = 0x00000015, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxTotalCountID = 0x00000016, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxUnicastCountID = 0x00000017, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxBroadcastCountID = 0x00000018, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxAckRequestedCountID = 0x00000019, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxAckedCountID = 0x0000001A, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxNoAckRequestedCountID = 0x0000001B, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxDataCountID = 0x0000001C, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxDataPollCountID = 0x0000001D, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxBeaconCountID = 0x0000001E, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxBeaconRequestCountID = 0x0000001F, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxOtherCountID = 0x00000020, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxRetryCountID = 0x00000021, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxDirectMaxRetryExpiryCountID = 0x00000022, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxIndirectMaxRetryExpiryCountID = 0x00000023, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxErrCcaCountID = 0x00000024, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxErrAbortCountID = 0x00000025, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxErrBusyChannelCountID = 0x00000026, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxTotalCountID = 0x00000027, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxUnicastCountID = 0x00000028, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxBroadcastCountID = 0x00000029, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxDataCountID = 0x0000002A, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxDataPollCountID = 0x0000002B, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxBeaconCountID = 0x0000002C, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxBeaconRequestCountID = 0x0000002D, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxOtherCountID = 0x0000002E, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxAddressFilteredCountID = 0x0000002F, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxDestAddrFilteredCountID = 0x00000030, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxDuplicatedCountID = 0x00000031, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxErrNoFrameCountID = 0x00000032, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxErrUnknownNeighborCountID = 0x00000033, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxErrInvalidSrcAddrCountID = 0x00000034, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxErrSecCountID = 0x00000035, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxErrFcsCountID = 0x00000036, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxErrOtherCountID = 0x00000037, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeActiveTimestampID = 0x00000038, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributePendingTimestampID = 0x00000039, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeDelayID = 0x0000003A, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeSecurityPolicyID = 0x0000003B, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeChannelPage0MaskID = 0x0000003C, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeOperationalDatasetComponentsID = 0x0000003D, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeActiveNetworkFaultsListID = 0x0000003E, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeGeneratedCommandListID + = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeAcceptedCommandListID + = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeClusterRevisionID + = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster WiFiNetworkDiagnostics attributes - MTRClusterWiFiNetworkDiagnosticsAttributeBssidID = 0x00000000, - MTRClusterWiFiNetworkDiagnosticsAttributeSecurityTypeID = 0x00000001, - MTRClusterWiFiNetworkDiagnosticsAttributeWiFiVersionID = 0x00000002, - MTRClusterWiFiNetworkDiagnosticsAttributeChannelNumberID = 0x00000003, - MTRClusterWiFiNetworkDiagnosticsAttributeRssiID = 0x00000004, - MTRClusterWiFiNetworkDiagnosticsAttributeBeaconLostCountID = 0x00000005, - MTRClusterWiFiNetworkDiagnosticsAttributeBeaconRxCountID = 0x00000006, - MTRClusterWiFiNetworkDiagnosticsAttributePacketMulticastRxCountID = 0x00000007, - MTRClusterWiFiNetworkDiagnosticsAttributePacketMulticastTxCountID = 0x00000008, - MTRClusterWiFiNetworkDiagnosticsAttributePacketUnicastRxCountID = 0x00000009, - MTRClusterWiFiNetworkDiagnosticsAttributePacketUnicastTxCountID = 0x0000000A, - MTRClusterWiFiNetworkDiagnosticsAttributeCurrentMaxRateID = 0x0000000B, - MTRClusterWiFiNetworkDiagnosticsAttributeOverrunCountID = 0x0000000C, - MTRClusterWiFiNetworkDiagnosticsAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterWiFiNetworkDiagnosticsAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterWiFiNetworkDiagnosticsAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterWiFiNetworkDiagnosticsAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterWiFiNetworkDiagnosticsAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeBssidID = 0x00000000, + MTRAttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeSecurityTypeID = 0x00000001, + MTRAttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeWiFiVersionID = 0x00000002, + MTRAttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeChannelNumberID = 0x00000003, + MTRAttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeRssiID = 0x00000004, + MTRAttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeBeaconLostCountID = 0x00000005, + MTRAttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeBeaconRxCountID = 0x00000006, + MTRAttributeIDTypeClusterWiFiNetworkDiagnosticsAttributePacketMulticastRxCountID = 0x00000007, + MTRAttributeIDTypeClusterWiFiNetworkDiagnosticsAttributePacketMulticastTxCountID = 0x00000008, + MTRAttributeIDTypeClusterWiFiNetworkDiagnosticsAttributePacketUnicastRxCountID = 0x00000009, + MTRAttributeIDTypeClusterWiFiNetworkDiagnosticsAttributePacketUnicastTxCountID = 0x0000000A, + MTRAttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeCurrentMaxRateID = 0x0000000B, + MTRAttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeOverrunCountID = 0x0000000C, + MTRAttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeGeneratedCommandListID + = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeAcceptedCommandListID + = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster EthernetNetworkDiagnostics attributes - MTRClusterEthernetNetworkDiagnosticsAttributePHYRateID = 0x00000000, - MTRClusterEthernetNetworkDiagnosticsAttributeFullDuplexID = 0x00000001, - MTRClusterEthernetNetworkDiagnosticsAttributePacketRxCountID = 0x00000002, - MTRClusterEthernetNetworkDiagnosticsAttributePacketTxCountID = 0x00000003, - MTRClusterEthernetNetworkDiagnosticsAttributeTxErrCountID = 0x00000004, - MTRClusterEthernetNetworkDiagnosticsAttributeCollisionCountID = 0x00000005, - MTRClusterEthernetNetworkDiagnosticsAttributeOverrunCountID = 0x00000006, - MTRClusterEthernetNetworkDiagnosticsAttributeCarrierDetectID = 0x00000007, - MTRClusterEthernetNetworkDiagnosticsAttributeTimeSinceResetID = 0x00000008, - MTRClusterEthernetNetworkDiagnosticsAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterEthernetNetworkDiagnosticsAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterEthernetNetworkDiagnosticsAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterEthernetNetworkDiagnosticsAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterEthernetNetworkDiagnosticsAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterEthernetNetworkDiagnosticsAttributePHYRateID = 0x00000000, + MTRAttributeIDTypeClusterEthernetNetworkDiagnosticsAttributeFullDuplexID = 0x00000001, + MTRAttributeIDTypeClusterEthernetNetworkDiagnosticsAttributePacketRxCountID = 0x00000002, + MTRAttributeIDTypeClusterEthernetNetworkDiagnosticsAttributePacketTxCountID = 0x00000003, + MTRAttributeIDTypeClusterEthernetNetworkDiagnosticsAttributeTxErrCountID = 0x00000004, + MTRAttributeIDTypeClusterEthernetNetworkDiagnosticsAttributeCollisionCountID = 0x00000005, + MTRAttributeIDTypeClusterEthernetNetworkDiagnosticsAttributeOverrunCountID = 0x00000006, + MTRAttributeIDTypeClusterEthernetNetworkDiagnosticsAttributeCarrierDetectID = 0x00000007, + MTRAttributeIDTypeClusterEthernetNetworkDiagnosticsAttributeTimeSinceResetID = 0x00000008, + MTRAttributeIDTypeClusterEthernetNetworkDiagnosticsAttributeGeneratedCommandListID + = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterEthernetNetworkDiagnosticsAttributeAcceptedCommandListID + = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterEthernetNetworkDiagnosticsAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterEthernetNetworkDiagnosticsAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterEthernetNetworkDiagnosticsAttributeClusterRevisionID + = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster TimeSynchronization attributes - MTRClusterTimeSynchronizationAttributeUTCTimeID = 0x00000000, - MTRClusterTimeSynchronizationAttributeGranularityID = 0x00000001, - MTRClusterTimeSynchronizationAttributeTimeSourceID = 0x00000002, - MTRClusterTimeSynchronizationAttributeTrustedTimeNodeIdID = 0x00000003, - MTRClusterTimeSynchronizationAttributeDefaultNtpID = 0x00000004, - MTRClusterTimeSynchronizationAttributeTimeZoneID = 0x00000005, - MTRClusterTimeSynchronizationAttributeDstOffsetID = 0x00000006, - MTRClusterTimeSynchronizationAttributeLocalTimeID = 0x00000007, - MTRClusterTimeSynchronizationAttributeTimeZoneDatabaseID = 0x00000008, - MTRClusterTimeSynchronizationAttributeNtpServerPortID = 0x00000009, - MTRClusterTimeSynchronizationAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterTimeSynchronizationAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterTimeSynchronizationAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterTimeSynchronizationAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterTimeSynchronizationAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterTimeSynchronizationAttributeUTCTimeID = 0x00000000, + MTRAttributeIDTypeClusterTimeSynchronizationAttributeGranularityID = 0x00000001, + MTRAttributeIDTypeClusterTimeSynchronizationAttributeTimeSourceID = 0x00000002, + MTRAttributeIDTypeClusterTimeSynchronizationAttributeTrustedTimeNodeIdID = 0x00000003, + MTRAttributeIDTypeClusterTimeSynchronizationAttributeDefaultNtpID = 0x00000004, + MTRAttributeIDTypeClusterTimeSynchronizationAttributeTimeZoneID = 0x00000005, + MTRAttributeIDTypeClusterTimeSynchronizationAttributeDstOffsetID = 0x00000006, + MTRAttributeIDTypeClusterTimeSynchronizationAttributeLocalTimeID = 0x00000007, + MTRAttributeIDTypeClusterTimeSynchronizationAttributeTimeZoneDatabaseID = 0x00000008, + MTRAttributeIDTypeClusterTimeSynchronizationAttributeNtpServerPortID = 0x00000009, + MTRAttributeIDTypeClusterTimeSynchronizationAttributeGeneratedCommandListID + = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterTimeSynchronizationAttributeAcceptedCommandListID + = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterTimeSynchronizationAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterTimeSynchronizationAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterTimeSynchronizationAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster BridgedDeviceBasic attributes - MTRClusterBridgedDeviceBasicAttributeVendorNameID = 0x00000001, - MTRClusterBridgedDeviceBasicAttributeVendorIDID = 0x00000002, - MTRClusterBridgedDeviceBasicAttributeProductNameID = 0x00000003, - MTRClusterBridgedDeviceBasicAttributeNodeLabelID = 0x00000005, - MTRClusterBridgedDeviceBasicAttributeHardwareVersionID = 0x00000007, - MTRClusterBridgedDeviceBasicAttributeHardwareVersionStringID = 0x00000008, - MTRClusterBridgedDeviceBasicAttributeSoftwareVersionID = 0x00000009, - MTRClusterBridgedDeviceBasicAttributeSoftwareVersionStringID = 0x0000000A, - MTRClusterBridgedDeviceBasicAttributeManufacturingDateID = 0x0000000B, - MTRClusterBridgedDeviceBasicAttributePartNumberID = 0x0000000C, - MTRClusterBridgedDeviceBasicAttributeProductURLID = 0x0000000D, - MTRClusterBridgedDeviceBasicAttributeProductLabelID = 0x0000000E, - MTRClusterBridgedDeviceBasicAttributeSerialNumberID = 0x0000000F, - MTRClusterBridgedDeviceBasicAttributeReachableID = 0x00000011, - MTRClusterBridgedDeviceBasicAttributeUniqueIDID = 0x00000012, - MTRClusterBridgedDeviceBasicAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterBridgedDeviceBasicAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterBridgedDeviceBasicAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterBridgedDeviceBasicAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterBridgedDeviceBasicAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterBridgedDeviceBasicAttributeVendorNameID = 0x00000001, + MTRAttributeIDTypeClusterBridgedDeviceBasicAttributeVendorIDID = 0x00000002, + MTRAttributeIDTypeClusterBridgedDeviceBasicAttributeProductNameID = 0x00000003, + MTRAttributeIDTypeClusterBridgedDeviceBasicAttributeNodeLabelID = 0x00000005, + MTRAttributeIDTypeClusterBridgedDeviceBasicAttributeHardwareVersionID = 0x00000007, + MTRAttributeIDTypeClusterBridgedDeviceBasicAttributeHardwareVersionStringID = 0x00000008, + MTRAttributeIDTypeClusterBridgedDeviceBasicAttributeSoftwareVersionID = 0x00000009, + MTRAttributeIDTypeClusterBridgedDeviceBasicAttributeSoftwareVersionStringID = 0x0000000A, + MTRAttributeIDTypeClusterBridgedDeviceBasicAttributeManufacturingDateID = 0x0000000B, + MTRAttributeIDTypeClusterBridgedDeviceBasicAttributePartNumberID = 0x0000000C, + MTRAttributeIDTypeClusterBridgedDeviceBasicAttributeProductURLID = 0x0000000D, + MTRAttributeIDTypeClusterBridgedDeviceBasicAttributeProductLabelID = 0x0000000E, + MTRAttributeIDTypeClusterBridgedDeviceBasicAttributeSerialNumberID = 0x0000000F, + MTRAttributeIDTypeClusterBridgedDeviceBasicAttributeReachableID = 0x00000011, + MTRAttributeIDTypeClusterBridgedDeviceBasicAttributeUniqueIDID = 0x00000012, + MTRAttributeIDTypeClusterBridgedDeviceBasicAttributeGeneratedCommandListID + = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterBridgedDeviceBasicAttributeAcceptedCommandListID + = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterBridgedDeviceBasicAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterBridgedDeviceBasicAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterBridgedDeviceBasicAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster Switch attributes - MTRClusterSwitchAttributeNumberOfPositionsID = 0x00000000, - MTRClusterSwitchAttributeCurrentPositionID = 0x00000001, - MTRClusterSwitchAttributeMultiPressMaxID = 0x00000002, - MTRClusterSwitchAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterSwitchAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterSwitchAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterSwitchAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterSwitchAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterSwitchAttributeNumberOfPositionsID = 0x00000000, + MTRAttributeIDTypeClusterSwitchAttributeCurrentPositionID = 0x00000001, + MTRAttributeIDTypeClusterSwitchAttributeMultiPressMaxID = 0x00000002, + MTRAttributeIDTypeClusterSwitchAttributeGeneratedCommandListID = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterSwitchAttributeAcceptedCommandListID = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterSwitchAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterSwitchAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterSwitchAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster AdministratorCommissioning attributes - MTRClusterAdministratorCommissioningAttributeWindowStatusID = 0x00000000, - MTRClusterAdministratorCommissioningAttributeAdminFabricIndexID = 0x00000001, - MTRClusterAdministratorCommissioningAttributeAdminVendorIdID = 0x00000002, - MTRClusterAdministratorCommissioningAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterAdministratorCommissioningAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterAdministratorCommissioningAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterAdministratorCommissioningAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterAdministratorCommissioningAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterAdministratorCommissioningAttributeWindowStatusID = 0x00000000, + MTRAttributeIDTypeClusterAdministratorCommissioningAttributeAdminFabricIndexID = 0x00000001, + MTRAttributeIDTypeClusterAdministratorCommissioningAttributeAdminVendorIdID = 0x00000002, + MTRAttributeIDTypeClusterAdministratorCommissioningAttributeGeneratedCommandListID + = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterAdministratorCommissioningAttributeAcceptedCommandListID + = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterAdministratorCommissioningAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterAdministratorCommissioningAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterAdministratorCommissioningAttributeClusterRevisionID + = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster OperationalCredentials attributes - MTRClusterOperationalCredentialsAttributeNOCsID = 0x00000000, - MTRClusterOperationalCredentialsAttributeFabricsID = 0x00000001, - MTRClusterOperationalCredentialsAttributeSupportedFabricsID = 0x00000002, - MTRClusterOperationalCredentialsAttributeCommissionedFabricsID = 0x00000003, - MTRClusterOperationalCredentialsAttributeTrustedRootCertificatesID = 0x00000004, - MTRClusterOperationalCredentialsAttributeCurrentFabricIndexID = 0x00000005, - MTRClusterOperationalCredentialsAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterOperationalCredentialsAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterOperationalCredentialsAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterOperationalCredentialsAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterOperationalCredentialsAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterOperationalCredentialsAttributeNOCsID = 0x00000000, + MTRAttributeIDTypeClusterOperationalCredentialsAttributeFabricsID = 0x00000001, + MTRAttributeIDTypeClusterOperationalCredentialsAttributeSupportedFabricsID = 0x00000002, + MTRAttributeIDTypeClusterOperationalCredentialsAttributeCommissionedFabricsID = 0x00000003, + MTRAttributeIDTypeClusterOperationalCredentialsAttributeTrustedRootCertificatesID = 0x00000004, + MTRAttributeIDTypeClusterOperationalCredentialsAttributeCurrentFabricIndexID = 0x00000005, + MTRAttributeIDTypeClusterOperationalCredentialsAttributeGeneratedCommandListID + = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterOperationalCredentialsAttributeAcceptedCommandListID + = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterOperationalCredentialsAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterOperationalCredentialsAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterOperationalCredentialsAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster GroupKeyManagement attributes - MTRClusterGroupKeyManagementAttributeGroupKeyMapID = 0x00000000, - MTRClusterGroupKeyManagementAttributeGroupTableID = 0x00000001, - MTRClusterGroupKeyManagementAttributeMaxGroupsPerFabricID = 0x00000002, - MTRClusterGroupKeyManagementAttributeMaxGroupKeysPerFabricID = 0x00000003, - MTRClusterGroupKeyManagementAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterGroupKeyManagementAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterGroupKeyManagementAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterGroupKeyManagementAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterGroupKeyManagementAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterGroupKeyManagementAttributeGroupKeyMapID = 0x00000000, + MTRAttributeIDTypeClusterGroupKeyManagementAttributeGroupTableID = 0x00000001, + MTRAttributeIDTypeClusterGroupKeyManagementAttributeMaxGroupsPerFabricID = 0x00000002, + MTRAttributeIDTypeClusterGroupKeyManagementAttributeMaxGroupKeysPerFabricID = 0x00000003, + MTRAttributeIDTypeClusterGroupKeyManagementAttributeGeneratedCommandListID + = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterGroupKeyManagementAttributeAcceptedCommandListID + = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterGroupKeyManagementAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterGroupKeyManagementAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterGroupKeyManagementAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster FixedLabel attributes - MTRClusterFixedLabelAttributeLabelListID = 0x00000000, - MTRClusterFixedLabelAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterFixedLabelAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterFixedLabelAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterFixedLabelAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterFixedLabelAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterFixedLabelAttributeLabelListID = 0x00000000, + MTRAttributeIDTypeClusterFixedLabelAttributeGeneratedCommandListID = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterFixedLabelAttributeAcceptedCommandListID = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterFixedLabelAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterFixedLabelAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterFixedLabelAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster UserLabel attributes - MTRClusterUserLabelAttributeLabelListID = 0x00000000, - MTRClusterUserLabelAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterUserLabelAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterUserLabelAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterUserLabelAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterUserLabelAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterUserLabelAttributeLabelListID = 0x00000000, + MTRAttributeIDTypeClusterUserLabelAttributeGeneratedCommandListID = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterUserLabelAttributeAcceptedCommandListID = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterUserLabelAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterUserLabelAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterUserLabelAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster ProxyConfiguration attributes - MTRClusterProxyConfigurationAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterProxyConfigurationAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterProxyConfigurationAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterProxyConfigurationAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterProxyConfigurationAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterProxyConfigurationAttributeGeneratedCommandListID + = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterProxyConfigurationAttributeAcceptedCommandListID + = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterProxyConfigurationAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterProxyConfigurationAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterProxyConfigurationAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster ProxyDiscovery attributes - MTRClusterProxyDiscoveryAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterProxyDiscoveryAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterProxyDiscoveryAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterProxyDiscoveryAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterProxyDiscoveryAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterProxyDiscoveryAttributeGeneratedCommandListID + = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterProxyDiscoveryAttributeAcceptedCommandListID = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterProxyDiscoveryAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterProxyDiscoveryAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterProxyDiscoveryAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster ProxyValid attributes - MTRClusterProxyValidAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterProxyValidAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterProxyValidAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterProxyValidAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterProxyValidAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterProxyValidAttributeGeneratedCommandListID = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterProxyValidAttributeAcceptedCommandListID = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterProxyValidAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterProxyValidAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterProxyValidAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster BooleanState attributes - MTRClusterBooleanStateAttributeStateValueID = 0x00000000, - MTRClusterBooleanStateAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterBooleanStateAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterBooleanStateAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterBooleanStateAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterBooleanStateAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterBooleanStateAttributeStateValueID = 0x00000000, + MTRAttributeIDTypeClusterBooleanStateAttributeGeneratedCommandListID = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterBooleanStateAttributeAcceptedCommandListID = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterBooleanStateAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterBooleanStateAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterBooleanStateAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster ModeSelect attributes - MTRClusterModeSelectAttributeDescriptionID = 0x00000000, - MTRClusterModeSelectAttributeStandardNamespaceID = 0x00000001, - MTRClusterModeSelectAttributeSupportedModesID = 0x00000002, - MTRClusterModeSelectAttributeCurrentModeID = 0x00000003, - MTRClusterModeSelectAttributeStartUpModeID = 0x00000004, - MTRClusterModeSelectAttributeOnModeID = 0x00000005, - MTRClusterModeSelectAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterModeSelectAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterModeSelectAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterModeSelectAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterModeSelectAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterModeSelectAttributeDescriptionID = 0x00000000, + MTRAttributeIDTypeClusterModeSelectAttributeStandardNamespaceID = 0x00000001, + MTRAttributeIDTypeClusterModeSelectAttributeSupportedModesID = 0x00000002, + MTRAttributeIDTypeClusterModeSelectAttributeCurrentModeID = 0x00000003, + MTRAttributeIDTypeClusterModeSelectAttributeStartUpModeID = 0x00000004, + MTRAttributeIDTypeClusterModeSelectAttributeOnModeID = 0x00000005, + MTRAttributeIDTypeClusterModeSelectAttributeGeneratedCommandListID = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterModeSelectAttributeAcceptedCommandListID = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterModeSelectAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterModeSelectAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterModeSelectAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster DoorLock attributes - MTRClusterDoorLockAttributeLockStateID = 0x00000000, - MTRClusterDoorLockAttributeLockTypeID = 0x00000001, - MTRClusterDoorLockAttributeActuatorEnabledID = 0x00000002, - MTRClusterDoorLockAttributeDoorStateID = 0x00000003, - MTRClusterDoorLockAttributeDoorOpenEventsID = 0x00000004, - MTRClusterDoorLockAttributeDoorClosedEventsID = 0x00000005, - MTRClusterDoorLockAttributeOpenPeriodID = 0x00000006, - MTRClusterDoorLockAttributeNumberOfTotalUsersSupportedID = 0x00000011, - MTRClusterDoorLockAttributeNumberOfPINUsersSupportedID = 0x00000012, - MTRClusterDoorLockAttributeNumberOfRFIDUsersSupportedID = 0x00000013, - MTRClusterDoorLockAttributeNumberOfWeekDaySchedulesSupportedPerUserID = 0x00000014, - MTRClusterDoorLockAttributeNumberOfYearDaySchedulesSupportedPerUserID = 0x00000015, - MTRClusterDoorLockAttributeNumberOfHolidaySchedulesSupportedID = 0x00000016, - MTRClusterDoorLockAttributeMaxPINCodeLengthID = 0x00000017, - MTRClusterDoorLockAttributeMinPINCodeLengthID = 0x00000018, - MTRClusterDoorLockAttributeMaxRFIDCodeLengthID = 0x00000019, - MTRClusterDoorLockAttributeMinRFIDCodeLengthID = 0x0000001A, - MTRClusterDoorLockAttributeCredentialRulesSupportID = 0x0000001B, - MTRClusterDoorLockAttributeNumberOfCredentialsSupportedPerUserID = 0x0000001C, - MTRClusterDoorLockAttributeLanguageID = 0x00000021, - MTRClusterDoorLockAttributeLEDSettingsID = 0x00000022, - MTRClusterDoorLockAttributeAutoRelockTimeID = 0x00000023, - MTRClusterDoorLockAttributeSoundVolumeID = 0x00000024, - MTRClusterDoorLockAttributeOperatingModeID = 0x00000025, - MTRClusterDoorLockAttributeSupportedOperatingModesID = 0x00000026, - MTRClusterDoorLockAttributeDefaultConfigurationRegisterID = 0x00000027, - MTRClusterDoorLockAttributeEnableLocalProgrammingID = 0x00000028, - MTRClusterDoorLockAttributeEnableOneTouchLockingID = 0x00000029, - MTRClusterDoorLockAttributeEnableInsideStatusLEDID = 0x0000002A, - MTRClusterDoorLockAttributeEnablePrivacyModeButtonID = 0x0000002B, - MTRClusterDoorLockAttributeLocalProgrammingFeaturesID = 0x0000002C, - MTRClusterDoorLockAttributeWrongCodeEntryLimitID = 0x00000030, - MTRClusterDoorLockAttributeUserCodeTemporaryDisableTimeID = 0x00000031, - MTRClusterDoorLockAttributeSendPINOverTheAirID = 0x00000032, - MTRClusterDoorLockAttributeRequirePINforRemoteOperationID = 0x00000033, - MTRClusterDoorLockAttributeExpiringUserTimeoutID = 0x00000035, - MTRClusterDoorLockAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterDoorLockAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterDoorLockAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterDoorLockAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterDoorLockAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterDoorLockAttributeLockStateID = 0x00000000, + MTRAttributeIDTypeClusterDoorLockAttributeLockTypeID = 0x00000001, + MTRAttributeIDTypeClusterDoorLockAttributeActuatorEnabledID = 0x00000002, + MTRAttributeIDTypeClusterDoorLockAttributeDoorStateID = 0x00000003, + MTRAttributeIDTypeClusterDoorLockAttributeDoorOpenEventsID = 0x00000004, + MTRAttributeIDTypeClusterDoorLockAttributeDoorClosedEventsID = 0x00000005, + MTRAttributeIDTypeClusterDoorLockAttributeOpenPeriodID = 0x00000006, + MTRAttributeIDTypeClusterDoorLockAttributeNumberOfTotalUsersSupportedID = 0x00000011, + MTRAttributeIDTypeClusterDoorLockAttributeNumberOfPINUsersSupportedID = 0x00000012, + MTRAttributeIDTypeClusterDoorLockAttributeNumberOfRFIDUsersSupportedID = 0x00000013, + MTRAttributeIDTypeClusterDoorLockAttributeNumberOfWeekDaySchedulesSupportedPerUserID = 0x00000014, + MTRAttributeIDTypeClusterDoorLockAttributeNumberOfYearDaySchedulesSupportedPerUserID = 0x00000015, + MTRAttributeIDTypeClusterDoorLockAttributeNumberOfHolidaySchedulesSupportedID = 0x00000016, + MTRAttributeIDTypeClusterDoorLockAttributeMaxPINCodeLengthID = 0x00000017, + MTRAttributeIDTypeClusterDoorLockAttributeMinPINCodeLengthID = 0x00000018, + MTRAttributeIDTypeClusterDoorLockAttributeMaxRFIDCodeLengthID = 0x00000019, + MTRAttributeIDTypeClusterDoorLockAttributeMinRFIDCodeLengthID = 0x0000001A, + MTRAttributeIDTypeClusterDoorLockAttributeCredentialRulesSupportID = 0x0000001B, + MTRAttributeIDTypeClusterDoorLockAttributeNumberOfCredentialsSupportedPerUserID = 0x0000001C, + MTRAttributeIDTypeClusterDoorLockAttributeLanguageID = 0x00000021, + MTRAttributeIDTypeClusterDoorLockAttributeLEDSettingsID = 0x00000022, + MTRAttributeIDTypeClusterDoorLockAttributeAutoRelockTimeID = 0x00000023, + MTRAttributeIDTypeClusterDoorLockAttributeSoundVolumeID = 0x00000024, + MTRAttributeIDTypeClusterDoorLockAttributeOperatingModeID = 0x00000025, + MTRAttributeIDTypeClusterDoorLockAttributeSupportedOperatingModesID = 0x00000026, + MTRAttributeIDTypeClusterDoorLockAttributeDefaultConfigurationRegisterID = 0x00000027, + MTRAttributeIDTypeClusterDoorLockAttributeEnableLocalProgrammingID = 0x00000028, + MTRAttributeIDTypeClusterDoorLockAttributeEnableOneTouchLockingID = 0x00000029, + MTRAttributeIDTypeClusterDoorLockAttributeEnableInsideStatusLEDID = 0x0000002A, + MTRAttributeIDTypeClusterDoorLockAttributeEnablePrivacyModeButtonID = 0x0000002B, + MTRAttributeIDTypeClusterDoorLockAttributeLocalProgrammingFeaturesID = 0x0000002C, + MTRAttributeIDTypeClusterDoorLockAttributeWrongCodeEntryLimitID = 0x00000030, + MTRAttributeIDTypeClusterDoorLockAttributeUserCodeTemporaryDisableTimeID = 0x00000031, + MTRAttributeIDTypeClusterDoorLockAttributeSendPINOverTheAirID = 0x00000032, + MTRAttributeIDTypeClusterDoorLockAttributeRequirePINforRemoteOperationID = 0x00000033, + MTRAttributeIDTypeClusterDoorLockAttributeExpiringUserTimeoutID = 0x00000035, + MTRAttributeIDTypeClusterDoorLockAttributeGeneratedCommandListID = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterDoorLockAttributeAcceptedCommandListID = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterDoorLockAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterDoorLockAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterDoorLockAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster WindowCovering attributes - MTRClusterWindowCoveringAttributeTypeID = 0x00000000, - MTRClusterWindowCoveringAttributePhysicalClosedLimitLiftID = 0x00000001, - MTRClusterWindowCoveringAttributePhysicalClosedLimitTiltID = 0x00000002, - MTRClusterWindowCoveringAttributeCurrentPositionLiftID = 0x00000003, - MTRClusterWindowCoveringAttributeCurrentPositionTiltID = 0x00000004, - MTRClusterWindowCoveringAttributeNumberOfActuationsLiftID = 0x00000005, - MTRClusterWindowCoveringAttributeNumberOfActuationsTiltID = 0x00000006, - MTRClusterWindowCoveringAttributeConfigStatusID = 0x00000007, - MTRClusterWindowCoveringAttributeCurrentPositionLiftPercentageID = 0x00000008, - MTRClusterWindowCoveringAttributeCurrentPositionTiltPercentageID = 0x00000009, - MTRClusterWindowCoveringAttributeOperationalStatusID = 0x0000000A, - MTRClusterWindowCoveringAttributeTargetPositionLiftPercent100thsID = 0x0000000B, - MTRClusterWindowCoveringAttributeTargetPositionTiltPercent100thsID = 0x0000000C, - MTRClusterWindowCoveringAttributeEndProductTypeID = 0x0000000D, - MTRClusterWindowCoveringAttributeCurrentPositionLiftPercent100thsID = 0x0000000E, - MTRClusterWindowCoveringAttributeCurrentPositionTiltPercent100thsID = 0x0000000F, - MTRClusterWindowCoveringAttributeInstalledOpenLimitLiftID = 0x00000010, - MTRClusterWindowCoveringAttributeInstalledClosedLimitLiftID = 0x00000011, - MTRClusterWindowCoveringAttributeInstalledOpenLimitTiltID = 0x00000012, - MTRClusterWindowCoveringAttributeInstalledClosedLimitTiltID = 0x00000013, - MTRClusterWindowCoveringAttributeModeID = 0x00000017, - MTRClusterWindowCoveringAttributeSafetyStatusID = 0x0000001A, - MTRClusterWindowCoveringAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterWindowCoveringAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterWindowCoveringAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterWindowCoveringAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterWindowCoveringAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterWindowCoveringAttributeTypeID = 0x00000000, + MTRAttributeIDTypeClusterWindowCoveringAttributePhysicalClosedLimitLiftID = 0x00000001, + MTRAttributeIDTypeClusterWindowCoveringAttributePhysicalClosedLimitTiltID = 0x00000002, + MTRAttributeIDTypeClusterWindowCoveringAttributeCurrentPositionLiftID = 0x00000003, + MTRAttributeIDTypeClusterWindowCoveringAttributeCurrentPositionTiltID = 0x00000004, + MTRAttributeIDTypeClusterWindowCoveringAttributeNumberOfActuationsLiftID = 0x00000005, + MTRAttributeIDTypeClusterWindowCoveringAttributeNumberOfActuationsTiltID = 0x00000006, + MTRAttributeIDTypeClusterWindowCoveringAttributeConfigStatusID = 0x00000007, + MTRAttributeIDTypeClusterWindowCoveringAttributeCurrentPositionLiftPercentageID = 0x00000008, + MTRAttributeIDTypeClusterWindowCoveringAttributeCurrentPositionTiltPercentageID = 0x00000009, + MTRAttributeIDTypeClusterWindowCoveringAttributeOperationalStatusID = 0x0000000A, + MTRAttributeIDTypeClusterWindowCoveringAttributeTargetPositionLiftPercent100thsID = 0x0000000B, + MTRAttributeIDTypeClusterWindowCoveringAttributeTargetPositionTiltPercent100thsID = 0x0000000C, + MTRAttributeIDTypeClusterWindowCoveringAttributeEndProductTypeID = 0x0000000D, + MTRAttributeIDTypeClusterWindowCoveringAttributeCurrentPositionLiftPercent100thsID = 0x0000000E, + MTRAttributeIDTypeClusterWindowCoveringAttributeCurrentPositionTiltPercent100thsID = 0x0000000F, + MTRAttributeIDTypeClusterWindowCoveringAttributeInstalledOpenLimitLiftID = 0x00000010, + MTRAttributeIDTypeClusterWindowCoveringAttributeInstalledClosedLimitLiftID = 0x00000011, + MTRAttributeIDTypeClusterWindowCoveringAttributeInstalledOpenLimitTiltID = 0x00000012, + MTRAttributeIDTypeClusterWindowCoveringAttributeInstalledClosedLimitTiltID = 0x00000013, + MTRAttributeIDTypeClusterWindowCoveringAttributeModeID = 0x00000017, + MTRAttributeIDTypeClusterWindowCoveringAttributeSafetyStatusID = 0x0000001A, + MTRAttributeIDTypeClusterWindowCoveringAttributeGeneratedCommandListID + = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterWindowCoveringAttributeAcceptedCommandListID = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterWindowCoveringAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterWindowCoveringAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterWindowCoveringAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster BarrierControl attributes - MTRClusterBarrierControlAttributeBarrierMovingStateID = 0x00000001, - MTRClusterBarrierControlAttributeBarrierSafetyStatusID = 0x00000002, - MTRClusterBarrierControlAttributeBarrierCapabilitiesID = 0x00000003, - MTRClusterBarrierControlAttributeBarrierOpenEventsID = 0x00000004, - MTRClusterBarrierControlAttributeBarrierCloseEventsID = 0x00000005, - MTRClusterBarrierControlAttributeBarrierCommandOpenEventsID = 0x00000006, - MTRClusterBarrierControlAttributeBarrierCommandCloseEventsID = 0x00000007, - MTRClusterBarrierControlAttributeBarrierOpenPeriodID = 0x00000008, - MTRClusterBarrierControlAttributeBarrierClosePeriodID = 0x00000009, - MTRClusterBarrierControlAttributeBarrierPositionID = 0x0000000A, - MTRClusterBarrierControlAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterBarrierControlAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterBarrierControlAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterBarrierControlAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterBarrierControlAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterBarrierControlAttributeBarrierMovingStateID = 0x00000001, + MTRAttributeIDTypeClusterBarrierControlAttributeBarrierSafetyStatusID = 0x00000002, + MTRAttributeIDTypeClusterBarrierControlAttributeBarrierCapabilitiesID = 0x00000003, + MTRAttributeIDTypeClusterBarrierControlAttributeBarrierOpenEventsID = 0x00000004, + MTRAttributeIDTypeClusterBarrierControlAttributeBarrierCloseEventsID = 0x00000005, + MTRAttributeIDTypeClusterBarrierControlAttributeBarrierCommandOpenEventsID = 0x00000006, + MTRAttributeIDTypeClusterBarrierControlAttributeBarrierCommandCloseEventsID = 0x00000007, + MTRAttributeIDTypeClusterBarrierControlAttributeBarrierOpenPeriodID = 0x00000008, + MTRAttributeIDTypeClusterBarrierControlAttributeBarrierClosePeriodID = 0x00000009, + MTRAttributeIDTypeClusterBarrierControlAttributeBarrierPositionID = 0x0000000A, + MTRAttributeIDTypeClusterBarrierControlAttributeGeneratedCommandListID + = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterBarrierControlAttributeAcceptedCommandListID = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterBarrierControlAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterBarrierControlAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterBarrierControlAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster PumpConfigurationAndControl attributes - MTRClusterPumpConfigurationAndControlAttributeMaxPressureID = 0x00000000, - MTRClusterPumpConfigurationAndControlAttributeMaxSpeedID = 0x00000001, - MTRClusterPumpConfigurationAndControlAttributeMaxFlowID = 0x00000002, - MTRClusterPumpConfigurationAndControlAttributeMinConstPressureID = 0x00000003, - MTRClusterPumpConfigurationAndControlAttributeMaxConstPressureID = 0x00000004, - MTRClusterPumpConfigurationAndControlAttributeMinCompPressureID = 0x00000005, - MTRClusterPumpConfigurationAndControlAttributeMaxCompPressureID = 0x00000006, - MTRClusterPumpConfigurationAndControlAttributeMinConstSpeedID = 0x00000007, - MTRClusterPumpConfigurationAndControlAttributeMaxConstSpeedID = 0x00000008, - MTRClusterPumpConfigurationAndControlAttributeMinConstFlowID = 0x00000009, - MTRClusterPumpConfigurationAndControlAttributeMaxConstFlowID = 0x0000000A, - MTRClusterPumpConfigurationAndControlAttributeMinConstTempID = 0x0000000B, - MTRClusterPumpConfigurationAndControlAttributeMaxConstTempID = 0x0000000C, - MTRClusterPumpConfigurationAndControlAttributePumpStatusID = 0x00000010, - MTRClusterPumpConfigurationAndControlAttributeEffectiveOperationModeID = 0x00000011, - MTRClusterPumpConfigurationAndControlAttributeEffectiveControlModeID = 0x00000012, - MTRClusterPumpConfigurationAndControlAttributeCapacityID = 0x00000013, - MTRClusterPumpConfigurationAndControlAttributeSpeedID = 0x00000014, - MTRClusterPumpConfigurationAndControlAttributeLifetimeRunningHoursID = 0x00000015, - MTRClusterPumpConfigurationAndControlAttributePowerID = 0x00000016, - MTRClusterPumpConfigurationAndControlAttributeLifetimeEnergyConsumedID = 0x00000017, - MTRClusterPumpConfigurationAndControlAttributeOperationModeID = 0x00000020, - MTRClusterPumpConfigurationAndControlAttributeControlModeID = 0x00000021, - MTRClusterPumpConfigurationAndControlAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterPumpConfigurationAndControlAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterPumpConfigurationAndControlAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterPumpConfigurationAndControlAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterPumpConfigurationAndControlAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeMaxPressureID = 0x00000000, + MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeMaxSpeedID = 0x00000001, + MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeMaxFlowID = 0x00000002, + MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeMinConstPressureID = 0x00000003, + MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeMaxConstPressureID = 0x00000004, + MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeMinCompPressureID = 0x00000005, + MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeMaxCompPressureID = 0x00000006, + MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeMinConstSpeedID = 0x00000007, + MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeMaxConstSpeedID = 0x00000008, + MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeMinConstFlowID = 0x00000009, + MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeMaxConstFlowID = 0x0000000A, + MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeMinConstTempID = 0x0000000B, + MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeMaxConstTempID = 0x0000000C, + MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributePumpStatusID = 0x00000010, + MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeEffectiveOperationModeID = 0x00000011, + MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeEffectiveControlModeID = 0x00000012, + MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeCapacityID = 0x00000013, + MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeSpeedID = 0x00000014, + MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeLifetimeRunningHoursID = 0x00000015, + MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributePowerID = 0x00000016, + MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeLifetimeEnergyConsumedID = 0x00000017, + MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeOperationModeID = 0x00000020, + MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeControlModeID = 0x00000021, + MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeGeneratedCommandListID + = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeAcceptedCommandListID + = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeClusterRevisionID + = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster Thermostat attributes - MTRClusterThermostatAttributeLocalTemperatureID = 0x00000000, - MTRClusterThermostatAttributeOutdoorTemperatureID = 0x00000001, - MTRClusterThermostatAttributeOccupancyID = 0x00000002, - MTRClusterThermostatAttributeAbsMinHeatSetpointLimitID = 0x00000003, - MTRClusterThermostatAttributeAbsMaxHeatSetpointLimitID = 0x00000004, - MTRClusterThermostatAttributeAbsMinCoolSetpointLimitID = 0x00000005, - MTRClusterThermostatAttributeAbsMaxCoolSetpointLimitID = 0x00000006, - MTRClusterThermostatAttributePICoolingDemandID = 0x00000007, - MTRClusterThermostatAttributePIHeatingDemandID = 0x00000008, - MTRClusterThermostatAttributeHVACSystemTypeConfigurationID = 0x00000009, - MTRClusterThermostatAttributeLocalTemperatureCalibrationID = 0x00000010, - MTRClusterThermostatAttributeOccupiedCoolingSetpointID = 0x00000011, - MTRClusterThermostatAttributeOccupiedHeatingSetpointID = 0x00000012, - MTRClusterThermostatAttributeUnoccupiedCoolingSetpointID = 0x00000013, - MTRClusterThermostatAttributeUnoccupiedHeatingSetpointID = 0x00000014, - MTRClusterThermostatAttributeMinHeatSetpointLimitID = 0x00000015, - MTRClusterThermostatAttributeMaxHeatSetpointLimitID = 0x00000016, - MTRClusterThermostatAttributeMinCoolSetpointLimitID = 0x00000017, - MTRClusterThermostatAttributeMaxCoolSetpointLimitID = 0x00000018, - MTRClusterThermostatAttributeMinSetpointDeadBandID = 0x00000019, - MTRClusterThermostatAttributeRemoteSensingID = 0x0000001A, - MTRClusterThermostatAttributeControlSequenceOfOperationID = 0x0000001B, - MTRClusterThermostatAttributeSystemModeID = 0x0000001C, - MTRClusterThermostatAttributeThermostatRunningModeID = 0x0000001E, - MTRClusterThermostatAttributeStartOfWeekID = 0x00000020, - MTRClusterThermostatAttributeNumberOfWeeklyTransitionsID = 0x00000021, - MTRClusterThermostatAttributeNumberOfDailyTransitionsID = 0x00000022, - MTRClusterThermostatAttributeTemperatureSetpointHoldID = 0x00000023, - MTRClusterThermostatAttributeTemperatureSetpointHoldDurationID = 0x00000024, - MTRClusterThermostatAttributeThermostatProgrammingOperationModeID = 0x00000025, - MTRClusterThermostatAttributeThermostatRunningStateID = 0x00000029, - MTRClusterThermostatAttributeSetpointChangeSourceID = 0x00000030, - MTRClusterThermostatAttributeSetpointChangeAmountID = 0x00000031, - MTRClusterThermostatAttributeSetpointChangeSourceTimestampID = 0x00000032, - MTRClusterThermostatAttributeOccupiedSetbackID = 0x00000034, - MTRClusterThermostatAttributeOccupiedSetbackMinID = 0x00000035, - MTRClusterThermostatAttributeOccupiedSetbackMaxID = 0x00000036, - MTRClusterThermostatAttributeUnoccupiedSetbackID = 0x00000037, - MTRClusterThermostatAttributeUnoccupiedSetbackMinID = 0x00000038, - MTRClusterThermostatAttributeUnoccupiedSetbackMaxID = 0x00000039, - MTRClusterThermostatAttributeEmergencyHeatDeltaID = 0x0000003A, - MTRClusterThermostatAttributeACTypeID = 0x00000040, - MTRClusterThermostatAttributeACCapacityID = 0x00000041, - MTRClusterThermostatAttributeACRefrigerantTypeID = 0x00000042, - MTRClusterThermostatAttributeACCompressorTypeID = 0x00000043, - MTRClusterThermostatAttributeACErrorCodeID = 0x00000044, - MTRClusterThermostatAttributeACLouverPositionID = 0x00000045, - MTRClusterThermostatAttributeACCoilTemperatureID = 0x00000046, - MTRClusterThermostatAttributeACCapacityformatID = 0x00000047, - MTRClusterThermostatAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterThermostatAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterThermostatAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterThermostatAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterThermostatAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterThermostatAttributeLocalTemperatureID = 0x00000000, + MTRAttributeIDTypeClusterThermostatAttributeOutdoorTemperatureID = 0x00000001, + MTRAttributeIDTypeClusterThermostatAttributeOccupancyID = 0x00000002, + MTRAttributeIDTypeClusterThermostatAttributeAbsMinHeatSetpointLimitID = 0x00000003, + MTRAttributeIDTypeClusterThermostatAttributeAbsMaxHeatSetpointLimitID = 0x00000004, + MTRAttributeIDTypeClusterThermostatAttributeAbsMinCoolSetpointLimitID = 0x00000005, + MTRAttributeIDTypeClusterThermostatAttributeAbsMaxCoolSetpointLimitID = 0x00000006, + MTRAttributeIDTypeClusterThermostatAttributePICoolingDemandID = 0x00000007, + MTRAttributeIDTypeClusterThermostatAttributePIHeatingDemandID = 0x00000008, + MTRAttributeIDTypeClusterThermostatAttributeHVACSystemTypeConfigurationID = 0x00000009, + MTRAttributeIDTypeClusterThermostatAttributeLocalTemperatureCalibrationID = 0x00000010, + MTRAttributeIDTypeClusterThermostatAttributeOccupiedCoolingSetpointID = 0x00000011, + MTRAttributeIDTypeClusterThermostatAttributeOccupiedHeatingSetpointID = 0x00000012, + MTRAttributeIDTypeClusterThermostatAttributeUnoccupiedCoolingSetpointID = 0x00000013, + MTRAttributeIDTypeClusterThermostatAttributeUnoccupiedHeatingSetpointID = 0x00000014, + MTRAttributeIDTypeClusterThermostatAttributeMinHeatSetpointLimitID = 0x00000015, + MTRAttributeIDTypeClusterThermostatAttributeMaxHeatSetpointLimitID = 0x00000016, + MTRAttributeIDTypeClusterThermostatAttributeMinCoolSetpointLimitID = 0x00000017, + MTRAttributeIDTypeClusterThermostatAttributeMaxCoolSetpointLimitID = 0x00000018, + MTRAttributeIDTypeClusterThermostatAttributeMinSetpointDeadBandID = 0x00000019, + MTRAttributeIDTypeClusterThermostatAttributeRemoteSensingID = 0x0000001A, + MTRAttributeIDTypeClusterThermostatAttributeControlSequenceOfOperationID = 0x0000001B, + MTRAttributeIDTypeClusterThermostatAttributeSystemModeID = 0x0000001C, + MTRAttributeIDTypeClusterThermostatAttributeThermostatRunningModeID = 0x0000001E, + MTRAttributeIDTypeClusterThermostatAttributeStartOfWeekID = 0x00000020, + MTRAttributeIDTypeClusterThermostatAttributeNumberOfWeeklyTransitionsID = 0x00000021, + MTRAttributeIDTypeClusterThermostatAttributeNumberOfDailyTransitionsID = 0x00000022, + MTRAttributeIDTypeClusterThermostatAttributeTemperatureSetpointHoldID = 0x00000023, + MTRAttributeIDTypeClusterThermostatAttributeTemperatureSetpointHoldDurationID = 0x00000024, + MTRAttributeIDTypeClusterThermostatAttributeThermostatProgrammingOperationModeID = 0x00000025, + MTRAttributeIDTypeClusterThermostatAttributeThermostatRunningStateID = 0x00000029, + MTRAttributeIDTypeClusterThermostatAttributeSetpointChangeSourceID = 0x00000030, + MTRAttributeIDTypeClusterThermostatAttributeSetpointChangeAmountID = 0x00000031, + MTRAttributeIDTypeClusterThermostatAttributeSetpointChangeSourceTimestampID = 0x00000032, + MTRAttributeIDTypeClusterThermostatAttributeOccupiedSetbackID = 0x00000034, + MTRAttributeIDTypeClusterThermostatAttributeOccupiedSetbackMinID = 0x00000035, + MTRAttributeIDTypeClusterThermostatAttributeOccupiedSetbackMaxID = 0x00000036, + MTRAttributeIDTypeClusterThermostatAttributeUnoccupiedSetbackID = 0x00000037, + MTRAttributeIDTypeClusterThermostatAttributeUnoccupiedSetbackMinID = 0x00000038, + MTRAttributeIDTypeClusterThermostatAttributeUnoccupiedSetbackMaxID = 0x00000039, + MTRAttributeIDTypeClusterThermostatAttributeEmergencyHeatDeltaID = 0x0000003A, + MTRAttributeIDTypeClusterThermostatAttributeACTypeID = 0x00000040, + MTRAttributeIDTypeClusterThermostatAttributeACCapacityID = 0x00000041, + MTRAttributeIDTypeClusterThermostatAttributeACRefrigerantTypeID = 0x00000042, + MTRAttributeIDTypeClusterThermostatAttributeACCompressorTypeID = 0x00000043, + MTRAttributeIDTypeClusterThermostatAttributeACErrorCodeID = 0x00000044, + MTRAttributeIDTypeClusterThermostatAttributeACLouverPositionID = 0x00000045, + MTRAttributeIDTypeClusterThermostatAttributeACCoilTemperatureID = 0x00000046, + MTRAttributeIDTypeClusterThermostatAttributeACCapacityformatID = 0x00000047, + MTRAttributeIDTypeClusterThermostatAttributeGeneratedCommandListID = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterThermostatAttributeAcceptedCommandListID = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterThermostatAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterThermostatAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterThermostatAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster FanControl attributes - MTRClusterFanControlAttributeFanModeID = 0x00000000, - MTRClusterFanControlAttributeFanModeSequenceID = 0x00000001, - MTRClusterFanControlAttributePercentSettingID = 0x00000002, - MTRClusterFanControlAttributePercentCurrentID = 0x00000003, - MTRClusterFanControlAttributeSpeedMaxID = 0x00000004, - MTRClusterFanControlAttributeSpeedSettingID = 0x00000005, - MTRClusterFanControlAttributeSpeedCurrentID = 0x00000006, - MTRClusterFanControlAttributeRockSupportID = 0x00000007, - MTRClusterFanControlAttributeRockSettingID = 0x00000008, - MTRClusterFanControlAttributeWindSupportID = 0x00000009, - MTRClusterFanControlAttributeWindSettingID = 0x0000000A, - MTRClusterFanControlAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterFanControlAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterFanControlAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterFanControlAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterFanControlAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterFanControlAttributeFanModeID = 0x00000000, + MTRAttributeIDTypeClusterFanControlAttributeFanModeSequenceID = 0x00000001, + MTRAttributeIDTypeClusterFanControlAttributePercentSettingID = 0x00000002, + MTRAttributeIDTypeClusterFanControlAttributePercentCurrentID = 0x00000003, + MTRAttributeIDTypeClusterFanControlAttributeSpeedMaxID = 0x00000004, + MTRAttributeIDTypeClusterFanControlAttributeSpeedSettingID = 0x00000005, + MTRAttributeIDTypeClusterFanControlAttributeSpeedCurrentID = 0x00000006, + MTRAttributeIDTypeClusterFanControlAttributeRockSupportID = 0x00000007, + MTRAttributeIDTypeClusterFanControlAttributeRockSettingID = 0x00000008, + MTRAttributeIDTypeClusterFanControlAttributeWindSupportID = 0x00000009, + MTRAttributeIDTypeClusterFanControlAttributeWindSettingID = 0x0000000A, + MTRAttributeIDTypeClusterFanControlAttributeGeneratedCommandListID = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterFanControlAttributeAcceptedCommandListID = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterFanControlAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterFanControlAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterFanControlAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster ThermostatUserInterfaceConfiguration attributes - MTRClusterThermostatUserInterfaceConfigurationAttributeTemperatureDisplayModeID = 0x00000000, - MTRClusterThermostatUserInterfaceConfigurationAttributeKeypadLockoutID = 0x00000001, - MTRClusterThermostatUserInterfaceConfigurationAttributeScheduleProgrammingVisibilityID = 0x00000002, - MTRClusterThermostatUserInterfaceConfigurationAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterThermostatUserInterfaceConfigurationAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterThermostatUserInterfaceConfigurationAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterThermostatUserInterfaceConfigurationAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterThermostatUserInterfaceConfigurationAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterThermostatUserInterfaceConfigurationAttributeTemperatureDisplayModeID = 0x00000000, + MTRAttributeIDTypeClusterThermostatUserInterfaceConfigurationAttributeKeypadLockoutID = 0x00000001, + MTRAttributeIDTypeClusterThermostatUserInterfaceConfigurationAttributeScheduleProgrammingVisibilityID = 0x00000002, + MTRAttributeIDTypeClusterThermostatUserInterfaceConfigurationAttributeGeneratedCommandListID + = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterThermostatUserInterfaceConfigurationAttributeAcceptedCommandListID + = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterThermostatUserInterfaceConfigurationAttributeAttributeListID + = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterThermostatUserInterfaceConfigurationAttributeFeatureMapID + = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterThermostatUserInterfaceConfigurationAttributeClusterRevisionID + = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster ColorControl attributes - MTRClusterColorControlAttributeCurrentHueID = 0x00000000, - MTRClusterColorControlAttributeCurrentSaturationID = 0x00000001, - MTRClusterColorControlAttributeRemainingTimeID = 0x00000002, - MTRClusterColorControlAttributeCurrentXID = 0x00000003, - MTRClusterColorControlAttributeCurrentYID = 0x00000004, - MTRClusterColorControlAttributeDriftCompensationID = 0x00000005, - MTRClusterColorControlAttributeCompensationTextID = 0x00000006, - MTRClusterColorControlAttributeColorTemperatureMiredsID = 0x00000007, - MTRClusterColorControlAttributeColorModeID = 0x00000008, - MTRClusterColorControlAttributeOptionsID = 0x0000000F, - MTRClusterColorControlAttributeNumberOfPrimariesID = 0x00000010, - MTRClusterColorControlAttributePrimary1XID = 0x00000011, - MTRClusterColorControlAttributePrimary1YID = 0x00000012, - MTRClusterColorControlAttributePrimary1IntensityID = 0x00000013, - MTRClusterColorControlAttributePrimary2XID = 0x00000015, - MTRClusterColorControlAttributePrimary2YID = 0x00000016, - MTRClusterColorControlAttributePrimary2IntensityID = 0x00000017, - MTRClusterColorControlAttributePrimary3XID = 0x00000019, - MTRClusterColorControlAttributePrimary3YID = 0x0000001A, - MTRClusterColorControlAttributePrimary3IntensityID = 0x0000001B, - MTRClusterColorControlAttributePrimary4XID = 0x00000020, - MTRClusterColorControlAttributePrimary4YID = 0x00000021, - MTRClusterColorControlAttributePrimary4IntensityID = 0x00000022, - MTRClusterColorControlAttributePrimary5XID = 0x00000024, - MTRClusterColorControlAttributePrimary5YID = 0x00000025, - MTRClusterColorControlAttributePrimary5IntensityID = 0x00000026, - MTRClusterColorControlAttributePrimary6XID = 0x00000028, - MTRClusterColorControlAttributePrimary6YID = 0x00000029, - MTRClusterColorControlAttributePrimary6IntensityID = 0x0000002A, - MTRClusterColorControlAttributeWhitePointXID = 0x00000030, - MTRClusterColorControlAttributeWhitePointYID = 0x00000031, - MTRClusterColorControlAttributeColorPointRXID = 0x00000032, - MTRClusterColorControlAttributeColorPointRYID = 0x00000033, - MTRClusterColorControlAttributeColorPointRIntensityID = 0x00000034, - MTRClusterColorControlAttributeColorPointGXID = 0x00000036, - MTRClusterColorControlAttributeColorPointGYID = 0x00000037, - MTRClusterColorControlAttributeColorPointGIntensityID = 0x00000038, - MTRClusterColorControlAttributeColorPointBXID = 0x0000003A, - MTRClusterColorControlAttributeColorPointBYID = 0x0000003B, - MTRClusterColorControlAttributeColorPointBIntensityID = 0x0000003C, - MTRClusterColorControlAttributeEnhancedCurrentHueID = 0x00004000, - MTRClusterColorControlAttributeEnhancedColorModeID = 0x00004001, - MTRClusterColorControlAttributeColorLoopActiveID = 0x00004002, - MTRClusterColorControlAttributeColorLoopDirectionID = 0x00004003, - MTRClusterColorControlAttributeColorLoopTimeID = 0x00004004, - MTRClusterColorControlAttributeColorLoopStartEnhancedHueID = 0x00004005, - MTRClusterColorControlAttributeColorLoopStoredEnhancedHueID = 0x00004006, - MTRClusterColorControlAttributeColorCapabilitiesID = 0x0000400A, - MTRClusterColorControlAttributeColorTempPhysicalMinMiredsID = 0x0000400B, - MTRClusterColorControlAttributeColorTempPhysicalMaxMiredsID = 0x0000400C, - MTRClusterColorControlAttributeCoupleColorTempToLevelMinMiredsID = 0x0000400D, - MTRClusterColorControlAttributeStartUpColorTemperatureMiredsID = 0x00004010, - MTRClusterColorControlAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterColorControlAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterColorControlAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterColorControlAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterColorControlAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterColorControlAttributeCurrentHueID = 0x00000000, + MTRAttributeIDTypeClusterColorControlAttributeCurrentSaturationID = 0x00000001, + MTRAttributeIDTypeClusterColorControlAttributeRemainingTimeID = 0x00000002, + MTRAttributeIDTypeClusterColorControlAttributeCurrentXID = 0x00000003, + MTRAttributeIDTypeClusterColorControlAttributeCurrentYID = 0x00000004, + MTRAttributeIDTypeClusterColorControlAttributeDriftCompensationID = 0x00000005, + MTRAttributeIDTypeClusterColorControlAttributeCompensationTextID = 0x00000006, + MTRAttributeIDTypeClusterColorControlAttributeColorTemperatureMiredsID = 0x00000007, + MTRAttributeIDTypeClusterColorControlAttributeColorModeID = 0x00000008, + MTRAttributeIDTypeClusterColorControlAttributeOptionsID = 0x0000000F, + MTRAttributeIDTypeClusterColorControlAttributeNumberOfPrimariesID = 0x00000010, + MTRAttributeIDTypeClusterColorControlAttributePrimary1XID = 0x00000011, + MTRAttributeIDTypeClusterColorControlAttributePrimary1YID = 0x00000012, + MTRAttributeIDTypeClusterColorControlAttributePrimary1IntensityID = 0x00000013, + MTRAttributeIDTypeClusterColorControlAttributePrimary2XID = 0x00000015, + MTRAttributeIDTypeClusterColorControlAttributePrimary2YID = 0x00000016, + MTRAttributeIDTypeClusterColorControlAttributePrimary2IntensityID = 0x00000017, + MTRAttributeIDTypeClusterColorControlAttributePrimary3XID = 0x00000019, + MTRAttributeIDTypeClusterColorControlAttributePrimary3YID = 0x0000001A, + MTRAttributeIDTypeClusterColorControlAttributePrimary3IntensityID = 0x0000001B, + MTRAttributeIDTypeClusterColorControlAttributePrimary4XID = 0x00000020, + MTRAttributeIDTypeClusterColorControlAttributePrimary4YID = 0x00000021, + MTRAttributeIDTypeClusterColorControlAttributePrimary4IntensityID = 0x00000022, + MTRAttributeIDTypeClusterColorControlAttributePrimary5XID = 0x00000024, + MTRAttributeIDTypeClusterColorControlAttributePrimary5YID = 0x00000025, + MTRAttributeIDTypeClusterColorControlAttributePrimary5IntensityID = 0x00000026, + MTRAttributeIDTypeClusterColorControlAttributePrimary6XID = 0x00000028, + MTRAttributeIDTypeClusterColorControlAttributePrimary6YID = 0x00000029, + MTRAttributeIDTypeClusterColorControlAttributePrimary6IntensityID = 0x0000002A, + MTRAttributeIDTypeClusterColorControlAttributeWhitePointXID = 0x00000030, + MTRAttributeIDTypeClusterColorControlAttributeWhitePointYID = 0x00000031, + MTRAttributeIDTypeClusterColorControlAttributeColorPointRXID = 0x00000032, + MTRAttributeIDTypeClusterColorControlAttributeColorPointRYID = 0x00000033, + MTRAttributeIDTypeClusterColorControlAttributeColorPointRIntensityID = 0x00000034, + MTRAttributeIDTypeClusterColorControlAttributeColorPointGXID = 0x00000036, + MTRAttributeIDTypeClusterColorControlAttributeColorPointGYID = 0x00000037, + MTRAttributeIDTypeClusterColorControlAttributeColorPointGIntensityID = 0x00000038, + MTRAttributeIDTypeClusterColorControlAttributeColorPointBXID = 0x0000003A, + MTRAttributeIDTypeClusterColorControlAttributeColorPointBYID = 0x0000003B, + MTRAttributeIDTypeClusterColorControlAttributeColorPointBIntensityID = 0x0000003C, + MTRAttributeIDTypeClusterColorControlAttributeEnhancedCurrentHueID = 0x00004000, + MTRAttributeIDTypeClusterColorControlAttributeEnhancedColorModeID = 0x00004001, + MTRAttributeIDTypeClusterColorControlAttributeColorLoopActiveID = 0x00004002, + MTRAttributeIDTypeClusterColorControlAttributeColorLoopDirectionID = 0x00004003, + MTRAttributeIDTypeClusterColorControlAttributeColorLoopTimeID = 0x00004004, + MTRAttributeIDTypeClusterColorControlAttributeColorLoopStartEnhancedHueID = 0x00004005, + MTRAttributeIDTypeClusterColorControlAttributeColorLoopStoredEnhancedHueID = 0x00004006, + MTRAttributeIDTypeClusterColorControlAttributeColorCapabilitiesID = 0x0000400A, + MTRAttributeIDTypeClusterColorControlAttributeColorTempPhysicalMinMiredsID = 0x0000400B, + MTRAttributeIDTypeClusterColorControlAttributeColorTempPhysicalMaxMiredsID = 0x0000400C, + MTRAttributeIDTypeClusterColorControlAttributeCoupleColorTempToLevelMinMiredsID = 0x0000400D, + MTRAttributeIDTypeClusterColorControlAttributeStartUpColorTemperatureMiredsID = 0x00004010, + MTRAttributeIDTypeClusterColorControlAttributeGeneratedCommandListID = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterColorControlAttributeAcceptedCommandListID = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterColorControlAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterColorControlAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterColorControlAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster BallastConfiguration attributes - MTRClusterBallastConfigurationAttributePhysicalMinLevelID = 0x00000000, - MTRClusterBallastConfigurationAttributePhysicalMaxLevelID = 0x00000001, - MTRClusterBallastConfigurationAttributeBallastStatusID = 0x00000002, - MTRClusterBallastConfigurationAttributeMinLevelID = 0x00000010, - MTRClusterBallastConfigurationAttributeMaxLevelID = 0x00000011, - MTRClusterBallastConfigurationAttributeIntrinsicBalanceFactorID = 0x00000014, - MTRClusterBallastConfigurationAttributeBallastFactorAdjustmentID = 0x00000015, - MTRClusterBallastConfigurationAttributeLampQuantityID = 0x00000020, - MTRClusterBallastConfigurationAttributeLampTypeID = 0x00000030, - MTRClusterBallastConfigurationAttributeLampManufacturerID = 0x00000031, - MTRClusterBallastConfigurationAttributeLampRatedHoursID = 0x00000032, - MTRClusterBallastConfigurationAttributeLampBurnHoursID = 0x00000033, - MTRClusterBallastConfigurationAttributeLampAlarmModeID = 0x00000034, - MTRClusterBallastConfigurationAttributeLampBurnHoursTripPointID = 0x00000035, - MTRClusterBallastConfigurationAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterBallastConfigurationAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterBallastConfigurationAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterBallastConfigurationAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterBallastConfigurationAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterBallastConfigurationAttributePhysicalMinLevelID = 0x00000000, + MTRAttributeIDTypeClusterBallastConfigurationAttributePhysicalMaxLevelID = 0x00000001, + MTRAttributeIDTypeClusterBallastConfigurationAttributeBallastStatusID = 0x00000002, + MTRAttributeIDTypeClusterBallastConfigurationAttributeMinLevelID = 0x00000010, + MTRAttributeIDTypeClusterBallastConfigurationAttributeMaxLevelID = 0x00000011, + MTRAttributeIDTypeClusterBallastConfigurationAttributeIntrinsicBalanceFactorID = 0x00000014, + MTRAttributeIDTypeClusterBallastConfigurationAttributeBallastFactorAdjustmentID = 0x00000015, + MTRAttributeIDTypeClusterBallastConfigurationAttributeLampQuantityID = 0x00000020, + MTRAttributeIDTypeClusterBallastConfigurationAttributeLampTypeID = 0x00000030, + MTRAttributeIDTypeClusterBallastConfigurationAttributeLampManufacturerID = 0x00000031, + MTRAttributeIDTypeClusterBallastConfigurationAttributeLampRatedHoursID = 0x00000032, + MTRAttributeIDTypeClusterBallastConfigurationAttributeLampBurnHoursID = 0x00000033, + MTRAttributeIDTypeClusterBallastConfigurationAttributeLampAlarmModeID = 0x00000034, + MTRAttributeIDTypeClusterBallastConfigurationAttributeLampBurnHoursTripPointID = 0x00000035, + MTRAttributeIDTypeClusterBallastConfigurationAttributeGeneratedCommandListID + = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterBallastConfigurationAttributeAcceptedCommandListID + = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterBallastConfigurationAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterBallastConfigurationAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterBallastConfigurationAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster IlluminanceMeasurement attributes - MTRClusterIlluminanceMeasurementAttributeMeasuredValueID = 0x00000000, - MTRClusterIlluminanceMeasurementAttributeMinMeasuredValueID = 0x00000001, - MTRClusterIlluminanceMeasurementAttributeMaxMeasuredValueID = 0x00000002, - MTRClusterIlluminanceMeasurementAttributeToleranceID = 0x00000003, - MTRClusterIlluminanceMeasurementAttributeLightSensorTypeID = 0x00000004, - MTRClusterIlluminanceMeasurementAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterIlluminanceMeasurementAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterIlluminanceMeasurementAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterIlluminanceMeasurementAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterIlluminanceMeasurementAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterIlluminanceMeasurementAttributeMeasuredValueID = 0x00000000, + MTRAttributeIDTypeClusterIlluminanceMeasurementAttributeMinMeasuredValueID = 0x00000001, + MTRAttributeIDTypeClusterIlluminanceMeasurementAttributeMaxMeasuredValueID = 0x00000002, + MTRAttributeIDTypeClusterIlluminanceMeasurementAttributeToleranceID = 0x00000003, + MTRAttributeIDTypeClusterIlluminanceMeasurementAttributeLightSensorTypeID = 0x00000004, + MTRAttributeIDTypeClusterIlluminanceMeasurementAttributeGeneratedCommandListID + = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterIlluminanceMeasurementAttributeAcceptedCommandListID + = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterIlluminanceMeasurementAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterIlluminanceMeasurementAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterIlluminanceMeasurementAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster TemperatureMeasurement attributes - MTRClusterTemperatureMeasurementAttributeMeasuredValueID = 0x00000000, - MTRClusterTemperatureMeasurementAttributeMinMeasuredValueID = 0x00000001, - MTRClusterTemperatureMeasurementAttributeMaxMeasuredValueID = 0x00000002, - MTRClusterTemperatureMeasurementAttributeToleranceID = 0x00000003, - MTRClusterTemperatureMeasurementAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterTemperatureMeasurementAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterTemperatureMeasurementAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterTemperatureMeasurementAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterTemperatureMeasurementAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterTemperatureMeasurementAttributeMeasuredValueID = 0x00000000, + MTRAttributeIDTypeClusterTemperatureMeasurementAttributeMinMeasuredValueID = 0x00000001, + MTRAttributeIDTypeClusterTemperatureMeasurementAttributeMaxMeasuredValueID = 0x00000002, + MTRAttributeIDTypeClusterTemperatureMeasurementAttributeToleranceID = 0x00000003, + MTRAttributeIDTypeClusterTemperatureMeasurementAttributeGeneratedCommandListID + = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterTemperatureMeasurementAttributeAcceptedCommandListID + = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterTemperatureMeasurementAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterTemperatureMeasurementAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterTemperatureMeasurementAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster PressureMeasurement attributes - MTRClusterPressureMeasurementAttributeMeasuredValueID = 0x00000000, - MTRClusterPressureMeasurementAttributeMinMeasuredValueID = 0x00000001, - MTRClusterPressureMeasurementAttributeMaxMeasuredValueID = 0x00000002, - MTRClusterPressureMeasurementAttributeToleranceID = 0x00000003, - MTRClusterPressureMeasurementAttributeScaledValueID = 0x00000010, - MTRClusterPressureMeasurementAttributeMinScaledValueID = 0x00000011, - MTRClusterPressureMeasurementAttributeMaxScaledValueID = 0x00000012, - MTRClusterPressureMeasurementAttributeScaledToleranceID = 0x00000013, - MTRClusterPressureMeasurementAttributeScaleID = 0x00000014, - MTRClusterPressureMeasurementAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterPressureMeasurementAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterPressureMeasurementAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterPressureMeasurementAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterPressureMeasurementAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterPressureMeasurementAttributeMeasuredValueID = 0x00000000, + MTRAttributeIDTypeClusterPressureMeasurementAttributeMinMeasuredValueID = 0x00000001, + MTRAttributeIDTypeClusterPressureMeasurementAttributeMaxMeasuredValueID = 0x00000002, + MTRAttributeIDTypeClusterPressureMeasurementAttributeToleranceID = 0x00000003, + MTRAttributeIDTypeClusterPressureMeasurementAttributeScaledValueID = 0x00000010, + MTRAttributeIDTypeClusterPressureMeasurementAttributeMinScaledValueID = 0x00000011, + MTRAttributeIDTypeClusterPressureMeasurementAttributeMaxScaledValueID = 0x00000012, + MTRAttributeIDTypeClusterPressureMeasurementAttributeScaledToleranceID = 0x00000013, + MTRAttributeIDTypeClusterPressureMeasurementAttributeScaleID = 0x00000014, + MTRAttributeIDTypeClusterPressureMeasurementAttributeGeneratedCommandListID + = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterPressureMeasurementAttributeAcceptedCommandListID + = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterPressureMeasurementAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterPressureMeasurementAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterPressureMeasurementAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster FlowMeasurement attributes - MTRClusterFlowMeasurementAttributeMeasuredValueID = 0x00000000, - MTRClusterFlowMeasurementAttributeMinMeasuredValueID = 0x00000001, - MTRClusterFlowMeasurementAttributeMaxMeasuredValueID = 0x00000002, - MTRClusterFlowMeasurementAttributeToleranceID = 0x00000003, - MTRClusterFlowMeasurementAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterFlowMeasurementAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterFlowMeasurementAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterFlowMeasurementAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterFlowMeasurementAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterFlowMeasurementAttributeMeasuredValueID = 0x00000000, + MTRAttributeIDTypeClusterFlowMeasurementAttributeMinMeasuredValueID = 0x00000001, + MTRAttributeIDTypeClusterFlowMeasurementAttributeMaxMeasuredValueID = 0x00000002, + MTRAttributeIDTypeClusterFlowMeasurementAttributeToleranceID = 0x00000003, + MTRAttributeIDTypeClusterFlowMeasurementAttributeGeneratedCommandListID + = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterFlowMeasurementAttributeAcceptedCommandListID = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterFlowMeasurementAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterFlowMeasurementAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterFlowMeasurementAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster RelativeHumidityMeasurement attributes - MTRClusterRelativeHumidityMeasurementAttributeMeasuredValueID = 0x00000000, - MTRClusterRelativeHumidityMeasurementAttributeMinMeasuredValueID = 0x00000001, - MTRClusterRelativeHumidityMeasurementAttributeMaxMeasuredValueID = 0x00000002, - MTRClusterRelativeHumidityMeasurementAttributeToleranceID = 0x00000003, - MTRClusterRelativeHumidityMeasurementAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterRelativeHumidityMeasurementAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterRelativeHumidityMeasurementAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterRelativeHumidityMeasurementAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterRelativeHumidityMeasurementAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterRelativeHumidityMeasurementAttributeMeasuredValueID = 0x00000000, + MTRAttributeIDTypeClusterRelativeHumidityMeasurementAttributeMinMeasuredValueID = 0x00000001, + MTRAttributeIDTypeClusterRelativeHumidityMeasurementAttributeMaxMeasuredValueID = 0x00000002, + MTRAttributeIDTypeClusterRelativeHumidityMeasurementAttributeToleranceID = 0x00000003, + MTRAttributeIDTypeClusterRelativeHumidityMeasurementAttributeGeneratedCommandListID + = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterRelativeHumidityMeasurementAttributeAcceptedCommandListID + = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterRelativeHumidityMeasurementAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterRelativeHumidityMeasurementAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterRelativeHumidityMeasurementAttributeClusterRevisionID + = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster OccupancySensing attributes - MTRClusterOccupancySensingAttributeOccupancyID = 0x00000000, - MTRClusterOccupancySensingAttributeOccupancySensorTypeID = 0x00000001, - MTRClusterOccupancySensingAttributeOccupancySensorTypeBitmapID = 0x00000002, - MTRClusterOccupancySensingAttributePirOccupiedToUnoccupiedDelayID = 0x00000010, - MTRClusterOccupancySensingAttributePirUnoccupiedToOccupiedDelayID = 0x00000011, - MTRClusterOccupancySensingAttributePirUnoccupiedToOccupiedThresholdID = 0x00000012, - MTRClusterOccupancySensingAttributeUltrasonicOccupiedToUnoccupiedDelayID = 0x00000020, - MTRClusterOccupancySensingAttributeUltrasonicUnoccupiedToOccupiedDelayID = 0x00000021, - MTRClusterOccupancySensingAttributeUltrasonicUnoccupiedToOccupiedThresholdID = 0x00000022, - MTRClusterOccupancySensingAttributePhysicalContactOccupiedToUnoccupiedDelayID = 0x00000030, - MTRClusterOccupancySensingAttributePhysicalContactUnoccupiedToOccupiedDelayID = 0x00000031, - MTRClusterOccupancySensingAttributePhysicalContactUnoccupiedToOccupiedThresholdID = 0x00000032, - MTRClusterOccupancySensingAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterOccupancySensingAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterOccupancySensingAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterOccupancySensingAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterOccupancySensingAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterOccupancySensingAttributeOccupancyID = 0x00000000, + MTRAttributeIDTypeClusterOccupancySensingAttributeOccupancySensorTypeID = 0x00000001, + MTRAttributeIDTypeClusterOccupancySensingAttributeOccupancySensorTypeBitmapID = 0x00000002, + MTRAttributeIDTypeClusterOccupancySensingAttributePirOccupiedToUnoccupiedDelayID = 0x00000010, + MTRAttributeIDTypeClusterOccupancySensingAttributePirUnoccupiedToOccupiedDelayID = 0x00000011, + MTRAttributeIDTypeClusterOccupancySensingAttributePirUnoccupiedToOccupiedThresholdID = 0x00000012, + MTRAttributeIDTypeClusterOccupancySensingAttributeUltrasonicOccupiedToUnoccupiedDelayID = 0x00000020, + MTRAttributeIDTypeClusterOccupancySensingAttributeUltrasonicUnoccupiedToOccupiedDelayID = 0x00000021, + MTRAttributeIDTypeClusterOccupancySensingAttributeUltrasonicUnoccupiedToOccupiedThresholdID = 0x00000022, + MTRAttributeIDTypeClusterOccupancySensingAttributePhysicalContactOccupiedToUnoccupiedDelayID = 0x00000030, + MTRAttributeIDTypeClusterOccupancySensingAttributePhysicalContactUnoccupiedToOccupiedDelayID = 0x00000031, + MTRAttributeIDTypeClusterOccupancySensingAttributePhysicalContactUnoccupiedToOccupiedThresholdID = 0x00000032, + MTRAttributeIDTypeClusterOccupancySensingAttributeGeneratedCommandListID + = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterOccupancySensingAttributeAcceptedCommandListID + = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterOccupancySensingAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterOccupancySensingAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterOccupancySensingAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster WakeOnLan attributes - MTRClusterWakeOnLanAttributeMACAddressID = 0x00000000, - MTRClusterWakeOnLanAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterWakeOnLanAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterWakeOnLanAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterWakeOnLanAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterWakeOnLanAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterWakeOnLanAttributeMACAddressID = 0x00000000, + MTRAttributeIDTypeClusterWakeOnLanAttributeGeneratedCommandListID = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterWakeOnLanAttributeAcceptedCommandListID = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterWakeOnLanAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterWakeOnLanAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterWakeOnLanAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster Channel attributes - MTRClusterChannelAttributeChannelListID = 0x00000000, - MTRClusterChannelAttributeLineupID = 0x00000001, - MTRClusterChannelAttributeCurrentChannelID = 0x00000002, - MTRClusterChannelAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterChannelAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterChannelAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterChannelAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterChannelAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterChannelAttributeChannelListID = 0x00000000, + MTRAttributeIDTypeClusterChannelAttributeLineupID = 0x00000001, + MTRAttributeIDTypeClusterChannelAttributeCurrentChannelID = 0x00000002, + MTRAttributeIDTypeClusterChannelAttributeGeneratedCommandListID = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterChannelAttributeAcceptedCommandListID = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterChannelAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterChannelAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterChannelAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster TargetNavigator attributes - MTRClusterTargetNavigatorAttributeTargetListID = 0x00000000, - MTRClusterTargetNavigatorAttributeCurrentTargetID = 0x00000001, - MTRClusterTargetNavigatorAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterTargetNavigatorAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterTargetNavigatorAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterTargetNavigatorAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterTargetNavigatorAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterTargetNavigatorAttributeTargetListID = 0x00000000, + MTRAttributeIDTypeClusterTargetNavigatorAttributeCurrentTargetID = 0x00000001, + MTRAttributeIDTypeClusterTargetNavigatorAttributeGeneratedCommandListID + = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterTargetNavigatorAttributeAcceptedCommandListID = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterTargetNavigatorAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterTargetNavigatorAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterTargetNavigatorAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster MediaPlayback attributes - MTRClusterMediaPlaybackAttributeCurrentStateID = 0x00000000, - MTRClusterMediaPlaybackAttributeStartTimeID = 0x00000001, - MTRClusterMediaPlaybackAttributeDurationID = 0x00000002, - MTRClusterMediaPlaybackAttributeSampledPositionID = 0x00000003, - MTRClusterMediaPlaybackAttributePlaybackSpeedID = 0x00000004, - MTRClusterMediaPlaybackAttributeSeekRangeEndID = 0x00000005, - MTRClusterMediaPlaybackAttributeSeekRangeStartID = 0x00000006, - MTRClusterMediaPlaybackAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterMediaPlaybackAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterMediaPlaybackAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterMediaPlaybackAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterMediaPlaybackAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterMediaPlaybackAttributeCurrentStateID = 0x00000000, + MTRAttributeIDTypeClusterMediaPlaybackAttributeStartTimeID = 0x00000001, + MTRAttributeIDTypeClusterMediaPlaybackAttributeDurationID = 0x00000002, + MTRAttributeIDTypeClusterMediaPlaybackAttributeSampledPositionID = 0x00000003, + MTRAttributeIDTypeClusterMediaPlaybackAttributePlaybackSpeedID = 0x00000004, + MTRAttributeIDTypeClusterMediaPlaybackAttributeSeekRangeEndID = 0x00000005, + MTRAttributeIDTypeClusterMediaPlaybackAttributeSeekRangeStartID = 0x00000006, + MTRAttributeIDTypeClusterMediaPlaybackAttributeGeneratedCommandListID = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterMediaPlaybackAttributeAcceptedCommandListID = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterMediaPlaybackAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterMediaPlaybackAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterMediaPlaybackAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster MediaInput attributes - MTRClusterMediaInputAttributeInputListID = 0x00000000, - MTRClusterMediaInputAttributeCurrentInputID = 0x00000001, - MTRClusterMediaInputAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterMediaInputAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterMediaInputAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterMediaInputAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterMediaInputAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterMediaInputAttributeInputListID = 0x00000000, + MTRAttributeIDTypeClusterMediaInputAttributeCurrentInputID = 0x00000001, + MTRAttributeIDTypeClusterMediaInputAttributeGeneratedCommandListID = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterMediaInputAttributeAcceptedCommandListID = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterMediaInputAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterMediaInputAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterMediaInputAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster LowPower attributes - MTRClusterLowPowerAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterLowPowerAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterLowPowerAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterLowPowerAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterLowPowerAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterLowPowerAttributeGeneratedCommandListID = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterLowPowerAttributeAcceptedCommandListID = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterLowPowerAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterLowPowerAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterLowPowerAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster KeypadInput attributes - MTRClusterKeypadInputAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterKeypadInputAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterKeypadInputAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterKeypadInputAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterKeypadInputAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterKeypadInputAttributeGeneratedCommandListID = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterKeypadInputAttributeAcceptedCommandListID = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterKeypadInputAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterKeypadInputAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterKeypadInputAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster ContentLauncher attributes - MTRClusterContentLauncherAttributeAcceptHeaderID = 0x00000000, - MTRClusterContentLauncherAttributeSupportedStreamingProtocolsID = 0x00000001, - MTRClusterContentLauncherAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterContentLauncherAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterContentLauncherAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterContentLauncherAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterContentLauncherAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterContentLauncherAttributeAcceptHeaderID = 0x00000000, + MTRAttributeIDTypeClusterContentLauncherAttributeSupportedStreamingProtocolsID = 0x00000001, + MTRAttributeIDTypeClusterContentLauncherAttributeGeneratedCommandListID + = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterContentLauncherAttributeAcceptedCommandListID = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterContentLauncherAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterContentLauncherAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterContentLauncherAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster AudioOutput attributes - MTRClusterAudioOutputAttributeOutputListID = 0x00000000, - MTRClusterAudioOutputAttributeCurrentOutputID = 0x00000001, - MTRClusterAudioOutputAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterAudioOutputAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterAudioOutputAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterAudioOutputAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterAudioOutputAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterAudioOutputAttributeOutputListID = 0x00000000, + MTRAttributeIDTypeClusterAudioOutputAttributeCurrentOutputID = 0x00000001, + MTRAttributeIDTypeClusterAudioOutputAttributeGeneratedCommandListID = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterAudioOutputAttributeAcceptedCommandListID = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterAudioOutputAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterAudioOutputAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterAudioOutputAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster ApplicationLauncher attributes - MTRClusterApplicationLauncherAttributeCatalogListID = 0x00000000, - MTRClusterApplicationLauncherAttributeCurrentAppID = 0x00000001, - MTRClusterApplicationLauncherAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterApplicationLauncherAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterApplicationLauncherAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterApplicationLauncherAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterApplicationLauncherAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterApplicationLauncherAttributeCatalogListID = 0x00000000, + MTRAttributeIDTypeClusterApplicationLauncherAttributeCurrentAppID = 0x00000001, + MTRAttributeIDTypeClusterApplicationLauncherAttributeGeneratedCommandListID + = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterApplicationLauncherAttributeAcceptedCommandListID + = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterApplicationLauncherAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterApplicationLauncherAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterApplicationLauncherAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster ApplicationBasic attributes - MTRClusterApplicationBasicAttributeVendorNameID = 0x00000000, - MTRClusterApplicationBasicAttributeVendorIDID = 0x00000001, - MTRClusterApplicationBasicAttributeApplicationNameID = 0x00000002, - MTRClusterApplicationBasicAttributeProductIDID = 0x00000003, - MTRClusterApplicationBasicAttributeApplicationID = 0x00000004, - MTRClusterApplicationBasicAttributeStatusID = 0x00000005, - MTRClusterApplicationBasicAttributeApplicationVersionID = 0x00000006, - MTRClusterApplicationBasicAttributeAllowedVendorListID = 0x00000007, - MTRClusterApplicationBasicAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterApplicationBasicAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterApplicationBasicAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterApplicationBasicAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterApplicationBasicAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterApplicationBasicAttributeVendorNameID = 0x00000000, + MTRAttributeIDTypeClusterApplicationBasicAttributeVendorIDID = 0x00000001, + MTRAttributeIDTypeClusterApplicationBasicAttributeApplicationNameID = 0x00000002, + MTRAttributeIDTypeClusterApplicationBasicAttributeProductIDID = 0x00000003, + MTRAttributeIDTypeClusterApplicationBasicAttributeApplicationID = 0x00000004, + MTRAttributeIDTypeClusterApplicationBasicAttributeStatusID = 0x00000005, + MTRAttributeIDTypeClusterApplicationBasicAttributeApplicationVersionID = 0x00000006, + MTRAttributeIDTypeClusterApplicationBasicAttributeAllowedVendorListID = 0x00000007, + MTRAttributeIDTypeClusterApplicationBasicAttributeGeneratedCommandListID + = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterApplicationBasicAttributeAcceptedCommandListID + = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterApplicationBasicAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterApplicationBasicAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterApplicationBasicAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster AccountLogin attributes - MTRClusterAccountLoginAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterAccountLoginAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterAccountLoginAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterAccountLoginAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterAccountLoginAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterAccountLoginAttributeGeneratedCommandListID = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterAccountLoginAttributeAcceptedCommandListID = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterAccountLoginAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterAccountLoginAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterAccountLoginAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster ElectricalMeasurement attributes - MTRClusterElectricalMeasurementAttributeMeasurementTypeID = 0x00000000, - MTRClusterElectricalMeasurementAttributeDcVoltageID = 0x00000100, - MTRClusterElectricalMeasurementAttributeDcVoltageMinID = 0x00000101, - MTRClusterElectricalMeasurementAttributeDcVoltageMaxID = 0x00000102, - MTRClusterElectricalMeasurementAttributeDcCurrentID = 0x00000103, - MTRClusterElectricalMeasurementAttributeDcCurrentMinID = 0x00000104, - MTRClusterElectricalMeasurementAttributeDcCurrentMaxID = 0x00000105, - MTRClusterElectricalMeasurementAttributeDcPowerID = 0x00000106, - MTRClusterElectricalMeasurementAttributeDcPowerMinID = 0x00000107, - MTRClusterElectricalMeasurementAttributeDcPowerMaxID = 0x00000108, - MTRClusterElectricalMeasurementAttributeDcVoltageMultiplierID = 0x00000200, - MTRClusterElectricalMeasurementAttributeDcVoltageDivisorID = 0x00000201, - MTRClusterElectricalMeasurementAttributeDcCurrentMultiplierID = 0x00000202, - MTRClusterElectricalMeasurementAttributeDcCurrentDivisorID = 0x00000203, - MTRClusterElectricalMeasurementAttributeDcPowerMultiplierID = 0x00000204, - MTRClusterElectricalMeasurementAttributeDcPowerDivisorID = 0x00000205, - MTRClusterElectricalMeasurementAttributeAcFrequencyID = 0x00000300, - MTRClusterElectricalMeasurementAttributeAcFrequencyMinID = 0x00000301, - MTRClusterElectricalMeasurementAttributeAcFrequencyMaxID = 0x00000302, - MTRClusterElectricalMeasurementAttributeNeutralCurrentID = 0x00000303, - MTRClusterElectricalMeasurementAttributeTotalActivePowerID = 0x00000304, - MTRClusterElectricalMeasurementAttributeTotalReactivePowerID = 0x00000305, - MTRClusterElectricalMeasurementAttributeTotalApparentPowerID = 0x00000306, - MTRClusterElectricalMeasurementAttributeMeasured1stHarmonicCurrentID = 0x00000307, - MTRClusterElectricalMeasurementAttributeMeasured3rdHarmonicCurrentID = 0x00000308, - MTRClusterElectricalMeasurementAttributeMeasured5thHarmonicCurrentID = 0x00000309, - MTRClusterElectricalMeasurementAttributeMeasured7thHarmonicCurrentID = 0x0000030A, - MTRClusterElectricalMeasurementAttributeMeasured9thHarmonicCurrentID = 0x0000030B, - MTRClusterElectricalMeasurementAttributeMeasured11thHarmonicCurrentID = 0x0000030C, - MTRClusterElectricalMeasurementAttributeMeasuredPhase1stHarmonicCurrentID = 0x0000030D, - MTRClusterElectricalMeasurementAttributeMeasuredPhase3rdHarmonicCurrentID = 0x0000030E, - MTRClusterElectricalMeasurementAttributeMeasuredPhase5thHarmonicCurrentID = 0x0000030F, - MTRClusterElectricalMeasurementAttributeMeasuredPhase7thHarmonicCurrentID = 0x00000310, - MTRClusterElectricalMeasurementAttributeMeasuredPhase9thHarmonicCurrentID = 0x00000311, - MTRClusterElectricalMeasurementAttributeMeasuredPhase11thHarmonicCurrentID = 0x00000312, - MTRClusterElectricalMeasurementAttributeAcFrequencyMultiplierID = 0x00000400, - MTRClusterElectricalMeasurementAttributeAcFrequencyDivisorID = 0x00000401, - MTRClusterElectricalMeasurementAttributePowerMultiplierID = 0x00000402, - MTRClusterElectricalMeasurementAttributePowerDivisorID = 0x00000403, - MTRClusterElectricalMeasurementAttributeHarmonicCurrentMultiplierID = 0x00000404, - MTRClusterElectricalMeasurementAttributePhaseHarmonicCurrentMultiplierID = 0x00000405, - MTRClusterElectricalMeasurementAttributeInstantaneousVoltageID = 0x00000500, - MTRClusterElectricalMeasurementAttributeInstantaneousLineCurrentID = 0x00000501, - MTRClusterElectricalMeasurementAttributeInstantaneousActiveCurrentID = 0x00000502, - MTRClusterElectricalMeasurementAttributeInstantaneousReactiveCurrentID = 0x00000503, - MTRClusterElectricalMeasurementAttributeInstantaneousPowerID = 0x00000504, - MTRClusterElectricalMeasurementAttributeRmsVoltageID = 0x00000505, - MTRClusterElectricalMeasurementAttributeRmsVoltageMinID = 0x00000506, - MTRClusterElectricalMeasurementAttributeRmsVoltageMaxID = 0x00000507, - MTRClusterElectricalMeasurementAttributeRmsCurrentID = 0x00000508, - MTRClusterElectricalMeasurementAttributeRmsCurrentMinID = 0x00000509, - MTRClusterElectricalMeasurementAttributeRmsCurrentMaxID = 0x0000050A, - MTRClusterElectricalMeasurementAttributeActivePowerID = 0x0000050B, - MTRClusterElectricalMeasurementAttributeActivePowerMinID = 0x0000050C, - MTRClusterElectricalMeasurementAttributeActivePowerMaxID = 0x0000050D, - MTRClusterElectricalMeasurementAttributeReactivePowerID = 0x0000050E, - MTRClusterElectricalMeasurementAttributeApparentPowerID = 0x0000050F, - MTRClusterElectricalMeasurementAttributePowerFactorID = 0x00000510, - MTRClusterElectricalMeasurementAttributeAverageRmsVoltageMeasurementPeriodID = 0x00000511, - MTRClusterElectricalMeasurementAttributeAverageRmsUnderVoltageCounterID = 0x00000513, - MTRClusterElectricalMeasurementAttributeRmsExtremeOverVoltagePeriodID = 0x00000514, - MTRClusterElectricalMeasurementAttributeRmsExtremeUnderVoltagePeriodID = 0x00000515, - MTRClusterElectricalMeasurementAttributeRmsVoltageSagPeriodID = 0x00000516, - MTRClusterElectricalMeasurementAttributeRmsVoltageSwellPeriodID = 0x00000517, - MTRClusterElectricalMeasurementAttributeAcVoltageMultiplierID = 0x00000600, - MTRClusterElectricalMeasurementAttributeAcVoltageDivisorID = 0x00000601, - MTRClusterElectricalMeasurementAttributeAcCurrentMultiplierID = 0x00000602, - MTRClusterElectricalMeasurementAttributeAcCurrentDivisorID = 0x00000603, - MTRClusterElectricalMeasurementAttributeAcPowerMultiplierID = 0x00000604, - MTRClusterElectricalMeasurementAttributeAcPowerDivisorID = 0x00000605, - MTRClusterElectricalMeasurementAttributeOverloadAlarmsMaskID = 0x00000700, - MTRClusterElectricalMeasurementAttributeVoltageOverloadID = 0x00000701, - MTRClusterElectricalMeasurementAttributeCurrentOverloadID = 0x00000702, - MTRClusterElectricalMeasurementAttributeAcOverloadAlarmsMaskID = 0x00000800, - MTRClusterElectricalMeasurementAttributeAcVoltageOverloadID = 0x00000801, - MTRClusterElectricalMeasurementAttributeAcCurrentOverloadID = 0x00000802, - MTRClusterElectricalMeasurementAttributeAcActivePowerOverloadID = 0x00000803, - MTRClusterElectricalMeasurementAttributeAcReactivePowerOverloadID = 0x00000804, - MTRClusterElectricalMeasurementAttributeAverageRmsOverVoltageID = 0x00000805, - MTRClusterElectricalMeasurementAttributeAverageRmsUnderVoltageID = 0x00000806, - MTRClusterElectricalMeasurementAttributeRmsExtremeOverVoltageID = 0x00000807, - MTRClusterElectricalMeasurementAttributeRmsExtremeUnderVoltageID = 0x00000808, - MTRClusterElectricalMeasurementAttributeRmsVoltageSagID = 0x00000809, - MTRClusterElectricalMeasurementAttributeRmsVoltageSwellID = 0x0000080A, - MTRClusterElectricalMeasurementAttributeLineCurrentPhaseBID = 0x00000901, - MTRClusterElectricalMeasurementAttributeActiveCurrentPhaseBID = 0x00000902, - MTRClusterElectricalMeasurementAttributeReactiveCurrentPhaseBID = 0x00000903, - MTRClusterElectricalMeasurementAttributeRmsVoltagePhaseBID = 0x00000905, - MTRClusterElectricalMeasurementAttributeRmsVoltageMinPhaseBID = 0x00000906, - MTRClusterElectricalMeasurementAttributeRmsVoltageMaxPhaseBID = 0x00000907, - MTRClusterElectricalMeasurementAttributeRmsCurrentPhaseBID = 0x00000908, - MTRClusterElectricalMeasurementAttributeRmsCurrentMinPhaseBID = 0x00000909, - MTRClusterElectricalMeasurementAttributeRmsCurrentMaxPhaseBID = 0x0000090A, - MTRClusterElectricalMeasurementAttributeActivePowerPhaseBID = 0x0000090B, - MTRClusterElectricalMeasurementAttributeActivePowerMinPhaseBID = 0x0000090C, - MTRClusterElectricalMeasurementAttributeActivePowerMaxPhaseBID = 0x0000090D, - MTRClusterElectricalMeasurementAttributeReactivePowerPhaseBID = 0x0000090E, - MTRClusterElectricalMeasurementAttributeApparentPowerPhaseBID = 0x0000090F, - MTRClusterElectricalMeasurementAttributePowerFactorPhaseBID = 0x00000910, - MTRClusterElectricalMeasurementAttributeAverageRmsVoltageMeasurementPeriodPhaseBID = 0x00000911, - MTRClusterElectricalMeasurementAttributeAverageRmsOverVoltageCounterPhaseBID = 0x00000912, - MTRClusterElectricalMeasurementAttributeAverageRmsUnderVoltageCounterPhaseBID = 0x00000913, - MTRClusterElectricalMeasurementAttributeRmsExtremeOverVoltagePeriodPhaseBID = 0x00000914, - MTRClusterElectricalMeasurementAttributeRmsExtremeUnderVoltagePeriodPhaseBID = 0x00000915, - MTRClusterElectricalMeasurementAttributeRmsVoltageSagPeriodPhaseBID = 0x00000916, - MTRClusterElectricalMeasurementAttributeRmsVoltageSwellPeriodPhaseBID = 0x00000917, - MTRClusterElectricalMeasurementAttributeLineCurrentPhaseCID = 0x00000A01, - MTRClusterElectricalMeasurementAttributeActiveCurrentPhaseCID = 0x00000A02, - MTRClusterElectricalMeasurementAttributeReactiveCurrentPhaseCID = 0x00000A03, - MTRClusterElectricalMeasurementAttributeRmsVoltagePhaseCID = 0x00000A05, - MTRClusterElectricalMeasurementAttributeRmsVoltageMinPhaseCID = 0x00000A06, - MTRClusterElectricalMeasurementAttributeRmsVoltageMaxPhaseCID = 0x00000A07, - MTRClusterElectricalMeasurementAttributeRmsCurrentPhaseCID = 0x00000A08, - MTRClusterElectricalMeasurementAttributeRmsCurrentMinPhaseCID = 0x00000A09, - MTRClusterElectricalMeasurementAttributeRmsCurrentMaxPhaseCID = 0x00000A0A, - MTRClusterElectricalMeasurementAttributeActivePowerPhaseCID = 0x00000A0B, - MTRClusterElectricalMeasurementAttributeActivePowerMinPhaseCID = 0x00000A0C, - MTRClusterElectricalMeasurementAttributeActivePowerMaxPhaseCID = 0x00000A0D, - MTRClusterElectricalMeasurementAttributeReactivePowerPhaseCID = 0x00000A0E, - MTRClusterElectricalMeasurementAttributeApparentPowerPhaseCID = 0x00000A0F, - MTRClusterElectricalMeasurementAttributePowerFactorPhaseCID = 0x00000A10, - MTRClusterElectricalMeasurementAttributeAverageRmsVoltageMeasurementPeriodPhaseCID = 0x00000A11, - MTRClusterElectricalMeasurementAttributeAverageRmsOverVoltageCounterPhaseCID = 0x00000A12, - MTRClusterElectricalMeasurementAttributeAverageRmsUnderVoltageCounterPhaseCID = 0x00000A13, - MTRClusterElectricalMeasurementAttributeRmsExtremeOverVoltagePeriodPhaseCID = 0x00000A14, - MTRClusterElectricalMeasurementAttributeRmsExtremeUnderVoltagePeriodPhaseCID = 0x00000A15, - MTRClusterElectricalMeasurementAttributeRmsVoltageSagPeriodPhaseCID = 0x00000A16, - MTRClusterElectricalMeasurementAttributeRmsVoltageSwellPeriodPhaseCID = 0x00000A17, - MTRClusterElectricalMeasurementAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterElectricalMeasurementAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterElectricalMeasurementAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterElectricalMeasurementAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterElectricalMeasurementAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeMeasurementTypeID = 0x00000000, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeDcVoltageID = 0x00000100, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeDcVoltageMinID = 0x00000101, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeDcVoltageMaxID = 0x00000102, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeDcCurrentID = 0x00000103, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeDcCurrentMinID = 0x00000104, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeDcCurrentMaxID = 0x00000105, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeDcPowerID = 0x00000106, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeDcPowerMinID = 0x00000107, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeDcPowerMaxID = 0x00000108, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeDcVoltageMultiplierID = 0x00000200, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeDcVoltageDivisorID = 0x00000201, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeDcCurrentMultiplierID = 0x00000202, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeDcCurrentDivisorID = 0x00000203, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeDcPowerMultiplierID = 0x00000204, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeDcPowerDivisorID = 0x00000205, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeAcFrequencyID = 0x00000300, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeAcFrequencyMinID = 0x00000301, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeAcFrequencyMaxID = 0x00000302, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeNeutralCurrentID = 0x00000303, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeTotalActivePowerID = 0x00000304, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeTotalReactivePowerID = 0x00000305, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeTotalApparentPowerID = 0x00000306, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeMeasured1stHarmonicCurrentID = 0x00000307, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeMeasured3rdHarmonicCurrentID = 0x00000308, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeMeasured5thHarmonicCurrentID = 0x00000309, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeMeasured7thHarmonicCurrentID = 0x0000030A, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeMeasured9thHarmonicCurrentID = 0x0000030B, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeMeasured11thHarmonicCurrentID = 0x0000030C, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeMeasuredPhase1stHarmonicCurrentID = 0x0000030D, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeMeasuredPhase3rdHarmonicCurrentID = 0x0000030E, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeMeasuredPhase5thHarmonicCurrentID = 0x0000030F, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeMeasuredPhase7thHarmonicCurrentID = 0x00000310, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeMeasuredPhase9thHarmonicCurrentID = 0x00000311, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeMeasuredPhase11thHarmonicCurrentID = 0x00000312, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeAcFrequencyMultiplierID = 0x00000400, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeAcFrequencyDivisorID = 0x00000401, + MTRAttributeIDTypeClusterElectricalMeasurementAttributePowerMultiplierID = 0x00000402, + MTRAttributeIDTypeClusterElectricalMeasurementAttributePowerDivisorID = 0x00000403, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeHarmonicCurrentMultiplierID = 0x00000404, + MTRAttributeIDTypeClusterElectricalMeasurementAttributePhaseHarmonicCurrentMultiplierID = 0x00000405, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeInstantaneousVoltageID = 0x00000500, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeInstantaneousLineCurrentID = 0x00000501, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeInstantaneousActiveCurrentID = 0x00000502, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeInstantaneousReactiveCurrentID = 0x00000503, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeInstantaneousPowerID = 0x00000504, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsVoltageID = 0x00000505, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsVoltageMinID = 0x00000506, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsVoltageMaxID = 0x00000507, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsCurrentID = 0x00000508, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsCurrentMinID = 0x00000509, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsCurrentMaxID = 0x0000050A, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeActivePowerID = 0x0000050B, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeActivePowerMinID = 0x0000050C, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeActivePowerMaxID = 0x0000050D, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeReactivePowerID = 0x0000050E, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeApparentPowerID = 0x0000050F, + MTRAttributeIDTypeClusterElectricalMeasurementAttributePowerFactorID = 0x00000510, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeAverageRmsVoltageMeasurementPeriodID = 0x00000511, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeAverageRmsUnderVoltageCounterID = 0x00000513, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsExtremeOverVoltagePeriodID = 0x00000514, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsExtremeUnderVoltagePeriodID = 0x00000515, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsVoltageSagPeriodID = 0x00000516, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsVoltageSwellPeriodID = 0x00000517, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeAcVoltageMultiplierID = 0x00000600, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeAcVoltageDivisorID = 0x00000601, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeAcCurrentMultiplierID = 0x00000602, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeAcCurrentDivisorID = 0x00000603, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeAcPowerMultiplierID = 0x00000604, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeAcPowerDivisorID = 0x00000605, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeOverloadAlarmsMaskID = 0x00000700, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeVoltageOverloadID = 0x00000701, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeCurrentOverloadID = 0x00000702, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeAcOverloadAlarmsMaskID = 0x00000800, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeAcVoltageOverloadID = 0x00000801, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeAcCurrentOverloadID = 0x00000802, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeAcActivePowerOverloadID = 0x00000803, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeAcReactivePowerOverloadID = 0x00000804, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeAverageRmsOverVoltageID = 0x00000805, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeAverageRmsUnderVoltageID = 0x00000806, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsExtremeOverVoltageID = 0x00000807, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsExtremeUnderVoltageID = 0x00000808, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsVoltageSagID = 0x00000809, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsVoltageSwellID = 0x0000080A, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeLineCurrentPhaseBID = 0x00000901, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeActiveCurrentPhaseBID = 0x00000902, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeReactiveCurrentPhaseBID = 0x00000903, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsVoltagePhaseBID = 0x00000905, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsVoltageMinPhaseBID = 0x00000906, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsVoltageMaxPhaseBID = 0x00000907, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsCurrentPhaseBID = 0x00000908, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsCurrentMinPhaseBID = 0x00000909, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsCurrentMaxPhaseBID = 0x0000090A, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeActivePowerPhaseBID = 0x0000090B, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeActivePowerMinPhaseBID = 0x0000090C, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeActivePowerMaxPhaseBID = 0x0000090D, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeReactivePowerPhaseBID = 0x0000090E, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeApparentPowerPhaseBID = 0x0000090F, + MTRAttributeIDTypeClusterElectricalMeasurementAttributePowerFactorPhaseBID = 0x00000910, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeAverageRmsVoltageMeasurementPeriodPhaseBID = 0x00000911, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeAverageRmsOverVoltageCounterPhaseBID = 0x00000912, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeAverageRmsUnderVoltageCounterPhaseBID = 0x00000913, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsExtremeOverVoltagePeriodPhaseBID = 0x00000914, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsExtremeUnderVoltagePeriodPhaseBID = 0x00000915, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsVoltageSagPeriodPhaseBID = 0x00000916, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsVoltageSwellPeriodPhaseBID = 0x00000917, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeLineCurrentPhaseCID = 0x00000A01, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeActiveCurrentPhaseCID = 0x00000A02, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeReactiveCurrentPhaseCID = 0x00000A03, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsVoltagePhaseCID = 0x00000A05, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsVoltageMinPhaseCID = 0x00000A06, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsVoltageMaxPhaseCID = 0x00000A07, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsCurrentPhaseCID = 0x00000A08, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsCurrentMinPhaseCID = 0x00000A09, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsCurrentMaxPhaseCID = 0x00000A0A, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeActivePowerPhaseCID = 0x00000A0B, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeActivePowerMinPhaseCID = 0x00000A0C, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeActivePowerMaxPhaseCID = 0x00000A0D, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeReactivePowerPhaseCID = 0x00000A0E, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeApparentPowerPhaseCID = 0x00000A0F, + MTRAttributeIDTypeClusterElectricalMeasurementAttributePowerFactorPhaseCID = 0x00000A10, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeAverageRmsVoltageMeasurementPeriodPhaseCID = 0x00000A11, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeAverageRmsOverVoltageCounterPhaseCID = 0x00000A12, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeAverageRmsUnderVoltageCounterPhaseCID = 0x00000A13, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsExtremeOverVoltagePeriodPhaseCID = 0x00000A14, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsExtremeUnderVoltagePeriodPhaseCID = 0x00000A15, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsVoltageSagPeriodPhaseCID = 0x00000A16, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsVoltageSwellPeriodPhaseCID = 0x00000A17, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeGeneratedCommandListID + = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeAcceptedCommandListID + = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterElectricalMeasurementAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster TestCluster attributes - MTRClusterTestClusterAttributeBooleanID = 0x00000000, - MTRClusterTestClusterAttributeBitmap8ID = 0x00000001, - MTRClusterTestClusterAttributeBitmap16ID = 0x00000002, - MTRClusterTestClusterAttributeBitmap32ID = 0x00000003, - MTRClusterTestClusterAttributeBitmap64ID = 0x00000004, - MTRClusterTestClusterAttributeInt8uID = 0x00000005, - MTRClusterTestClusterAttributeInt16uID = 0x00000006, - MTRClusterTestClusterAttributeInt24uID = 0x00000007, - MTRClusterTestClusterAttributeInt32uID = 0x00000008, - MTRClusterTestClusterAttributeInt40uID = 0x00000009, - MTRClusterTestClusterAttributeInt48uID = 0x0000000A, - MTRClusterTestClusterAttributeInt56uID = 0x0000000B, - MTRClusterTestClusterAttributeInt64uID = 0x0000000C, - MTRClusterTestClusterAttributeInt8sID = 0x0000000D, - MTRClusterTestClusterAttributeInt16sID = 0x0000000E, - MTRClusterTestClusterAttributeInt24sID = 0x0000000F, - MTRClusterTestClusterAttributeInt32sID = 0x00000010, - MTRClusterTestClusterAttributeInt40sID = 0x00000011, - MTRClusterTestClusterAttributeInt48sID = 0x00000012, - MTRClusterTestClusterAttributeInt56sID = 0x00000013, - MTRClusterTestClusterAttributeInt64sID = 0x00000014, - MTRClusterTestClusterAttributeEnum8ID = 0x00000015, - MTRClusterTestClusterAttributeEnum16ID = 0x00000016, - MTRClusterTestClusterAttributeFloatSingleID = 0x00000017, - MTRClusterTestClusterAttributeFloatDoubleID = 0x00000018, - MTRClusterTestClusterAttributeOctetStringID = 0x00000019, - MTRClusterTestClusterAttributeListInt8uID = 0x0000001A, - MTRClusterTestClusterAttributeListOctetStringID = 0x0000001B, - MTRClusterTestClusterAttributeListStructOctetStringID = 0x0000001C, - MTRClusterTestClusterAttributeLongOctetStringID = 0x0000001D, - MTRClusterTestClusterAttributeCharStringID = 0x0000001E, - MTRClusterTestClusterAttributeLongCharStringID = 0x0000001F, - MTRClusterTestClusterAttributeEpochUsID = 0x00000020, - MTRClusterTestClusterAttributeEpochSID = 0x00000021, - MTRClusterTestClusterAttributeVendorIdID = 0x00000022, - MTRClusterTestClusterAttributeListNullablesAndOptionalsStructID = 0x00000023, - MTRClusterTestClusterAttributeEnumAttrID = 0x00000024, - MTRClusterTestClusterAttributeStructAttrID = 0x00000025, - MTRClusterTestClusterAttributeRangeRestrictedInt8uID = 0x00000026, - MTRClusterTestClusterAttributeRangeRestrictedInt8sID = 0x00000027, - MTRClusterTestClusterAttributeRangeRestrictedInt16uID = 0x00000028, - MTRClusterTestClusterAttributeRangeRestrictedInt16sID = 0x00000029, - MTRClusterTestClusterAttributeListLongOctetStringID = 0x0000002A, - MTRClusterTestClusterAttributeListFabricScopedID = 0x0000002B, - MTRClusterTestClusterAttributeTimedWriteBooleanID = 0x00000030, - MTRClusterTestClusterAttributeGeneralErrorBooleanID = 0x00000031, - MTRClusterTestClusterAttributeClusterErrorBooleanID = 0x00000032, - MTRClusterTestClusterAttributeUnsupportedID = 0x000000FF, - MTRClusterTestClusterAttributeNullableBooleanID = 0x00004000, - MTRClusterTestClusterAttributeNullableBitmap8ID = 0x00004001, - MTRClusterTestClusterAttributeNullableBitmap16ID = 0x00004002, - MTRClusterTestClusterAttributeNullableBitmap32ID = 0x00004003, - MTRClusterTestClusterAttributeNullableBitmap64ID = 0x00004004, - MTRClusterTestClusterAttributeNullableInt8uID = 0x00004005, - MTRClusterTestClusterAttributeNullableInt16uID = 0x00004006, - MTRClusterTestClusterAttributeNullableInt24uID = 0x00004007, - MTRClusterTestClusterAttributeNullableInt32uID = 0x00004008, - MTRClusterTestClusterAttributeNullableInt40uID = 0x00004009, - MTRClusterTestClusterAttributeNullableInt48uID = 0x0000400A, - MTRClusterTestClusterAttributeNullableInt56uID = 0x0000400B, - MTRClusterTestClusterAttributeNullableInt64uID = 0x0000400C, - MTRClusterTestClusterAttributeNullableInt8sID = 0x0000400D, - MTRClusterTestClusterAttributeNullableInt16sID = 0x0000400E, - MTRClusterTestClusterAttributeNullableInt24sID = 0x0000400F, - MTRClusterTestClusterAttributeNullableInt32sID = 0x00004010, - MTRClusterTestClusterAttributeNullableInt40sID = 0x00004011, - MTRClusterTestClusterAttributeNullableInt48sID = 0x00004012, - MTRClusterTestClusterAttributeNullableInt56sID = 0x00004013, - MTRClusterTestClusterAttributeNullableInt64sID = 0x00004014, - MTRClusterTestClusterAttributeNullableEnum8ID = 0x00004015, - MTRClusterTestClusterAttributeNullableEnum16ID = 0x00004016, - MTRClusterTestClusterAttributeNullableFloatSingleID = 0x00004017, - MTRClusterTestClusterAttributeNullableFloatDoubleID = 0x00004018, - MTRClusterTestClusterAttributeNullableOctetStringID = 0x00004019, - MTRClusterTestClusterAttributeNullableCharStringID = 0x0000401E, - MTRClusterTestClusterAttributeNullableEnumAttrID = 0x00004024, - MTRClusterTestClusterAttributeNullableStructID = 0x00004025, - MTRClusterTestClusterAttributeNullableRangeRestrictedInt8uID = 0x00004026, - MTRClusterTestClusterAttributeNullableRangeRestrictedInt8sID = 0x00004027, - MTRClusterTestClusterAttributeNullableRangeRestrictedInt16uID = 0x00004028, - MTRClusterTestClusterAttributeNullableRangeRestrictedInt16sID = 0x00004029, - MTRClusterTestClusterAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterTestClusterAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterTestClusterAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterTestClusterAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterTestClusterAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterTestClusterAttributeBooleanID = 0x00000000, + MTRAttributeIDTypeClusterTestClusterAttributeBitmap8ID = 0x00000001, + MTRAttributeIDTypeClusterTestClusterAttributeBitmap16ID = 0x00000002, + MTRAttributeIDTypeClusterTestClusterAttributeBitmap32ID = 0x00000003, + MTRAttributeIDTypeClusterTestClusterAttributeBitmap64ID = 0x00000004, + MTRAttributeIDTypeClusterTestClusterAttributeInt8uID = 0x00000005, + MTRAttributeIDTypeClusterTestClusterAttributeInt16uID = 0x00000006, + MTRAttributeIDTypeClusterTestClusterAttributeInt24uID = 0x00000007, + MTRAttributeIDTypeClusterTestClusterAttributeInt32uID = 0x00000008, + MTRAttributeIDTypeClusterTestClusterAttributeInt40uID = 0x00000009, + MTRAttributeIDTypeClusterTestClusterAttributeInt48uID = 0x0000000A, + MTRAttributeIDTypeClusterTestClusterAttributeInt56uID = 0x0000000B, + MTRAttributeIDTypeClusterTestClusterAttributeInt64uID = 0x0000000C, + MTRAttributeIDTypeClusterTestClusterAttributeInt8sID = 0x0000000D, + MTRAttributeIDTypeClusterTestClusterAttributeInt16sID = 0x0000000E, + MTRAttributeIDTypeClusterTestClusterAttributeInt24sID = 0x0000000F, + MTRAttributeIDTypeClusterTestClusterAttributeInt32sID = 0x00000010, + MTRAttributeIDTypeClusterTestClusterAttributeInt40sID = 0x00000011, + MTRAttributeIDTypeClusterTestClusterAttributeInt48sID = 0x00000012, + MTRAttributeIDTypeClusterTestClusterAttributeInt56sID = 0x00000013, + MTRAttributeIDTypeClusterTestClusterAttributeInt64sID = 0x00000014, + MTRAttributeIDTypeClusterTestClusterAttributeEnum8ID = 0x00000015, + MTRAttributeIDTypeClusterTestClusterAttributeEnum16ID = 0x00000016, + MTRAttributeIDTypeClusterTestClusterAttributeFloatSingleID = 0x00000017, + MTRAttributeIDTypeClusterTestClusterAttributeFloatDoubleID = 0x00000018, + MTRAttributeIDTypeClusterTestClusterAttributeOctetStringID = 0x00000019, + MTRAttributeIDTypeClusterTestClusterAttributeListInt8uID = 0x0000001A, + MTRAttributeIDTypeClusterTestClusterAttributeListOctetStringID = 0x0000001B, + MTRAttributeIDTypeClusterTestClusterAttributeListStructOctetStringID = 0x0000001C, + MTRAttributeIDTypeClusterTestClusterAttributeLongOctetStringID = 0x0000001D, + MTRAttributeIDTypeClusterTestClusterAttributeCharStringID = 0x0000001E, + MTRAttributeIDTypeClusterTestClusterAttributeLongCharStringID = 0x0000001F, + MTRAttributeIDTypeClusterTestClusterAttributeEpochUsID = 0x00000020, + MTRAttributeIDTypeClusterTestClusterAttributeEpochSID = 0x00000021, + MTRAttributeIDTypeClusterTestClusterAttributeVendorIdID = 0x00000022, + MTRAttributeIDTypeClusterTestClusterAttributeListNullablesAndOptionalsStructID = 0x00000023, + MTRAttributeIDTypeClusterTestClusterAttributeEnumAttrID = 0x00000024, + MTRAttributeIDTypeClusterTestClusterAttributeStructAttrID = 0x00000025, + MTRAttributeIDTypeClusterTestClusterAttributeRangeRestrictedInt8uID = 0x00000026, + MTRAttributeIDTypeClusterTestClusterAttributeRangeRestrictedInt8sID = 0x00000027, + MTRAttributeIDTypeClusterTestClusterAttributeRangeRestrictedInt16uID = 0x00000028, + MTRAttributeIDTypeClusterTestClusterAttributeRangeRestrictedInt16sID = 0x00000029, + MTRAttributeIDTypeClusterTestClusterAttributeListLongOctetStringID = 0x0000002A, + MTRAttributeIDTypeClusterTestClusterAttributeListFabricScopedID = 0x0000002B, + MTRAttributeIDTypeClusterTestClusterAttributeTimedWriteBooleanID = 0x00000030, + MTRAttributeIDTypeClusterTestClusterAttributeGeneralErrorBooleanID = 0x00000031, + MTRAttributeIDTypeClusterTestClusterAttributeClusterErrorBooleanID = 0x00000032, + MTRAttributeIDTypeClusterTestClusterAttributeUnsupportedID = 0x000000FF, + MTRAttributeIDTypeClusterTestClusterAttributeNullableBooleanID = 0x00004000, + MTRAttributeIDTypeClusterTestClusterAttributeNullableBitmap8ID = 0x00004001, + MTRAttributeIDTypeClusterTestClusterAttributeNullableBitmap16ID = 0x00004002, + MTRAttributeIDTypeClusterTestClusterAttributeNullableBitmap32ID = 0x00004003, + MTRAttributeIDTypeClusterTestClusterAttributeNullableBitmap64ID = 0x00004004, + MTRAttributeIDTypeClusterTestClusterAttributeNullableInt8uID = 0x00004005, + MTRAttributeIDTypeClusterTestClusterAttributeNullableInt16uID = 0x00004006, + MTRAttributeIDTypeClusterTestClusterAttributeNullableInt24uID = 0x00004007, + MTRAttributeIDTypeClusterTestClusterAttributeNullableInt32uID = 0x00004008, + MTRAttributeIDTypeClusterTestClusterAttributeNullableInt40uID = 0x00004009, + MTRAttributeIDTypeClusterTestClusterAttributeNullableInt48uID = 0x0000400A, + MTRAttributeIDTypeClusterTestClusterAttributeNullableInt56uID = 0x0000400B, + MTRAttributeIDTypeClusterTestClusterAttributeNullableInt64uID = 0x0000400C, + MTRAttributeIDTypeClusterTestClusterAttributeNullableInt8sID = 0x0000400D, + MTRAttributeIDTypeClusterTestClusterAttributeNullableInt16sID = 0x0000400E, + MTRAttributeIDTypeClusterTestClusterAttributeNullableInt24sID = 0x0000400F, + MTRAttributeIDTypeClusterTestClusterAttributeNullableInt32sID = 0x00004010, + MTRAttributeIDTypeClusterTestClusterAttributeNullableInt40sID = 0x00004011, + MTRAttributeIDTypeClusterTestClusterAttributeNullableInt48sID = 0x00004012, + MTRAttributeIDTypeClusterTestClusterAttributeNullableInt56sID = 0x00004013, + MTRAttributeIDTypeClusterTestClusterAttributeNullableInt64sID = 0x00004014, + MTRAttributeIDTypeClusterTestClusterAttributeNullableEnum8ID = 0x00004015, + MTRAttributeIDTypeClusterTestClusterAttributeNullableEnum16ID = 0x00004016, + MTRAttributeIDTypeClusterTestClusterAttributeNullableFloatSingleID = 0x00004017, + MTRAttributeIDTypeClusterTestClusterAttributeNullableFloatDoubleID = 0x00004018, + MTRAttributeIDTypeClusterTestClusterAttributeNullableOctetStringID = 0x00004019, + MTRAttributeIDTypeClusterTestClusterAttributeNullableCharStringID = 0x0000401E, + MTRAttributeIDTypeClusterTestClusterAttributeNullableEnumAttrID = 0x00004024, + MTRAttributeIDTypeClusterTestClusterAttributeNullableStructID = 0x00004025, + MTRAttributeIDTypeClusterTestClusterAttributeNullableRangeRestrictedInt8uID = 0x00004026, + MTRAttributeIDTypeClusterTestClusterAttributeNullableRangeRestrictedInt8sID = 0x00004027, + MTRAttributeIDTypeClusterTestClusterAttributeNullableRangeRestrictedInt16uID = 0x00004028, + MTRAttributeIDTypeClusterTestClusterAttributeNullableRangeRestrictedInt16sID = 0x00004029, + MTRAttributeIDTypeClusterTestClusterAttributeGeneratedCommandListID = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterTestClusterAttributeAcceptedCommandListID = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterTestClusterAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterTestClusterAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterTestClusterAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, // Cluster FaultInjection attributes - MTRClusterFaultInjectionAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID, - MTRClusterFaultInjectionAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID, - MTRClusterFaultInjectionAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID, - MTRClusterFaultInjectionAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID, - MTRClusterFaultInjectionAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID, + MTRAttributeIDTypeClusterFaultInjectionAttributeGeneratedCommandListID + = MTRAttributeIDTypeGlobalAttributeGeneratedCommandListID, + MTRAttributeIDTypeClusterFaultInjectionAttributeAcceptedCommandListID = MTRAttributeIDTypeGlobalAttributeAcceptedCommandListID, + MTRAttributeIDTypeClusterFaultInjectionAttributeAttributeListID = MTRAttributeIDTypeGlobalAttributeAttributeListID, + MTRAttributeIDTypeClusterFaultInjectionAttributeFeatureMapID = MTRAttributeIDTypeGlobalAttributeFeatureMapID, + MTRAttributeIDTypeClusterFaultInjectionAttributeClusterRevisionID = MTRAttributeIDTypeGlobalAttributeClusterRevisionID, }; #pragma mark - Commands IDs -typedef NS_ENUM(uint32_t, MTRClusterCommandIDType) { +typedef NS_ENUM(uint32_t, MTRCommandIDType) { // Cluster Identify commands - MTRClusterIdentifyCommandIdentifyID = 0x00000000, - MTRClusterIdentifyCommandTriggerEffectID = 0x00000040, + MTRCommandIDTypeClusterIdentifyCommandIdentifyID = 0x00000000, + MTRCommandIDTypeClusterIdentifyCommandTriggerEffectID = 0x00000040, // Cluster Groups commands - MTRClusterGroupsCommandAddGroupID = 0x00000000, - MTRClusterGroupsCommandAddGroupResponseID = 0x00000000, - MTRClusterGroupsCommandViewGroupID = 0x00000001, - MTRClusterGroupsCommandViewGroupResponseID = 0x00000001, - MTRClusterGroupsCommandGetGroupMembershipID = 0x00000002, - MTRClusterGroupsCommandGetGroupMembershipResponseID = 0x00000002, - MTRClusterGroupsCommandRemoveGroupID = 0x00000003, - MTRClusterGroupsCommandRemoveGroupResponseID = 0x00000003, - MTRClusterGroupsCommandRemoveAllGroupsID = 0x00000004, - MTRClusterGroupsCommandAddGroupIfIdentifyingID = 0x00000005, + MTRCommandIDTypeClusterGroupsCommandAddGroupID = 0x00000000, + MTRCommandIDTypeClusterGroupsCommandAddGroupResponseID = 0x00000000, + MTRCommandIDTypeClusterGroupsCommandViewGroupID = 0x00000001, + MTRCommandIDTypeClusterGroupsCommandViewGroupResponseID = 0x00000001, + MTRCommandIDTypeClusterGroupsCommandGetGroupMembershipID = 0x00000002, + MTRCommandIDTypeClusterGroupsCommandGetGroupMembershipResponseID = 0x00000002, + MTRCommandIDTypeClusterGroupsCommandRemoveGroupID = 0x00000003, + MTRCommandIDTypeClusterGroupsCommandRemoveGroupResponseID = 0x00000003, + MTRCommandIDTypeClusterGroupsCommandRemoveAllGroupsID = 0x00000004, + MTRCommandIDTypeClusterGroupsCommandAddGroupIfIdentifyingID = 0x00000005, // Cluster Scenes commands - MTRClusterScenesCommandAddSceneID = 0x00000000, - MTRClusterScenesCommandAddSceneResponseID = 0x00000000, - MTRClusterScenesCommandViewSceneID = 0x00000001, - MTRClusterScenesCommandViewSceneResponseID = 0x00000001, - MTRClusterScenesCommandRemoveSceneID = 0x00000002, - MTRClusterScenesCommandRemoveSceneResponseID = 0x00000002, - MTRClusterScenesCommandRemoveAllScenesID = 0x00000003, - MTRClusterScenesCommandRemoveAllScenesResponseID = 0x00000003, - MTRClusterScenesCommandStoreSceneID = 0x00000004, - MTRClusterScenesCommandStoreSceneResponseID = 0x00000004, - MTRClusterScenesCommandRecallSceneID = 0x00000005, - MTRClusterScenesCommandGetSceneMembershipID = 0x00000006, - MTRClusterScenesCommandGetSceneMembershipResponseID = 0x00000006, - MTRClusterScenesCommandEnhancedAddSceneID = 0x00000040, - MTRClusterScenesCommandEnhancedAddSceneResponseID = 0x00000040, - MTRClusterScenesCommandEnhancedViewSceneID = 0x00000041, - MTRClusterScenesCommandEnhancedViewSceneResponseID = 0x00000041, - MTRClusterScenesCommandCopySceneID = 0x00000042, - MTRClusterScenesCommandCopySceneResponseID = 0x00000042, + MTRCommandIDTypeClusterScenesCommandAddSceneID = 0x00000000, + MTRCommandIDTypeClusterScenesCommandAddSceneResponseID = 0x00000000, + MTRCommandIDTypeClusterScenesCommandViewSceneID = 0x00000001, + MTRCommandIDTypeClusterScenesCommandViewSceneResponseID = 0x00000001, + MTRCommandIDTypeClusterScenesCommandRemoveSceneID = 0x00000002, + MTRCommandIDTypeClusterScenesCommandRemoveSceneResponseID = 0x00000002, + MTRCommandIDTypeClusterScenesCommandRemoveAllScenesID = 0x00000003, + MTRCommandIDTypeClusterScenesCommandRemoveAllScenesResponseID = 0x00000003, + MTRCommandIDTypeClusterScenesCommandStoreSceneID = 0x00000004, + MTRCommandIDTypeClusterScenesCommandStoreSceneResponseID = 0x00000004, + MTRCommandIDTypeClusterScenesCommandRecallSceneID = 0x00000005, + MTRCommandIDTypeClusterScenesCommandGetSceneMembershipID = 0x00000006, + MTRCommandIDTypeClusterScenesCommandGetSceneMembershipResponseID = 0x00000006, + MTRCommandIDTypeClusterScenesCommandEnhancedAddSceneID = 0x00000040, + MTRCommandIDTypeClusterScenesCommandEnhancedAddSceneResponseID = 0x00000040, + MTRCommandIDTypeClusterScenesCommandEnhancedViewSceneID = 0x00000041, + MTRCommandIDTypeClusterScenesCommandEnhancedViewSceneResponseID = 0x00000041, + MTRCommandIDTypeClusterScenesCommandCopySceneID = 0x00000042, + MTRCommandIDTypeClusterScenesCommandCopySceneResponseID = 0x00000042, // Cluster OnOff commands - MTRClusterOnOffCommandOffID = 0x00000000, - MTRClusterOnOffCommandOnID = 0x00000001, - MTRClusterOnOffCommandToggleID = 0x00000002, - MTRClusterOnOffCommandOffWithEffectID = 0x00000040, - MTRClusterOnOffCommandOnWithRecallGlobalSceneID = 0x00000041, - MTRClusterOnOffCommandOnWithTimedOffID = 0x00000042, + MTRCommandIDTypeClusterOnOffCommandOffID = 0x00000000, + MTRCommandIDTypeClusterOnOffCommandOnID = 0x00000001, + MTRCommandIDTypeClusterOnOffCommandToggleID = 0x00000002, + MTRCommandIDTypeClusterOnOffCommandOffWithEffectID = 0x00000040, + MTRCommandIDTypeClusterOnOffCommandOnWithRecallGlobalSceneID = 0x00000041, + MTRCommandIDTypeClusterOnOffCommandOnWithTimedOffID = 0x00000042, // Cluster LevelControl commands - MTRClusterLevelControlCommandMoveToLevelID = 0x00000000, - MTRClusterLevelControlCommandMoveID = 0x00000001, - MTRClusterLevelControlCommandStepID = 0x00000002, - MTRClusterLevelControlCommandStopID = 0x00000003, - MTRClusterLevelControlCommandMoveToLevelWithOnOffID = 0x00000004, - MTRClusterLevelControlCommandMoveWithOnOffID = 0x00000005, - MTRClusterLevelControlCommandStepWithOnOffID = 0x00000006, - MTRClusterLevelControlCommandStopWithOnOffID = 0x00000007, - MTRClusterLevelControlCommandMoveToClosestFrequencyID = 0x00000008, + MTRCommandIDTypeClusterLevelControlCommandMoveToLevelID = 0x00000000, + MTRCommandIDTypeClusterLevelControlCommandMoveID = 0x00000001, + MTRCommandIDTypeClusterLevelControlCommandStepID = 0x00000002, + MTRCommandIDTypeClusterLevelControlCommandStopID = 0x00000003, + MTRCommandIDTypeClusterLevelControlCommandMoveToLevelWithOnOffID = 0x00000004, + MTRCommandIDTypeClusterLevelControlCommandMoveWithOnOffID = 0x00000005, + MTRCommandIDTypeClusterLevelControlCommandStepWithOnOffID = 0x00000006, + MTRCommandIDTypeClusterLevelControlCommandStopWithOnOffID = 0x00000007, + MTRCommandIDTypeClusterLevelControlCommandMoveToClosestFrequencyID = 0x00000008, // Cluster Actions commands - MTRClusterActionsCommandInstantActionID = 0x00000000, - MTRClusterActionsCommandInstantActionWithTransitionID = 0x00000001, - MTRClusterActionsCommandStartActionID = 0x00000002, - MTRClusterActionsCommandStartActionWithDurationID = 0x00000003, - MTRClusterActionsCommandStopActionID = 0x00000004, - MTRClusterActionsCommandPauseActionID = 0x00000005, - MTRClusterActionsCommandPauseActionWithDurationID = 0x00000006, - MTRClusterActionsCommandResumeActionID = 0x00000007, - MTRClusterActionsCommandEnableActionID = 0x00000008, - MTRClusterActionsCommandEnableActionWithDurationID = 0x00000009, - MTRClusterActionsCommandDisableActionID = 0x0000000A, - MTRClusterActionsCommandDisableActionWithDurationID = 0x0000000B, + MTRCommandIDTypeClusterActionsCommandInstantActionID = 0x00000000, + MTRCommandIDTypeClusterActionsCommandInstantActionWithTransitionID = 0x00000001, + MTRCommandIDTypeClusterActionsCommandStartActionID = 0x00000002, + MTRCommandIDTypeClusterActionsCommandStartActionWithDurationID = 0x00000003, + MTRCommandIDTypeClusterActionsCommandStopActionID = 0x00000004, + MTRCommandIDTypeClusterActionsCommandPauseActionID = 0x00000005, + MTRCommandIDTypeClusterActionsCommandPauseActionWithDurationID = 0x00000006, + MTRCommandIDTypeClusterActionsCommandResumeActionID = 0x00000007, + MTRCommandIDTypeClusterActionsCommandEnableActionID = 0x00000008, + MTRCommandIDTypeClusterActionsCommandEnableActionWithDurationID = 0x00000009, + MTRCommandIDTypeClusterActionsCommandDisableActionID = 0x0000000A, + MTRCommandIDTypeClusterActionsCommandDisableActionWithDurationID = 0x0000000B, // Cluster Basic commands - MTRClusterBasicCommandMfgSpecificPingID = 0x10020000, + MTRCommandIDTypeClusterBasicCommandMfgSpecificPingID = 0x10020000, // Cluster OtaSoftwareUpdateProvider commands - MTRClusterOtaSoftwareUpdateProviderCommandQueryImageID = 0x00000000, - MTRClusterOtaSoftwareUpdateProviderCommandQueryImageResponseID = 0x00000001, - MTRClusterOtaSoftwareUpdateProviderCommandApplyUpdateRequestID = 0x00000002, - MTRClusterOtaSoftwareUpdateProviderCommandApplyUpdateResponseID = 0x00000003, - MTRClusterOtaSoftwareUpdateProviderCommandNotifyUpdateAppliedID = 0x00000004, + MTRCommandIDTypeClusterOtaSoftwareUpdateProviderCommandQueryImageID = 0x00000000, + MTRCommandIDTypeClusterOtaSoftwareUpdateProviderCommandQueryImageResponseID = 0x00000001, + MTRCommandIDTypeClusterOtaSoftwareUpdateProviderCommandApplyUpdateRequestID = 0x00000002, + MTRCommandIDTypeClusterOtaSoftwareUpdateProviderCommandApplyUpdateResponseID = 0x00000003, + MTRCommandIDTypeClusterOtaSoftwareUpdateProviderCommandNotifyUpdateAppliedID = 0x00000004, // Cluster OtaSoftwareUpdateRequestor commands - MTRClusterOtaSoftwareUpdateRequestorCommandAnnounceOtaProviderID = 0x00000000, + MTRCommandIDTypeClusterOtaSoftwareUpdateRequestorCommandAnnounceOtaProviderID = 0x00000000, // Cluster GeneralCommissioning commands - MTRClusterGeneralCommissioningCommandArmFailSafeID = 0x00000000, - MTRClusterGeneralCommissioningCommandArmFailSafeResponseID = 0x00000001, - MTRClusterGeneralCommissioningCommandSetRegulatoryConfigID = 0x00000002, - MTRClusterGeneralCommissioningCommandSetRegulatoryConfigResponseID = 0x00000003, - MTRClusterGeneralCommissioningCommandCommissioningCompleteID = 0x00000004, - MTRClusterGeneralCommissioningCommandCommissioningCompleteResponseID = 0x00000005, + MTRCommandIDTypeClusterGeneralCommissioningCommandArmFailSafeID = 0x00000000, + MTRCommandIDTypeClusterGeneralCommissioningCommandArmFailSafeResponseID = 0x00000001, + MTRCommandIDTypeClusterGeneralCommissioningCommandSetRegulatoryConfigID = 0x00000002, + MTRCommandIDTypeClusterGeneralCommissioningCommandSetRegulatoryConfigResponseID = 0x00000003, + MTRCommandIDTypeClusterGeneralCommissioningCommandCommissioningCompleteID = 0x00000004, + MTRCommandIDTypeClusterGeneralCommissioningCommandCommissioningCompleteResponseID = 0x00000005, // Cluster NetworkCommissioning commands - MTRClusterNetworkCommissioningCommandScanNetworksID = 0x00000000, - MTRClusterNetworkCommissioningCommandScanNetworksResponseID = 0x00000001, - MTRClusterNetworkCommissioningCommandAddOrUpdateWiFiNetworkID = 0x00000002, - MTRClusterNetworkCommissioningCommandAddOrUpdateThreadNetworkID = 0x00000003, - MTRClusterNetworkCommissioningCommandRemoveNetworkID = 0x00000004, - MTRClusterNetworkCommissioningCommandNetworkConfigResponseID = 0x00000005, - MTRClusterNetworkCommissioningCommandConnectNetworkID = 0x00000006, - MTRClusterNetworkCommissioningCommandConnectNetworkResponseID = 0x00000007, - MTRClusterNetworkCommissioningCommandReorderNetworkID = 0x00000008, + MTRCommandIDTypeClusterNetworkCommissioningCommandScanNetworksID = 0x00000000, + MTRCommandIDTypeClusterNetworkCommissioningCommandScanNetworksResponseID = 0x00000001, + MTRCommandIDTypeClusterNetworkCommissioningCommandAddOrUpdateWiFiNetworkID = 0x00000002, + MTRCommandIDTypeClusterNetworkCommissioningCommandAddOrUpdateThreadNetworkID = 0x00000003, + MTRCommandIDTypeClusterNetworkCommissioningCommandRemoveNetworkID = 0x00000004, + MTRCommandIDTypeClusterNetworkCommissioningCommandNetworkConfigResponseID = 0x00000005, + MTRCommandIDTypeClusterNetworkCommissioningCommandConnectNetworkID = 0x00000006, + MTRCommandIDTypeClusterNetworkCommissioningCommandConnectNetworkResponseID = 0x00000007, + MTRCommandIDTypeClusterNetworkCommissioningCommandReorderNetworkID = 0x00000008, // Cluster DiagnosticLogs commands - MTRClusterDiagnosticLogsCommandRetrieveLogsRequestID = 0x00000000, - MTRClusterDiagnosticLogsCommandRetrieveLogsResponseID = 0x00000001, + MTRCommandIDTypeClusterDiagnosticLogsCommandRetrieveLogsRequestID = 0x00000000, + MTRCommandIDTypeClusterDiagnosticLogsCommandRetrieveLogsResponseID = 0x00000001, // Cluster GeneralDiagnostics commands - MTRClusterGeneralDiagnosticsCommandTestEventTriggerID = 0x00000000, + MTRCommandIDTypeClusterGeneralDiagnosticsCommandTestEventTriggerID = 0x00000000, // Cluster SoftwareDiagnostics commands - MTRClusterSoftwareDiagnosticsCommandResetWatermarksID = 0x00000000, + MTRCommandIDTypeClusterSoftwareDiagnosticsCommandResetWatermarksID = 0x00000000, // Cluster ThreadNetworkDiagnostics commands - MTRClusterThreadNetworkDiagnosticsCommandResetCountsID = 0x00000000, + MTRCommandIDTypeClusterThreadNetworkDiagnosticsCommandResetCountsID = 0x00000000, // Cluster WiFiNetworkDiagnostics commands - MTRClusterWiFiNetworkDiagnosticsCommandResetCountsID = 0x00000000, + MTRCommandIDTypeClusterWiFiNetworkDiagnosticsCommandResetCountsID = 0x00000000, // Cluster EthernetNetworkDiagnostics commands - MTRClusterEthernetNetworkDiagnosticsCommandResetCountsID = 0x00000000, + MTRCommandIDTypeClusterEthernetNetworkDiagnosticsCommandResetCountsID = 0x00000000, // Cluster TimeSynchronization commands - MTRClusterTimeSynchronizationCommandSetUtcTimeID = 0x00000000, + MTRCommandIDTypeClusterTimeSynchronizationCommandSetUtcTimeID = 0x00000000, // Cluster AdministratorCommissioning commands - MTRClusterAdministratorCommissioningCommandOpenCommissioningWindowID = 0x00000000, - MTRClusterAdministratorCommissioningCommandOpenBasicCommissioningWindowID = 0x00000001, - MTRClusterAdministratorCommissioningCommandRevokeCommissioningID = 0x00000002, + MTRCommandIDTypeClusterAdministratorCommissioningCommandOpenCommissioningWindowID = 0x00000000, + MTRCommandIDTypeClusterAdministratorCommissioningCommandOpenBasicCommissioningWindowID = 0x00000001, + MTRCommandIDTypeClusterAdministratorCommissioningCommandRevokeCommissioningID = 0x00000002, // Cluster OperationalCredentials commands - MTRClusterOperationalCredentialsCommandAttestationRequestID = 0x00000000, - MTRClusterOperationalCredentialsCommandAttestationResponseID = 0x00000001, - MTRClusterOperationalCredentialsCommandCertificateChainRequestID = 0x00000002, - MTRClusterOperationalCredentialsCommandCertificateChainResponseID = 0x00000003, - MTRClusterOperationalCredentialsCommandCSRRequestID = 0x00000004, - MTRClusterOperationalCredentialsCommandCSRResponseID = 0x00000005, - MTRClusterOperationalCredentialsCommandAddNOCID = 0x00000006, - MTRClusterOperationalCredentialsCommandUpdateNOCID = 0x00000007, - MTRClusterOperationalCredentialsCommandNOCResponseID = 0x00000008, - MTRClusterOperationalCredentialsCommandUpdateFabricLabelID = 0x00000009, - MTRClusterOperationalCredentialsCommandRemoveFabricID = 0x0000000A, - MTRClusterOperationalCredentialsCommandAddTrustedRootCertificateID = 0x0000000B, + MTRCommandIDTypeClusterOperationalCredentialsCommandAttestationRequestID = 0x00000000, + MTRCommandIDTypeClusterOperationalCredentialsCommandAttestationResponseID = 0x00000001, + MTRCommandIDTypeClusterOperationalCredentialsCommandCertificateChainRequestID = 0x00000002, + MTRCommandIDTypeClusterOperationalCredentialsCommandCertificateChainResponseID = 0x00000003, + MTRCommandIDTypeClusterOperationalCredentialsCommandCSRRequestID = 0x00000004, + MTRCommandIDTypeClusterOperationalCredentialsCommandCSRResponseID = 0x00000005, + MTRCommandIDTypeClusterOperationalCredentialsCommandAddNOCID = 0x00000006, + MTRCommandIDTypeClusterOperationalCredentialsCommandUpdateNOCID = 0x00000007, + MTRCommandIDTypeClusterOperationalCredentialsCommandNOCResponseID = 0x00000008, + MTRCommandIDTypeClusterOperationalCredentialsCommandUpdateFabricLabelID = 0x00000009, + MTRCommandIDTypeClusterOperationalCredentialsCommandRemoveFabricID = 0x0000000A, + MTRCommandIDTypeClusterOperationalCredentialsCommandAddTrustedRootCertificateID = 0x0000000B, // Cluster GroupKeyManagement commands - MTRClusterGroupKeyManagementCommandKeySetWriteID = 0x00000000, - MTRClusterGroupKeyManagementCommandKeySetReadID = 0x00000001, - MTRClusterGroupKeyManagementCommandKeySetReadResponseID = 0x00000002, - MTRClusterGroupKeyManagementCommandKeySetRemoveID = 0x00000003, - MTRClusterGroupKeyManagementCommandKeySetReadAllIndicesID = 0x00000004, - MTRClusterGroupKeyManagementCommandKeySetReadAllIndicesResponseID = 0x00000005, + MTRCommandIDTypeClusterGroupKeyManagementCommandKeySetWriteID = 0x00000000, + MTRCommandIDTypeClusterGroupKeyManagementCommandKeySetReadID = 0x00000001, + MTRCommandIDTypeClusterGroupKeyManagementCommandKeySetReadResponseID = 0x00000002, + MTRCommandIDTypeClusterGroupKeyManagementCommandKeySetRemoveID = 0x00000003, + MTRCommandIDTypeClusterGroupKeyManagementCommandKeySetReadAllIndicesID = 0x00000004, + MTRCommandIDTypeClusterGroupKeyManagementCommandKeySetReadAllIndicesResponseID = 0x00000005, // Cluster ModeSelect commands - MTRClusterModeSelectCommandChangeToModeID = 0x00000000, + MTRCommandIDTypeClusterModeSelectCommandChangeToModeID = 0x00000000, // Cluster DoorLock commands - MTRClusterDoorLockCommandLockDoorID = 0x00000000, - MTRClusterDoorLockCommandUnlockDoorID = 0x00000001, - MTRClusterDoorLockCommandUnlockWithTimeoutID = 0x00000003, - MTRClusterDoorLockCommandSetWeekDayScheduleID = 0x0000000B, - MTRClusterDoorLockCommandGetWeekDayScheduleID = 0x0000000C, - MTRClusterDoorLockCommandGetWeekDayScheduleResponseID = 0x0000000C, - MTRClusterDoorLockCommandClearWeekDayScheduleID = 0x0000000D, - MTRClusterDoorLockCommandSetYearDayScheduleID = 0x0000000E, - MTRClusterDoorLockCommandGetYearDayScheduleID = 0x0000000F, - MTRClusterDoorLockCommandGetYearDayScheduleResponseID = 0x0000000F, - MTRClusterDoorLockCommandClearYearDayScheduleID = 0x00000010, - MTRClusterDoorLockCommandSetHolidayScheduleID = 0x00000011, - MTRClusterDoorLockCommandGetHolidayScheduleID = 0x00000012, - MTRClusterDoorLockCommandGetHolidayScheduleResponseID = 0x00000012, - MTRClusterDoorLockCommandClearHolidayScheduleID = 0x00000013, - MTRClusterDoorLockCommandSetUserID = 0x0000001A, - MTRClusterDoorLockCommandGetUserID = 0x0000001B, - MTRClusterDoorLockCommandGetUserResponseID = 0x0000001C, - MTRClusterDoorLockCommandClearUserID = 0x0000001D, - MTRClusterDoorLockCommandSetCredentialID = 0x00000022, - MTRClusterDoorLockCommandSetCredentialResponseID = 0x00000023, - MTRClusterDoorLockCommandGetCredentialStatusID = 0x00000024, - MTRClusterDoorLockCommandGetCredentialStatusResponseID = 0x00000025, - MTRClusterDoorLockCommandClearCredentialID = 0x00000026, + MTRCommandIDTypeClusterDoorLockCommandLockDoorID = 0x00000000, + MTRCommandIDTypeClusterDoorLockCommandUnlockDoorID = 0x00000001, + MTRCommandIDTypeClusterDoorLockCommandUnlockWithTimeoutID = 0x00000003, + MTRCommandIDTypeClusterDoorLockCommandSetWeekDayScheduleID = 0x0000000B, + MTRCommandIDTypeClusterDoorLockCommandGetWeekDayScheduleID = 0x0000000C, + MTRCommandIDTypeClusterDoorLockCommandGetWeekDayScheduleResponseID = 0x0000000C, + MTRCommandIDTypeClusterDoorLockCommandClearWeekDayScheduleID = 0x0000000D, + MTRCommandIDTypeClusterDoorLockCommandSetYearDayScheduleID = 0x0000000E, + MTRCommandIDTypeClusterDoorLockCommandGetYearDayScheduleID = 0x0000000F, + MTRCommandIDTypeClusterDoorLockCommandGetYearDayScheduleResponseID = 0x0000000F, + MTRCommandIDTypeClusterDoorLockCommandClearYearDayScheduleID = 0x00000010, + MTRCommandIDTypeClusterDoorLockCommandSetHolidayScheduleID = 0x00000011, + MTRCommandIDTypeClusterDoorLockCommandGetHolidayScheduleID = 0x00000012, + MTRCommandIDTypeClusterDoorLockCommandGetHolidayScheduleResponseID = 0x00000012, + MTRCommandIDTypeClusterDoorLockCommandClearHolidayScheduleID = 0x00000013, + MTRCommandIDTypeClusterDoorLockCommandSetUserID = 0x0000001A, + MTRCommandIDTypeClusterDoorLockCommandGetUserID = 0x0000001B, + MTRCommandIDTypeClusterDoorLockCommandGetUserResponseID = 0x0000001C, + MTRCommandIDTypeClusterDoorLockCommandClearUserID = 0x0000001D, + MTRCommandIDTypeClusterDoorLockCommandSetCredentialID = 0x00000022, + MTRCommandIDTypeClusterDoorLockCommandSetCredentialResponseID = 0x00000023, + MTRCommandIDTypeClusterDoorLockCommandGetCredentialStatusID = 0x00000024, + MTRCommandIDTypeClusterDoorLockCommandGetCredentialStatusResponseID = 0x00000025, + MTRCommandIDTypeClusterDoorLockCommandClearCredentialID = 0x00000026, // Cluster WindowCovering commands - MTRClusterWindowCoveringCommandUpOrOpenID = 0x00000000, - MTRClusterWindowCoveringCommandDownOrCloseID = 0x00000001, - MTRClusterWindowCoveringCommandStopMotionID = 0x00000002, - MTRClusterWindowCoveringCommandGoToLiftValueID = 0x00000004, - MTRClusterWindowCoveringCommandGoToLiftPercentageID = 0x00000005, - MTRClusterWindowCoveringCommandGoToTiltValueID = 0x00000007, - MTRClusterWindowCoveringCommandGoToTiltPercentageID = 0x00000008, + MTRCommandIDTypeClusterWindowCoveringCommandUpOrOpenID = 0x00000000, + MTRCommandIDTypeClusterWindowCoveringCommandDownOrCloseID = 0x00000001, + MTRCommandIDTypeClusterWindowCoveringCommandStopMotionID = 0x00000002, + MTRCommandIDTypeClusterWindowCoveringCommandGoToLiftValueID = 0x00000004, + MTRCommandIDTypeClusterWindowCoveringCommandGoToLiftPercentageID = 0x00000005, + MTRCommandIDTypeClusterWindowCoveringCommandGoToTiltValueID = 0x00000007, + MTRCommandIDTypeClusterWindowCoveringCommandGoToTiltPercentageID = 0x00000008, // Cluster BarrierControl commands - MTRClusterBarrierControlCommandBarrierControlGoToPercentID = 0x00000000, - MTRClusterBarrierControlCommandBarrierControlStopID = 0x00000001, + MTRCommandIDTypeClusterBarrierControlCommandBarrierControlGoToPercentID = 0x00000000, + MTRCommandIDTypeClusterBarrierControlCommandBarrierControlStopID = 0x00000001, // Cluster Thermostat commands - MTRClusterThermostatCommandSetpointRaiseLowerID = 0x00000000, - MTRClusterThermostatCommandGetWeeklyScheduleResponseID = 0x00000000, - MTRClusterThermostatCommandSetWeeklyScheduleID = 0x00000001, - MTRClusterThermostatCommandGetWeeklyScheduleID = 0x00000002, - MTRClusterThermostatCommandClearWeeklyScheduleID = 0x00000003, + MTRCommandIDTypeClusterThermostatCommandSetpointRaiseLowerID = 0x00000000, + MTRCommandIDTypeClusterThermostatCommandGetWeeklyScheduleResponseID = 0x00000000, + MTRCommandIDTypeClusterThermostatCommandSetWeeklyScheduleID = 0x00000001, + MTRCommandIDTypeClusterThermostatCommandGetWeeklyScheduleID = 0x00000002, + MTRCommandIDTypeClusterThermostatCommandClearWeeklyScheduleID = 0x00000003, // Cluster ColorControl commands - MTRClusterColorControlCommandMoveToHueID = 0x00000000, - MTRClusterColorControlCommandMoveHueID = 0x00000001, - MTRClusterColorControlCommandStepHueID = 0x00000002, - MTRClusterColorControlCommandMoveToSaturationID = 0x00000003, - MTRClusterColorControlCommandMoveSaturationID = 0x00000004, - MTRClusterColorControlCommandStepSaturationID = 0x00000005, - MTRClusterColorControlCommandMoveToHueAndSaturationID = 0x00000006, - MTRClusterColorControlCommandMoveToColorID = 0x00000007, - MTRClusterColorControlCommandMoveColorID = 0x00000008, - MTRClusterColorControlCommandStepColorID = 0x00000009, - MTRClusterColorControlCommandMoveToColorTemperatureID = 0x0000000A, - MTRClusterColorControlCommandEnhancedMoveToHueID = 0x00000040, - MTRClusterColorControlCommandEnhancedMoveHueID = 0x00000041, - MTRClusterColorControlCommandEnhancedStepHueID = 0x00000042, - MTRClusterColorControlCommandEnhancedMoveToHueAndSaturationID = 0x00000043, - MTRClusterColorControlCommandColorLoopSetID = 0x00000044, - MTRClusterColorControlCommandStopMoveStepID = 0x00000047, - MTRClusterColorControlCommandMoveColorTemperatureID = 0x0000004B, - MTRClusterColorControlCommandStepColorTemperatureID = 0x0000004C, + MTRCommandIDTypeClusterColorControlCommandMoveToHueID = 0x00000000, + MTRCommandIDTypeClusterColorControlCommandMoveHueID = 0x00000001, + MTRCommandIDTypeClusterColorControlCommandStepHueID = 0x00000002, + MTRCommandIDTypeClusterColorControlCommandMoveToSaturationID = 0x00000003, + MTRCommandIDTypeClusterColorControlCommandMoveSaturationID = 0x00000004, + MTRCommandIDTypeClusterColorControlCommandStepSaturationID = 0x00000005, + MTRCommandIDTypeClusterColorControlCommandMoveToHueAndSaturationID = 0x00000006, + MTRCommandIDTypeClusterColorControlCommandMoveToColorID = 0x00000007, + MTRCommandIDTypeClusterColorControlCommandMoveColorID = 0x00000008, + MTRCommandIDTypeClusterColorControlCommandStepColorID = 0x00000009, + MTRCommandIDTypeClusterColorControlCommandMoveToColorTemperatureID = 0x0000000A, + MTRCommandIDTypeClusterColorControlCommandEnhancedMoveToHueID = 0x00000040, + MTRCommandIDTypeClusterColorControlCommandEnhancedMoveHueID = 0x00000041, + MTRCommandIDTypeClusterColorControlCommandEnhancedStepHueID = 0x00000042, + MTRCommandIDTypeClusterColorControlCommandEnhancedMoveToHueAndSaturationID = 0x00000043, + MTRCommandIDTypeClusterColorControlCommandColorLoopSetID = 0x00000044, + MTRCommandIDTypeClusterColorControlCommandStopMoveStepID = 0x00000047, + MTRCommandIDTypeClusterColorControlCommandMoveColorTemperatureID = 0x0000004B, + MTRCommandIDTypeClusterColorControlCommandStepColorTemperatureID = 0x0000004C, // Cluster Channel commands - MTRClusterChannelCommandChangeChannelID = 0x00000000, - MTRClusterChannelCommandChangeChannelResponseID = 0x00000001, - MTRClusterChannelCommandChangeChannelByNumberID = 0x00000002, - MTRClusterChannelCommandSkipChannelID = 0x00000003, + MTRCommandIDTypeClusterChannelCommandChangeChannelID = 0x00000000, + MTRCommandIDTypeClusterChannelCommandChangeChannelResponseID = 0x00000001, + MTRCommandIDTypeClusterChannelCommandChangeChannelByNumberID = 0x00000002, + MTRCommandIDTypeClusterChannelCommandSkipChannelID = 0x00000003, // Cluster TargetNavigator commands - MTRClusterTargetNavigatorCommandNavigateTargetID = 0x00000000, - MTRClusterTargetNavigatorCommandNavigateTargetResponseID = 0x00000001, + MTRCommandIDTypeClusterTargetNavigatorCommandNavigateTargetID = 0x00000000, + MTRCommandIDTypeClusterTargetNavigatorCommandNavigateTargetResponseID = 0x00000001, // Cluster MediaPlayback commands - MTRClusterMediaPlaybackCommandPlayID = 0x00000000, - MTRClusterMediaPlaybackCommandPauseID = 0x00000001, - MTRClusterMediaPlaybackCommandStopPlaybackID = 0x00000002, - MTRClusterMediaPlaybackCommandStartOverID = 0x00000003, - MTRClusterMediaPlaybackCommandPreviousID = 0x00000004, - MTRClusterMediaPlaybackCommandNextID = 0x00000005, - MTRClusterMediaPlaybackCommandRewindID = 0x00000006, - MTRClusterMediaPlaybackCommandFastForwardID = 0x00000007, - MTRClusterMediaPlaybackCommandSkipForwardID = 0x00000008, - MTRClusterMediaPlaybackCommandSkipBackwardID = 0x00000009, - MTRClusterMediaPlaybackCommandPlaybackResponseID = 0x0000000A, - MTRClusterMediaPlaybackCommandSeekID = 0x0000000B, + MTRCommandIDTypeClusterMediaPlaybackCommandPlayID = 0x00000000, + MTRCommandIDTypeClusterMediaPlaybackCommandPauseID = 0x00000001, + MTRCommandIDTypeClusterMediaPlaybackCommandStopPlaybackID = 0x00000002, + MTRCommandIDTypeClusterMediaPlaybackCommandStartOverID = 0x00000003, + MTRCommandIDTypeClusterMediaPlaybackCommandPreviousID = 0x00000004, + MTRCommandIDTypeClusterMediaPlaybackCommandNextID = 0x00000005, + MTRCommandIDTypeClusterMediaPlaybackCommandRewindID = 0x00000006, + MTRCommandIDTypeClusterMediaPlaybackCommandFastForwardID = 0x00000007, + MTRCommandIDTypeClusterMediaPlaybackCommandSkipForwardID = 0x00000008, + MTRCommandIDTypeClusterMediaPlaybackCommandSkipBackwardID = 0x00000009, + MTRCommandIDTypeClusterMediaPlaybackCommandPlaybackResponseID = 0x0000000A, + MTRCommandIDTypeClusterMediaPlaybackCommandSeekID = 0x0000000B, // Cluster MediaInput commands - MTRClusterMediaInputCommandSelectInputID = 0x00000000, - MTRClusterMediaInputCommandShowInputStatusID = 0x00000001, - MTRClusterMediaInputCommandHideInputStatusID = 0x00000002, - MTRClusterMediaInputCommandRenameInputID = 0x00000003, + MTRCommandIDTypeClusterMediaInputCommandSelectInputID = 0x00000000, + MTRCommandIDTypeClusterMediaInputCommandShowInputStatusID = 0x00000001, + MTRCommandIDTypeClusterMediaInputCommandHideInputStatusID = 0x00000002, + MTRCommandIDTypeClusterMediaInputCommandRenameInputID = 0x00000003, // Cluster LowPower commands - MTRClusterLowPowerCommandSleepID = 0x00000000, + MTRCommandIDTypeClusterLowPowerCommandSleepID = 0x00000000, // Cluster KeypadInput commands - MTRClusterKeypadInputCommandSendKeyID = 0x00000000, - MTRClusterKeypadInputCommandSendKeyResponseID = 0x00000001, + MTRCommandIDTypeClusterKeypadInputCommandSendKeyID = 0x00000000, + MTRCommandIDTypeClusterKeypadInputCommandSendKeyResponseID = 0x00000001, // Cluster ContentLauncher commands - MTRClusterContentLauncherCommandLaunchContentID = 0x00000000, - MTRClusterContentLauncherCommandLaunchURLID = 0x00000001, - MTRClusterContentLauncherCommandLaunchResponseID = 0x00000002, + MTRCommandIDTypeClusterContentLauncherCommandLaunchContentID = 0x00000000, + MTRCommandIDTypeClusterContentLauncherCommandLaunchURLID = 0x00000001, + MTRCommandIDTypeClusterContentLauncherCommandLaunchResponseID = 0x00000002, // Cluster AudioOutput commands - MTRClusterAudioOutputCommandSelectOutputID = 0x00000000, - MTRClusterAudioOutputCommandRenameOutputID = 0x00000001, + MTRCommandIDTypeClusterAudioOutputCommandSelectOutputID = 0x00000000, + MTRCommandIDTypeClusterAudioOutputCommandRenameOutputID = 0x00000001, // Cluster ApplicationLauncher commands - MTRClusterApplicationLauncherCommandLaunchAppID = 0x00000000, - MTRClusterApplicationLauncherCommandStopAppID = 0x00000001, - MTRClusterApplicationLauncherCommandHideAppID = 0x00000002, - MTRClusterApplicationLauncherCommandLauncherResponseID = 0x00000003, + MTRCommandIDTypeClusterApplicationLauncherCommandLaunchAppID = 0x00000000, + MTRCommandIDTypeClusterApplicationLauncherCommandStopAppID = 0x00000001, + MTRCommandIDTypeClusterApplicationLauncherCommandHideAppID = 0x00000002, + MTRCommandIDTypeClusterApplicationLauncherCommandLauncherResponseID = 0x00000003, // Cluster AccountLogin commands - MTRClusterAccountLoginCommandGetSetupPINID = 0x00000000, - MTRClusterAccountLoginCommandGetSetupPINResponseID = 0x00000001, - MTRClusterAccountLoginCommandLoginID = 0x00000002, - MTRClusterAccountLoginCommandLogoutID = 0x00000003, + MTRCommandIDTypeClusterAccountLoginCommandGetSetupPINID = 0x00000000, + MTRCommandIDTypeClusterAccountLoginCommandGetSetupPINResponseID = 0x00000001, + MTRCommandIDTypeClusterAccountLoginCommandLoginID = 0x00000002, + MTRCommandIDTypeClusterAccountLoginCommandLogoutID = 0x00000003, // Cluster ElectricalMeasurement commands - MTRClusterElectricalMeasurementCommandGetProfileInfoResponseCommandID = 0x00000000, - MTRClusterElectricalMeasurementCommandGetProfileInfoCommandID = 0x00000000, - MTRClusterElectricalMeasurementCommandGetMeasurementProfileResponseCommandID = 0x00000001, - MTRClusterElectricalMeasurementCommandGetMeasurementProfileCommandID = 0x00000001, + MTRCommandIDTypeClusterElectricalMeasurementCommandGetProfileInfoResponseCommandID = 0x00000000, + MTRCommandIDTypeClusterElectricalMeasurementCommandGetProfileInfoCommandID = 0x00000000, + MTRCommandIDTypeClusterElectricalMeasurementCommandGetMeasurementProfileResponseCommandID = 0x00000001, + MTRCommandIDTypeClusterElectricalMeasurementCommandGetMeasurementProfileCommandID = 0x00000001, // Cluster TestCluster commands - MTRClusterTestClusterCommandTestID = 0x00000000, - MTRClusterTestClusterCommandTestSpecificResponseID = 0x00000000, - MTRClusterTestClusterCommandTestNotHandledID = 0x00000001, - MTRClusterTestClusterCommandTestAddArgumentsResponseID = 0x00000001, - MTRClusterTestClusterCommandTestSpecificID = 0x00000002, - MTRClusterTestClusterCommandTestSimpleArgumentResponseID = 0x00000002, - MTRClusterTestClusterCommandTestUnknownCommandID = 0x00000003, - MTRClusterTestClusterCommandTestStructArrayArgumentResponseID = 0x00000003, - MTRClusterTestClusterCommandTestAddArgumentsID = 0x00000004, - MTRClusterTestClusterCommandTestListInt8UReverseResponseID = 0x00000004, - MTRClusterTestClusterCommandTestSimpleArgumentRequestID = 0x00000005, - MTRClusterTestClusterCommandTestEnumsResponseID = 0x00000005, - MTRClusterTestClusterCommandTestStructArrayArgumentRequestID = 0x00000006, - MTRClusterTestClusterCommandTestNullableOptionalResponseID = 0x00000006, - MTRClusterTestClusterCommandTestStructArgumentRequestID = 0x00000007, - MTRClusterTestClusterCommandTestComplexNullableOptionalResponseID = 0x00000007, - MTRClusterTestClusterCommandTestNestedStructArgumentRequestID = 0x00000008, - MTRClusterTestClusterCommandBooleanResponseID = 0x00000008, - MTRClusterTestClusterCommandTestListStructArgumentRequestID = 0x00000009, - MTRClusterTestClusterCommandSimpleStructResponseID = 0x00000009, - MTRClusterTestClusterCommandTestListInt8UArgumentRequestID = 0x0000000A, - MTRClusterTestClusterCommandTestEmitTestEventResponseID = 0x0000000A, - MTRClusterTestClusterCommandTestNestedStructListArgumentRequestID = 0x0000000B, - MTRClusterTestClusterCommandTestEmitTestFabricScopedEventResponseID = 0x0000000B, - MTRClusterTestClusterCommandTestListNestedStructListArgumentRequestID = 0x0000000C, - MTRClusterTestClusterCommandTestListInt8UReverseRequestID = 0x0000000D, - MTRClusterTestClusterCommandTestEnumsRequestID = 0x0000000E, - MTRClusterTestClusterCommandTestNullableOptionalRequestID = 0x0000000F, - MTRClusterTestClusterCommandTestComplexNullableOptionalRequestID = 0x00000010, - MTRClusterTestClusterCommandSimpleStructEchoRequestID = 0x00000011, - MTRClusterTestClusterCommandTimedInvokeRequestID = 0x00000012, - MTRClusterTestClusterCommandTestSimpleOptionalArgumentRequestID = 0x00000013, - MTRClusterTestClusterCommandTestEmitTestEventRequestID = 0x00000014, - MTRClusterTestClusterCommandTestEmitTestFabricScopedEventRequestID = 0x00000015, + MTRCommandIDTypeClusterTestClusterCommandTestID = 0x00000000, + MTRCommandIDTypeClusterTestClusterCommandTestSpecificResponseID = 0x00000000, + MTRCommandIDTypeClusterTestClusterCommandTestNotHandledID = 0x00000001, + MTRCommandIDTypeClusterTestClusterCommandTestAddArgumentsResponseID = 0x00000001, + MTRCommandIDTypeClusterTestClusterCommandTestSpecificID = 0x00000002, + MTRCommandIDTypeClusterTestClusterCommandTestSimpleArgumentResponseID = 0x00000002, + MTRCommandIDTypeClusterTestClusterCommandTestUnknownCommandID = 0x00000003, + MTRCommandIDTypeClusterTestClusterCommandTestStructArrayArgumentResponseID = 0x00000003, + MTRCommandIDTypeClusterTestClusterCommandTestAddArgumentsID = 0x00000004, + MTRCommandIDTypeClusterTestClusterCommandTestListInt8UReverseResponseID = 0x00000004, + MTRCommandIDTypeClusterTestClusterCommandTestSimpleArgumentRequestID = 0x00000005, + MTRCommandIDTypeClusterTestClusterCommandTestEnumsResponseID = 0x00000005, + MTRCommandIDTypeClusterTestClusterCommandTestStructArrayArgumentRequestID = 0x00000006, + MTRCommandIDTypeClusterTestClusterCommandTestNullableOptionalResponseID = 0x00000006, + MTRCommandIDTypeClusterTestClusterCommandTestStructArgumentRequestID = 0x00000007, + MTRCommandIDTypeClusterTestClusterCommandTestComplexNullableOptionalResponseID = 0x00000007, + MTRCommandIDTypeClusterTestClusterCommandTestNestedStructArgumentRequestID = 0x00000008, + MTRCommandIDTypeClusterTestClusterCommandBooleanResponseID = 0x00000008, + MTRCommandIDTypeClusterTestClusterCommandTestListStructArgumentRequestID = 0x00000009, + MTRCommandIDTypeClusterTestClusterCommandSimpleStructResponseID = 0x00000009, + MTRCommandIDTypeClusterTestClusterCommandTestListInt8UArgumentRequestID = 0x0000000A, + MTRCommandIDTypeClusterTestClusterCommandTestEmitTestEventResponseID = 0x0000000A, + MTRCommandIDTypeClusterTestClusterCommandTestNestedStructListArgumentRequestID = 0x0000000B, + MTRCommandIDTypeClusterTestClusterCommandTestEmitTestFabricScopedEventResponseID = 0x0000000B, + MTRCommandIDTypeClusterTestClusterCommandTestListNestedStructListArgumentRequestID = 0x0000000C, + MTRCommandIDTypeClusterTestClusterCommandTestListInt8UReverseRequestID = 0x0000000D, + MTRCommandIDTypeClusterTestClusterCommandTestEnumsRequestID = 0x0000000E, + MTRCommandIDTypeClusterTestClusterCommandTestNullableOptionalRequestID = 0x0000000F, + MTRCommandIDTypeClusterTestClusterCommandTestComplexNullableOptionalRequestID = 0x00000010, + MTRCommandIDTypeClusterTestClusterCommandSimpleStructEchoRequestID = 0x00000011, + MTRCommandIDTypeClusterTestClusterCommandTimedInvokeRequestID = 0x00000012, + MTRCommandIDTypeClusterTestClusterCommandTestSimpleOptionalArgumentRequestID = 0x00000013, + MTRCommandIDTypeClusterTestClusterCommandTestEmitTestEventRequestID = 0x00000014, + MTRCommandIDTypeClusterTestClusterCommandTestEmitTestFabricScopedEventRequestID = 0x00000015, // Cluster FaultInjection commands - MTRClusterFaultInjectionCommandFailAtFaultID = 0x00000000, - MTRClusterFaultInjectionCommandFailRandomlyAtFaultID = 0x00000001, + MTRCommandIDTypeClusterFaultInjectionCommandFailAtFaultID = 0x00000000, + MTRCommandIDTypeClusterFaultInjectionCommandFailRandomlyAtFaultID = 0x00000001, }; #pragma mark - Events IDs -typedef NS_ENUM(uint32_t, MTRClusterEventIDType) { +typedef NS_ENUM(uint32_t, MTREventIDType) { // Cluster AccessControl events - MTRClusterAccessControlEventAccessControlEntryChangedID = 0x00000000, - MTRClusterAccessControlEventAccessControlExtensionChangedID = 0x00000001, + MTREventIDTypeClusterAccessControlEventAccessControlEntryChangedID = 0x00000000, + MTREventIDTypeClusterAccessControlEventAccessControlExtensionChangedID = 0x00000001, // Cluster Actions events - MTRClusterActionsEventStateChangedID = 0x00000000, - MTRClusterActionsEventActionFailedID = 0x00000001, + MTREventIDTypeClusterActionsEventStateChangedID = 0x00000000, + MTREventIDTypeClusterActionsEventActionFailedID = 0x00000001, // Cluster Basic events - MTRClusterBasicEventStartUpID = 0x00000000, - MTRClusterBasicEventShutDownID = 0x00000001, - MTRClusterBasicEventLeaveID = 0x00000002, - MTRClusterBasicEventReachableChangedID = 0x00000003, + MTREventIDTypeClusterBasicEventStartUpID = 0x00000000, + MTREventIDTypeClusterBasicEventShutDownID = 0x00000001, + MTREventIDTypeClusterBasicEventLeaveID = 0x00000002, + MTREventIDTypeClusterBasicEventReachableChangedID = 0x00000003, // Cluster OtaSoftwareUpdateRequestor events - MTRClusterOtaSoftwareUpdateRequestorEventStateTransitionID = 0x00000000, - MTRClusterOtaSoftwareUpdateRequestorEventVersionAppliedID = 0x00000001, - MTRClusterOtaSoftwareUpdateRequestorEventDownloadErrorID = 0x00000002, + MTREventIDTypeClusterOtaSoftwareUpdateRequestorEventStateTransitionID = 0x00000000, + MTREventIDTypeClusterOtaSoftwareUpdateRequestorEventVersionAppliedID = 0x00000001, + MTREventIDTypeClusterOtaSoftwareUpdateRequestorEventDownloadErrorID = 0x00000002, // Cluster GeneralDiagnostics events - MTRClusterGeneralDiagnosticsEventHardwareFaultChangeID = 0x00000000, - MTRClusterGeneralDiagnosticsEventRadioFaultChangeID = 0x00000001, - MTRClusterGeneralDiagnosticsEventNetworkFaultChangeID = 0x00000002, - MTRClusterGeneralDiagnosticsEventBootReasonID = 0x00000003, + MTREventIDTypeClusterGeneralDiagnosticsEventHardwareFaultChangeID = 0x00000000, + MTREventIDTypeClusterGeneralDiagnosticsEventRadioFaultChangeID = 0x00000001, + MTREventIDTypeClusterGeneralDiagnosticsEventNetworkFaultChangeID = 0x00000002, + MTREventIDTypeClusterGeneralDiagnosticsEventBootReasonID = 0x00000003, // Cluster SoftwareDiagnostics events - MTRClusterSoftwareDiagnosticsEventSoftwareFaultID = 0x00000000, + MTREventIDTypeClusterSoftwareDiagnosticsEventSoftwareFaultID = 0x00000000, // Cluster ThreadNetworkDiagnostics events - MTRClusterThreadNetworkDiagnosticsEventConnectionStatusID = 0x00000000, - MTRClusterThreadNetworkDiagnosticsEventNetworkFaultChangeID = 0x00000001, + MTREventIDTypeClusterThreadNetworkDiagnosticsEventConnectionStatusID = 0x00000000, + MTREventIDTypeClusterThreadNetworkDiagnosticsEventNetworkFaultChangeID = 0x00000001, // Cluster WiFiNetworkDiagnostics events - MTRClusterWiFiNetworkDiagnosticsEventDisconnectionID = 0x00000000, - MTRClusterWiFiNetworkDiagnosticsEventAssociationFailureID = 0x00000001, - MTRClusterWiFiNetworkDiagnosticsEventConnectionStatusID = 0x00000002, + MTREventIDTypeClusterWiFiNetworkDiagnosticsEventDisconnectionID = 0x00000000, + MTREventIDTypeClusterWiFiNetworkDiagnosticsEventAssociationFailureID = 0x00000001, + MTREventIDTypeClusterWiFiNetworkDiagnosticsEventConnectionStatusID = 0x00000002, // Cluster BridgedDeviceBasic events - MTRClusterBridgedDeviceBasicEventStartUpID = 0x00000000, - MTRClusterBridgedDeviceBasicEventShutDownID = 0x00000001, - MTRClusterBridgedDeviceBasicEventLeaveID = 0x00000002, - MTRClusterBridgedDeviceBasicEventReachableChangedID = 0x00000003, + MTREventIDTypeClusterBridgedDeviceBasicEventStartUpID = 0x00000000, + MTREventIDTypeClusterBridgedDeviceBasicEventShutDownID = 0x00000001, + MTREventIDTypeClusterBridgedDeviceBasicEventLeaveID = 0x00000002, + MTREventIDTypeClusterBridgedDeviceBasicEventReachableChangedID = 0x00000003, // Cluster Switch events - MTRClusterSwitchEventSwitchLatchedID = 0x00000000, - MTRClusterSwitchEventInitialPressID = 0x00000001, - MTRClusterSwitchEventLongPressID = 0x00000002, - MTRClusterSwitchEventShortReleaseID = 0x00000003, - MTRClusterSwitchEventLongReleaseID = 0x00000004, - MTRClusterSwitchEventMultiPressOngoingID = 0x00000005, - MTRClusterSwitchEventMultiPressCompleteID = 0x00000006, + MTREventIDTypeClusterSwitchEventSwitchLatchedID = 0x00000000, + MTREventIDTypeClusterSwitchEventInitialPressID = 0x00000001, + MTREventIDTypeClusterSwitchEventLongPressID = 0x00000002, + MTREventIDTypeClusterSwitchEventShortReleaseID = 0x00000003, + MTREventIDTypeClusterSwitchEventLongReleaseID = 0x00000004, + MTREventIDTypeClusterSwitchEventMultiPressOngoingID = 0x00000005, + MTREventIDTypeClusterSwitchEventMultiPressCompleteID = 0x00000006, // Cluster BooleanState events - MTRClusterBooleanStateEventStateChangeID = 0x00000000, + MTREventIDTypeClusterBooleanStateEventStateChangeID = 0x00000000, // Cluster DoorLock events - MTRClusterDoorLockEventDoorLockAlarmID = 0x00000000, - MTRClusterDoorLockEventDoorStateChangeID = 0x00000001, - MTRClusterDoorLockEventLockOperationID = 0x00000002, - MTRClusterDoorLockEventLockOperationErrorID = 0x00000003, - MTRClusterDoorLockEventLockUserChangeID = 0x00000004, + MTREventIDTypeClusterDoorLockEventDoorLockAlarmID = 0x00000000, + MTREventIDTypeClusterDoorLockEventDoorStateChangeID = 0x00000001, + MTREventIDTypeClusterDoorLockEventLockOperationID = 0x00000002, + MTREventIDTypeClusterDoorLockEventLockOperationErrorID = 0x00000003, + MTREventIDTypeClusterDoorLockEventLockUserChangeID = 0x00000004, // Cluster PumpConfigurationAndControl events - MTRClusterPumpConfigurationAndControlEventSupplyVoltageLowID = 0x00000000, - MTRClusterPumpConfigurationAndControlEventSupplyVoltageHighID = 0x00000001, - MTRClusterPumpConfigurationAndControlEventPowerMissingPhaseID = 0x00000002, - MTRClusterPumpConfigurationAndControlEventSystemPressureLowID = 0x00000003, - MTRClusterPumpConfigurationAndControlEventSystemPressureHighID = 0x00000004, - MTRClusterPumpConfigurationAndControlEventDryRunningID = 0x00000005, - MTRClusterPumpConfigurationAndControlEventMotorTemperatureHighID = 0x00000006, - MTRClusterPumpConfigurationAndControlEventPumpMotorFatalFailureID = 0x00000007, - MTRClusterPumpConfigurationAndControlEventElectronicTemperatureHighID = 0x00000008, - MTRClusterPumpConfigurationAndControlEventPumpBlockedID = 0x00000009, - MTRClusterPumpConfigurationAndControlEventSensorFailureID = 0x0000000A, - MTRClusterPumpConfigurationAndControlEventElectronicNonFatalFailureID = 0x0000000B, - MTRClusterPumpConfigurationAndControlEventElectronicFatalFailureID = 0x0000000C, - MTRClusterPumpConfigurationAndControlEventGeneralFaultID = 0x0000000D, - MTRClusterPumpConfigurationAndControlEventLeakageID = 0x0000000E, - MTRClusterPumpConfigurationAndControlEventAirDetectionID = 0x0000000F, - MTRClusterPumpConfigurationAndControlEventTurbineOperationID = 0x00000010, + MTREventIDTypeClusterPumpConfigurationAndControlEventSupplyVoltageLowID = 0x00000000, + MTREventIDTypeClusterPumpConfigurationAndControlEventSupplyVoltageHighID = 0x00000001, + MTREventIDTypeClusterPumpConfigurationAndControlEventPowerMissingPhaseID = 0x00000002, + MTREventIDTypeClusterPumpConfigurationAndControlEventSystemPressureLowID = 0x00000003, + MTREventIDTypeClusterPumpConfigurationAndControlEventSystemPressureHighID = 0x00000004, + MTREventIDTypeClusterPumpConfigurationAndControlEventDryRunningID = 0x00000005, + MTREventIDTypeClusterPumpConfigurationAndControlEventMotorTemperatureHighID = 0x00000006, + MTREventIDTypeClusterPumpConfigurationAndControlEventPumpMotorFatalFailureID = 0x00000007, + MTREventIDTypeClusterPumpConfigurationAndControlEventElectronicTemperatureHighID = 0x00000008, + MTREventIDTypeClusterPumpConfigurationAndControlEventPumpBlockedID = 0x00000009, + MTREventIDTypeClusterPumpConfigurationAndControlEventSensorFailureID = 0x0000000A, + MTREventIDTypeClusterPumpConfigurationAndControlEventElectronicNonFatalFailureID = 0x0000000B, + MTREventIDTypeClusterPumpConfigurationAndControlEventElectronicFatalFailureID = 0x0000000C, + MTREventIDTypeClusterPumpConfigurationAndControlEventGeneralFaultID = 0x0000000D, + MTREventIDTypeClusterPumpConfigurationAndControlEventLeakageID = 0x0000000E, + MTREventIDTypeClusterPumpConfigurationAndControlEventAirDetectionID = 0x0000000F, + MTREventIDTypeClusterPumpConfigurationAndControlEventTurbineOperationID = 0x00000010, // Cluster TestCluster events - MTRClusterTestClusterEventTestEventID = 0x00000001, - MTRClusterTestClusterEventTestFabricScopedEventID = 0x00000002, + MTREventIDTypeClusterTestClusterEventTestEventID = 0x00000001, + MTREventIDTypeClusterTestClusterEventTestFabricScopedEventID = 0x00000002, }; diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRClusters.mm b/src/darwin/Framework/CHIP/zap-generated/MTRClusters.mm index f844e1076d922c..573ac2dde68913 100644 --- a/src/darwin/Framework/CHIP/zap-generated/MTRClusters.mm +++ b/src/darwin/Framework/CHIP/zap-generated/MTRClusters.mm @@ -128,8 +128,8 @@ new MTRCommandSuccessCallbackBridge( - (NSDictionary *)readAttributeIdentifyTimeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterIdentifyID) - attributeID:@(MTRClusterIdentifyAttributeIdentifyTimeID) + clusterID:@(MTRClusterIDTypeIdentifyID) + attributeID:@(MTRAttributeIDTypeClusterIdentifyAttributeIdentifyTimeID) params:params]; } @@ -145,8 +145,8 @@ - (void)writeAttributeIdentifyTimeWithValue:(NSDictionary *)data NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterIdentifyID) - attributeID:@(MTRClusterIdentifyAttributeIdentifyTimeID) + clusterID:@(MTRClusterIDTypeIdentifyID) + attributeID:@(MTRAttributeIDTypeClusterIdentifyAttributeIdentifyTimeID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -155,48 +155,48 @@ - (void)writeAttributeIdentifyTimeWithValue:(NSDictionary *)data - (NSDictionary *)readAttributeIdentifyTypeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterIdentifyID) - attributeID:@(MTRClusterIdentifyAttributeIdentifyTypeID) + clusterID:@(MTRClusterIDTypeIdentifyID) + attributeID:@(MTRAttributeIDTypeClusterIdentifyAttributeIdentifyTypeID) params:params]; } - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterIdentifyID) - attributeID:@(MTRClusterIdentifyAttributeGeneratedCommandListID) + clusterID:@(MTRClusterIDTypeIdentifyID) + attributeID:@(MTRAttributeIDTypeClusterIdentifyAttributeGeneratedCommandListID) params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterIdentifyID) - attributeID:@(MTRClusterIdentifyAttributeAcceptedCommandListID) + clusterID:@(MTRClusterIDTypeIdentifyID) + attributeID:@(MTRAttributeIDTypeClusterIdentifyAttributeAcceptedCommandListID) params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterIdentifyID) - attributeID:@(MTRClusterIdentifyAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeIdentifyID) + attributeID:@(MTRAttributeIDTypeClusterIdentifyAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterIdentifyID) - attributeID:@(MTRClusterIdentifyAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeIdentifyID) + attributeID:@(MTRAttributeIDTypeClusterIdentifyAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterIdentifyID) - attributeID:@(MTRClusterIdentifyAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeIdentifyID) + attributeID:@(MTRAttributeIDTypeClusterIdentifyAttributeClusterRevisionID) params:params]; } @@ -442,48 +442,48 @@ new MTRCommandSuccessCallbackBridge( - (NSDictionary *)readAttributeNameSupportWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterGroupsID) - attributeID:@(MTRClusterGroupsAttributeNameSupportID) + clusterID:@(MTRClusterIDTypeGroupsID) + attributeID:@(MTRAttributeIDTypeClusterGroupsAttributeNameSupportID) params:params]; } - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterGroupsID) - attributeID:@(MTRClusterGroupsAttributeGeneratedCommandListID) + clusterID:@(MTRClusterIDTypeGroupsID) + attributeID:@(MTRAttributeIDTypeClusterGroupsAttributeGeneratedCommandListID) params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterGroupsID) - attributeID:@(MTRClusterGroupsAttributeAcceptedCommandListID) + clusterID:@(MTRClusterIDTypeGroupsID) + attributeID:@(MTRAttributeIDTypeClusterGroupsAttributeAcceptedCommandListID) params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterGroupsID) - attributeID:@(MTRClusterGroupsAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeGroupsID) + attributeID:@(MTRAttributeIDTypeClusterGroupsAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterGroupsID) - attributeID:@(MTRClusterGroupsAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeGroupsID) + attributeID:@(MTRAttributeIDTypeClusterGroupsAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterGroupsID) - attributeID:@(MTRClusterGroupsAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeGroupsID) + attributeID:@(MTRAttributeIDTypeClusterGroupsAttributeClusterRevisionID) params:params]; } @@ -989,88 +989,88 @@ new MTRScenesClusterCopySceneResponseCallbackBridge(self.callbackQueue, baseDevi - (NSDictionary *)readAttributeSceneCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterScenesID) - attributeID:@(MTRClusterScenesAttributeSceneCountID) + clusterID:@(MTRClusterIDTypeScenesID) + attributeID:@(MTRAttributeIDTypeClusterScenesAttributeSceneCountID) params:params]; } - (NSDictionary *)readAttributeCurrentSceneWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterScenesID) - attributeID:@(MTRClusterScenesAttributeCurrentSceneID) + clusterID:@(MTRClusterIDTypeScenesID) + attributeID:@(MTRAttributeIDTypeClusterScenesAttributeCurrentSceneID) params:params]; } - (NSDictionary *)readAttributeCurrentGroupWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterScenesID) - attributeID:@(MTRClusterScenesAttributeCurrentGroupID) + clusterID:@(MTRClusterIDTypeScenesID) + attributeID:@(MTRAttributeIDTypeClusterScenesAttributeCurrentGroupID) params:params]; } - (NSDictionary *)readAttributeSceneValidWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterScenesID) - attributeID:@(MTRClusterScenesAttributeSceneValidID) + clusterID:@(MTRClusterIDTypeScenesID) + attributeID:@(MTRAttributeIDTypeClusterScenesAttributeSceneValidID) params:params]; } - (NSDictionary *)readAttributeNameSupportWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterScenesID) - attributeID:@(MTRClusterScenesAttributeNameSupportID) + clusterID:@(MTRClusterIDTypeScenesID) + attributeID:@(MTRAttributeIDTypeClusterScenesAttributeNameSupportID) params:params]; } - (NSDictionary *)readAttributeLastConfiguredByWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterScenesID) - attributeID:@(MTRClusterScenesAttributeLastConfiguredByID) + clusterID:@(MTRClusterIDTypeScenesID) + attributeID:@(MTRAttributeIDTypeClusterScenesAttributeLastConfiguredByID) params:params]; } - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterScenesID) - attributeID:@(MTRClusterScenesAttributeGeneratedCommandListID) + clusterID:@(MTRClusterIDTypeScenesID) + attributeID:@(MTRAttributeIDTypeClusterScenesAttributeGeneratedCommandListID) params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterScenesID) - attributeID:@(MTRClusterScenesAttributeAcceptedCommandListID) + clusterID:@(MTRClusterIDTypeScenesID) + attributeID:@(MTRAttributeIDTypeClusterScenesAttributeAcceptedCommandListID) params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterScenesID) - attributeID:@(MTRClusterScenesAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeScenesID) + attributeID:@(MTRAttributeIDTypeClusterScenesAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterScenesID) - attributeID:@(MTRClusterScenesAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeScenesID) + attributeID:@(MTRAttributeIDTypeClusterScenesAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterScenesID) - attributeID:@(MTRClusterScenesAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeScenesID) + attributeID:@(MTRAttributeIDTypeClusterScenesAttributeClusterRevisionID) params:params]; } @@ -1326,24 +1326,24 @@ new MTRCommandSuccessCallbackBridge( - (NSDictionary *)readAttributeOnOffWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOnOffID) - attributeID:@(MTRClusterOnOffAttributeOnOffID) + clusterID:@(MTRClusterIDTypeOnOffID) + attributeID:@(MTRAttributeIDTypeClusterOnOffAttributeOnOffID) params:params]; } - (NSDictionary *)readAttributeGlobalSceneControlWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOnOffID) - attributeID:@(MTRClusterOnOffAttributeGlobalSceneControlID) + clusterID:@(MTRClusterIDTypeOnOffID) + attributeID:@(MTRAttributeIDTypeClusterOnOffAttributeGlobalSceneControlID) params:params]; } - (NSDictionary *)readAttributeOnTimeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOnOffID) - attributeID:@(MTRClusterOnOffAttributeOnTimeID) + clusterID:@(MTRClusterIDTypeOnOffID) + attributeID:@(MTRAttributeIDTypeClusterOnOffAttributeOnTimeID) params:params]; } @@ -1359,8 +1359,8 @@ - (void)writeAttributeOnTimeWithValue:(NSDictionary *)dataValueD NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOnOffID) - attributeID:@(MTRClusterOnOffAttributeOnTimeID) + clusterID:@(MTRClusterIDTypeOnOffID) + attributeID:@(MTRAttributeIDTypeClusterOnOffAttributeOnTimeID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -1369,8 +1369,8 @@ - (void)writeAttributeOnTimeWithValue:(NSDictionary *)dataValueD - (NSDictionary *)readAttributeOffWaitTimeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOnOffID) - attributeID:@(MTRClusterOnOffAttributeOffWaitTimeID) + clusterID:@(MTRClusterIDTypeOnOffID) + attributeID:@(MTRAttributeIDTypeClusterOnOffAttributeOffWaitTimeID) params:params]; } @@ -1386,8 +1386,8 @@ - (void)writeAttributeOffWaitTimeWithValue:(NSDictionary *)dataV NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOnOffID) - attributeID:@(MTRClusterOnOffAttributeOffWaitTimeID) + clusterID:@(MTRClusterIDTypeOnOffID) + attributeID:@(MTRAttributeIDTypeClusterOnOffAttributeOffWaitTimeID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -1396,8 +1396,8 @@ - (void)writeAttributeOffWaitTimeWithValue:(NSDictionary *)dataV - (NSDictionary *)readAttributeStartUpOnOffWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOnOffID) - attributeID:@(MTRClusterOnOffAttributeStartUpOnOffID) + clusterID:@(MTRClusterIDTypeOnOffID) + attributeID:@(MTRAttributeIDTypeClusterOnOffAttributeStartUpOnOffID) params:params]; } @@ -1413,8 +1413,8 @@ - (void)writeAttributeStartUpOnOffWithValue:(NSDictionary *)data NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOnOffID) - attributeID:@(MTRClusterOnOffAttributeStartUpOnOffID) + clusterID:@(MTRClusterIDTypeOnOffID) + attributeID:@(MTRAttributeIDTypeClusterOnOffAttributeStartUpOnOffID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -1423,40 +1423,40 @@ - (void)writeAttributeStartUpOnOffWithValue:(NSDictionary *)data - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOnOffID) - attributeID:@(MTRClusterOnOffAttributeGeneratedCommandListID) + clusterID:@(MTRClusterIDTypeOnOffID) + attributeID:@(MTRAttributeIDTypeClusterOnOffAttributeGeneratedCommandListID) params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOnOffID) - attributeID:@(MTRClusterOnOffAttributeAcceptedCommandListID) + clusterID:@(MTRClusterIDTypeOnOffID) + attributeID:@(MTRAttributeIDTypeClusterOnOffAttributeAcceptedCommandListID) params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOnOffID) - attributeID:@(MTRClusterOnOffAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeOnOffID) + attributeID:@(MTRAttributeIDTypeClusterOnOffAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOnOffID) - attributeID:@(MTRClusterOnOffAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeOnOffID) + attributeID:@(MTRAttributeIDTypeClusterOnOffAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOnOffID) - attributeID:@(MTRClusterOnOffAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeOnOffID) + attributeID:@(MTRAttributeIDTypeClusterOnOffAttributeClusterRevisionID) params:params]; } @@ -1480,16 +1480,16 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(NSNumber *)endpoint - (NSDictionary *)readAttributeSwitchTypeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOnOffSwitchConfigurationID) - attributeID:@(MTRClusterOnOffSwitchConfigurationAttributeSwitchTypeID) + clusterID:@(MTRClusterIDTypeOnOffSwitchConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterOnOffSwitchConfigurationAttributeSwitchTypeID) params:params]; } - (NSDictionary *)readAttributeSwitchActionsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOnOffSwitchConfigurationID) - attributeID:@(MTRClusterOnOffSwitchConfigurationAttributeSwitchActionsID) + clusterID:@(MTRClusterIDTypeOnOffSwitchConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterOnOffSwitchConfigurationAttributeSwitchActionsID) params:params]; } @@ -1505,8 +1505,8 @@ - (void)writeAttributeSwitchActionsWithValue:(NSDictionary *)dat NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOnOffSwitchConfigurationID) - attributeID:@(MTRClusterOnOffSwitchConfigurationAttributeSwitchActionsID) + clusterID:@(MTRClusterIDTypeOnOffSwitchConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterOnOffSwitchConfigurationAttributeSwitchActionsID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -1514,41 +1514,43 @@ - (void)writeAttributeSwitchActionsWithValue:(NSDictionary *)dat - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOnOffSwitchConfigurationID) - attributeID:@(MTRClusterOnOffSwitchConfigurationAttributeGeneratedCommandListID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeOnOffSwitchConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterOnOffSwitchConfigurationAttributeGeneratedCommandListID) + params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOnOffSwitchConfigurationID) - attributeID:@(MTRClusterOnOffSwitchConfigurationAttributeAcceptedCommandListID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeOnOffSwitchConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterOnOffSwitchConfigurationAttributeAcceptedCommandListID) + params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOnOffSwitchConfigurationID) - attributeID:@(MTRClusterOnOffSwitchConfigurationAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeOnOffSwitchConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterOnOffSwitchConfigurationAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOnOffSwitchConfigurationID) - attributeID:@(MTRClusterOnOffSwitchConfigurationAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeOnOffSwitchConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterOnOffSwitchConfigurationAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOnOffSwitchConfigurationID) - attributeID:@(MTRClusterOnOffSwitchConfigurationAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeOnOffSwitchConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterOnOffSwitchConfigurationAttributeClusterRevisionID) params:params]; } @@ -1930,64 +1932,64 @@ new MTRCommandSuccessCallbackBridge( - (NSDictionary *)readAttributeCurrentLevelWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterLevelControlID) - attributeID:@(MTRClusterLevelControlAttributeCurrentLevelID) + clusterID:@(MTRClusterIDTypeLevelControlID) + attributeID:@(MTRAttributeIDTypeClusterLevelControlAttributeCurrentLevelID) params:params]; } - (NSDictionary *)readAttributeRemainingTimeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterLevelControlID) - attributeID:@(MTRClusterLevelControlAttributeRemainingTimeID) + clusterID:@(MTRClusterIDTypeLevelControlID) + attributeID:@(MTRAttributeIDTypeClusterLevelControlAttributeRemainingTimeID) params:params]; } - (NSDictionary *)readAttributeMinLevelWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterLevelControlID) - attributeID:@(MTRClusterLevelControlAttributeMinLevelID) + clusterID:@(MTRClusterIDTypeLevelControlID) + attributeID:@(MTRAttributeIDTypeClusterLevelControlAttributeMinLevelID) params:params]; } - (NSDictionary *)readAttributeMaxLevelWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterLevelControlID) - attributeID:@(MTRClusterLevelControlAttributeMaxLevelID) + clusterID:@(MTRClusterIDTypeLevelControlID) + attributeID:@(MTRAttributeIDTypeClusterLevelControlAttributeMaxLevelID) params:params]; } - (NSDictionary *)readAttributeCurrentFrequencyWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterLevelControlID) - attributeID:@(MTRClusterLevelControlAttributeCurrentFrequencyID) + clusterID:@(MTRClusterIDTypeLevelControlID) + attributeID:@(MTRAttributeIDTypeClusterLevelControlAttributeCurrentFrequencyID) params:params]; } - (NSDictionary *)readAttributeMinFrequencyWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterLevelControlID) - attributeID:@(MTRClusterLevelControlAttributeMinFrequencyID) + clusterID:@(MTRClusterIDTypeLevelControlID) + attributeID:@(MTRAttributeIDTypeClusterLevelControlAttributeMinFrequencyID) params:params]; } - (NSDictionary *)readAttributeMaxFrequencyWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterLevelControlID) - attributeID:@(MTRClusterLevelControlAttributeMaxFrequencyID) + clusterID:@(MTRClusterIDTypeLevelControlID) + attributeID:@(MTRAttributeIDTypeClusterLevelControlAttributeMaxFrequencyID) params:params]; } - (NSDictionary *)readAttributeOptionsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterLevelControlID) - attributeID:@(MTRClusterLevelControlAttributeOptionsID) + clusterID:@(MTRClusterIDTypeLevelControlID) + attributeID:@(MTRAttributeIDTypeClusterLevelControlAttributeOptionsID) params:params]; } @@ -2003,8 +2005,8 @@ - (void)writeAttributeOptionsWithValue:(NSDictionary *)dataValue NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterLevelControlID) - attributeID:@(MTRClusterLevelControlAttributeOptionsID) + clusterID:@(MTRClusterIDTypeLevelControlID) + attributeID:@(MTRAttributeIDTypeClusterLevelControlAttributeOptionsID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -2013,8 +2015,8 @@ - (void)writeAttributeOptionsWithValue:(NSDictionary *)dataValue - (NSDictionary *)readAttributeOnOffTransitionTimeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterLevelControlID) - attributeID:@(MTRClusterLevelControlAttributeOnOffTransitionTimeID) + clusterID:@(MTRClusterIDTypeLevelControlID) + attributeID:@(MTRAttributeIDTypeClusterLevelControlAttributeOnOffTransitionTimeID) params:params]; } @@ -2030,8 +2032,8 @@ - (void)writeAttributeOnOffTransitionTimeWithValue:(NSDictionary NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterLevelControlID) - attributeID:@(MTRClusterLevelControlAttributeOnOffTransitionTimeID) + clusterID:@(MTRClusterIDTypeLevelControlID) + attributeID:@(MTRAttributeIDTypeClusterLevelControlAttributeOnOffTransitionTimeID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -2040,8 +2042,8 @@ - (void)writeAttributeOnOffTransitionTimeWithValue:(NSDictionary - (NSDictionary *)readAttributeOnLevelWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterLevelControlID) - attributeID:@(MTRClusterLevelControlAttributeOnLevelID) + clusterID:@(MTRClusterIDTypeLevelControlID) + attributeID:@(MTRAttributeIDTypeClusterLevelControlAttributeOnLevelID) params:params]; } @@ -2057,8 +2059,8 @@ - (void)writeAttributeOnLevelWithValue:(NSDictionary *)dataValue NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterLevelControlID) - attributeID:@(MTRClusterLevelControlAttributeOnLevelID) + clusterID:@(MTRClusterIDTypeLevelControlID) + attributeID:@(MTRAttributeIDTypeClusterLevelControlAttributeOnLevelID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -2067,8 +2069,8 @@ - (void)writeAttributeOnLevelWithValue:(NSDictionary *)dataValue - (NSDictionary *)readAttributeOnTransitionTimeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterLevelControlID) - attributeID:@(MTRClusterLevelControlAttributeOnTransitionTimeID) + clusterID:@(MTRClusterIDTypeLevelControlID) + attributeID:@(MTRAttributeIDTypeClusterLevelControlAttributeOnTransitionTimeID) params:params]; } @@ -2084,8 +2086,8 @@ - (void)writeAttributeOnTransitionTimeWithValue:(NSDictionary *) NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterLevelControlID) - attributeID:@(MTRClusterLevelControlAttributeOnTransitionTimeID) + clusterID:@(MTRClusterIDTypeLevelControlID) + attributeID:@(MTRAttributeIDTypeClusterLevelControlAttributeOnTransitionTimeID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -2094,8 +2096,8 @@ - (void)writeAttributeOnTransitionTimeWithValue:(NSDictionary *) - (NSDictionary *)readAttributeOffTransitionTimeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterLevelControlID) - attributeID:@(MTRClusterLevelControlAttributeOffTransitionTimeID) + clusterID:@(MTRClusterIDTypeLevelControlID) + attributeID:@(MTRAttributeIDTypeClusterLevelControlAttributeOffTransitionTimeID) params:params]; } @@ -2111,8 +2113,8 @@ - (void)writeAttributeOffTransitionTimeWithValue:(NSDictionary * NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterLevelControlID) - attributeID:@(MTRClusterLevelControlAttributeOffTransitionTimeID) + clusterID:@(MTRClusterIDTypeLevelControlID) + attributeID:@(MTRAttributeIDTypeClusterLevelControlAttributeOffTransitionTimeID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -2121,8 +2123,8 @@ - (void)writeAttributeOffTransitionTimeWithValue:(NSDictionary * - (NSDictionary *)readAttributeDefaultMoveRateWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterLevelControlID) - attributeID:@(MTRClusterLevelControlAttributeDefaultMoveRateID) + clusterID:@(MTRClusterIDTypeLevelControlID) + attributeID:@(MTRAttributeIDTypeClusterLevelControlAttributeDefaultMoveRateID) params:params]; } @@ -2138,8 +2140,8 @@ - (void)writeAttributeDefaultMoveRateWithValue:(NSDictionary *)d NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterLevelControlID) - attributeID:@(MTRClusterLevelControlAttributeDefaultMoveRateID) + clusterID:@(MTRClusterIDTypeLevelControlID) + attributeID:@(MTRAttributeIDTypeClusterLevelControlAttributeDefaultMoveRateID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -2148,8 +2150,8 @@ - (void)writeAttributeDefaultMoveRateWithValue:(NSDictionary *)d - (NSDictionary *)readAttributeStartUpCurrentLevelWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterLevelControlID) - attributeID:@(MTRClusterLevelControlAttributeStartUpCurrentLevelID) + clusterID:@(MTRClusterIDTypeLevelControlID) + attributeID:@(MTRAttributeIDTypeClusterLevelControlAttributeStartUpCurrentLevelID) params:params]; } @@ -2165,8 +2167,8 @@ - (void)writeAttributeStartUpCurrentLevelWithValue:(NSDictionary NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterLevelControlID) - attributeID:@(MTRClusterLevelControlAttributeStartUpCurrentLevelID) + clusterID:@(MTRClusterIDTypeLevelControlID) + attributeID:@(MTRAttributeIDTypeClusterLevelControlAttributeStartUpCurrentLevelID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -2175,40 +2177,40 @@ - (void)writeAttributeStartUpCurrentLevelWithValue:(NSDictionary - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterLevelControlID) - attributeID:@(MTRClusterLevelControlAttributeGeneratedCommandListID) + clusterID:@(MTRClusterIDTypeLevelControlID) + attributeID:@(MTRAttributeIDTypeClusterLevelControlAttributeGeneratedCommandListID) params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterLevelControlID) - attributeID:@(MTRClusterLevelControlAttributeAcceptedCommandListID) + clusterID:@(MTRClusterIDTypeLevelControlID) + attributeID:@(MTRAttributeIDTypeClusterLevelControlAttributeAcceptedCommandListID) params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterLevelControlID) - attributeID:@(MTRClusterLevelControlAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeLevelControlID) + attributeID:@(MTRAttributeIDTypeClusterLevelControlAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterLevelControlID) - attributeID:@(MTRClusterLevelControlAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeLevelControlID) + attributeID:@(MTRAttributeIDTypeClusterLevelControlAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterLevelControlID) - attributeID:@(MTRClusterLevelControlAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeLevelControlID) + attributeID:@(MTRAttributeIDTypeClusterLevelControlAttributeClusterRevisionID) params:params]; } @@ -2232,8 +2234,8 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(NSNumber *)endpoint - (NSDictionary *)readAttributeActiveTextWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBinaryInputBasicID) - attributeID:@(MTRClusterBinaryInputBasicAttributeActiveTextID) + clusterID:@(MTRClusterIDTypeBinaryInputBasicID) + attributeID:@(MTRAttributeIDTypeClusterBinaryInputBasicAttributeActiveTextID) params:params]; } @@ -2249,8 +2251,8 @@ - (void)writeAttributeActiveTextWithValue:(NSDictionary *)dataVa NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBinaryInputBasicID) - attributeID:@(MTRClusterBinaryInputBasicAttributeActiveTextID) + clusterID:@(MTRClusterIDTypeBinaryInputBasicID) + attributeID:@(MTRAttributeIDTypeClusterBinaryInputBasicAttributeActiveTextID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -2259,8 +2261,8 @@ - (void)writeAttributeActiveTextWithValue:(NSDictionary *)dataVa - (NSDictionary *)readAttributeDescriptionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBinaryInputBasicID) - attributeID:@(MTRClusterBinaryInputBasicAttributeDescriptionID) + clusterID:@(MTRClusterIDTypeBinaryInputBasicID) + attributeID:@(MTRAttributeIDTypeClusterBinaryInputBasicAttributeDescriptionID) params:params]; } @@ -2276,8 +2278,8 @@ - (void)writeAttributeDescriptionWithValue:(NSDictionary *)dataV NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBinaryInputBasicID) - attributeID:@(MTRClusterBinaryInputBasicAttributeDescriptionID) + clusterID:@(MTRClusterIDTypeBinaryInputBasicID) + attributeID:@(MTRAttributeIDTypeClusterBinaryInputBasicAttributeDescriptionID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -2286,8 +2288,8 @@ - (void)writeAttributeDescriptionWithValue:(NSDictionary *)dataV - (NSDictionary *)readAttributeInactiveTextWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBinaryInputBasicID) - attributeID:@(MTRClusterBinaryInputBasicAttributeInactiveTextID) + clusterID:@(MTRClusterIDTypeBinaryInputBasicID) + attributeID:@(MTRAttributeIDTypeClusterBinaryInputBasicAttributeInactiveTextID) params:params]; } @@ -2303,8 +2305,8 @@ - (void)writeAttributeInactiveTextWithValue:(NSDictionary *)data NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBinaryInputBasicID) - attributeID:@(MTRClusterBinaryInputBasicAttributeInactiveTextID) + clusterID:@(MTRClusterIDTypeBinaryInputBasicID) + attributeID:@(MTRAttributeIDTypeClusterBinaryInputBasicAttributeInactiveTextID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -2313,8 +2315,8 @@ - (void)writeAttributeInactiveTextWithValue:(NSDictionary *)data - (NSDictionary *)readAttributeOutOfServiceWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBinaryInputBasicID) - attributeID:@(MTRClusterBinaryInputBasicAttributeOutOfServiceID) + clusterID:@(MTRClusterIDTypeBinaryInputBasicID) + attributeID:@(MTRAttributeIDTypeClusterBinaryInputBasicAttributeOutOfServiceID) params:params]; } @@ -2330,8 +2332,8 @@ - (void)writeAttributeOutOfServiceWithValue:(NSDictionary *)data NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBinaryInputBasicID) - attributeID:@(MTRClusterBinaryInputBasicAttributeOutOfServiceID) + clusterID:@(MTRClusterIDTypeBinaryInputBasicID) + attributeID:@(MTRAttributeIDTypeClusterBinaryInputBasicAttributeOutOfServiceID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -2340,16 +2342,16 @@ - (void)writeAttributeOutOfServiceWithValue:(NSDictionary *)data - (NSDictionary *)readAttributePolarityWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBinaryInputBasicID) - attributeID:@(MTRClusterBinaryInputBasicAttributePolarityID) + clusterID:@(MTRClusterIDTypeBinaryInputBasicID) + attributeID:@(MTRAttributeIDTypeClusterBinaryInputBasicAttributePolarityID) params:params]; } - (NSDictionary *)readAttributePresentValueWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBinaryInputBasicID) - attributeID:@(MTRClusterBinaryInputBasicAttributePresentValueID) + clusterID:@(MTRClusterIDTypeBinaryInputBasicID) + attributeID:@(MTRAttributeIDTypeClusterBinaryInputBasicAttributePresentValueID) params:params]; } @@ -2365,8 +2367,8 @@ - (void)writeAttributePresentValueWithValue:(NSDictionary *)data NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBinaryInputBasicID) - attributeID:@(MTRClusterBinaryInputBasicAttributePresentValueID) + clusterID:@(MTRClusterIDTypeBinaryInputBasicID) + attributeID:@(MTRAttributeIDTypeClusterBinaryInputBasicAttributePresentValueID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -2375,8 +2377,8 @@ - (void)writeAttributePresentValueWithValue:(NSDictionary *)data - (NSDictionary *)readAttributeReliabilityWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBinaryInputBasicID) - attributeID:@(MTRClusterBinaryInputBasicAttributeReliabilityID) + clusterID:@(MTRClusterIDTypeBinaryInputBasicID) + attributeID:@(MTRAttributeIDTypeClusterBinaryInputBasicAttributeReliabilityID) params:params]; } @@ -2392,8 +2394,8 @@ - (void)writeAttributeReliabilityWithValue:(NSDictionary *)dataV NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBinaryInputBasicID) - attributeID:@(MTRClusterBinaryInputBasicAttributeReliabilityID) + clusterID:@(MTRClusterIDTypeBinaryInputBasicID) + attributeID:@(MTRAttributeIDTypeClusterBinaryInputBasicAttributeReliabilityID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -2402,56 +2404,56 @@ - (void)writeAttributeReliabilityWithValue:(NSDictionary *)dataV - (NSDictionary *)readAttributeStatusFlagsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBinaryInputBasicID) - attributeID:@(MTRClusterBinaryInputBasicAttributeStatusFlagsID) + clusterID:@(MTRClusterIDTypeBinaryInputBasicID) + attributeID:@(MTRAttributeIDTypeClusterBinaryInputBasicAttributeStatusFlagsID) params:params]; } - (NSDictionary *)readAttributeApplicationTypeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBinaryInputBasicID) - attributeID:@(MTRClusterBinaryInputBasicAttributeApplicationTypeID) + clusterID:@(MTRClusterIDTypeBinaryInputBasicID) + attributeID:@(MTRAttributeIDTypeClusterBinaryInputBasicAttributeApplicationTypeID) params:params]; } - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBinaryInputBasicID) - attributeID:@(MTRClusterBinaryInputBasicAttributeGeneratedCommandListID) + clusterID:@(MTRClusterIDTypeBinaryInputBasicID) + attributeID:@(MTRAttributeIDTypeClusterBinaryInputBasicAttributeGeneratedCommandListID) params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBinaryInputBasicID) - attributeID:@(MTRClusterBinaryInputBasicAttributeAcceptedCommandListID) + clusterID:@(MTRClusterIDTypeBinaryInputBasicID) + attributeID:@(MTRAttributeIDTypeClusterBinaryInputBasicAttributeAcceptedCommandListID) params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBinaryInputBasicID) - attributeID:@(MTRClusterBinaryInputBasicAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeBinaryInputBasicID) + attributeID:@(MTRAttributeIDTypeClusterBinaryInputBasicAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBinaryInputBasicID) - attributeID:@(MTRClusterBinaryInputBasicAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeBinaryInputBasicID) + attributeID:@(MTRAttributeIDTypeClusterBinaryInputBasicAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBinaryInputBasicID) - attributeID:@(MTRClusterBinaryInputBasicAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeBinaryInputBasicID) + attributeID:@(MTRAttributeIDTypeClusterBinaryInputBasicAttributeClusterRevisionID) params:params]; } @@ -2475,72 +2477,72 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(NSNumber *)endpoint - (NSDictionary *)readAttributeDeviceTypeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDescriptorID) - attributeID:@(MTRClusterDescriptorAttributeDeviceTypeListID) + clusterID:@(MTRClusterIDTypeDescriptorID) + attributeID:@(MTRAttributeIDTypeClusterDescriptorAttributeDeviceTypeListID) params:params]; } - (NSDictionary *)readAttributeServerListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDescriptorID) - attributeID:@(MTRClusterDescriptorAttributeServerListID) + clusterID:@(MTRClusterIDTypeDescriptorID) + attributeID:@(MTRAttributeIDTypeClusterDescriptorAttributeServerListID) params:params]; } - (NSDictionary *)readAttributeClientListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDescriptorID) - attributeID:@(MTRClusterDescriptorAttributeClientListID) + clusterID:@(MTRClusterIDTypeDescriptorID) + attributeID:@(MTRAttributeIDTypeClusterDescriptorAttributeClientListID) params:params]; } - (NSDictionary *)readAttributePartsListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDescriptorID) - attributeID:@(MTRClusterDescriptorAttributePartsListID) + clusterID:@(MTRClusterIDTypeDescriptorID) + attributeID:@(MTRAttributeIDTypeClusterDescriptorAttributePartsListID) params:params]; } - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDescriptorID) - attributeID:@(MTRClusterDescriptorAttributeGeneratedCommandListID) + clusterID:@(MTRClusterIDTypeDescriptorID) + attributeID:@(MTRAttributeIDTypeClusterDescriptorAttributeGeneratedCommandListID) params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDescriptorID) - attributeID:@(MTRClusterDescriptorAttributeAcceptedCommandListID) + clusterID:@(MTRClusterIDTypeDescriptorID) + attributeID:@(MTRAttributeIDTypeClusterDescriptorAttributeAcceptedCommandListID) params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDescriptorID) - attributeID:@(MTRClusterDescriptorAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeDescriptorID) + attributeID:@(MTRAttributeIDTypeClusterDescriptorAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDescriptorID) - attributeID:@(MTRClusterDescriptorAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeDescriptorID) + attributeID:@(MTRAttributeIDTypeClusterDescriptorAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDescriptorID) - attributeID:@(MTRClusterDescriptorAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeDescriptorID) + attributeID:@(MTRAttributeIDTypeClusterDescriptorAttributeClusterRevisionID) params:params]; } @@ -2564,8 +2566,8 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(NSNumber *)endpoint - (NSDictionary *)readAttributeBindingWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBindingID) - attributeID:@(MTRClusterBindingAttributeBindingID) + clusterID:@(MTRClusterIDTypeBindingID) + attributeID:@(MTRAttributeIDTypeClusterBindingAttributeBindingID) params:params]; } @@ -2581,8 +2583,8 @@ - (void)writeAttributeBindingWithValue:(NSDictionary *)dataValue NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBindingID) - attributeID:@(MTRClusterBindingAttributeBindingID) + clusterID:@(MTRClusterIDTypeBindingID) + attributeID:@(MTRAttributeIDTypeClusterBindingAttributeBindingID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -2591,40 +2593,40 @@ - (void)writeAttributeBindingWithValue:(NSDictionary *)dataValue - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBindingID) - attributeID:@(MTRClusterBindingAttributeGeneratedCommandListID) + clusterID:@(MTRClusterIDTypeBindingID) + attributeID:@(MTRAttributeIDTypeClusterBindingAttributeGeneratedCommandListID) params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBindingID) - attributeID:@(MTRClusterBindingAttributeAcceptedCommandListID) + clusterID:@(MTRClusterIDTypeBindingID) + attributeID:@(MTRAttributeIDTypeClusterBindingAttributeAcceptedCommandListID) params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBindingID) - attributeID:@(MTRClusterBindingAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeBindingID) + attributeID:@(MTRAttributeIDTypeClusterBindingAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBindingID) - attributeID:@(MTRClusterBindingAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeBindingID) + attributeID:@(MTRAttributeIDTypeClusterBindingAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBindingID) - attributeID:@(MTRClusterBindingAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeBindingID) + attributeID:@(MTRAttributeIDTypeClusterBindingAttributeClusterRevisionID) params:params]; } @@ -2648,8 +2650,8 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(NSNumber *)endpoint - (NSDictionary *)readAttributeAclWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterAccessControlID) - attributeID:@(MTRClusterAccessControlAttributeAclID) + clusterID:@(MTRClusterIDTypeAccessControlID) + attributeID:@(MTRAttributeIDTypeClusterAccessControlAttributeAclID) params:params]; } @@ -2665,8 +2667,8 @@ - (void)writeAttributeAclWithValue:(NSDictionary *)dataValueDict NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterAccessControlID) - attributeID:@(MTRClusterAccessControlAttributeAclID) + clusterID:@(MTRClusterIDTypeAccessControlID) + attributeID:@(MTRAttributeIDTypeClusterAccessControlAttributeAclID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -2675,8 +2677,8 @@ - (void)writeAttributeAclWithValue:(NSDictionary *)dataValueDict - (NSDictionary *)readAttributeExtensionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterAccessControlID) - attributeID:@(MTRClusterAccessControlAttributeExtensionID) + clusterID:@(MTRClusterIDTypeAccessControlID) + attributeID:@(MTRAttributeIDTypeClusterAccessControlAttributeExtensionID) params:params]; } @@ -2692,8 +2694,8 @@ - (void)writeAttributeExtensionWithValue:(NSDictionary *)dataVal NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterAccessControlID) - attributeID:@(MTRClusterAccessControlAttributeExtensionID) + clusterID:@(MTRClusterIDTypeAccessControlID) + attributeID:@(MTRAttributeIDTypeClusterAccessControlAttributeExtensionID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -2701,65 +2703,67 @@ - (void)writeAttributeExtensionWithValue:(NSDictionary *)dataVal - (NSDictionary *)readAttributeSubjectsPerAccessControlEntryWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterAccessControlID) - attributeID:@(MTRClusterAccessControlAttributeSubjectsPerAccessControlEntryID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeAccessControlID) + attributeID:@(MTRAttributeIDTypeClusterAccessControlAttributeSubjectsPerAccessControlEntryID) + params:params]; } - (NSDictionary *)readAttributeTargetsPerAccessControlEntryWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterAccessControlID) - attributeID:@(MTRClusterAccessControlAttributeTargetsPerAccessControlEntryID) + clusterID:@(MTRClusterIDTypeAccessControlID) + attributeID:@(MTRAttributeIDTypeClusterAccessControlAttributeTargetsPerAccessControlEntryID) params:params]; } - (NSDictionary *)readAttributeAccessControlEntriesPerFabricWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterAccessControlID) - attributeID:@(MTRClusterAccessControlAttributeAccessControlEntriesPerFabricID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeAccessControlID) + attributeID:@(MTRAttributeIDTypeClusterAccessControlAttributeAccessControlEntriesPerFabricID) + params:params]; } - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterAccessControlID) - attributeID:@(MTRClusterAccessControlAttributeGeneratedCommandListID) + clusterID:@(MTRClusterIDTypeAccessControlID) + attributeID:@(MTRAttributeIDTypeClusterAccessControlAttributeGeneratedCommandListID) params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterAccessControlID) - attributeID:@(MTRClusterAccessControlAttributeAcceptedCommandListID) + clusterID:@(MTRClusterIDTypeAccessControlID) + attributeID:@(MTRAttributeIDTypeClusterAccessControlAttributeAcceptedCommandListID) params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterAccessControlID) - attributeID:@(MTRClusterAccessControlAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeAccessControlID) + attributeID:@(MTRAttributeIDTypeClusterAccessControlAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterAccessControlID) - attributeID:@(MTRClusterAccessControlAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeAccessControlID) + attributeID:@(MTRAttributeIDTypeClusterAccessControlAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterAccessControlID) - attributeID:@(MTRClusterAccessControlAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeAccessControlID) + attributeID:@(MTRAttributeIDTypeClusterAccessControlAttributeClusterRevisionID) params:params]; } @@ -3244,64 +3248,64 @@ new MTRCommandSuccessCallbackBridge( - (NSDictionary *)readAttributeActionListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterActionsID) - attributeID:@(MTRClusterActionsAttributeActionListID) + clusterID:@(MTRClusterIDTypeActionsID) + attributeID:@(MTRAttributeIDTypeClusterActionsAttributeActionListID) params:params]; } - (NSDictionary *)readAttributeEndpointListsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterActionsID) - attributeID:@(MTRClusterActionsAttributeEndpointListsID) + clusterID:@(MTRClusterIDTypeActionsID) + attributeID:@(MTRAttributeIDTypeClusterActionsAttributeEndpointListsID) params:params]; } - (NSDictionary *)readAttributeSetupURLWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterActionsID) - attributeID:@(MTRClusterActionsAttributeSetupURLID) + clusterID:@(MTRClusterIDTypeActionsID) + attributeID:@(MTRAttributeIDTypeClusterActionsAttributeSetupURLID) params:params]; } - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterActionsID) - attributeID:@(MTRClusterActionsAttributeGeneratedCommandListID) + clusterID:@(MTRClusterIDTypeActionsID) + attributeID:@(MTRAttributeIDTypeClusterActionsAttributeGeneratedCommandListID) params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterActionsID) - attributeID:@(MTRClusterActionsAttributeAcceptedCommandListID) + clusterID:@(MTRClusterIDTypeActionsID) + attributeID:@(MTRAttributeIDTypeClusterActionsAttributeAcceptedCommandListID) params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterActionsID) - attributeID:@(MTRClusterActionsAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeActionsID) + attributeID:@(MTRAttributeIDTypeClusterActionsAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterActionsID) - attributeID:@(MTRClusterActionsAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeActionsID) + attributeID:@(MTRAttributeIDTypeClusterActionsAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterActionsID) - attributeID:@(MTRClusterActionsAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeActionsID) + attributeID:@(MTRAttributeIDTypeClusterActionsAttributeClusterRevisionID) params:params]; } @@ -3367,48 +3371,48 @@ new MTRCommandSuccessCallbackBridge( - (NSDictionary *)readAttributeDataModelRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBasicID) - attributeID:@(MTRClusterBasicAttributeDataModelRevisionID) + clusterID:@(MTRClusterIDTypeBasicID) + attributeID:@(MTRAttributeIDTypeClusterBasicAttributeDataModelRevisionID) params:params]; } - (NSDictionary *)readAttributeVendorNameWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBasicID) - attributeID:@(MTRClusterBasicAttributeVendorNameID) + clusterID:@(MTRClusterIDTypeBasicID) + attributeID:@(MTRAttributeIDTypeClusterBasicAttributeVendorNameID) params:params]; } - (NSDictionary *)readAttributeVendorIDWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBasicID) - attributeID:@(MTRClusterBasicAttributeVendorIDID) + clusterID:@(MTRClusterIDTypeBasicID) + attributeID:@(MTRAttributeIDTypeClusterBasicAttributeVendorIDID) params:params]; } - (NSDictionary *)readAttributeProductNameWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBasicID) - attributeID:@(MTRClusterBasicAttributeProductNameID) + clusterID:@(MTRClusterIDTypeBasicID) + attributeID:@(MTRAttributeIDTypeClusterBasicAttributeProductNameID) params:params]; } - (NSDictionary *)readAttributeProductIDWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBasicID) - attributeID:@(MTRClusterBasicAttributeProductIDID) + clusterID:@(MTRClusterIDTypeBasicID) + attributeID:@(MTRAttributeIDTypeClusterBasicAttributeProductIDID) params:params]; } - (NSDictionary *)readAttributeNodeLabelWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBasicID) - attributeID:@(MTRClusterBasicAttributeNodeLabelID) + clusterID:@(MTRClusterIDTypeBasicID) + attributeID:@(MTRAttributeIDTypeClusterBasicAttributeNodeLabelID) params:params]; } @@ -3424,8 +3428,8 @@ - (void)writeAttributeNodeLabelWithValue:(NSDictionary *)dataVal NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBasicID) - attributeID:@(MTRClusterBasicAttributeNodeLabelID) + clusterID:@(MTRClusterIDTypeBasicID) + attributeID:@(MTRAttributeIDTypeClusterBasicAttributeNodeLabelID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -3434,8 +3438,8 @@ - (void)writeAttributeNodeLabelWithValue:(NSDictionary *)dataVal - (NSDictionary *)readAttributeLocationWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBasicID) - attributeID:@(MTRClusterBasicAttributeLocationID) + clusterID:@(MTRClusterIDTypeBasicID) + attributeID:@(MTRAttributeIDTypeClusterBasicAttributeLocationID) params:params]; } @@ -3451,8 +3455,8 @@ - (void)writeAttributeLocationWithValue:(NSDictionary *)dataValu NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBasicID) - attributeID:@(MTRClusterBasicAttributeLocationID) + clusterID:@(MTRClusterIDTypeBasicID) + attributeID:@(MTRAttributeIDTypeClusterBasicAttributeLocationID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -3461,80 +3465,80 @@ - (void)writeAttributeLocationWithValue:(NSDictionary *)dataValu - (NSDictionary *)readAttributeHardwareVersionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBasicID) - attributeID:@(MTRClusterBasicAttributeHardwareVersionID) + clusterID:@(MTRClusterIDTypeBasicID) + attributeID:@(MTRAttributeIDTypeClusterBasicAttributeHardwareVersionID) params:params]; } - (NSDictionary *)readAttributeHardwareVersionStringWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBasicID) - attributeID:@(MTRClusterBasicAttributeHardwareVersionStringID) + clusterID:@(MTRClusterIDTypeBasicID) + attributeID:@(MTRAttributeIDTypeClusterBasicAttributeHardwareVersionStringID) params:params]; } - (NSDictionary *)readAttributeSoftwareVersionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBasicID) - attributeID:@(MTRClusterBasicAttributeSoftwareVersionID) + clusterID:@(MTRClusterIDTypeBasicID) + attributeID:@(MTRAttributeIDTypeClusterBasicAttributeSoftwareVersionID) params:params]; } - (NSDictionary *)readAttributeSoftwareVersionStringWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBasicID) - attributeID:@(MTRClusterBasicAttributeSoftwareVersionStringID) + clusterID:@(MTRClusterIDTypeBasicID) + attributeID:@(MTRAttributeIDTypeClusterBasicAttributeSoftwareVersionStringID) params:params]; } - (NSDictionary *)readAttributeManufacturingDateWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBasicID) - attributeID:@(MTRClusterBasicAttributeManufacturingDateID) + clusterID:@(MTRClusterIDTypeBasicID) + attributeID:@(MTRAttributeIDTypeClusterBasicAttributeManufacturingDateID) params:params]; } - (NSDictionary *)readAttributePartNumberWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBasicID) - attributeID:@(MTRClusterBasicAttributePartNumberID) + clusterID:@(MTRClusterIDTypeBasicID) + attributeID:@(MTRAttributeIDTypeClusterBasicAttributePartNumberID) params:params]; } - (NSDictionary *)readAttributeProductURLWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBasicID) - attributeID:@(MTRClusterBasicAttributeProductURLID) + clusterID:@(MTRClusterIDTypeBasicID) + attributeID:@(MTRAttributeIDTypeClusterBasicAttributeProductURLID) params:params]; } - (NSDictionary *)readAttributeProductLabelWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBasicID) - attributeID:@(MTRClusterBasicAttributeProductLabelID) + clusterID:@(MTRClusterIDTypeBasicID) + attributeID:@(MTRAttributeIDTypeClusterBasicAttributeProductLabelID) params:params]; } - (NSDictionary *)readAttributeSerialNumberWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBasicID) - attributeID:@(MTRClusterBasicAttributeSerialNumberID) + clusterID:@(MTRClusterIDTypeBasicID) + attributeID:@(MTRAttributeIDTypeClusterBasicAttributeSerialNumberID) params:params]; } - (NSDictionary *)readAttributeLocalConfigDisabledWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBasicID) - attributeID:@(MTRClusterBasicAttributeLocalConfigDisabledID) + clusterID:@(MTRClusterIDTypeBasicID) + attributeID:@(MTRAttributeIDTypeClusterBasicAttributeLocalConfigDisabledID) params:params]; } @@ -3550,8 +3554,8 @@ - (void)writeAttributeLocalConfigDisabledWithValue:(NSDictionary NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBasicID) - attributeID:@(MTRClusterBasicAttributeLocalConfigDisabledID) + clusterID:@(MTRClusterIDTypeBasicID) + attributeID:@(MTRAttributeIDTypeClusterBasicAttributeLocalConfigDisabledID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -3560,64 +3564,64 @@ - (void)writeAttributeLocalConfigDisabledWithValue:(NSDictionary - (NSDictionary *)readAttributeReachableWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBasicID) - attributeID:@(MTRClusterBasicAttributeReachableID) + clusterID:@(MTRClusterIDTypeBasicID) + attributeID:@(MTRAttributeIDTypeClusterBasicAttributeReachableID) params:params]; } - (NSDictionary *)readAttributeUniqueIDWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBasicID) - attributeID:@(MTRClusterBasicAttributeUniqueIDID) + clusterID:@(MTRClusterIDTypeBasicID) + attributeID:@(MTRAttributeIDTypeClusterBasicAttributeUniqueIDID) params:params]; } - (NSDictionary *)readAttributeCapabilityMinimaWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBasicID) - attributeID:@(MTRClusterBasicAttributeCapabilityMinimaID) + clusterID:@(MTRClusterIDTypeBasicID) + attributeID:@(MTRAttributeIDTypeClusterBasicAttributeCapabilityMinimaID) params:params]; } - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBasicID) - attributeID:@(MTRClusterBasicAttributeGeneratedCommandListID) + clusterID:@(MTRClusterIDTypeBasicID) + attributeID:@(MTRAttributeIDTypeClusterBasicAttributeGeneratedCommandListID) params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBasicID) - attributeID:@(MTRClusterBasicAttributeAcceptedCommandListID) + clusterID:@(MTRClusterIDTypeBasicID) + attributeID:@(MTRAttributeIDTypeClusterBasicAttributeAcceptedCommandListID) params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBasicID) - attributeID:@(MTRClusterBasicAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeBasicID) + attributeID:@(MTRAttributeIDTypeClusterBasicAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBasicID) - attributeID:@(MTRClusterBasicAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeBasicID) + attributeID:@(MTRAttributeIDTypeClusterBasicAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBasicID) - attributeID:@(MTRClusterBasicAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeBasicID) + attributeID:@(MTRAttributeIDTypeClusterBasicAttributeClusterRevisionID) params:params]; } @@ -3779,41 +3783,43 @@ new MTRCommandSuccessCallbackBridge( - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOtaSoftwareUpdateProviderID) - attributeID:@(MTRClusterOtaSoftwareUpdateProviderAttributeGeneratedCommandListID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeOtaSoftwareUpdateProviderID) + attributeID:@(MTRAttributeIDTypeClusterOtaSoftwareUpdateProviderAttributeGeneratedCommandListID) + params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOtaSoftwareUpdateProviderID) - attributeID:@(MTRClusterOtaSoftwareUpdateProviderAttributeAcceptedCommandListID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeOtaSoftwareUpdateProviderID) + attributeID:@(MTRAttributeIDTypeClusterOtaSoftwareUpdateProviderAttributeAcceptedCommandListID) + params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOtaSoftwareUpdateProviderID) - attributeID:@(MTRClusterOtaSoftwareUpdateProviderAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeOtaSoftwareUpdateProviderID) + attributeID:@(MTRAttributeIDTypeClusterOtaSoftwareUpdateProviderAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOtaSoftwareUpdateProviderID) - attributeID:@(MTRClusterOtaSoftwareUpdateProviderAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeOtaSoftwareUpdateProviderID) + attributeID:@(MTRAttributeIDTypeClusterOtaSoftwareUpdateProviderAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOtaSoftwareUpdateProviderID) - attributeID:@(MTRClusterOtaSoftwareUpdateProviderAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeOtaSoftwareUpdateProviderID) + attributeID:@(MTRAttributeIDTypeClusterOtaSoftwareUpdateProviderAttributeClusterRevisionID) params:params]; } @@ -3878,10 +3884,11 @@ new MTRCommandSuccessCallbackBridge( - (NSDictionary *)readAttributeDefaultOtaProvidersWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOtaSoftwareUpdateRequestorID) - attributeID:@(MTRClusterOtaSoftwareUpdateRequestorAttributeDefaultOtaProvidersID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeOtaSoftwareUpdateRequestorID) + attributeID:@(MTRAttributeIDTypeClusterOtaSoftwareUpdateRequestorAttributeDefaultOtaProvidersID) + params:params]; } - (void)writeAttributeDefaultOtaProvidersWithValue:(NSDictionary *)dataValueDictionary @@ -3896,8 +3903,8 @@ - (void)writeAttributeDefaultOtaProvidersWithValue:(NSDictionary NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOtaSoftwareUpdateRequestorID) - attributeID:@(MTRClusterOtaSoftwareUpdateRequestorAttributeDefaultOtaProvidersID) + clusterID:@(MTRClusterIDTypeOtaSoftwareUpdateRequestorID) + attributeID:@(MTRAttributeIDTypeClusterOtaSoftwareUpdateRequestorAttributeDefaultOtaProvidersID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -3906,64 +3913,67 @@ - (void)writeAttributeDefaultOtaProvidersWithValue:(NSDictionary - (NSDictionary *)readAttributeUpdatePossibleWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOtaSoftwareUpdateRequestorID) - attributeID:@(MTRClusterOtaSoftwareUpdateRequestorAttributeUpdatePossibleID) + clusterID:@(MTRClusterIDTypeOtaSoftwareUpdateRequestorID) + attributeID:@(MTRAttributeIDTypeClusterOtaSoftwareUpdateRequestorAttributeUpdatePossibleID) params:params]; } - (NSDictionary *)readAttributeUpdateStateWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOtaSoftwareUpdateRequestorID) - attributeID:@(MTRClusterOtaSoftwareUpdateRequestorAttributeUpdateStateID) + clusterID:@(MTRClusterIDTypeOtaSoftwareUpdateRequestorID) + attributeID:@(MTRAttributeIDTypeClusterOtaSoftwareUpdateRequestorAttributeUpdateStateID) params:params]; } - (NSDictionary *)readAttributeUpdateStateProgressWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOtaSoftwareUpdateRequestorID) - attributeID:@(MTRClusterOtaSoftwareUpdateRequestorAttributeUpdateStateProgressID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeOtaSoftwareUpdateRequestorID) + attributeID:@(MTRAttributeIDTypeClusterOtaSoftwareUpdateRequestorAttributeUpdateStateProgressID) + params:params]; } - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOtaSoftwareUpdateRequestorID) - attributeID:@(MTRClusterOtaSoftwareUpdateRequestorAttributeGeneratedCommandListID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeOtaSoftwareUpdateRequestorID) + attributeID:@(MTRAttributeIDTypeClusterOtaSoftwareUpdateRequestorAttributeGeneratedCommandListID) + params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOtaSoftwareUpdateRequestorID) - attributeID:@(MTRClusterOtaSoftwareUpdateRequestorAttributeAcceptedCommandListID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeOtaSoftwareUpdateRequestorID) + attributeID:@(MTRAttributeIDTypeClusterOtaSoftwareUpdateRequestorAttributeAcceptedCommandListID) + params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOtaSoftwareUpdateRequestorID) - attributeID:@(MTRClusterOtaSoftwareUpdateRequestorAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeOtaSoftwareUpdateRequestorID) + attributeID:@(MTRAttributeIDTypeClusterOtaSoftwareUpdateRequestorAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOtaSoftwareUpdateRequestorID) - attributeID:@(MTRClusterOtaSoftwareUpdateRequestorAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeOtaSoftwareUpdateRequestorID) + attributeID:@(MTRAttributeIDTypeClusterOtaSoftwareUpdateRequestorAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOtaSoftwareUpdateRequestorID) - attributeID:@(MTRClusterOtaSoftwareUpdateRequestorAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeOtaSoftwareUpdateRequestorID) + attributeID:@(MTRAttributeIDTypeClusterOtaSoftwareUpdateRequestorAttributeClusterRevisionID) params:params]; } @@ -3987,8 +3997,8 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(NSNumber *)endpoint - (NSDictionary *)readAttributeActiveLocaleWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterLocalizationConfigurationID) - attributeID:@(MTRClusterLocalizationConfigurationAttributeActiveLocaleID) + clusterID:@(MTRClusterIDTypeLocalizationConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterLocalizationConfigurationAttributeActiveLocaleID) params:params]; } @@ -4004,8 +4014,8 @@ - (void)writeAttributeActiveLocaleWithValue:(NSDictionary *)data NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterLocalizationConfigurationID) - attributeID:@(MTRClusterLocalizationConfigurationAttributeActiveLocaleID) + clusterID:@(MTRClusterIDTypeLocalizationConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterLocalizationConfigurationAttributeActiveLocaleID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -4014,48 +4024,50 @@ - (void)writeAttributeActiveLocaleWithValue:(NSDictionary *)data - (NSDictionary *)readAttributeSupportedLocalesWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterLocalizationConfigurationID) - attributeID:@(MTRClusterLocalizationConfigurationAttributeSupportedLocalesID) + clusterID:@(MTRClusterIDTypeLocalizationConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterLocalizationConfigurationAttributeSupportedLocalesID) params:params]; } - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterLocalizationConfigurationID) - attributeID:@(MTRClusterLocalizationConfigurationAttributeGeneratedCommandListID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeLocalizationConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterLocalizationConfigurationAttributeGeneratedCommandListID) + params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterLocalizationConfigurationID) - attributeID:@(MTRClusterLocalizationConfigurationAttributeAcceptedCommandListID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeLocalizationConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterLocalizationConfigurationAttributeAcceptedCommandListID) + params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterLocalizationConfigurationID) - attributeID:@(MTRClusterLocalizationConfigurationAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeLocalizationConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterLocalizationConfigurationAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterLocalizationConfigurationID) - attributeID:@(MTRClusterLocalizationConfigurationAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeLocalizationConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterLocalizationConfigurationAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterLocalizationConfigurationID) - attributeID:@(MTRClusterLocalizationConfigurationAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeLocalizationConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterLocalizationConfigurationAttributeClusterRevisionID) params:params]; } @@ -4079,8 +4091,8 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(NSNumber *)endpoint - (NSDictionary *)readAttributeHourFormatWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTimeFormatLocalizationID) - attributeID:@(MTRClusterTimeFormatLocalizationAttributeHourFormatID) + clusterID:@(MTRClusterIDTypeTimeFormatLocalizationID) + attributeID:@(MTRAttributeIDTypeClusterTimeFormatLocalizationAttributeHourFormatID) params:params]; } @@ -4096,8 +4108,8 @@ - (void)writeAttributeHourFormatWithValue:(NSDictionary *)dataVa NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTimeFormatLocalizationID) - attributeID:@(MTRClusterTimeFormatLocalizationAttributeHourFormatID) + clusterID:@(MTRClusterIDTypeTimeFormatLocalizationID) + attributeID:@(MTRAttributeIDTypeClusterTimeFormatLocalizationAttributeHourFormatID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -4106,8 +4118,8 @@ - (void)writeAttributeHourFormatWithValue:(NSDictionary *)dataVa - (NSDictionary *)readAttributeActiveCalendarTypeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTimeFormatLocalizationID) - attributeID:@(MTRClusterTimeFormatLocalizationAttributeActiveCalendarTypeID) + clusterID:@(MTRClusterIDTypeTimeFormatLocalizationID) + attributeID:@(MTRAttributeIDTypeClusterTimeFormatLocalizationAttributeActiveCalendarTypeID) params:params]; } @@ -4123,8 +4135,8 @@ - (void)writeAttributeActiveCalendarTypeWithValue:(NSDictionary NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTimeFormatLocalizationID) - attributeID:@(MTRClusterTimeFormatLocalizationAttributeActiveCalendarTypeID) + clusterID:@(MTRClusterIDTypeTimeFormatLocalizationID) + attributeID:@(MTRAttributeIDTypeClusterTimeFormatLocalizationAttributeActiveCalendarTypeID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -4132,49 +4144,51 @@ - (void)writeAttributeActiveCalendarTypeWithValue:(NSDictionary - (NSDictionary *)readAttributeSupportedCalendarTypesWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTimeFormatLocalizationID) - attributeID:@(MTRClusterTimeFormatLocalizationAttributeSupportedCalendarTypesID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeTimeFormatLocalizationID) + attributeID:@(MTRAttributeIDTypeClusterTimeFormatLocalizationAttributeSupportedCalendarTypesID) + params:params]; } - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTimeFormatLocalizationID) - attributeID:@(MTRClusterTimeFormatLocalizationAttributeGeneratedCommandListID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeTimeFormatLocalizationID) + attributeID:@(MTRAttributeIDTypeClusterTimeFormatLocalizationAttributeGeneratedCommandListID) + params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTimeFormatLocalizationID) - attributeID:@(MTRClusterTimeFormatLocalizationAttributeAcceptedCommandListID) + clusterID:@(MTRClusterIDTypeTimeFormatLocalizationID) + attributeID:@(MTRAttributeIDTypeClusterTimeFormatLocalizationAttributeAcceptedCommandListID) params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTimeFormatLocalizationID) - attributeID:@(MTRClusterTimeFormatLocalizationAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeTimeFormatLocalizationID) + attributeID:@(MTRAttributeIDTypeClusterTimeFormatLocalizationAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTimeFormatLocalizationID) - attributeID:@(MTRClusterTimeFormatLocalizationAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeTimeFormatLocalizationID) + attributeID:@(MTRAttributeIDTypeClusterTimeFormatLocalizationAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTimeFormatLocalizationID) - attributeID:@(MTRClusterTimeFormatLocalizationAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeTimeFormatLocalizationID) + attributeID:@(MTRAttributeIDTypeClusterTimeFormatLocalizationAttributeClusterRevisionID) params:params]; } @@ -4198,8 +4212,8 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(NSNumber *)endpoint - (NSDictionary *)readAttributeTemperatureUnitWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterUnitLocalizationID) - attributeID:@(MTRClusterUnitLocalizationAttributeTemperatureUnitID) + clusterID:@(MTRClusterIDTypeUnitLocalizationID) + attributeID:@(MTRAttributeIDTypeClusterUnitLocalizationAttributeTemperatureUnitID) params:params]; } @@ -4215,8 +4229,8 @@ - (void)writeAttributeTemperatureUnitWithValue:(NSDictionary *)d NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterUnitLocalizationID) - attributeID:@(MTRClusterUnitLocalizationAttributeTemperatureUnitID) + clusterID:@(MTRClusterIDTypeUnitLocalizationID) + attributeID:@(MTRAttributeIDTypeClusterUnitLocalizationAttributeTemperatureUnitID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -4225,40 +4239,40 @@ - (void)writeAttributeTemperatureUnitWithValue:(NSDictionary *)d - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterUnitLocalizationID) - attributeID:@(MTRClusterUnitLocalizationAttributeGeneratedCommandListID) + clusterID:@(MTRClusterIDTypeUnitLocalizationID) + attributeID:@(MTRAttributeIDTypeClusterUnitLocalizationAttributeGeneratedCommandListID) params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterUnitLocalizationID) - attributeID:@(MTRClusterUnitLocalizationAttributeAcceptedCommandListID) + clusterID:@(MTRClusterIDTypeUnitLocalizationID) + attributeID:@(MTRAttributeIDTypeClusterUnitLocalizationAttributeAcceptedCommandListID) params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterUnitLocalizationID) - attributeID:@(MTRClusterUnitLocalizationAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeUnitLocalizationID) + attributeID:@(MTRAttributeIDTypeClusterUnitLocalizationAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterUnitLocalizationID) - attributeID:@(MTRClusterUnitLocalizationAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeUnitLocalizationID) + attributeID:@(MTRAttributeIDTypeClusterUnitLocalizationAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterUnitLocalizationID) - attributeID:@(MTRClusterUnitLocalizationAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeUnitLocalizationID) + attributeID:@(MTRAttributeIDTypeClusterUnitLocalizationAttributeClusterRevisionID) params:params]; } @@ -4282,48 +4296,50 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(NSNumber *)endpoint - (NSDictionary *)readAttributeSourcesWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPowerSourceConfigurationID) - attributeID:@(MTRClusterPowerSourceConfigurationAttributeSourcesID) + clusterID:@(MTRClusterIDTypePowerSourceConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceConfigurationAttributeSourcesID) params:params]; } - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPowerSourceConfigurationID) - attributeID:@(MTRClusterPowerSourceConfigurationAttributeGeneratedCommandListID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypePowerSourceConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceConfigurationAttributeGeneratedCommandListID) + params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPowerSourceConfigurationID) - attributeID:@(MTRClusterPowerSourceConfigurationAttributeAcceptedCommandListID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypePowerSourceConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceConfigurationAttributeAcceptedCommandListID) + params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPowerSourceConfigurationID) - attributeID:@(MTRClusterPowerSourceConfigurationAttributeAttributeListID) + clusterID:@(MTRClusterIDTypePowerSourceConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceConfigurationAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPowerSourceConfigurationID) - attributeID:@(MTRClusterPowerSourceConfigurationAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypePowerSourceConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceConfigurationAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPowerSourceConfigurationID) - attributeID:@(MTRClusterPowerSourceConfigurationAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypePowerSourceConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceConfigurationAttributeClusterRevisionID) params:params]; } @@ -4347,288 +4363,288 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(NSNumber *)endpoint - (NSDictionary *)readAttributeStatusWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPowerSourceID) - attributeID:@(MTRClusterPowerSourceAttributeStatusID) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeStatusID) params:params]; } - (NSDictionary *)readAttributeOrderWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPowerSourceID) - attributeID:@(MTRClusterPowerSourceAttributeOrderID) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeOrderID) params:params]; } - (NSDictionary *)readAttributeDescriptionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPowerSourceID) - attributeID:@(MTRClusterPowerSourceAttributeDescriptionID) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeDescriptionID) params:params]; } - (NSDictionary *)readAttributeWiredAssessedInputVoltageWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPowerSourceID) - attributeID:@(MTRClusterPowerSourceAttributeWiredAssessedInputVoltageID) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeWiredAssessedInputVoltageID) params:params]; } - (NSDictionary *)readAttributeWiredAssessedInputFrequencyWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPowerSourceID) - attributeID:@(MTRClusterPowerSourceAttributeWiredAssessedInputFrequencyID) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeWiredAssessedInputFrequencyID) params:params]; } - (NSDictionary *)readAttributeWiredCurrentTypeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPowerSourceID) - attributeID:@(MTRClusterPowerSourceAttributeWiredCurrentTypeID) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeWiredCurrentTypeID) params:params]; } - (NSDictionary *)readAttributeWiredAssessedCurrentWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPowerSourceID) - attributeID:@(MTRClusterPowerSourceAttributeWiredAssessedCurrentID) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeWiredAssessedCurrentID) params:params]; } - (NSDictionary *)readAttributeWiredNominalVoltageWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPowerSourceID) - attributeID:@(MTRClusterPowerSourceAttributeWiredNominalVoltageID) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeWiredNominalVoltageID) params:params]; } - (NSDictionary *)readAttributeWiredMaximumCurrentWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPowerSourceID) - attributeID:@(MTRClusterPowerSourceAttributeWiredMaximumCurrentID) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeWiredMaximumCurrentID) params:params]; } - (NSDictionary *)readAttributeWiredPresentWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPowerSourceID) - attributeID:@(MTRClusterPowerSourceAttributeWiredPresentID) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeWiredPresentID) params:params]; } - (NSDictionary *)readAttributeActiveWiredFaultsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPowerSourceID) - attributeID:@(MTRClusterPowerSourceAttributeActiveWiredFaultsID) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeActiveWiredFaultsID) params:params]; } - (NSDictionary *)readAttributeBatVoltageWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPowerSourceID) - attributeID:@(MTRClusterPowerSourceAttributeBatVoltageID) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeBatVoltageID) params:params]; } - (NSDictionary *)readAttributeBatPercentRemainingWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPowerSourceID) - attributeID:@(MTRClusterPowerSourceAttributeBatPercentRemainingID) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeBatPercentRemainingID) params:params]; } - (NSDictionary *)readAttributeBatTimeRemainingWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPowerSourceID) - attributeID:@(MTRClusterPowerSourceAttributeBatTimeRemainingID) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeBatTimeRemainingID) params:params]; } - (NSDictionary *)readAttributeBatChargeLevelWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPowerSourceID) - attributeID:@(MTRClusterPowerSourceAttributeBatChargeLevelID) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeBatChargeLevelID) params:params]; } - (NSDictionary *)readAttributeBatReplacementNeededWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPowerSourceID) - attributeID:@(MTRClusterPowerSourceAttributeBatReplacementNeededID) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeBatReplacementNeededID) params:params]; } - (NSDictionary *)readAttributeBatReplaceabilityWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPowerSourceID) - attributeID:@(MTRClusterPowerSourceAttributeBatReplaceabilityID) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeBatReplaceabilityID) params:params]; } - (NSDictionary *)readAttributeBatPresentWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPowerSourceID) - attributeID:@(MTRClusterPowerSourceAttributeBatPresentID) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeBatPresentID) params:params]; } - (NSDictionary *)readAttributeActiveBatFaultsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPowerSourceID) - attributeID:@(MTRClusterPowerSourceAttributeActiveBatFaultsID) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeActiveBatFaultsID) params:params]; } - (NSDictionary *)readAttributeBatReplacementDescriptionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPowerSourceID) - attributeID:@(MTRClusterPowerSourceAttributeBatReplacementDescriptionID) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeBatReplacementDescriptionID) params:params]; } - (NSDictionary *)readAttributeBatCommonDesignationWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPowerSourceID) - attributeID:@(MTRClusterPowerSourceAttributeBatCommonDesignationID) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeBatCommonDesignationID) params:params]; } - (NSDictionary *)readAttributeBatANSIDesignationWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPowerSourceID) - attributeID:@(MTRClusterPowerSourceAttributeBatANSIDesignationID) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeBatANSIDesignationID) params:params]; } - (NSDictionary *)readAttributeBatIECDesignationWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPowerSourceID) - attributeID:@(MTRClusterPowerSourceAttributeBatIECDesignationID) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeBatIECDesignationID) params:params]; } - (NSDictionary *)readAttributeBatApprovedChemistryWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPowerSourceID) - attributeID:@(MTRClusterPowerSourceAttributeBatApprovedChemistryID) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeBatApprovedChemistryID) params:params]; } - (NSDictionary *)readAttributeBatCapacityWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPowerSourceID) - attributeID:@(MTRClusterPowerSourceAttributeBatCapacityID) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeBatCapacityID) params:params]; } - (NSDictionary *)readAttributeBatQuantityWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPowerSourceID) - attributeID:@(MTRClusterPowerSourceAttributeBatQuantityID) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeBatQuantityID) params:params]; } - (NSDictionary *)readAttributeBatChargeStateWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPowerSourceID) - attributeID:@(MTRClusterPowerSourceAttributeBatChargeStateID) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeBatChargeStateID) params:params]; } - (NSDictionary *)readAttributeBatTimeToFullChargeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPowerSourceID) - attributeID:@(MTRClusterPowerSourceAttributeBatTimeToFullChargeID) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeBatTimeToFullChargeID) params:params]; } - (NSDictionary *)readAttributeBatFunctionalWhileChargingWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPowerSourceID) - attributeID:@(MTRClusterPowerSourceAttributeBatFunctionalWhileChargingID) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeBatFunctionalWhileChargingID) params:params]; } - (NSDictionary *)readAttributeBatChargingCurrentWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPowerSourceID) - attributeID:@(MTRClusterPowerSourceAttributeBatChargingCurrentID) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeBatChargingCurrentID) params:params]; } - (NSDictionary *)readAttributeActiveBatChargeFaultsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPowerSourceID) - attributeID:@(MTRClusterPowerSourceAttributeActiveBatChargeFaultsID) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeActiveBatChargeFaultsID) params:params]; } - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPowerSourceID) - attributeID:@(MTRClusterPowerSourceAttributeGeneratedCommandListID) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeGeneratedCommandListID) params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPowerSourceID) - attributeID:@(MTRClusterPowerSourceAttributeAcceptedCommandListID) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeAcceptedCommandListID) params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPowerSourceID) - attributeID:@(MTRClusterPowerSourceAttributeAttributeListID) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPowerSourceID) - attributeID:@(MTRClusterPowerSourceAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPowerSourceID) - attributeID:@(MTRClusterPowerSourceAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypePowerSourceID) + attributeID:@(MTRAttributeIDTypeClusterPowerSourceAttributeClusterRevisionID) params:params]; } @@ -4762,8 +4778,8 @@ new MTRGeneralCommissioningClusterCommissioningCompleteResponseCallbackBridge(se - (NSDictionary *)readAttributeBreadcrumbWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterGeneralCommissioningID) - attributeID:@(MTRClusterGeneralCommissioningAttributeBreadcrumbID) + clusterID:@(MTRClusterIDTypeGeneralCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterGeneralCommissioningAttributeBreadcrumbID) params:params]; } @@ -4779,8 +4795,8 @@ - (void)writeAttributeBreadcrumbWithValue:(NSDictionary *)dataVa NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterGeneralCommissioningID) - attributeID:@(MTRClusterGeneralCommissioningAttributeBreadcrumbID) + clusterID:@(MTRClusterIDTypeGeneralCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterGeneralCommissioningAttributeBreadcrumbID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -4788,73 +4804,75 @@ - (void)writeAttributeBreadcrumbWithValue:(NSDictionary *)dataVa - (NSDictionary *)readAttributeBasicCommissioningInfoWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterGeneralCommissioningID) - attributeID:@(MTRClusterGeneralCommissioningAttributeBasicCommissioningInfoID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeGeneralCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterGeneralCommissioningAttributeBasicCommissioningInfoID) + params:params]; } - (NSDictionary *)readAttributeRegulatoryConfigWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterGeneralCommissioningID) - attributeID:@(MTRClusterGeneralCommissioningAttributeRegulatoryConfigID) + clusterID:@(MTRClusterIDTypeGeneralCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterGeneralCommissioningAttributeRegulatoryConfigID) params:params]; } - (NSDictionary *)readAttributeLocationCapabilityWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterGeneralCommissioningID) - attributeID:@(MTRClusterGeneralCommissioningAttributeLocationCapabilityID) + clusterID:@(MTRClusterIDTypeGeneralCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterGeneralCommissioningAttributeLocationCapabilityID) params:params]; } - (NSDictionary *)readAttributeSupportsConcurrentConnectionWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterGeneralCommissioningID) - attributeID:@(MTRClusterGeneralCommissioningAttributeSupportsConcurrentConnectionID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeGeneralCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterGeneralCommissioningAttributeSupportsConcurrentConnectionID) + params:params]; } - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterGeneralCommissioningID) - attributeID:@(MTRClusterGeneralCommissioningAttributeGeneratedCommandListID) + clusterID:@(MTRClusterIDTypeGeneralCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterGeneralCommissioningAttributeGeneratedCommandListID) params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterGeneralCommissioningID) - attributeID:@(MTRClusterGeneralCommissioningAttributeAcceptedCommandListID) + clusterID:@(MTRClusterIDTypeGeneralCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterGeneralCommissioningAttributeAcceptedCommandListID) params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterGeneralCommissioningID) - attributeID:@(MTRClusterGeneralCommissioningAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeGeneralCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterGeneralCommissioningAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterGeneralCommissioningID) - attributeID:@(MTRClusterGeneralCommissioningAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeGeneralCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterGeneralCommissioningAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterGeneralCommissioningID) - attributeID:@(MTRClusterGeneralCommissioningAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeGeneralCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterGeneralCommissioningAttributeClusterRevisionID) params:params]; } @@ -5100,40 +5118,40 @@ new MTRNetworkCommissioningClusterNetworkConfigResponseCallbackBridge(self.callb - (NSDictionary *)readAttributeMaxNetworksWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterNetworkCommissioningID) - attributeID:@(MTRClusterNetworkCommissioningAttributeMaxNetworksID) + clusterID:@(MTRClusterIDTypeNetworkCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterNetworkCommissioningAttributeMaxNetworksID) params:params]; } - (NSDictionary *)readAttributeNetworksWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterNetworkCommissioningID) - attributeID:@(MTRClusterNetworkCommissioningAttributeNetworksID) + clusterID:@(MTRClusterIDTypeNetworkCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterNetworkCommissioningAttributeNetworksID) params:params]; } - (NSDictionary *)readAttributeScanMaxTimeSecondsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterNetworkCommissioningID) - attributeID:@(MTRClusterNetworkCommissioningAttributeScanMaxTimeSecondsID) + clusterID:@(MTRClusterIDTypeNetworkCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterNetworkCommissioningAttributeScanMaxTimeSecondsID) params:params]; } - (NSDictionary *)readAttributeConnectMaxTimeSecondsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterNetworkCommissioningID) - attributeID:@(MTRClusterNetworkCommissioningAttributeConnectMaxTimeSecondsID) + clusterID:@(MTRClusterIDTypeNetworkCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterNetworkCommissioningAttributeConnectMaxTimeSecondsID) params:params]; } - (NSDictionary *)readAttributeInterfaceEnabledWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterNetworkCommissioningID) - attributeID:@(MTRClusterNetworkCommissioningAttributeInterfaceEnabledID) + clusterID:@(MTRClusterIDTypeNetworkCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterNetworkCommissioningAttributeInterfaceEnabledID) params:params]; } @@ -5149,8 +5167,8 @@ - (void)writeAttributeInterfaceEnabledWithValue:(NSDictionary *) NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterNetworkCommissioningID) - attributeID:@(MTRClusterNetworkCommissioningAttributeInterfaceEnabledID) + clusterID:@(MTRClusterIDTypeNetworkCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterNetworkCommissioningAttributeInterfaceEnabledID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -5159,64 +5177,64 @@ - (void)writeAttributeInterfaceEnabledWithValue:(NSDictionary *) - (NSDictionary *)readAttributeLastNetworkingStatusWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterNetworkCommissioningID) - attributeID:@(MTRClusterNetworkCommissioningAttributeLastNetworkingStatusID) + clusterID:@(MTRClusterIDTypeNetworkCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterNetworkCommissioningAttributeLastNetworkingStatusID) params:params]; } - (NSDictionary *)readAttributeLastNetworkIDWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterNetworkCommissioningID) - attributeID:@(MTRClusterNetworkCommissioningAttributeLastNetworkIDID) + clusterID:@(MTRClusterIDTypeNetworkCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterNetworkCommissioningAttributeLastNetworkIDID) params:params]; } - (NSDictionary *)readAttributeLastConnectErrorValueWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterNetworkCommissioningID) - attributeID:@(MTRClusterNetworkCommissioningAttributeLastConnectErrorValueID) + clusterID:@(MTRClusterIDTypeNetworkCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterNetworkCommissioningAttributeLastConnectErrorValueID) params:params]; } - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterNetworkCommissioningID) - attributeID:@(MTRClusterNetworkCommissioningAttributeGeneratedCommandListID) + clusterID:@(MTRClusterIDTypeNetworkCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterNetworkCommissioningAttributeGeneratedCommandListID) params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterNetworkCommissioningID) - attributeID:@(MTRClusterNetworkCommissioningAttributeAcceptedCommandListID) + clusterID:@(MTRClusterIDTypeNetworkCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterNetworkCommissioningAttributeAcceptedCommandListID) params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterNetworkCommissioningID) - attributeID:@(MTRClusterNetworkCommissioningAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeNetworkCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterNetworkCommissioningAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterNetworkCommissioningID) - attributeID:@(MTRClusterNetworkCommissioningAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeNetworkCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterNetworkCommissioningAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterNetworkCommissioningID) - attributeID:@(MTRClusterNetworkCommissioningAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeNetworkCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterNetworkCommissioningAttributeClusterRevisionID) params:params]; } @@ -5274,40 +5292,40 @@ new MTRDiagnosticLogsClusterRetrieveLogsResponseCallbackBridge(self.callbackQueu - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDiagnosticLogsID) - attributeID:@(MTRClusterDiagnosticLogsAttributeGeneratedCommandListID) + clusterID:@(MTRClusterIDTypeDiagnosticLogsID) + attributeID:@(MTRAttributeIDTypeClusterDiagnosticLogsAttributeGeneratedCommandListID) params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDiagnosticLogsID) - attributeID:@(MTRClusterDiagnosticLogsAttributeAcceptedCommandListID) + clusterID:@(MTRClusterIDTypeDiagnosticLogsID) + attributeID:@(MTRAttributeIDTypeClusterDiagnosticLogsAttributeAcceptedCommandListID) params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDiagnosticLogsID) - attributeID:@(MTRClusterDiagnosticLogsAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeDiagnosticLogsID) + attributeID:@(MTRAttributeIDTypeClusterDiagnosticLogsAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDiagnosticLogsID) - attributeID:@(MTRClusterDiagnosticLogsAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeDiagnosticLogsID) + attributeID:@(MTRAttributeIDTypeClusterDiagnosticLogsAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDiagnosticLogsID) - attributeID:@(MTRClusterDiagnosticLogsAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeDiagnosticLogsID) + attributeID:@(MTRAttributeIDTypeClusterDiagnosticLogsAttributeClusterRevisionID) params:params]; } @@ -5366,112 +5384,113 @@ new MTRCommandSuccessCallbackBridge( - (NSDictionary *)readAttributeNetworkInterfacesWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterGeneralDiagnosticsID) - attributeID:@(MTRClusterGeneralDiagnosticsAttributeNetworkInterfacesID) + clusterID:@(MTRClusterIDTypeGeneralDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterGeneralDiagnosticsAttributeNetworkInterfacesID) params:params]; } - (NSDictionary *)readAttributeRebootCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterGeneralDiagnosticsID) - attributeID:@(MTRClusterGeneralDiagnosticsAttributeRebootCountID) + clusterID:@(MTRClusterIDTypeGeneralDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterGeneralDiagnosticsAttributeRebootCountID) params:params]; } - (NSDictionary *)readAttributeUpTimeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterGeneralDiagnosticsID) - attributeID:@(MTRClusterGeneralDiagnosticsAttributeUpTimeID) + clusterID:@(MTRClusterIDTypeGeneralDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterGeneralDiagnosticsAttributeUpTimeID) params:params]; } - (NSDictionary *)readAttributeTotalOperationalHoursWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterGeneralDiagnosticsID) - attributeID:@(MTRClusterGeneralDiagnosticsAttributeTotalOperationalHoursID) + clusterID:@(MTRClusterIDTypeGeneralDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterGeneralDiagnosticsAttributeTotalOperationalHoursID) params:params]; } - (NSDictionary *)readAttributeBootReasonsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterGeneralDiagnosticsID) - attributeID:@(MTRClusterGeneralDiagnosticsAttributeBootReasonsID) + clusterID:@(MTRClusterIDTypeGeneralDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterGeneralDiagnosticsAttributeBootReasonsID) params:params]; } - (NSDictionary *)readAttributeActiveHardwareFaultsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterGeneralDiagnosticsID) - attributeID:@(MTRClusterGeneralDiagnosticsAttributeActiveHardwareFaultsID) + clusterID:@(MTRClusterIDTypeGeneralDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterGeneralDiagnosticsAttributeActiveHardwareFaultsID) params:params]; } - (NSDictionary *)readAttributeActiveRadioFaultsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterGeneralDiagnosticsID) - attributeID:@(MTRClusterGeneralDiagnosticsAttributeActiveRadioFaultsID) + clusterID:@(MTRClusterIDTypeGeneralDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterGeneralDiagnosticsAttributeActiveRadioFaultsID) params:params]; } - (NSDictionary *)readAttributeActiveNetworkFaultsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterGeneralDiagnosticsID) - attributeID:@(MTRClusterGeneralDiagnosticsAttributeActiveNetworkFaultsID) + clusterID:@(MTRClusterIDTypeGeneralDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterGeneralDiagnosticsAttributeActiveNetworkFaultsID) params:params]; } - (NSDictionary *)readAttributeTestEventTriggersEnabledWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterGeneralDiagnosticsID) - attributeID:@(MTRClusterGeneralDiagnosticsAttributeTestEventTriggersEnabledID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeGeneralDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterGeneralDiagnosticsAttributeTestEventTriggersEnabledID) + params:params]; } - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterGeneralDiagnosticsID) - attributeID:@(MTRClusterGeneralDiagnosticsAttributeGeneratedCommandListID) + clusterID:@(MTRClusterIDTypeGeneralDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterGeneralDiagnosticsAttributeGeneratedCommandListID) params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterGeneralDiagnosticsID) - attributeID:@(MTRClusterGeneralDiagnosticsAttributeAcceptedCommandListID) + clusterID:@(MTRClusterIDTypeGeneralDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterGeneralDiagnosticsAttributeAcceptedCommandListID) params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterGeneralDiagnosticsID) - attributeID:@(MTRClusterGeneralDiagnosticsAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeGeneralDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterGeneralDiagnosticsAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterGeneralDiagnosticsID) - attributeID:@(MTRClusterGeneralDiagnosticsAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeGeneralDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterGeneralDiagnosticsAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterGeneralDiagnosticsID) - attributeID:@(MTRClusterGeneralDiagnosticsAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeGeneralDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterGeneralDiagnosticsAttributeClusterRevisionID) params:params]; } @@ -5537,72 +5556,73 @@ new MTRCommandSuccessCallbackBridge( - (NSDictionary *)readAttributeThreadMetricsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterSoftwareDiagnosticsID) - attributeID:@(MTRClusterSoftwareDiagnosticsAttributeThreadMetricsID) + clusterID:@(MTRClusterIDTypeSoftwareDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterSoftwareDiagnosticsAttributeThreadMetricsID) params:params]; } - (NSDictionary *)readAttributeCurrentHeapFreeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterSoftwareDiagnosticsID) - attributeID:@(MTRClusterSoftwareDiagnosticsAttributeCurrentHeapFreeID) + clusterID:@(MTRClusterIDTypeSoftwareDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterSoftwareDiagnosticsAttributeCurrentHeapFreeID) params:params]; } - (NSDictionary *)readAttributeCurrentHeapUsedWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterSoftwareDiagnosticsID) - attributeID:@(MTRClusterSoftwareDiagnosticsAttributeCurrentHeapUsedID) + clusterID:@(MTRClusterIDTypeSoftwareDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterSoftwareDiagnosticsAttributeCurrentHeapUsedID) params:params]; } - (NSDictionary *)readAttributeCurrentHeapHighWatermarkWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterSoftwareDiagnosticsID) - attributeID:@(MTRClusterSoftwareDiagnosticsAttributeCurrentHeapHighWatermarkID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeSoftwareDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterSoftwareDiagnosticsAttributeCurrentHeapHighWatermarkID) + params:params]; } - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterSoftwareDiagnosticsID) - attributeID:@(MTRClusterSoftwareDiagnosticsAttributeGeneratedCommandListID) + clusterID:@(MTRClusterIDTypeSoftwareDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterSoftwareDiagnosticsAttributeGeneratedCommandListID) params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterSoftwareDiagnosticsID) - attributeID:@(MTRClusterSoftwareDiagnosticsAttributeAcceptedCommandListID) + clusterID:@(MTRClusterIDTypeSoftwareDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterSoftwareDiagnosticsAttributeAcceptedCommandListID) params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterSoftwareDiagnosticsID) - attributeID:@(MTRClusterSoftwareDiagnosticsAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeSoftwareDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterSoftwareDiagnosticsAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterSoftwareDiagnosticsID) - attributeID:@(MTRClusterSoftwareDiagnosticsAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeSoftwareDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterSoftwareDiagnosticsAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterSoftwareDiagnosticsID) - attributeID:@(MTRClusterSoftwareDiagnosticsAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeSoftwareDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterSoftwareDiagnosticsAttributeClusterRevisionID) params:params]; } @@ -5668,545 +5688,562 @@ new MTRCommandSuccessCallbackBridge( - (NSDictionary *)readAttributeChannelWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeChannelID) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeChannelID) params:params]; } - (NSDictionary *)readAttributeRoutingRoleWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeRoutingRoleID) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRoutingRoleID) params:params]; } - (NSDictionary *)readAttributeNetworkNameWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeNetworkNameID) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeNetworkNameID) params:params]; } - (NSDictionary *)readAttributePanIdWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributePanIdID) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributePanIdID) params:params]; } - (NSDictionary *)readAttributeExtendedPanIdWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeExtendedPanIdID) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeExtendedPanIdID) params:params]; } - (NSDictionary *)readAttributeMeshLocalPrefixWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeMeshLocalPrefixID) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeMeshLocalPrefixID) params:params]; } - (NSDictionary *)readAttributeOverrunCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeOverrunCountID) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeOverrunCountID) params:params]; } - (NSDictionary *)readAttributeNeighborTableListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeNeighborTableListID) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeNeighborTableListID) params:params]; } - (NSDictionary *)readAttributeRouteTableListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeRouteTableListID) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRouteTableListID) params:params]; } - (NSDictionary *)readAttributePartitionIdWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributePartitionIdID) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributePartitionIdID) params:params]; } - (NSDictionary *)readAttributeWeightingWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeWeightingID) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeWeightingID) params:params]; } - (NSDictionary *)readAttributeDataVersionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeDataVersionID) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeDataVersionID) params:params]; } - (NSDictionary *)readAttributeStableDataVersionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeStableDataVersionID) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeStableDataVersionID) params:params]; } - (NSDictionary *)readAttributeLeaderRouterIdWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeLeaderRouterIdID) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeLeaderRouterIdID) params:params]; } - (NSDictionary *)readAttributeDetachedRoleCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeDetachedRoleCountID) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeDetachedRoleCountID) params:params]; } - (NSDictionary *)readAttributeChildRoleCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeChildRoleCountID) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeChildRoleCountID) params:params]; } - (NSDictionary *)readAttributeRouterRoleCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeRouterRoleCountID) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRouterRoleCountID) params:params]; } - (NSDictionary *)readAttributeLeaderRoleCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeLeaderRoleCountID) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeLeaderRoleCountID) params:params]; } - (NSDictionary *)readAttributeAttachAttemptCountWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeAttachAttemptCountID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeAttachAttemptCountID) + params:params]; } - (NSDictionary *)readAttributePartitionIdChangeCountWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributePartitionIdChangeCountID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributePartitionIdChangeCountID) + params:params]; } - (NSDictionary *)readAttributeBetterPartitionAttachAttemptCountWithParams:(MTRReadParams * _Nullable)params { - return - [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeBetterPartitionAttachAttemptCountID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeBetterPartitionAttachAttemptCountID) + params:params]; } - (NSDictionary *)readAttributeParentChangeCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeParentChangeCountID) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeParentChangeCountID) params:params]; } - (NSDictionary *)readAttributeTxTotalCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeTxTotalCountID) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxTotalCountID) params:params]; } - (NSDictionary *)readAttributeTxUnicastCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeTxUnicastCountID) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxUnicastCountID) params:params]; } - (NSDictionary *)readAttributeTxBroadcastCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeTxBroadcastCountID) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxBroadcastCountID) params:params]; } - (NSDictionary *)readAttributeTxAckRequestedCountWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeTxAckRequestedCountID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxAckRequestedCountID) + params:params]; } - (NSDictionary *)readAttributeTxAckedCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeTxAckedCountID) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxAckedCountID) params:params]; } - (NSDictionary *)readAttributeTxNoAckRequestedCountWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeTxNoAckRequestedCountID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxNoAckRequestedCountID) + params:params]; } - (NSDictionary *)readAttributeTxDataCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeTxDataCountID) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxDataCountID) params:params]; } - (NSDictionary *)readAttributeTxDataPollCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeTxDataPollCountID) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxDataPollCountID) params:params]; } - (NSDictionary *)readAttributeTxBeaconCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeTxBeaconCountID) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxBeaconCountID) params:params]; } - (NSDictionary *)readAttributeTxBeaconRequestCountWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeTxBeaconRequestCountID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxBeaconRequestCountID) + params:params]; } - (NSDictionary *)readAttributeTxOtherCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeTxOtherCountID) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxOtherCountID) params:params]; } - (NSDictionary *)readAttributeTxRetryCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeTxRetryCountID) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxRetryCountID) params:params]; } - (NSDictionary *)readAttributeTxDirectMaxRetryExpiryCountWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeTxDirectMaxRetryExpiryCountID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxDirectMaxRetryExpiryCountID) + params:params]; } - (NSDictionary *)readAttributeTxIndirectMaxRetryExpiryCountWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeTxIndirectMaxRetryExpiryCountID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxIndirectMaxRetryExpiryCountID) + params:params]; } - (NSDictionary *)readAttributeTxErrCcaCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeTxErrCcaCountID) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxErrCcaCountID) params:params]; } - (NSDictionary *)readAttributeTxErrAbortCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeTxErrAbortCountID) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxErrAbortCountID) params:params]; } - (NSDictionary *)readAttributeTxErrBusyChannelCountWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeTxErrBusyChannelCountID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeTxErrBusyChannelCountID) + params:params]; } - (NSDictionary *)readAttributeRxTotalCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeRxTotalCountID) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxTotalCountID) params:params]; } - (NSDictionary *)readAttributeRxUnicastCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeRxUnicastCountID) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxUnicastCountID) params:params]; } - (NSDictionary *)readAttributeRxBroadcastCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeRxBroadcastCountID) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxBroadcastCountID) params:params]; } - (NSDictionary *)readAttributeRxDataCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeRxDataCountID) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxDataCountID) params:params]; } - (NSDictionary *)readAttributeRxDataPollCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeRxDataPollCountID) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxDataPollCountID) params:params]; } - (NSDictionary *)readAttributeRxBeaconCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeRxBeaconCountID) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxBeaconCountID) params:params]; } - (NSDictionary *)readAttributeRxBeaconRequestCountWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeRxBeaconRequestCountID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxBeaconRequestCountID) + params:params]; } - (NSDictionary *)readAttributeRxOtherCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeRxOtherCountID) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxOtherCountID) params:params]; } - (NSDictionary *)readAttributeRxAddressFilteredCountWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeRxAddressFilteredCountID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxAddressFilteredCountID) + params:params]; } - (NSDictionary *)readAttributeRxDestAddrFilteredCountWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeRxDestAddrFilteredCountID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxDestAddrFilteredCountID) + params:params]; } - (NSDictionary *)readAttributeRxDuplicatedCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeRxDuplicatedCountID) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxDuplicatedCountID) params:params]; } - (NSDictionary *)readAttributeRxErrNoFrameCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeRxErrNoFrameCountID) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxErrNoFrameCountID) params:params]; } - (NSDictionary *)readAttributeRxErrUnknownNeighborCountWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeRxErrUnknownNeighborCountID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxErrUnknownNeighborCountID) + params:params]; } - (NSDictionary *)readAttributeRxErrInvalidSrcAddrCountWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeRxErrInvalidSrcAddrCountID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxErrInvalidSrcAddrCountID) + params:params]; } - (NSDictionary *)readAttributeRxErrSecCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeRxErrSecCountID) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxErrSecCountID) params:params]; } - (NSDictionary *)readAttributeRxErrFcsCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeRxErrFcsCountID) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxErrFcsCountID) params:params]; } - (NSDictionary *)readAttributeRxErrOtherCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeRxErrOtherCountID) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeRxErrOtherCountID) params:params]; } - (NSDictionary *)readAttributeActiveTimestampWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeActiveTimestampID) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeActiveTimestampID) params:params]; } - (NSDictionary *)readAttributePendingTimestampWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributePendingTimestampID) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributePendingTimestampID) params:params]; } - (NSDictionary *)readAttributeDelayWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeDelayID) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeDelayID) params:params]; } - (NSDictionary *)readAttributeSecurityPolicyWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeSecurityPolicyID) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeSecurityPolicyID) params:params]; } - (NSDictionary *)readAttributeChannelPage0MaskWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeChannelPage0MaskID) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeChannelPage0MaskID) params:params]; } - (NSDictionary *)readAttributeOperationalDatasetComponentsWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeOperationalDatasetComponentsID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeOperationalDatasetComponentsID) + params:params]; } - (NSDictionary *)readAttributeActiveNetworkFaultsListWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeActiveNetworkFaultsListID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeActiveNetworkFaultsListID) + params:params]; } - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeGeneratedCommandListID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeGeneratedCommandListID) + params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeAcceptedCommandListID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeAcceptedCommandListID) + params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThreadNetworkDiagnosticsID) - attributeID:@(MTRClusterThreadNetworkDiagnosticsAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeThreadNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterThreadNetworkDiagnosticsAttributeClusterRevisionID) params:params]; } @@ -6272,144 +6309,149 @@ new MTRCommandSuccessCallbackBridge( - (NSDictionary *)readAttributeBssidWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterWiFiNetworkDiagnosticsID) - attributeID:@(MTRClusterWiFiNetworkDiagnosticsAttributeBssidID) + clusterID:@(MTRClusterIDTypeWiFiNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeBssidID) params:params]; } - (NSDictionary *)readAttributeSecurityTypeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterWiFiNetworkDiagnosticsID) - attributeID:@(MTRClusterWiFiNetworkDiagnosticsAttributeSecurityTypeID) + clusterID:@(MTRClusterIDTypeWiFiNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeSecurityTypeID) params:params]; } - (NSDictionary *)readAttributeWiFiVersionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterWiFiNetworkDiagnosticsID) - attributeID:@(MTRClusterWiFiNetworkDiagnosticsAttributeWiFiVersionID) + clusterID:@(MTRClusterIDTypeWiFiNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeWiFiVersionID) params:params]; } - (NSDictionary *)readAttributeChannelNumberWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterWiFiNetworkDiagnosticsID) - attributeID:@(MTRClusterWiFiNetworkDiagnosticsAttributeChannelNumberID) + clusterID:@(MTRClusterIDTypeWiFiNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeChannelNumberID) params:params]; } - (NSDictionary *)readAttributeRssiWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterWiFiNetworkDiagnosticsID) - attributeID:@(MTRClusterWiFiNetworkDiagnosticsAttributeRssiID) + clusterID:@(MTRClusterIDTypeWiFiNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeRssiID) params:params]; } - (NSDictionary *)readAttributeBeaconLostCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterWiFiNetworkDiagnosticsID) - attributeID:@(MTRClusterWiFiNetworkDiagnosticsAttributeBeaconLostCountID) + clusterID:@(MTRClusterIDTypeWiFiNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeBeaconLostCountID) params:params]; } - (NSDictionary *)readAttributeBeaconRxCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterWiFiNetworkDiagnosticsID) - attributeID:@(MTRClusterWiFiNetworkDiagnosticsAttributeBeaconRxCountID) + clusterID:@(MTRClusterIDTypeWiFiNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeBeaconRxCountID) params:params]; } - (NSDictionary *)readAttributePacketMulticastRxCountWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterWiFiNetworkDiagnosticsID) - attributeID:@(MTRClusterWiFiNetworkDiagnosticsAttributePacketMulticastRxCountID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeWiFiNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterWiFiNetworkDiagnosticsAttributePacketMulticastRxCountID) + params:params]; } - (NSDictionary *)readAttributePacketMulticastTxCountWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterWiFiNetworkDiagnosticsID) - attributeID:@(MTRClusterWiFiNetworkDiagnosticsAttributePacketMulticastTxCountID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeWiFiNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterWiFiNetworkDiagnosticsAttributePacketMulticastTxCountID) + params:params]; } - (NSDictionary *)readAttributePacketUnicastRxCountWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterWiFiNetworkDiagnosticsID) - attributeID:@(MTRClusterWiFiNetworkDiagnosticsAttributePacketUnicastRxCountID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeWiFiNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterWiFiNetworkDiagnosticsAttributePacketUnicastRxCountID) + params:params]; } - (NSDictionary *)readAttributePacketUnicastTxCountWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterWiFiNetworkDiagnosticsID) - attributeID:@(MTRClusterWiFiNetworkDiagnosticsAttributePacketUnicastTxCountID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeWiFiNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterWiFiNetworkDiagnosticsAttributePacketUnicastTxCountID) + params:params]; } - (NSDictionary *)readAttributeCurrentMaxRateWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterWiFiNetworkDiagnosticsID) - attributeID:@(MTRClusterWiFiNetworkDiagnosticsAttributeCurrentMaxRateID) + clusterID:@(MTRClusterIDTypeWiFiNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeCurrentMaxRateID) params:params]; } - (NSDictionary *)readAttributeOverrunCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterWiFiNetworkDiagnosticsID) - attributeID:@(MTRClusterWiFiNetworkDiagnosticsAttributeOverrunCountID) + clusterID:@(MTRClusterIDTypeWiFiNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeOverrunCountID) params:params]; } - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterWiFiNetworkDiagnosticsID) - attributeID:@(MTRClusterWiFiNetworkDiagnosticsAttributeGeneratedCommandListID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeWiFiNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeGeneratedCommandListID) + params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterWiFiNetworkDiagnosticsID) - attributeID:@(MTRClusterWiFiNetworkDiagnosticsAttributeAcceptedCommandListID) + clusterID:@(MTRClusterIDTypeWiFiNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeAcceptedCommandListID) params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterWiFiNetworkDiagnosticsID) - attributeID:@(MTRClusterWiFiNetworkDiagnosticsAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeWiFiNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterWiFiNetworkDiagnosticsID) - attributeID:@(MTRClusterWiFiNetworkDiagnosticsAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeWiFiNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterWiFiNetworkDiagnosticsID) - attributeID:@(MTRClusterWiFiNetworkDiagnosticsAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeWiFiNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterWiFiNetworkDiagnosticsAttributeClusterRevisionID) params:params]; } @@ -6475,112 +6517,114 @@ new MTRCommandSuccessCallbackBridge( - (NSDictionary *)readAttributePHYRateWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterEthernetNetworkDiagnosticsID) - attributeID:@(MTRClusterEthernetNetworkDiagnosticsAttributePHYRateID) + clusterID:@(MTRClusterIDTypeEthernetNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterEthernetNetworkDiagnosticsAttributePHYRateID) params:params]; } - (NSDictionary *)readAttributeFullDuplexWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterEthernetNetworkDiagnosticsID) - attributeID:@(MTRClusterEthernetNetworkDiagnosticsAttributeFullDuplexID) + clusterID:@(MTRClusterIDTypeEthernetNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterEthernetNetworkDiagnosticsAttributeFullDuplexID) params:params]; } - (NSDictionary *)readAttributePacketRxCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterEthernetNetworkDiagnosticsID) - attributeID:@(MTRClusterEthernetNetworkDiagnosticsAttributePacketRxCountID) + clusterID:@(MTRClusterIDTypeEthernetNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterEthernetNetworkDiagnosticsAttributePacketRxCountID) params:params]; } - (NSDictionary *)readAttributePacketTxCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterEthernetNetworkDiagnosticsID) - attributeID:@(MTRClusterEthernetNetworkDiagnosticsAttributePacketTxCountID) + clusterID:@(MTRClusterIDTypeEthernetNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterEthernetNetworkDiagnosticsAttributePacketTxCountID) params:params]; } - (NSDictionary *)readAttributeTxErrCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterEthernetNetworkDiagnosticsID) - attributeID:@(MTRClusterEthernetNetworkDiagnosticsAttributeTxErrCountID) + clusterID:@(MTRClusterIDTypeEthernetNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterEthernetNetworkDiagnosticsAttributeTxErrCountID) params:params]; } - (NSDictionary *)readAttributeCollisionCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterEthernetNetworkDiagnosticsID) - attributeID:@(MTRClusterEthernetNetworkDiagnosticsAttributeCollisionCountID) + clusterID:@(MTRClusterIDTypeEthernetNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterEthernetNetworkDiagnosticsAttributeCollisionCountID) params:params]; } - (NSDictionary *)readAttributeOverrunCountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterEthernetNetworkDiagnosticsID) - attributeID:@(MTRClusterEthernetNetworkDiagnosticsAttributeOverrunCountID) + clusterID:@(MTRClusterIDTypeEthernetNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterEthernetNetworkDiagnosticsAttributeOverrunCountID) params:params]; } - (NSDictionary *)readAttributeCarrierDetectWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterEthernetNetworkDiagnosticsID) - attributeID:@(MTRClusterEthernetNetworkDiagnosticsAttributeCarrierDetectID) + clusterID:@(MTRClusterIDTypeEthernetNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterEthernetNetworkDiagnosticsAttributeCarrierDetectID) params:params]; } - (NSDictionary *)readAttributeTimeSinceResetWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterEthernetNetworkDiagnosticsID) - attributeID:@(MTRClusterEthernetNetworkDiagnosticsAttributeTimeSinceResetID) + clusterID:@(MTRClusterIDTypeEthernetNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterEthernetNetworkDiagnosticsAttributeTimeSinceResetID) params:params]; } - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterEthernetNetworkDiagnosticsID) - attributeID:@(MTRClusterEthernetNetworkDiagnosticsAttributeGeneratedCommandListID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeEthernetNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterEthernetNetworkDiagnosticsAttributeGeneratedCommandListID) + params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterEthernetNetworkDiagnosticsID) - attributeID:@(MTRClusterEthernetNetworkDiagnosticsAttributeAcceptedCommandListID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeEthernetNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterEthernetNetworkDiagnosticsAttributeAcceptedCommandListID) + params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterEthernetNetworkDiagnosticsID) - attributeID:@(MTRClusterEthernetNetworkDiagnosticsAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeEthernetNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterEthernetNetworkDiagnosticsAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterEthernetNetworkDiagnosticsID) - attributeID:@(MTRClusterEthernetNetworkDiagnosticsAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeEthernetNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterEthernetNetworkDiagnosticsAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterEthernetNetworkDiagnosticsID) - attributeID:@(MTRClusterEthernetNetworkDiagnosticsAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeEthernetNetworkDiagnosticsID) + attributeID:@(MTRAttributeIDTypeClusterEthernetNetworkDiagnosticsAttributeClusterRevisionID) params:params]; } @@ -6604,32 +6648,32 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(NSNumber *)endpoint - (NSDictionary *)readAttributeVendorNameWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBridgedDeviceBasicID) - attributeID:@(MTRClusterBridgedDeviceBasicAttributeVendorNameID) + clusterID:@(MTRClusterIDTypeBridgedDeviceBasicID) + attributeID:@(MTRAttributeIDTypeClusterBridgedDeviceBasicAttributeVendorNameID) params:params]; } - (NSDictionary *)readAttributeVendorIDWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBridgedDeviceBasicID) - attributeID:@(MTRClusterBridgedDeviceBasicAttributeVendorIDID) + clusterID:@(MTRClusterIDTypeBridgedDeviceBasicID) + attributeID:@(MTRAttributeIDTypeClusterBridgedDeviceBasicAttributeVendorIDID) params:params]; } - (NSDictionary *)readAttributeProductNameWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBridgedDeviceBasicID) - attributeID:@(MTRClusterBridgedDeviceBasicAttributeProductNameID) + clusterID:@(MTRClusterIDTypeBridgedDeviceBasicID) + attributeID:@(MTRAttributeIDTypeClusterBridgedDeviceBasicAttributeProductNameID) params:params]; } - (NSDictionary *)readAttributeNodeLabelWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBridgedDeviceBasicID) - attributeID:@(MTRClusterBridgedDeviceBasicAttributeNodeLabelID) + clusterID:@(MTRClusterIDTypeBridgedDeviceBasicID) + attributeID:@(MTRAttributeIDTypeClusterBridgedDeviceBasicAttributeNodeLabelID) params:params]; } @@ -6645,8 +6689,8 @@ - (void)writeAttributeNodeLabelWithValue:(NSDictionary *)dataVal NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBridgedDeviceBasicID) - attributeID:@(MTRClusterBridgedDeviceBasicAttributeNodeLabelID) + clusterID:@(MTRClusterIDTypeBridgedDeviceBasicID) + attributeID:@(MTRAttributeIDTypeClusterBridgedDeviceBasicAttributeNodeLabelID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -6655,128 +6699,128 @@ - (void)writeAttributeNodeLabelWithValue:(NSDictionary *)dataVal - (NSDictionary *)readAttributeHardwareVersionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBridgedDeviceBasicID) - attributeID:@(MTRClusterBridgedDeviceBasicAttributeHardwareVersionID) + clusterID:@(MTRClusterIDTypeBridgedDeviceBasicID) + attributeID:@(MTRAttributeIDTypeClusterBridgedDeviceBasicAttributeHardwareVersionID) params:params]; } - (NSDictionary *)readAttributeHardwareVersionStringWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBridgedDeviceBasicID) - attributeID:@(MTRClusterBridgedDeviceBasicAttributeHardwareVersionStringID) + clusterID:@(MTRClusterIDTypeBridgedDeviceBasicID) + attributeID:@(MTRAttributeIDTypeClusterBridgedDeviceBasicAttributeHardwareVersionStringID) params:params]; } - (NSDictionary *)readAttributeSoftwareVersionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBridgedDeviceBasicID) - attributeID:@(MTRClusterBridgedDeviceBasicAttributeSoftwareVersionID) + clusterID:@(MTRClusterIDTypeBridgedDeviceBasicID) + attributeID:@(MTRAttributeIDTypeClusterBridgedDeviceBasicAttributeSoftwareVersionID) params:params]; } - (NSDictionary *)readAttributeSoftwareVersionStringWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBridgedDeviceBasicID) - attributeID:@(MTRClusterBridgedDeviceBasicAttributeSoftwareVersionStringID) + clusterID:@(MTRClusterIDTypeBridgedDeviceBasicID) + attributeID:@(MTRAttributeIDTypeClusterBridgedDeviceBasicAttributeSoftwareVersionStringID) params:params]; } - (NSDictionary *)readAttributeManufacturingDateWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBridgedDeviceBasicID) - attributeID:@(MTRClusterBridgedDeviceBasicAttributeManufacturingDateID) + clusterID:@(MTRClusterIDTypeBridgedDeviceBasicID) + attributeID:@(MTRAttributeIDTypeClusterBridgedDeviceBasicAttributeManufacturingDateID) params:params]; } - (NSDictionary *)readAttributePartNumberWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBridgedDeviceBasicID) - attributeID:@(MTRClusterBridgedDeviceBasicAttributePartNumberID) + clusterID:@(MTRClusterIDTypeBridgedDeviceBasicID) + attributeID:@(MTRAttributeIDTypeClusterBridgedDeviceBasicAttributePartNumberID) params:params]; } - (NSDictionary *)readAttributeProductURLWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBridgedDeviceBasicID) - attributeID:@(MTRClusterBridgedDeviceBasicAttributeProductURLID) + clusterID:@(MTRClusterIDTypeBridgedDeviceBasicID) + attributeID:@(MTRAttributeIDTypeClusterBridgedDeviceBasicAttributeProductURLID) params:params]; } - (NSDictionary *)readAttributeProductLabelWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBridgedDeviceBasicID) - attributeID:@(MTRClusterBridgedDeviceBasicAttributeProductLabelID) + clusterID:@(MTRClusterIDTypeBridgedDeviceBasicID) + attributeID:@(MTRAttributeIDTypeClusterBridgedDeviceBasicAttributeProductLabelID) params:params]; } - (NSDictionary *)readAttributeSerialNumberWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBridgedDeviceBasicID) - attributeID:@(MTRClusterBridgedDeviceBasicAttributeSerialNumberID) + clusterID:@(MTRClusterIDTypeBridgedDeviceBasicID) + attributeID:@(MTRAttributeIDTypeClusterBridgedDeviceBasicAttributeSerialNumberID) params:params]; } - (NSDictionary *)readAttributeReachableWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBridgedDeviceBasicID) - attributeID:@(MTRClusterBridgedDeviceBasicAttributeReachableID) + clusterID:@(MTRClusterIDTypeBridgedDeviceBasicID) + attributeID:@(MTRAttributeIDTypeClusterBridgedDeviceBasicAttributeReachableID) params:params]; } - (NSDictionary *)readAttributeUniqueIDWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBridgedDeviceBasicID) - attributeID:@(MTRClusterBridgedDeviceBasicAttributeUniqueIDID) + clusterID:@(MTRClusterIDTypeBridgedDeviceBasicID) + attributeID:@(MTRAttributeIDTypeClusterBridgedDeviceBasicAttributeUniqueIDID) params:params]; } - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBridgedDeviceBasicID) - attributeID:@(MTRClusterBridgedDeviceBasicAttributeGeneratedCommandListID) + clusterID:@(MTRClusterIDTypeBridgedDeviceBasicID) + attributeID:@(MTRAttributeIDTypeClusterBridgedDeviceBasicAttributeGeneratedCommandListID) params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBridgedDeviceBasicID) - attributeID:@(MTRClusterBridgedDeviceBasicAttributeAcceptedCommandListID) + clusterID:@(MTRClusterIDTypeBridgedDeviceBasicID) + attributeID:@(MTRAttributeIDTypeClusterBridgedDeviceBasicAttributeAcceptedCommandListID) params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBridgedDeviceBasicID) - attributeID:@(MTRClusterBridgedDeviceBasicAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeBridgedDeviceBasicID) + attributeID:@(MTRAttributeIDTypeClusterBridgedDeviceBasicAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBridgedDeviceBasicID) - attributeID:@(MTRClusterBridgedDeviceBasicAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeBridgedDeviceBasicID) + attributeID:@(MTRAttributeIDTypeClusterBridgedDeviceBasicAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBridgedDeviceBasicID) - attributeID:@(MTRClusterBridgedDeviceBasicAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeBridgedDeviceBasicID) + attributeID:@(MTRAttributeIDTypeClusterBridgedDeviceBasicAttributeClusterRevisionID) params:params]; } @@ -6800,64 +6844,64 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(NSNumber *)endpoint - (NSDictionary *)readAttributeNumberOfPositionsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterSwitchID) - attributeID:@(MTRClusterSwitchAttributeNumberOfPositionsID) + clusterID:@(MTRClusterIDTypeSwitchID) + attributeID:@(MTRAttributeIDTypeClusterSwitchAttributeNumberOfPositionsID) params:params]; } - (NSDictionary *)readAttributeCurrentPositionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterSwitchID) - attributeID:@(MTRClusterSwitchAttributeCurrentPositionID) + clusterID:@(MTRClusterIDTypeSwitchID) + attributeID:@(MTRAttributeIDTypeClusterSwitchAttributeCurrentPositionID) params:params]; } - (NSDictionary *)readAttributeMultiPressMaxWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterSwitchID) - attributeID:@(MTRClusterSwitchAttributeMultiPressMaxID) + clusterID:@(MTRClusterIDTypeSwitchID) + attributeID:@(MTRAttributeIDTypeClusterSwitchAttributeMultiPressMaxID) params:params]; } - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterSwitchID) - attributeID:@(MTRClusterSwitchAttributeGeneratedCommandListID) + clusterID:@(MTRClusterIDTypeSwitchID) + attributeID:@(MTRAttributeIDTypeClusterSwitchAttributeGeneratedCommandListID) params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterSwitchID) - attributeID:@(MTRClusterSwitchAttributeAcceptedCommandListID) + clusterID:@(MTRClusterIDTypeSwitchID) + attributeID:@(MTRAttributeIDTypeClusterSwitchAttributeAcceptedCommandListID) params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterSwitchID) - attributeID:@(MTRClusterSwitchAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeSwitchID) + attributeID:@(MTRAttributeIDTypeClusterSwitchAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterSwitchID) - attributeID:@(MTRClusterSwitchAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeSwitchID) + attributeID:@(MTRAttributeIDTypeClusterSwitchAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterSwitchID) - attributeID:@(MTRClusterSwitchAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeSwitchID) + attributeID:@(MTRAttributeIDTypeClusterSwitchAttributeClusterRevisionID) params:params]; } @@ -7004,64 +7048,67 @@ new MTRCommandSuccessCallbackBridge( - (NSDictionary *)readAttributeWindowStatusWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterAdministratorCommissioningID) - attributeID:@(MTRClusterAdministratorCommissioningAttributeWindowStatusID) + clusterID:@(MTRClusterIDTypeAdministratorCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterAdministratorCommissioningAttributeWindowStatusID) params:params]; } - (NSDictionary *)readAttributeAdminFabricIndexWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterAdministratorCommissioningID) - attributeID:@(MTRClusterAdministratorCommissioningAttributeAdminFabricIndexID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeAdministratorCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterAdministratorCommissioningAttributeAdminFabricIndexID) + params:params]; } - (NSDictionary *)readAttributeAdminVendorIdWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterAdministratorCommissioningID) - attributeID:@(MTRClusterAdministratorCommissioningAttributeAdminVendorIdID) + clusterID:@(MTRClusterIDTypeAdministratorCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterAdministratorCommissioningAttributeAdminVendorIdID) params:params]; } - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterAdministratorCommissioningID) - attributeID:@(MTRClusterAdministratorCommissioningAttributeGeneratedCommandListID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeAdministratorCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterAdministratorCommissioningAttributeGeneratedCommandListID) + params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterAdministratorCommissioningID) - attributeID:@(MTRClusterAdministratorCommissioningAttributeAcceptedCommandListID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeAdministratorCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterAdministratorCommissioningAttributeAcceptedCommandListID) + params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterAdministratorCommissioningID) - attributeID:@(MTRClusterAdministratorCommissioningAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeAdministratorCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterAdministratorCommissioningAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterAdministratorCommissioningID) - attributeID:@(MTRClusterAdministratorCommissioningAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeAdministratorCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterAdministratorCommissioningAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterAdministratorCommissioningID) - attributeID:@(MTRClusterAdministratorCommissioningAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeAdministratorCommissioningID) + attributeID:@(MTRAttributeIDTypeClusterAdministratorCommissioningAttributeClusterRevisionID) params:params]; } @@ -7352,88 +7399,90 @@ new MTRCommandSuccessCallbackBridge( - (NSDictionary *)readAttributeNOCsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOperationalCredentialsID) - attributeID:@(MTRClusterOperationalCredentialsAttributeNOCsID) + clusterID:@(MTRClusterIDTypeOperationalCredentialsID) + attributeID:@(MTRAttributeIDTypeClusterOperationalCredentialsAttributeNOCsID) params:params]; } - (NSDictionary *)readAttributeFabricsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOperationalCredentialsID) - attributeID:@(MTRClusterOperationalCredentialsAttributeFabricsID) + clusterID:@(MTRClusterIDTypeOperationalCredentialsID) + attributeID:@(MTRAttributeIDTypeClusterOperationalCredentialsAttributeFabricsID) params:params]; } - (NSDictionary *)readAttributeSupportedFabricsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOperationalCredentialsID) - attributeID:@(MTRClusterOperationalCredentialsAttributeSupportedFabricsID) + clusterID:@(MTRClusterIDTypeOperationalCredentialsID) + attributeID:@(MTRAttributeIDTypeClusterOperationalCredentialsAttributeSupportedFabricsID) params:params]; } - (NSDictionary *)readAttributeCommissionedFabricsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOperationalCredentialsID) - attributeID:@(MTRClusterOperationalCredentialsAttributeCommissionedFabricsID) + clusterID:@(MTRClusterIDTypeOperationalCredentialsID) + attributeID:@(MTRAttributeIDTypeClusterOperationalCredentialsAttributeCommissionedFabricsID) params:params]; } - (NSDictionary *)readAttributeTrustedRootCertificatesWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOperationalCredentialsID) - attributeID:@(MTRClusterOperationalCredentialsAttributeTrustedRootCertificatesID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeOperationalCredentialsID) + attributeID:@(MTRAttributeIDTypeClusterOperationalCredentialsAttributeTrustedRootCertificatesID) + params:params]; } - (NSDictionary *)readAttributeCurrentFabricIndexWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOperationalCredentialsID) - attributeID:@(MTRClusterOperationalCredentialsAttributeCurrentFabricIndexID) + clusterID:@(MTRClusterIDTypeOperationalCredentialsID) + attributeID:@(MTRAttributeIDTypeClusterOperationalCredentialsAttributeCurrentFabricIndexID) params:params]; } - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOperationalCredentialsID) - attributeID:@(MTRClusterOperationalCredentialsAttributeGeneratedCommandListID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeOperationalCredentialsID) + attributeID:@(MTRAttributeIDTypeClusterOperationalCredentialsAttributeGeneratedCommandListID) + params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOperationalCredentialsID) - attributeID:@(MTRClusterOperationalCredentialsAttributeAcceptedCommandListID) + clusterID:@(MTRClusterIDTypeOperationalCredentialsID) + attributeID:@(MTRAttributeIDTypeClusterOperationalCredentialsAttributeAcceptedCommandListID) params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOperationalCredentialsID) - attributeID:@(MTRClusterOperationalCredentialsAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeOperationalCredentialsID) + attributeID:@(MTRAttributeIDTypeClusterOperationalCredentialsAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOperationalCredentialsID) - attributeID:@(MTRClusterOperationalCredentialsAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeOperationalCredentialsID) + attributeID:@(MTRAttributeIDTypeClusterOperationalCredentialsAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOperationalCredentialsID) - attributeID:@(MTRClusterOperationalCredentialsAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeOperationalCredentialsID) + attributeID:@(MTRAttributeIDTypeClusterOperationalCredentialsAttributeClusterRevisionID) params:params]; } @@ -7647,8 +7696,8 @@ new MTRGroupKeyManagementClusterKeySetReadAllIndicesResponseCallbackBridge(self. - (NSDictionary *)readAttributeGroupKeyMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterGroupKeyManagementID) - attributeID:@(MTRClusterGroupKeyManagementAttributeGroupKeyMapID) + clusterID:@(MTRClusterIDTypeGroupKeyManagementID) + attributeID:@(MTRAttributeIDTypeClusterGroupKeyManagementAttributeGroupKeyMapID) params:params]; } @@ -7664,8 +7713,8 @@ - (void)writeAttributeGroupKeyMapWithValue:(NSDictionary *)dataV NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterGroupKeyManagementID) - attributeID:@(MTRClusterGroupKeyManagementAttributeGroupKeyMapID) + clusterID:@(MTRClusterIDTypeGroupKeyManagementID) + attributeID:@(MTRAttributeIDTypeClusterGroupKeyManagementAttributeGroupKeyMapID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -7674,64 +7723,64 @@ - (void)writeAttributeGroupKeyMapWithValue:(NSDictionary *)dataV - (NSDictionary *)readAttributeGroupTableWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterGroupKeyManagementID) - attributeID:@(MTRClusterGroupKeyManagementAttributeGroupTableID) + clusterID:@(MTRClusterIDTypeGroupKeyManagementID) + attributeID:@(MTRAttributeIDTypeClusterGroupKeyManagementAttributeGroupTableID) params:params]; } - (NSDictionary *)readAttributeMaxGroupsPerFabricWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterGroupKeyManagementID) - attributeID:@(MTRClusterGroupKeyManagementAttributeMaxGroupsPerFabricID) + clusterID:@(MTRClusterIDTypeGroupKeyManagementID) + attributeID:@(MTRAttributeIDTypeClusterGroupKeyManagementAttributeMaxGroupsPerFabricID) params:params]; } - (NSDictionary *)readAttributeMaxGroupKeysPerFabricWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterGroupKeyManagementID) - attributeID:@(MTRClusterGroupKeyManagementAttributeMaxGroupKeysPerFabricID) + clusterID:@(MTRClusterIDTypeGroupKeyManagementID) + attributeID:@(MTRAttributeIDTypeClusterGroupKeyManagementAttributeMaxGroupKeysPerFabricID) params:params]; } - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterGroupKeyManagementID) - attributeID:@(MTRClusterGroupKeyManagementAttributeGeneratedCommandListID) + clusterID:@(MTRClusterIDTypeGroupKeyManagementID) + attributeID:@(MTRAttributeIDTypeClusterGroupKeyManagementAttributeGeneratedCommandListID) params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterGroupKeyManagementID) - attributeID:@(MTRClusterGroupKeyManagementAttributeAcceptedCommandListID) + clusterID:@(MTRClusterIDTypeGroupKeyManagementID) + attributeID:@(MTRAttributeIDTypeClusterGroupKeyManagementAttributeAcceptedCommandListID) params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterGroupKeyManagementID) - attributeID:@(MTRClusterGroupKeyManagementAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeGroupKeyManagementID) + attributeID:@(MTRAttributeIDTypeClusterGroupKeyManagementAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterGroupKeyManagementID) - attributeID:@(MTRClusterGroupKeyManagementAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeGroupKeyManagementID) + attributeID:@(MTRAttributeIDTypeClusterGroupKeyManagementAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterGroupKeyManagementID) - attributeID:@(MTRClusterGroupKeyManagementAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeGroupKeyManagementID) + attributeID:@(MTRAttributeIDTypeClusterGroupKeyManagementAttributeClusterRevisionID) params:params]; } @@ -7755,48 +7804,48 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(NSNumber *)endpoint - (NSDictionary *)readAttributeLabelListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterFixedLabelID) - attributeID:@(MTRClusterFixedLabelAttributeLabelListID) + clusterID:@(MTRClusterIDTypeFixedLabelID) + attributeID:@(MTRAttributeIDTypeClusterFixedLabelAttributeLabelListID) params:params]; } - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterFixedLabelID) - attributeID:@(MTRClusterFixedLabelAttributeGeneratedCommandListID) + clusterID:@(MTRClusterIDTypeFixedLabelID) + attributeID:@(MTRAttributeIDTypeClusterFixedLabelAttributeGeneratedCommandListID) params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterFixedLabelID) - attributeID:@(MTRClusterFixedLabelAttributeAcceptedCommandListID) + clusterID:@(MTRClusterIDTypeFixedLabelID) + attributeID:@(MTRAttributeIDTypeClusterFixedLabelAttributeAcceptedCommandListID) params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterFixedLabelID) - attributeID:@(MTRClusterFixedLabelAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeFixedLabelID) + attributeID:@(MTRAttributeIDTypeClusterFixedLabelAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterFixedLabelID) - attributeID:@(MTRClusterFixedLabelAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeFixedLabelID) + attributeID:@(MTRAttributeIDTypeClusterFixedLabelAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterFixedLabelID) - attributeID:@(MTRClusterFixedLabelAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeFixedLabelID) + attributeID:@(MTRAttributeIDTypeClusterFixedLabelAttributeClusterRevisionID) params:params]; } @@ -7820,8 +7869,8 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(NSNumber *)endpoint - (NSDictionary *)readAttributeLabelListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterUserLabelID) - attributeID:@(MTRClusterUserLabelAttributeLabelListID) + clusterID:@(MTRClusterIDTypeUserLabelID) + attributeID:@(MTRAttributeIDTypeClusterUserLabelAttributeLabelListID) params:params]; } @@ -7837,8 +7886,8 @@ - (void)writeAttributeLabelListWithValue:(NSDictionary *)dataVal NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterUserLabelID) - attributeID:@(MTRClusterUserLabelAttributeLabelListID) + clusterID:@(MTRClusterIDTypeUserLabelID) + attributeID:@(MTRAttributeIDTypeClusterUserLabelAttributeLabelListID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -7847,40 +7896,40 @@ - (void)writeAttributeLabelListWithValue:(NSDictionary *)dataVal - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterUserLabelID) - attributeID:@(MTRClusterUserLabelAttributeGeneratedCommandListID) + clusterID:@(MTRClusterIDTypeUserLabelID) + attributeID:@(MTRAttributeIDTypeClusterUserLabelAttributeGeneratedCommandListID) params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterUserLabelID) - attributeID:@(MTRClusterUserLabelAttributeAcceptedCommandListID) + clusterID:@(MTRClusterIDTypeUserLabelID) + attributeID:@(MTRAttributeIDTypeClusterUserLabelAttributeAcceptedCommandListID) params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterUserLabelID) - attributeID:@(MTRClusterUserLabelAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeUserLabelID) + attributeID:@(MTRAttributeIDTypeClusterUserLabelAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterUserLabelID) - attributeID:@(MTRClusterUserLabelAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeUserLabelID) + attributeID:@(MTRAttributeIDTypeClusterUserLabelAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterUserLabelID) - attributeID:@(MTRClusterUserLabelAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeUserLabelID) + attributeID:@(MTRAttributeIDTypeClusterUserLabelAttributeClusterRevisionID) params:params]; } @@ -7904,48 +7953,48 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(NSNumber *)endpoint - (NSDictionary *)readAttributeStateValueWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBooleanStateID) - attributeID:@(MTRClusterBooleanStateAttributeStateValueID) + clusterID:@(MTRClusterIDTypeBooleanStateID) + attributeID:@(MTRAttributeIDTypeClusterBooleanStateAttributeStateValueID) params:params]; } - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBooleanStateID) - attributeID:@(MTRClusterBooleanStateAttributeGeneratedCommandListID) + clusterID:@(MTRClusterIDTypeBooleanStateID) + attributeID:@(MTRAttributeIDTypeClusterBooleanStateAttributeGeneratedCommandListID) params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBooleanStateID) - attributeID:@(MTRClusterBooleanStateAttributeAcceptedCommandListID) + clusterID:@(MTRClusterIDTypeBooleanStateID) + attributeID:@(MTRAttributeIDTypeClusterBooleanStateAttributeAcceptedCommandListID) params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBooleanStateID) - attributeID:@(MTRClusterBooleanStateAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeBooleanStateID) + attributeID:@(MTRAttributeIDTypeClusterBooleanStateAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBooleanStateID) - attributeID:@(MTRClusterBooleanStateAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeBooleanStateID) + attributeID:@(MTRAttributeIDTypeClusterBooleanStateAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBooleanStateID) - attributeID:@(MTRClusterBooleanStateAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeBooleanStateID) + attributeID:@(MTRAttributeIDTypeClusterBooleanStateAttributeClusterRevisionID) params:params]; } @@ -8003,40 +8052,40 @@ new MTRCommandSuccessCallbackBridge( - (NSDictionary *)readAttributeDescriptionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterModeSelectID) - attributeID:@(MTRClusterModeSelectAttributeDescriptionID) + clusterID:@(MTRClusterIDTypeModeSelectID) + attributeID:@(MTRAttributeIDTypeClusterModeSelectAttributeDescriptionID) params:params]; } - (NSDictionary *)readAttributeStandardNamespaceWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterModeSelectID) - attributeID:@(MTRClusterModeSelectAttributeStandardNamespaceID) + clusterID:@(MTRClusterIDTypeModeSelectID) + attributeID:@(MTRAttributeIDTypeClusterModeSelectAttributeStandardNamespaceID) params:params]; } - (NSDictionary *)readAttributeSupportedModesWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterModeSelectID) - attributeID:@(MTRClusterModeSelectAttributeSupportedModesID) + clusterID:@(MTRClusterIDTypeModeSelectID) + attributeID:@(MTRAttributeIDTypeClusterModeSelectAttributeSupportedModesID) params:params]; } - (NSDictionary *)readAttributeCurrentModeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterModeSelectID) - attributeID:@(MTRClusterModeSelectAttributeCurrentModeID) + clusterID:@(MTRClusterIDTypeModeSelectID) + attributeID:@(MTRAttributeIDTypeClusterModeSelectAttributeCurrentModeID) params:params]; } - (NSDictionary *)readAttributeStartUpModeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterModeSelectID) - attributeID:@(MTRClusterModeSelectAttributeStartUpModeID) + clusterID:@(MTRClusterIDTypeModeSelectID) + attributeID:@(MTRAttributeIDTypeClusterModeSelectAttributeStartUpModeID) params:params]; } @@ -8052,8 +8101,8 @@ - (void)writeAttributeStartUpModeWithValue:(NSDictionary *)dataV NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterModeSelectID) - attributeID:@(MTRClusterModeSelectAttributeStartUpModeID) + clusterID:@(MTRClusterIDTypeModeSelectID) + attributeID:@(MTRAttributeIDTypeClusterModeSelectAttributeStartUpModeID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -8062,8 +8111,8 @@ - (void)writeAttributeStartUpModeWithValue:(NSDictionary *)dataV - (NSDictionary *)readAttributeOnModeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterModeSelectID) - attributeID:@(MTRClusterModeSelectAttributeOnModeID) + clusterID:@(MTRClusterIDTypeModeSelectID) + attributeID:@(MTRAttributeIDTypeClusterModeSelectAttributeOnModeID) params:params]; } @@ -8079,8 +8128,8 @@ - (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueD NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterModeSelectID) - attributeID:@(MTRClusterModeSelectAttributeOnModeID) + clusterID:@(MTRClusterIDTypeModeSelectID) + attributeID:@(MTRAttributeIDTypeClusterModeSelectAttributeOnModeID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -8089,40 +8138,40 @@ - (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueD - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterModeSelectID) - attributeID:@(MTRClusterModeSelectAttributeGeneratedCommandListID) + clusterID:@(MTRClusterIDTypeModeSelectID) + attributeID:@(MTRAttributeIDTypeClusterModeSelectAttributeGeneratedCommandListID) params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterModeSelectID) - attributeID:@(MTRClusterModeSelectAttributeAcceptedCommandListID) + clusterID:@(MTRClusterIDTypeModeSelectID) + attributeID:@(MTRAttributeIDTypeClusterModeSelectAttributeAcceptedCommandListID) params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterModeSelectID) - attributeID:@(MTRClusterModeSelectAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeModeSelectID) + attributeID:@(MTRAttributeIDTypeClusterModeSelectAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterModeSelectID) - attributeID:@(MTRClusterModeSelectAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeModeSelectID) + attributeID:@(MTRAttributeIDTypeClusterModeSelectAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterModeSelectID) - attributeID:@(MTRClusterModeSelectAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeModeSelectID) + attributeID:@(MTRAttributeIDTypeClusterModeSelectAttributeClusterRevisionID) params:params]; } @@ -8858,40 +8907,40 @@ new MTRCommandSuccessCallbackBridge( - (NSDictionary *)readAttributeLockStateWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDoorLockID) - attributeID:@(MTRClusterDoorLockAttributeLockStateID) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeLockStateID) params:params]; } - (NSDictionary *)readAttributeLockTypeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDoorLockID) - attributeID:@(MTRClusterDoorLockAttributeLockTypeID) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeLockTypeID) params:params]; } - (NSDictionary *)readAttributeActuatorEnabledWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDoorLockID) - attributeID:@(MTRClusterDoorLockAttributeActuatorEnabledID) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeActuatorEnabledID) params:params]; } - (NSDictionary *)readAttributeDoorStateWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDoorLockID) - attributeID:@(MTRClusterDoorLockAttributeDoorStateID) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeDoorStateID) params:params]; } - (NSDictionary *)readAttributeDoorOpenEventsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDoorLockID) - attributeID:@(MTRClusterDoorLockAttributeDoorOpenEventsID) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeDoorOpenEventsID) params:params]; } @@ -8907,8 +8956,8 @@ - (void)writeAttributeDoorOpenEventsWithValue:(NSDictionary *)da NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDoorLockID) - attributeID:@(MTRClusterDoorLockAttributeDoorOpenEventsID) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeDoorOpenEventsID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -8917,8 +8966,8 @@ - (void)writeAttributeDoorOpenEventsWithValue:(NSDictionary *)da - (NSDictionary *)readAttributeDoorClosedEventsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDoorLockID) - attributeID:@(MTRClusterDoorLockAttributeDoorClosedEventsID) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeDoorClosedEventsID) params:params]; } @@ -8934,8 +8983,8 @@ - (void)writeAttributeDoorClosedEventsWithValue:(NSDictionary *) NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDoorLockID) - attributeID:@(MTRClusterDoorLockAttributeDoorClosedEventsID) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeDoorClosedEventsID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -8944,8 +8993,8 @@ - (void)writeAttributeDoorClosedEventsWithValue:(NSDictionary *) - (NSDictionary *)readAttributeOpenPeriodWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDoorLockID) - attributeID:@(MTRClusterDoorLockAttributeOpenPeriodID) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeOpenPeriodID) params:params]; } @@ -8961,8 +9010,8 @@ - (void)writeAttributeOpenPeriodWithValue:(NSDictionary *)dataVa NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDoorLockID) - attributeID:@(MTRClusterDoorLockAttributeOpenPeriodID) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeOpenPeriodID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -8971,104 +9020,107 @@ - (void)writeAttributeOpenPeriodWithValue:(NSDictionary *)dataVa - (NSDictionary *)readAttributeNumberOfTotalUsersSupportedWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDoorLockID) - attributeID:@(MTRClusterDoorLockAttributeNumberOfTotalUsersSupportedID) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeNumberOfTotalUsersSupportedID) params:params]; } - (NSDictionary *)readAttributeNumberOfPINUsersSupportedWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDoorLockID) - attributeID:@(MTRClusterDoorLockAttributeNumberOfPINUsersSupportedID) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeNumberOfPINUsersSupportedID) params:params]; } - (NSDictionary *)readAttributeNumberOfRFIDUsersSupportedWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDoorLockID) - attributeID:@(MTRClusterDoorLockAttributeNumberOfRFIDUsersSupportedID) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeNumberOfRFIDUsersSupportedID) params:params]; } - (NSDictionary *)readAttributeNumberOfWeekDaySchedulesSupportedPerUserWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDoorLockID) - attributeID:@(MTRClusterDoorLockAttributeNumberOfWeekDaySchedulesSupportedPerUserID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeNumberOfWeekDaySchedulesSupportedPerUserID) + params:params]; } - (NSDictionary *)readAttributeNumberOfYearDaySchedulesSupportedPerUserWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDoorLockID) - attributeID:@(MTRClusterDoorLockAttributeNumberOfYearDaySchedulesSupportedPerUserID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeNumberOfYearDaySchedulesSupportedPerUserID) + params:params]; } - (NSDictionary *)readAttributeNumberOfHolidaySchedulesSupportedWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDoorLockID) - attributeID:@(MTRClusterDoorLockAttributeNumberOfHolidaySchedulesSupportedID) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeNumberOfHolidaySchedulesSupportedID) params:params]; } - (NSDictionary *)readAttributeMaxPINCodeLengthWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDoorLockID) - attributeID:@(MTRClusterDoorLockAttributeMaxPINCodeLengthID) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeMaxPINCodeLengthID) params:params]; } - (NSDictionary *)readAttributeMinPINCodeLengthWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDoorLockID) - attributeID:@(MTRClusterDoorLockAttributeMinPINCodeLengthID) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeMinPINCodeLengthID) params:params]; } - (NSDictionary *)readAttributeMaxRFIDCodeLengthWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDoorLockID) - attributeID:@(MTRClusterDoorLockAttributeMaxRFIDCodeLengthID) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeMaxRFIDCodeLengthID) params:params]; } - (NSDictionary *)readAttributeMinRFIDCodeLengthWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDoorLockID) - attributeID:@(MTRClusterDoorLockAttributeMinRFIDCodeLengthID) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeMinRFIDCodeLengthID) params:params]; } - (NSDictionary *)readAttributeCredentialRulesSupportWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDoorLockID) - attributeID:@(MTRClusterDoorLockAttributeCredentialRulesSupportID) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeCredentialRulesSupportID) params:params]; } - (NSDictionary *)readAttributeNumberOfCredentialsSupportedPerUserWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDoorLockID) - attributeID:@(MTRClusterDoorLockAttributeNumberOfCredentialsSupportedPerUserID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeNumberOfCredentialsSupportedPerUserID) + params:params]; } - (NSDictionary *)readAttributeLanguageWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDoorLockID) - attributeID:@(MTRClusterDoorLockAttributeLanguageID) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeLanguageID) params:params]; } @@ -9084,8 +9136,8 @@ - (void)writeAttributeLanguageWithValue:(NSDictionary *)dataValu NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDoorLockID) - attributeID:@(MTRClusterDoorLockAttributeLanguageID) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeLanguageID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -9094,8 +9146,8 @@ - (void)writeAttributeLanguageWithValue:(NSDictionary *)dataValu - (NSDictionary *)readAttributeLEDSettingsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDoorLockID) - attributeID:@(MTRClusterDoorLockAttributeLEDSettingsID) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeLEDSettingsID) params:params]; } @@ -9111,8 +9163,8 @@ - (void)writeAttributeLEDSettingsWithValue:(NSDictionary *)dataV NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDoorLockID) - attributeID:@(MTRClusterDoorLockAttributeLEDSettingsID) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeLEDSettingsID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -9121,8 +9173,8 @@ - (void)writeAttributeLEDSettingsWithValue:(NSDictionary *)dataV - (NSDictionary *)readAttributeAutoRelockTimeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDoorLockID) - attributeID:@(MTRClusterDoorLockAttributeAutoRelockTimeID) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeAutoRelockTimeID) params:params]; } @@ -9138,8 +9190,8 @@ - (void)writeAttributeAutoRelockTimeWithValue:(NSDictionary *)da NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDoorLockID) - attributeID:@(MTRClusterDoorLockAttributeAutoRelockTimeID) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeAutoRelockTimeID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -9148,8 +9200,8 @@ - (void)writeAttributeAutoRelockTimeWithValue:(NSDictionary *)da - (NSDictionary *)readAttributeSoundVolumeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDoorLockID) - attributeID:@(MTRClusterDoorLockAttributeSoundVolumeID) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeSoundVolumeID) params:params]; } @@ -9165,8 +9217,8 @@ - (void)writeAttributeSoundVolumeWithValue:(NSDictionary *)dataV NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDoorLockID) - attributeID:@(MTRClusterDoorLockAttributeSoundVolumeID) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeSoundVolumeID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -9175,8 +9227,8 @@ - (void)writeAttributeSoundVolumeWithValue:(NSDictionary *)dataV - (NSDictionary *)readAttributeOperatingModeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDoorLockID) - attributeID:@(MTRClusterDoorLockAttributeOperatingModeID) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeOperatingModeID) params:params]; } @@ -9192,8 +9244,8 @@ - (void)writeAttributeOperatingModeWithValue:(NSDictionary *)dat NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDoorLockID) - attributeID:@(MTRClusterDoorLockAttributeOperatingModeID) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeOperatingModeID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -9202,24 +9254,24 @@ - (void)writeAttributeOperatingModeWithValue:(NSDictionary *)dat - (NSDictionary *)readAttributeSupportedOperatingModesWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDoorLockID) - attributeID:@(MTRClusterDoorLockAttributeSupportedOperatingModesID) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeSupportedOperatingModesID) params:params]; } - (NSDictionary *)readAttributeDefaultConfigurationRegisterWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDoorLockID) - attributeID:@(MTRClusterDoorLockAttributeDefaultConfigurationRegisterID) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeDefaultConfigurationRegisterID) params:params]; } - (NSDictionary *)readAttributeEnableLocalProgrammingWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDoorLockID) - attributeID:@(MTRClusterDoorLockAttributeEnableLocalProgrammingID) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeEnableLocalProgrammingID) params:params]; } @@ -9237,8 +9289,8 @@ - (void)writeAttributeEnableLocalProgrammingWithValue:(NSDictionary *)readAttributeEnableOneTouchLockingWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDoorLockID) - attributeID:@(MTRClusterDoorLockAttributeEnableOneTouchLockingID) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeEnableOneTouchLockingID) params:params]; } @@ -9266,8 +9318,8 @@ - (void)writeAttributeEnableOneTouchLockingWithValue:(NSDictionary *)readAttributeEnableInsideStatusLEDWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDoorLockID) - attributeID:@(MTRClusterDoorLockAttributeEnableInsideStatusLEDID) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeEnableInsideStatusLEDID) params:params]; } @@ -9295,8 +9347,8 @@ - (void)writeAttributeEnableInsideStatusLEDWithValue:(NSDictionary *)readAttributeEnablePrivacyModeButtonWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDoorLockID) - attributeID:@(MTRClusterDoorLockAttributeEnablePrivacyModeButtonID) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeEnablePrivacyModeButtonID) params:params]; } @@ -9324,8 +9376,8 @@ - (void)writeAttributeEnablePrivacyModeButtonWithValue:(NSDictionary *)readAttributeLocalProgrammingFeaturesWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDoorLockID) - attributeID:@(MTRClusterDoorLockAttributeLocalProgrammingFeaturesID) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeLocalProgrammingFeaturesID) params:params]; } @@ -9353,8 +9405,8 @@ - (void)writeAttributeLocalProgrammingFeaturesWithValue:(NSDictionary *)readAttributeWrongCodeEntryLimitWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDoorLockID) - attributeID:@(MTRClusterDoorLockAttributeWrongCodeEntryLimitID) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeWrongCodeEntryLimitID) params:params]; } @@ -9380,8 +9432,8 @@ - (void)writeAttributeWrongCodeEntryLimitWithValue:(NSDictionary NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDoorLockID) - attributeID:@(MTRClusterDoorLockAttributeWrongCodeEntryLimitID) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeWrongCodeEntryLimitID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -9390,8 +9442,8 @@ - (void)writeAttributeWrongCodeEntryLimitWithValue:(NSDictionary - (NSDictionary *)readAttributeUserCodeTemporaryDisableTimeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDoorLockID) - attributeID:@(MTRClusterDoorLockAttributeUserCodeTemporaryDisableTimeID) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeUserCodeTemporaryDisableTimeID) params:params]; } @@ -9409,8 +9461,8 @@ - (void)writeAttributeUserCodeTemporaryDisableTimeWithValue:(NSDictionary *)readAttributeSendPINOverTheAirWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDoorLockID) - attributeID:@(MTRClusterDoorLockAttributeSendPINOverTheAirID) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeSendPINOverTheAirID) params:params]; } @@ -9436,8 +9488,8 @@ - (void)writeAttributeSendPINOverTheAirWithValue:(NSDictionary * NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDoorLockID) - attributeID:@(MTRClusterDoorLockAttributeSendPINOverTheAirID) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeSendPINOverTheAirID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -9446,8 +9498,8 @@ - (void)writeAttributeSendPINOverTheAirWithValue:(NSDictionary * - (NSDictionary *)readAttributeRequirePINforRemoteOperationWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDoorLockID) - attributeID:@(MTRClusterDoorLockAttributeRequirePINforRemoteOperationID) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeRequirePINforRemoteOperationID) params:params]; } @@ -9465,8 +9517,8 @@ - (void)writeAttributeRequirePINforRemoteOperationWithValue:(NSDictionary *)readAttributeExpiringUserTimeoutWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDoorLockID) - attributeID:@(MTRClusterDoorLockAttributeExpiringUserTimeoutID) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeExpiringUserTimeoutID) params:params]; } @@ -9492,8 +9544,8 @@ - (void)writeAttributeExpiringUserTimeoutWithValue:(NSDictionary NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDoorLockID) - attributeID:@(MTRClusterDoorLockAttributeExpiringUserTimeoutID) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeExpiringUserTimeoutID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -9502,40 +9554,40 @@ - (void)writeAttributeExpiringUserTimeoutWithValue:(NSDictionary - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDoorLockID) - attributeID:@(MTRClusterDoorLockAttributeGeneratedCommandListID) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeGeneratedCommandListID) params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDoorLockID) - attributeID:@(MTRClusterDoorLockAttributeAcceptedCommandListID) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeAcceptedCommandListID) params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDoorLockID) - attributeID:@(MTRClusterDoorLockAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDoorLockID) - attributeID:@(MTRClusterDoorLockAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterDoorLockID) - attributeID:@(MTRClusterDoorLockAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeDoorLockID) + attributeID:@(MTRAttributeIDTypeClusterDoorLockAttributeClusterRevisionID) params:params]; } @@ -9818,168 +9870,174 @@ new MTRCommandSuccessCallbackBridge( - (NSDictionary *)readAttributeTypeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterWindowCoveringID) - attributeID:@(MTRClusterWindowCoveringAttributeTypeID) + clusterID:@(MTRClusterIDTypeWindowCoveringID) + attributeID:@(MTRAttributeIDTypeClusterWindowCoveringAttributeTypeID) params:params]; } - (NSDictionary *)readAttributePhysicalClosedLimitLiftWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterWindowCoveringID) - attributeID:@(MTRClusterWindowCoveringAttributePhysicalClosedLimitLiftID) + clusterID:@(MTRClusterIDTypeWindowCoveringID) + attributeID:@(MTRAttributeIDTypeClusterWindowCoveringAttributePhysicalClosedLimitLiftID) params:params]; } - (NSDictionary *)readAttributePhysicalClosedLimitTiltWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterWindowCoveringID) - attributeID:@(MTRClusterWindowCoveringAttributePhysicalClosedLimitTiltID) + clusterID:@(MTRClusterIDTypeWindowCoveringID) + attributeID:@(MTRAttributeIDTypeClusterWindowCoveringAttributePhysicalClosedLimitTiltID) params:params]; } - (NSDictionary *)readAttributeCurrentPositionLiftWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterWindowCoveringID) - attributeID:@(MTRClusterWindowCoveringAttributeCurrentPositionLiftID) + clusterID:@(MTRClusterIDTypeWindowCoveringID) + attributeID:@(MTRAttributeIDTypeClusterWindowCoveringAttributeCurrentPositionLiftID) params:params]; } - (NSDictionary *)readAttributeCurrentPositionTiltWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterWindowCoveringID) - attributeID:@(MTRClusterWindowCoveringAttributeCurrentPositionTiltID) + clusterID:@(MTRClusterIDTypeWindowCoveringID) + attributeID:@(MTRAttributeIDTypeClusterWindowCoveringAttributeCurrentPositionTiltID) params:params]; } - (NSDictionary *)readAttributeNumberOfActuationsLiftWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterWindowCoveringID) - attributeID:@(MTRClusterWindowCoveringAttributeNumberOfActuationsLiftID) + clusterID:@(MTRClusterIDTypeWindowCoveringID) + attributeID:@(MTRAttributeIDTypeClusterWindowCoveringAttributeNumberOfActuationsLiftID) params:params]; } - (NSDictionary *)readAttributeNumberOfActuationsTiltWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterWindowCoveringID) - attributeID:@(MTRClusterWindowCoveringAttributeNumberOfActuationsTiltID) + clusterID:@(MTRClusterIDTypeWindowCoveringID) + attributeID:@(MTRAttributeIDTypeClusterWindowCoveringAttributeNumberOfActuationsTiltID) params:params]; } - (NSDictionary *)readAttributeConfigStatusWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterWindowCoveringID) - attributeID:@(MTRClusterWindowCoveringAttributeConfigStatusID) + clusterID:@(MTRClusterIDTypeWindowCoveringID) + attributeID:@(MTRAttributeIDTypeClusterWindowCoveringAttributeConfigStatusID) params:params]; } - (NSDictionary *)readAttributeCurrentPositionLiftPercentageWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterWindowCoveringID) - attributeID:@(MTRClusterWindowCoveringAttributeCurrentPositionLiftPercentageID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeWindowCoveringID) + attributeID:@(MTRAttributeIDTypeClusterWindowCoveringAttributeCurrentPositionLiftPercentageID) + params:params]; } - (NSDictionary *)readAttributeCurrentPositionTiltPercentageWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterWindowCoveringID) - attributeID:@(MTRClusterWindowCoveringAttributeCurrentPositionTiltPercentageID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeWindowCoveringID) + attributeID:@(MTRAttributeIDTypeClusterWindowCoveringAttributeCurrentPositionTiltPercentageID) + params:params]; } - (NSDictionary *)readAttributeOperationalStatusWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterWindowCoveringID) - attributeID:@(MTRClusterWindowCoveringAttributeOperationalStatusID) + clusterID:@(MTRClusterIDTypeWindowCoveringID) + attributeID:@(MTRAttributeIDTypeClusterWindowCoveringAttributeOperationalStatusID) params:params]; } - (NSDictionary *)readAttributeTargetPositionLiftPercent100thsWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterWindowCoveringID) - attributeID:@(MTRClusterWindowCoveringAttributeTargetPositionLiftPercent100thsID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeWindowCoveringID) + attributeID:@(MTRAttributeIDTypeClusterWindowCoveringAttributeTargetPositionLiftPercent100thsID) + params:params]; } - (NSDictionary *)readAttributeTargetPositionTiltPercent100thsWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterWindowCoveringID) - attributeID:@(MTRClusterWindowCoveringAttributeTargetPositionTiltPercent100thsID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeWindowCoveringID) + attributeID:@(MTRAttributeIDTypeClusterWindowCoveringAttributeTargetPositionTiltPercent100thsID) + params:params]; } - (NSDictionary *)readAttributeEndProductTypeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterWindowCoveringID) - attributeID:@(MTRClusterWindowCoveringAttributeEndProductTypeID) + clusterID:@(MTRClusterIDTypeWindowCoveringID) + attributeID:@(MTRAttributeIDTypeClusterWindowCoveringAttributeEndProductTypeID) params:params]; } - (NSDictionary *)readAttributeCurrentPositionLiftPercent100thsWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterWindowCoveringID) - attributeID:@(MTRClusterWindowCoveringAttributeCurrentPositionLiftPercent100thsID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeWindowCoveringID) + attributeID:@(MTRAttributeIDTypeClusterWindowCoveringAttributeCurrentPositionLiftPercent100thsID) + params:params]; } - (NSDictionary *)readAttributeCurrentPositionTiltPercent100thsWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterWindowCoveringID) - attributeID:@(MTRClusterWindowCoveringAttributeCurrentPositionTiltPercent100thsID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeWindowCoveringID) + attributeID:@(MTRAttributeIDTypeClusterWindowCoveringAttributeCurrentPositionTiltPercent100thsID) + params:params]; } - (NSDictionary *)readAttributeInstalledOpenLimitLiftWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterWindowCoveringID) - attributeID:@(MTRClusterWindowCoveringAttributeInstalledOpenLimitLiftID) + clusterID:@(MTRClusterIDTypeWindowCoveringID) + attributeID:@(MTRAttributeIDTypeClusterWindowCoveringAttributeInstalledOpenLimitLiftID) params:params]; } - (NSDictionary *)readAttributeInstalledClosedLimitLiftWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterWindowCoveringID) - attributeID:@(MTRClusterWindowCoveringAttributeInstalledClosedLimitLiftID) + clusterID:@(MTRClusterIDTypeWindowCoveringID) + attributeID:@(MTRAttributeIDTypeClusterWindowCoveringAttributeInstalledClosedLimitLiftID) params:params]; } - (NSDictionary *)readAttributeInstalledOpenLimitTiltWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterWindowCoveringID) - attributeID:@(MTRClusterWindowCoveringAttributeInstalledOpenLimitTiltID) + clusterID:@(MTRClusterIDTypeWindowCoveringID) + attributeID:@(MTRAttributeIDTypeClusterWindowCoveringAttributeInstalledOpenLimitTiltID) params:params]; } - (NSDictionary *)readAttributeInstalledClosedLimitTiltWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterWindowCoveringID) - attributeID:@(MTRClusterWindowCoveringAttributeInstalledClosedLimitTiltID) + clusterID:@(MTRClusterIDTypeWindowCoveringID) + attributeID:@(MTRAttributeIDTypeClusterWindowCoveringAttributeInstalledClosedLimitTiltID) params:params]; } - (NSDictionary *)readAttributeModeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterWindowCoveringID) - attributeID:@(MTRClusterWindowCoveringAttributeModeID) + clusterID:@(MTRClusterIDTypeWindowCoveringID) + attributeID:@(MTRAttributeIDTypeClusterWindowCoveringAttributeModeID) params:params]; } @@ -9995,8 +10053,8 @@ - (void)writeAttributeModeWithValue:(NSDictionary *)dataValueDic NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterWindowCoveringID) - attributeID:@(MTRClusterWindowCoveringAttributeModeID) + clusterID:@(MTRClusterIDTypeWindowCoveringID) + attributeID:@(MTRAttributeIDTypeClusterWindowCoveringAttributeModeID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -10005,48 +10063,48 @@ - (void)writeAttributeModeWithValue:(NSDictionary *)dataValueDic - (NSDictionary *)readAttributeSafetyStatusWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterWindowCoveringID) - attributeID:@(MTRClusterWindowCoveringAttributeSafetyStatusID) + clusterID:@(MTRClusterIDTypeWindowCoveringID) + attributeID:@(MTRAttributeIDTypeClusterWindowCoveringAttributeSafetyStatusID) params:params]; } - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterWindowCoveringID) - attributeID:@(MTRClusterWindowCoveringAttributeGeneratedCommandListID) + clusterID:@(MTRClusterIDTypeWindowCoveringID) + attributeID:@(MTRAttributeIDTypeClusterWindowCoveringAttributeGeneratedCommandListID) params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterWindowCoveringID) - attributeID:@(MTRClusterWindowCoveringAttributeAcceptedCommandListID) + clusterID:@(MTRClusterIDTypeWindowCoveringID) + attributeID:@(MTRAttributeIDTypeClusterWindowCoveringAttributeAcceptedCommandListID) params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterWindowCoveringID) - attributeID:@(MTRClusterWindowCoveringAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeWindowCoveringID) + attributeID:@(MTRAttributeIDTypeClusterWindowCoveringAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterWindowCoveringID) - attributeID:@(MTRClusterWindowCoveringAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeWindowCoveringID) + attributeID:@(MTRAttributeIDTypeClusterWindowCoveringAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterWindowCoveringID) - attributeID:@(MTRClusterWindowCoveringAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeWindowCoveringID) + attributeID:@(MTRAttributeIDTypeClusterWindowCoveringAttributeClusterRevisionID) params:params]; } @@ -10146,32 +10204,32 @@ new MTRCommandSuccessCallbackBridge( - (NSDictionary *)readAttributeBarrierMovingStateWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBarrierControlID) - attributeID:@(MTRClusterBarrierControlAttributeBarrierMovingStateID) + clusterID:@(MTRClusterIDTypeBarrierControlID) + attributeID:@(MTRAttributeIDTypeClusterBarrierControlAttributeBarrierMovingStateID) params:params]; } - (NSDictionary *)readAttributeBarrierSafetyStatusWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBarrierControlID) - attributeID:@(MTRClusterBarrierControlAttributeBarrierSafetyStatusID) + clusterID:@(MTRClusterIDTypeBarrierControlID) + attributeID:@(MTRAttributeIDTypeClusterBarrierControlAttributeBarrierSafetyStatusID) params:params]; } - (NSDictionary *)readAttributeBarrierCapabilitiesWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBarrierControlID) - attributeID:@(MTRClusterBarrierControlAttributeBarrierCapabilitiesID) + clusterID:@(MTRClusterIDTypeBarrierControlID) + attributeID:@(MTRAttributeIDTypeClusterBarrierControlAttributeBarrierCapabilitiesID) params:params]; } - (NSDictionary *)readAttributeBarrierOpenEventsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBarrierControlID) - attributeID:@(MTRClusterBarrierControlAttributeBarrierOpenEventsID) + clusterID:@(MTRClusterIDTypeBarrierControlID) + attributeID:@(MTRAttributeIDTypeClusterBarrierControlAttributeBarrierOpenEventsID) params:params]; } @@ -10187,8 +10245,8 @@ - (void)writeAttributeBarrierOpenEventsWithValue:(NSDictionary * NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBarrierControlID) - attributeID:@(MTRClusterBarrierControlAttributeBarrierOpenEventsID) + clusterID:@(MTRClusterIDTypeBarrierControlID) + attributeID:@(MTRAttributeIDTypeClusterBarrierControlAttributeBarrierOpenEventsID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -10197,8 +10255,8 @@ - (void)writeAttributeBarrierOpenEventsWithValue:(NSDictionary * - (NSDictionary *)readAttributeBarrierCloseEventsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBarrierControlID) - attributeID:@(MTRClusterBarrierControlAttributeBarrierCloseEventsID) + clusterID:@(MTRClusterIDTypeBarrierControlID) + attributeID:@(MTRAttributeIDTypeClusterBarrierControlAttributeBarrierCloseEventsID) params:params]; } @@ -10214,8 +10272,8 @@ - (void)writeAttributeBarrierCloseEventsWithValue:(NSDictionary NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBarrierControlID) - attributeID:@(MTRClusterBarrierControlAttributeBarrierCloseEventsID) + clusterID:@(MTRClusterIDTypeBarrierControlID) + attributeID:@(MTRAttributeIDTypeClusterBarrierControlAttributeBarrierCloseEventsID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -10224,8 +10282,8 @@ - (void)writeAttributeBarrierCloseEventsWithValue:(NSDictionary - (NSDictionary *)readAttributeBarrierCommandOpenEventsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBarrierControlID) - attributeID:@(MTRClusterBarrierControlAttributeBarrierCommandOpenEventsID) + clusterID:@(MTRClusterIDTypeBarrierControlID) + attributeID:@(MTRAttributeIDTypeClusterBarrierControlAttributeBarrierCommandOpenEventsID) params:params]; } @@ -10243,8 +10301,8 @@ - (void)writeAttributeBarrierCommandOpenEventsWithValue:(NSDictionary *)readAttributeBarrierCommandCloseEventsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBarrierControlID) - attributeID:@(MTRClusterBarrierControlAttributeBarrierCommandCloseEventsID) + clusterID:@(MTRClusterIDTypeBarrierControlID) + attributeID:@(MTRAttributeIDTypeClusterBarrierControlAttributeBarrierCommandCloseEventsID) params:params]; } @@ -10272,8 +10330,8 @@ - (void)writeAttributeBarrierCommandCloseEventsWithValue:(NSDictionary *)readAttributeBarrierOpenPeriodWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBarrierControlID) - attributeID:@(MTRClusterBarrierControlAttributeBarrierOpenPeriodID) + clusterID:@(MTRClusterIDTypeBarrierControlID) + attributeID:@(MTRAttributeIDTypeClusterBarrierControlAttributeBarrierOpenPeriodID) params:params]; } @@ -10299,8 +10357,8 @@ - (void)writeAttributeBarrierOpenPeriodWithValue:(NSDictionary * NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBarrierControlID) - attributeID:@(MTRClusterBarrierControlAttributeBarrierOpenPeriodID) + clusterID:@(MTRClusterIDTypeBarrierControlID) + attributeID:@(MTRAttributeIDTypeClusterBarrierControlAttributeBarrierOpenPeriodID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -10309,8 +10367,8 @@ - (void)writeAttributeBarrierOpenPeriodWithValue:(NSDictionary * - (NSDictionary *)readAttributeBarrierClosePeriodWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBarrierControlID) - attributeID:@(MTRClusterBarrierControlAttributeBarrierClosePeriodID) + clusterID:@(MTRClusterIDTypeBarrierControlID) + attributeID:@(MTRAttributeIDTypeClusterBarrierControlAttributeBarrierClosePeriodID) params:params]; } @@ -10326,8 +10384,8 @@ - (void)writeAttributeBarrierClosePeriodWithValue:(NSDictionary NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBarrierControlID) - attributeID:@(MTRClusterBarrierControlAttributeBarrierClosePeriodID) + clusterID:@(MTRClusterIDTypeBarrierControlID) + attributeID:@(MTRAttributeIDTypeClusterBarrierControlAttributeBarrierClosePeriodID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -10336,48 +10394,48 @@ - (void)writeAttributeBarrierClosePeriodWithValue:(NSDictionary - (NSDictionary *)readAttributeBarrierPositionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBarrierControlID) - attributeID:@(MTRClusterBarrierControlAttributeBarrierPositionID) + clusterID:@(MTRClusterIDTypeBarrierControlID) + attributeID:@(MTRAttributeIDTypeClusterBarrierControlAttributeBarrierPositionID) params:params]; } - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBarrierControlID) - attributeID:@(MTRClusterBarrierControlAttributeGeneratedCommandListID) + clusterID:@(MTRClusterIDTypeBarrierControlID) + attributeID:@(MTRAttributeIDTypeClusterBarrierControlAttributeGeneratedCommandListID) params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBarrierControlID) - attributeID:@(MTRClusterBarrierControlAttributeAcceptedCommandListID) + clusterID:@(MTRClusterIDTypeBarrierControlID) + attributeID:@(MTRAttributeIDTypeClusterBarrierControlAttributeAcceptedCommandListID) params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBarrierControlID) - attributeID:@(MTRClusterBarrierControlAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeBarrierControlID) + attributeID:@(MTRAttributeIDTypeClusterBarrierControlAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBarrierControlID) - attributeID:@(MTRClusterBarrierControlAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeBarrierControlID) + attributeID:@(MTRAttributeIDTypeClusterBarrierControlAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBarrierControlID) - attributeID:@(MTRClusterBarrierControlAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeBarrierControlID) + attributeID:@(MTRAttributeIDTypeClusterBarrierControlAttributeClusterRevisionID) params:params]; } @@ -10401,153 +10459,160 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(NSNumber *)endpoint - (NSDictionary *)readAttributeMaxPressureWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPumpConfigurationAndControlID) - attributeID:@(MTRClusterPumpConfigurationAndControlAttributeMaxPressureID) + clusterID:@(MTRClusterIDTypePumpConfigurationAndControlID) + attributeID:@(MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeMaxPressureID) params:params]; } - (NSDictionary *)readAttributeMaxSpeedWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPumpConfigurationAndControlID) - attributeID:@(MTRClusterPumpConfigurationAndControlAttributeMaxSpeedID) + clusterID:@(MTRClusterIDTypePumpConfigurationAndControlID) + attributeID:@(MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeMaxSpeedID) params:params]; } - (NSDictionary *)readAttributeMaxFlowWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPumpConfigurationAndControlID) - attributeID:@(MTRClusterPumpConfigurationAndControlAttributeMaxFlowID) + clusterID:@(MTRClusterIDTypePumpConfigurationAndControlID) + attributeID:@(MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeMaxFlowID) params:params]; } - (NSDictionary *)readAttributeMinConstPressureWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPumpConfigurationAndControlID) - attributeID:@(MTRClusterPumpConfigurationAndControlAttributeMinConstPressureID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypePumpConfigurationAndControlID) + attributeID:@(MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeMinConstPressureID) + params:params]; } - (NSDictionary *)readAttributeMaxConstPressureWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPumpConfigurationAndControlID) - attributeID:@(MTRClusterPumpConfigurationAndControlAttributeMaxConstPressureID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypePumpConfigurationAndControlID) + attributeID:@(MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeMaxConstPressureID) + params:params]; } - (NSDictionary *)readAttributeMinCompPressureWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPumpConfigurationAndControlID) - attributeID:@(MTRClusterPumpConfigurationAndControlAttributeMinCompPressureID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypePumpConfigurationAndControlID) + attributeID:@(MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeMinCompPressureID) + params:params]; } - (NSDictionary *)readAttributeMaxCompPressureWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPumpConfigurationAndControlID) - attributeID:@(MTRClusterPumpConfigurationAndControlAttributeMaxCompPressureID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypePumpConfigurationAndControlID) + attributeID:@(MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeMaxCompPressureID) + params:params]; } - (NSDictionary *)readAttributeMinConstSpeedWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPumpConfigurationAndControlID) - attributeID:@(MTRClusterPumpConfigurationAndControlAttributeMinConstSpeedID) + clusterID:@(MTRClusterIDTypePumpConfigurationAndControlID) + attributeID:@(MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeMinConstSpeedID) params:params]; } - (NSDictionary *)readAttributeMaxConstSpeedWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPumpConfigurationAndControlID) - attributeID:@(MTRClusterPumpConfigurationAndControlAttributeMaxConstSpeedID) + clusterID:@(MTRClusterIDTypePumpConfigurationAndControlID) + attributeID:@(MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeMaxConstSpeedID) params:params]; } - (NSDictionary *)readAttributeMinConstFlowWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPumpConfigurationAndControlID) - attributeID:@(MTRClusterPumpConfigurationAndControlAttributeMinConstFlowID) + clusterID:@(MTRClusterIDTypePumpConfigurationAndControlID) + attributeID:@(MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeMinConstFlowID) params:params]; } - (NSDictionary *)readAttributeMaxConstFlowWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPumpConfigurationAndControlID) - attributeID:@(MTRClusterPumpConfigurationAndControlAttributeMaxConstFlowID) + clusterID:@(MTRClusterIDTypePumpConfigurationAndControlID) + attributeID:@(MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeMaxConstFlowID) params:params]; } - (NSDictionary *)readAttributeMinConstTempWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPumpConfigurationAndControlID) - attributeID:@(MTRClusterPumpConfigurationAndControlAttributeMinConstTempID) + clusterID:@(MTRClusterIDTypePumpConfigurationAndControlID) + attributeID:@(MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeMinConstTempID) params:params]; } - (NSDictionary *)readAttributeMaxConstTempWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPumpConfigurationAndControlID) - attributeID:@(MTRClusterPumpConfigurationAndControlAttributeMaxConstTempID) + clusterID:@(MTRClusterIDTypePumpConfigurationAndControlID) + attributeID:@(MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeMaxConstTempID) params:params]; } - (NSDictionary *)readAttributePumpStatusWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPumpConfigurationAndControlID) - attributeID:@(MTRClusterPumpConfigurationAndControlAttributePumpStatusID) + clusterID:@(MTRClusterIDTypePumpConfigurationAndControlID) + attributeID:@(MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributePumpStatusID) params:params]; } - (NSDictionary *)readAttributeEffectiveOperationModeWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPumpConfigurationAndControlID) - attributeID:@(MTRClusterPumpConfigurationAndControlAttributeEffectiveOperationModeID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypePumpConfigurationAndControlID) + attributeID:@(MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeEffectiveOperationModeID) + params:params]; } - (NSDictionary *)readAttributeEffectiveControlModeWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPumpConfigurationAndControlID) - attributeID:@(MTRClusterPumpConfigurationAndControlAttributeEffectiveControlModeID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypePumpConfigurationAndControlID) + attributeID:@(MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeEffectiveControlModeID) + params:params]; } - (NSDictionary *)readAttributeCapacityWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPumpConfigurationAndControlID) - attributeID:@(MTRClusterPumpConfigurationAndControlAttributeCapacityID) + clusterID:@(MTRClusterIDTypePumpConfigurationAndControlID) + attributeID:@(MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeCapacityID) params:params]; } - (NSDictionary *)readAttributeSpeedWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPumpConfigurationAndControlID) - attributeID:@(MTRClusterPumpConfigurationAndControlAttributeSpeedID) + clusterID:@(MTRClusterIDTypePumpConfigurationAndControlID) + attributeID:@(MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeSpeedID) params:params]; } - (NSDictionary *)readAttributeLifetimeRunningHoursWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPumpConfigurationAndControlID) - attributeID:@(MTRClusterPumpConfigurationAndControlAttributeLifetimeRunningHoursID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypePumpConfigurationAndControlID) + attributeID:@(MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeLifetimeRunningHoursID) + params:params]; } - (void)writeAttributeLifetimeRunningHoursWithValue:(NSDictionary *)dataValueDictionary @@ -10562,8 +10627,8 @@ - (void)writeAttributeLifetimeRunningHoursWithValue:(NSDictionary *)readAttributePowerWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPumpConfigurationAndControlID) - attributeID:@(MTRClusterPumpConfigurationAndControlAttributePowerID) + clusterID:@(MTRClusterIDTypePumpConfigurationAndControlID) + attributeID:@(MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributePowerID) params:params]; } - (NSDictionary *)readAttributeLifetimeEnergyConsumedWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPumpConfigurationAndControlID) - attributeID:@(MTRClusterPumpConfigurationAndControlAttributeLifetimeEnergyConsumedID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypePumpConfigurationAndControlID) + attributeID:@(MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeLifetimeEnergyConsumedID) + params:params]; } - (void)writeAttributeLifetimeEnergyConsumedWithValue:(NSDictionary *)dataValueDictionary @@ -10598,19 +10664,20 @@ - (void)writeAttributeLifetimeEnergyConsumedWithValue:(NSDictionary *)readAttributeOperationModeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPumpConfigurationAndControlID) - attributeID:@(MTRClusterPumpConfigurationAndControlAttributeOperationModeID) + clusterID:@(MTRClusterIDTypePumpConfigurationAndControlID) + attributeID:@(MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeOperationModeID) params:params]; } @@ -10626,8 +10693,8 @@ - (void)writeAttributeOperationModeWithValue:(NSDictionary *)dat NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPumpConfigurationAndControlID) - attributeID:@(MTRClusterPumpConfigurationAndControlAttributeOperationModeID) + clusterID:@(MTRClusterIDTypePumpConfigurationAndControlID) + attributeID:@(MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeOperationModeID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -10636,8 +10703,8 @@ - (void)writeAttributeOperationModeWithValue:(NSDictionary *)dat - (NSDictionary *)readAttributeControlModeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPumpConfigurationAndControlID) - attributeID:@(MTRClusterPumpConfigurationAndControlAttributeControlModeID) + clusterID:@(MTRClusterIDTypePumpConfigurationAndControlID) + attributeID:@(MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeControlModeID) params:params]; } @@ -10653,8 +10720,8 @@ - (void)writeAttributeControlModeWithValue:(NSDictionary *)dataV NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPumpConfigurationAndControlID) - attributeID:@(MTRClusterPumpConfigurationAndControlAttributeControlModeID) + clusterID:@(MTRClusterIDTypePumpConfigurationAndControlID) + attributeID:@(MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeControlModeID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -10662,42 +10729,45 @@ - (void)writeAttributeControlModeWithValue:(NSDictionary *)dataV - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPumpConfigurationAndControlID) - attributeID:@(MTRClusterPumpConfigurationAndControlAttributeGeneratedCommandListID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypePumpConfigurationAndControlID) + attributeID:@(MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeGeneratedCommandListID) + params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPumpConfigurationAndControlID) - attributeID:@(MTRClusterPumpConfigurationAndControlAttributeAcceptedCommandListID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypePumpConfigurationAndControlID) + attributeID:@(MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeAcceptedCommandListID) + params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPumpConfigurationAndControlID) - attributeID:@(MTRClusterPumpConfigurationAndControlAttributeAttributeListID) + clusterID:@(MTRClusterIDTypePumpConfigurationAndControlID) + attributeID:@(MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPumpConfigurationAndControlID) - attributeID:@(MTRClusterPumpConfigurationAndControlAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypePumpConfigurationAndControlID) + attributeID:@(MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPumpConfigurationAndControlID) - attributeID:@(MTRClusterPumpConfigurationAndControlAttributeClusterRevisionID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypePumpConfigurationAndControlID) + attributeID:@(MTRAttributeIDTypeClusterPumpConfigurationAndControlAttributeClusterRevisionID) + params:params]; } @end @@ -10903,80 +10973,80 @@ new MTRCommandSuccessCallbackBridge( - (NSDictionary *)readAttributeLocalTemperatureWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeLocalTemperatureID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeLocalTemperatureID) params:params]; } - (NSDictionary *)readAttributeOutdoorTemperatureWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeOutdoorTemperatureID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeOutdoorTemperatureID) params:params]; } - (NSDictionary *)readAttributeOccupancyWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeOccupancyID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeOccupancyID) params:params]; } - (NSDictionary *)readAttributeAbsMinHeatSetpointLimitWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeAbsMinHeatSetpointLimitID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeAbsMinHeatSetpointLimitID) params:params]; } - (NSDictionary *)readAttributeAbsMaxHeatSetpointLimitWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeAbsMaxHeatSetpointLimitID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeAbsMaxHeatSetpointLimitID) params:params]; } - (NSDictionary *)readAttributeAbsMinCoolSetpointLimitWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeAbsMinCoolSetpointLimitID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeAbsMinCoolSetpointLimitID) params:params]; } - (NSDictionary *)readAttributeAbsMaxCoolSetpointLimitWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeAbsMaxCoolSetpointLimitID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeAbsMaxCoolSetpointLimitID) params:params]; } - (NSDictionary *)readAttributePICoolingDemandWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributePICoolingDemandID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributePICoolingDemandID) params:params]; } - (NSDictionary *)readAttributePIHeatingDemandWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributePIHeatingDemandID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributePIHeatingDemandID) params:params]; } - (NSDictionary *)readAttributeHVACSystemTypeConfigurationWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeHVACSystemTypeConfigurationID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeHVACSystemTypeConfigurationID) params:params]; } @@ -10994,8 +11064,8 @@ - (void)writeAttributeHVACSystemTypeConfigurationWithValue:(NSDictionary *)readAttributeLocalTemperatureCalibrationWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeLocalTemperatureCalibrationID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeLocalTemperatureCalibrationID) params:params]; } @@ -11023,8 +11093,8 @@ - (void)writeAttributeLocalTemperatureCalibrationWithValue:(NSDictionary *)readAttributeOccupiedCoolingSetpointWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeOccupiedCoolingSetpointID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeOccupiedCoolingSetpointID) params:params]; } @@ -11052,8 +11122,8 @@ - (void)writeAttributeOccupiedCoolingSetpointWithValue:(NSDictionary *)readAttributeOccupiedHeatingSetpointWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeOccupiedHeatingSetpointID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeOccupiedHeatingSetpointID) params:params]; } @@ -11081,8 +11151,8 @@ - (void)writeAttributeOccupiedHeatingSetpointWithValue:(NSDictionary *)readAttributeUnoccupiedCoolingSetpointWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeUnoccupiedCoolingSetpointID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeUnoccupiedCoolingSetpointID) params:params]; } @@ -11110,8 +11180,8 @@ - (void)writeAttributeUnoccupiedCoolingSetpointWithValue:(NSDictionary *)readAttributeUnoccupiedHeatingSetpointWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeUnoccupiedHeatingSetpointID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeUnoccupiedHeatingSetpointID) params:params]; } @@ -11139,8 +11209,8 @@ - (void)writeAttributeUnoccupiedHeatingSetpointWithValue:(NSDictionary *)readAttributeMinHeatSetpointLimitWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeMinHeatSetpointLimitID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeMinHeatSetpointLimitID) params:params]; } @@ -11166,8 +11236,8 @@ - (void)writeAttributeMinHeatSetpointLimitWithValue:(NSDictionary *)readAttributeMaxHeatSetpointLimitWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeMaxHeatSetpointLimitID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeMaxHeatSetpointLimitID) params:params]; } @@ -11193,8 +11263,8 @@ - (void)writeAttributeMaxHeatSetpointLimitWithValue:(NSDictionary *)readAttributeMinCoolSetpointLimitWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeMinCoolSetpointLimitID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeMinCoolSetpointLimitID) params:params]; } @@ -11220,8 +11290,8 @@ - (void)writeAttributeMinCoolSetpointLimitWithValue:(NSDictionary *)readAttributeMaxCoolSetpointLimitWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeMaxCoolSetpointLimitID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeMaxCoolSetpointLimitID) params:params]; } @@ -11247,8 +11317,8 @@ - (void)writeAttributeMaxCoolSetpointLimitWithValue:(NSDictionary *)readAttributeMinSetpointDeadBandWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeMinSetpointDeadBandID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeMinSetpointDeadBandID) params:params]; } @@ -11274,8 +11344,8 @@ - (void)writeAttributeMinSetpointDeadBandWithValue:(NSDictionary NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeMinSetpointDeadBandID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeMinSetpointDeadBandID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -11284,8 +11354,8 @@ - (void)writeAttributeMinSetpointDeadBandWithValue:(NSDictionary - (NSDictionary *)readAttributeRemoteSensingWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeRemoteSensingID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeRemoteSensingID) params:params]; } @@ -11301,8 +11371,8 @@ - (void)writeAttributeRemoteSensingWithValue:(NSDictionary *)dat NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeRemoteSensingID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeRemoteSensingID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -11311,8 +11381,8 @@ - (void)writeAttributeRemoteSensingWithValue:(NSDictionary *)dat - (NSDictionary *)readAttributeControlSequenceOfOperationWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeControlSequenceOfOperationID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeControlSequenceOfOperationID) params:params]; } @@ -11330,8 +11400,8 @@ - (void)writeAttributeControlSequenceOfOperationWithValue:(NSDictionary *)readAttributeSystemModeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeSystemModeID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeSystemModeID) params:params]; } @@ -11357,8 +11427,8 @@ - (void)writeAttributeSystemModeWithValue:(NSDictionary *)dataVa NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeSystemModeID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeSystemModeID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -11367,40 +11437,40 @@ - (void)writeAttributeSystemModeWithValue:(NSDictionary *)dataVa - (NSDictionary *)readAttributeThermostatRunningModeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeThermostatRunningModeID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeThermostatRunningModeID) params:params]; } - (NSDictionary *)readAttributeStartOfWeekWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeStartOfWeekID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeStartOfWeekID) params:params]; } - (NSDictionary *)readAttributeNumberOfWeeklyTransitionsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeNumberOfWeeklyTransitionsID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeNumberOfWeeklyTransitionsID) params:params]; } - (NSDictionary *)readAttributeNumberOfDailyTransitionsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeNumberOfDailyTransitionsID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeNumberOfDailyTransitionsID) params:params]; } - (NSDictionary *)readAttributeTemperatureSetpointHoldWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeTemperatureSetpointHoldID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeTemperatureSetpointHoldID) params:params]; } @@ -11418,8 +11488,8 @@ - (void)writeAttributeTemperatureSetpointHoldWithValue:(NSDictionary *)readAttributeTemperatureSetpointHoldDurationWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeTemperatureSetpointHoldDurationID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeTemperatureSetpointHoldDurationID) params:params]; } @@ -11447,8 +11517,8 @@ - (void)writeAttributeTemperatureSetpointHoldDurationWithValue:(NSDictionary *)readAttributeThermostatProgrammingOperationModeWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeThermostatProgrammingOperationModeID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeThermostatProgrammingOperationModeID) + params:params]; } - (void)writeAttributeThermostatProgrammingOperationModeWithValue:(NSDictionary *)dataValueDictionary @@ -11476,8 +11547,8 @@ - (void)writeAttributeThermostatProgrammingOperationModeWithValue:(NSDictionary< NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeThermostatProgrammingOperationModeID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeThermostatProgrammingOperationModeID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -11486,40 +11557,40 @@ - (void)writeAttributeThermostatProgrammingOperationModeWithValue:(NSDictionary< - (NSDictionary *)readAttributeThermostatRunningStateWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeThermostatRunningStateID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeThermostatRunningStateID) params:params]; } - (NSDictionary *)readAttributeSetpointChangeSourceWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeSetpointChangeSourceID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeSetpointChangeSourceID) params:params]; } - (NSDictionary *)readAttributeSetpointChangeAmountWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeSetpointChangeAmountID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeSetpointChangeAmountID) params:params]; } - (NSDictionary *)readAttributeSetpointChangeSourceTimestampWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeSetpointChangeSourceTimestampID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeSetpointChangeSourceTimestampID) params:params]; } - (NSDictionary *)readAttributeOccupiedSetbackWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeOccupiedSetbackID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeOccupiedSetbackID) params:params]; } @@ -11535,8 +11606,8 @@ - (void)writeAttributeOccupiedSetbackWithValue:(NSDictionary *)d NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeOccupiedSetbackID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeOccupiedSetbackID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -11545,24 +11616,24 @@ - (void)writeAttributeOccupiedSetbackWithValue:(NSDictionary *)d - (NSDictionary *)readAttributeOccupiedSetbackMinWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeOccupiedSetbackMinID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeOccupiedSetbackMinID) params:params]; } - (NSDictionary *)readAttributeOccupiedSetbackMaxWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeOccupiedSetbackMaxID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeOccupiedSetbackMaxID) params:params]; } - (NSDictionary *)readAttributeUnoccupiedSetbackWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeUnoccupiedSetbackID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeUnoccupiedSetbackID) params:params]; } @@ -11578,8 +11649,8 @@ - (void)writeAttributeUnoccupiedSetbackWithValue:(NSDictionary * NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeUnoccupiedSetbackID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeUnoccupiedSetbackID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -11588,24 +11659,24 @@ - (void)writeAttributeUnoccupiedSetbackWithValue:(NSDictionary * - (NSDictionary *)readAttributeUnoccupiedSetbackMinWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeUnoccupiedSetbackMinID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeUnoccupiedSetbackMinID) params:params]; } - (NSDictionary *)readAttributeUnoccupiedSetbackMaxWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeUnoccupiedSetbackMaxID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeUnoccupiedSetbackMaxID) params:params]; } - (NSDictionary *)readAttributeEmergencyHeatDeltaWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeEmergencyHeatDeltaID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeEmergencyHeatDeltaID) params:params]; } @@ -11621,8 +11692,8 @@ - (void)writeAttributeEmergencyHeatDeltaWithValue:(NSDictionary NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeEmergencyHeatDeltaID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeEmergencyHeatDeltaID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -11631,8 +11702,8 @@ - (void)writeAttributeEmergencyHeatDeltaWithValue:(NSDictionary - (NSDictionary *)readAttributeACTypeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeACTypeID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeACTypeID) params:params]; } @@ -11648,8 +11719,8 @@ - (void)writeAttributeACTypeWithValue:(NSDictionary *)dataValueD NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeACTypeID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeACTypeID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -11658,8 +11729,8 @@ - (void)writeAttributeACTypeWithValue:(NSDictionary *)dataValueD - (NSDictionary *)readAttributeACCapacityWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeACCapacityID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeACCapacityID) params:params]; } @@ -11675,8 +11746,8 @@ - (void)writeAttributeACCapacityWithValue:(NSDictionary *)dataVa NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeACCapacityID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeACCapacityID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -11685,8 +11756,8 @@ - (void)writeAttributeACCapacityWithValue:(NSDictionary *)dataVa - (NSDictionary *)readAttributeACRefrigerantTypeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeACRefrigerantTypeID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeACRefrigerantTypeID) params:params]; } @@ -11702,8 +11773,8 @@ - (void)writeAttributeACRefrigerantTypeWithValue:(NSDictionary * NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeACRefrigerantTypeID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeACRefrigerantTypeID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -11712,8 +11783,8 @@ - (void)writeAttributeACRefrigerantTypeWithValue:(NSDictionary * - (NSDictionary *)readAttributeACCompressorTypeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeACCompressorTypeID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeACCompressorTypeID) params:params]; } @@ -11729,8 +11800,8 @@ - (void)writeAttributeACCompressorTypeWithValue:(NSDictionary *) NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeACCompressorTypeID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeACCompressorTypeID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -11739,8 +11810,8 @@ - (void)writeAttributeACCompressorTypeWithValue:(NSDictionary *) - (NSDictionary *)readAttributeACErrorCodeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeACErrorCodeID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeACErrorCodeID) params:params]; } @@ -11756,8 +11827,8 @@ - (void)writeAttributeACErrorCodeWithValue:(NSDictionary *)dataV NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeACErrorCodeID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeACErrorCodeID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -11766,8 +11837,8 @@ - (void)writeAttributeACErrorCodeWithValue:(NSDictionary *)dataV - (NSDictionary *)readAttributeACLouverPositionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeACLouverPositionID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeACLouverPositionID) params:params]; } @@ -11783,8 +11854,8 @@ - (void)writeAttributeACLouverPositionWithValue:(NSDictionary *) NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeACLouverPositionID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeACLouverPositionID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -11793,16 +11864,16 @@ - (void)writeAttributeACLouverPositionWithValue:(NSDictionary *) - (NSDictionary *)readAttributeACCoilTemperatureWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeACCoilTemperatureID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeACCoilTemperatureID) params:params]; } - (NSDictionary *)readAttributeACCapacityformatWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeACCapacityformatID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeACCapacityformatID) params:params]; } @@ -11818,8 +11889,8 @@ - (void)writeAttributeACCapacityformatWithValue:(NSDictionary *) NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeACCapacityformatID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeACCapacityformatID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -11828,40 +11899,40 @@ - (void)writeAttributeACCapacityformatWithValue:(NSDictionary *) - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeGeneratedCommandListID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeGeneratedCommandListID) params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeAcceptedCommandListID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeAcceptedCommandListID) params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatID) - attributeID:@(MTRClusterThermostatAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeThermostatID) + attributeID:@(MTRAttributeIDTypeClusterThermostatAttributeClusterRevisionID) params:params]; } @@ -11885,8 +11956,8 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(NSNumber *)endpoint - (NSDictionary *)readAttributeFanModeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterFanControlID) - attributeID:@(MTRClusterFanControlAttributeFanModeID) + clusterID:@(MTRClusterIDTypeFanControlID) + attributeID:@(MTRAttributeIDTypeClusterFanControlAttributeFanModeID) params:params]; } @@ -11902,8 +11973,8 @@ - (void)writeAttributeFanModeWithValue:(NSDictionary *)dataValue NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterFanControlID) - attributeID:@(MTRClusterFanControlAttributeFanModeID) + clusterID:@(MTRClusterIDTypeFanControlID) + attributeID:@(MTRAttributeIDTypeClusterFanControlAttributeFanModeID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -11912,8 +11983,8 @@ - (void)writeAttributeFanModeWithValue:(NSDictionary *)dataValue - (NSDictionary *)readAttributeFanModeSequenceWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterFanControlID) - attributeID:@(MTRClusterFanControlAttributeFanModeSequenceID) + clusterID:@(MTRClusterIDTypeFanControlID) + attributeID:@(MTRAttributeIDTypeClusterFanControlAttributeFanModeSequenceID) params:params]; } @@ -11929,8 +12000,8 @@ - (void)writeAttributeFanModeSequenceWithValue:(NSDictionary *)d NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterFanControlID) - attributeID:@(MTRClusterFanControlAttributeFanModeSequenceID) + clusterID:@(MTRClusterIDTypeFanControlID) + attributeID:@(MTRAttributeIDTypeClusterFanControlAttributeFanModeSequenceID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -11939,8 +12010,8 @@ - (void)writeAttributeFanModeSequenceWithValue:(NSDictionary *)d - (NSDictionary *)readAttributePercentSettingWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterFanControlID) - attributeID:@(MTRClusterFanControlAttributePercentSettingID) + clusterID:@(MTRClusterIDTypeFanControlID) + attributeID:@(MTRAttributeIDTypeClusterFanControlAttributePercentSettingID) params:params]; } @@ -11956,8 +12027,8 @@ - (void)writeAttributePercentSettingWithValue:(NSDictionary *)da NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterFanControlID) - attributeID:@(MTRClusterFanControlAttributePercentSettingID) + clusterID:@(MTRClusterIDTypeFanControlID) + attributeID:@(MTRAttributeIDTypeClusterFanControlAttributePercentSettingID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -11966,24 +12037,24 @@ - (void)writeAttributePercentSettingWithValue:(NSDictionary *)da - (NSDictionary *)readAttributePercentCurrentWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterFanControlID) - attributeID:@(MTRClusterFanControlAttributePercentCurrentID) + clusterID:@(MTRClusterIDTypeFanControlID) + attributeID:@(MTRAttributeIDTypeClusterFanControlAttributePercentCurrentID) params:params]; } - (NSDictionary *)readAttributeSpeedMaxWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterFanControlID) - attributeID:@(MTRClusterFanControlAttributeSpeedMaxID) + clusterID:@(MTRClusterIDTypeFanControlID) + attributeID:@(MTRAttributeIDTypeClusterFanControlAttributeSpeedMaxID) params:params]; } - (NSDictionary *)readAttributeSpeedSettingWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterFanControlID) - attributeID:@(MTRClusterFanControlAttributeSpeedSettingID) + clusterID:@(MTRClusterIDTypeFanControlID) + attributeID:@(MTRAttributeIDTypeClusterFanControlAttributeSpeedSettingID) params:params]; } @@ -11999,8 +12070,8 @@ - (void)writeAttributeSpeedSettingWithValue:(NSDictionary *)data NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterFanControlID) - attributeID:@(MTRClusterFanControlAttributeSpeedSettingID) + clusterID:@(MTRClusterIDTypeFanControlID) + attributeID:@(MTRAttributeIDTypeClusterFanControlAttributeSpeedSettingID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -12009,24 +12080,24 @@ - (void)writeAttributeSpeedSettingWithValue:(NSDictionary *)data - (NSDictionary *)readAttributeSpeedCurrentWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterFanControlID) - attributeID:@(MTRClusterFanControlAttributeSpeedCurrentID) + clusterID:@(MTRClusterIDTypeFanControlID) + attributeID:@(MTRAttributeIDTypeClusterFanControlAttributeSpeedCurrentID) params:params]; } - (NSDictionary *)readAttributeRockSupportWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterFanControlID) - attributeID:@(MTRClusterFanControlAttributeRockSupportID) + clusterID:@(MTRClusterIDTypeFanControlID) + attributeID:@(MTRAttributeIDTypeClusterFanControlAttributeRockSupportID) params:params]; } - (NSDictionary *)readAttributeRockSettingWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterFanControlID) - attributeID:@(MTRClusterFanControlAttributeRockSettingID) + clusterID:@(MTRClusterIDTypeFanControlID) + attributeID:@(MTRAttributeIDTypeClusterFanControlAttributeRockSettingID) params:params]; } @@ -12042,8 +12113,8 @@ - (void)writeAttributeRockSettingWithValue:(NSDictionary *)dataV NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterFanControlID) - attributeID:@(MTRClusterFanControlAttributeRockSettingID) + clusterID:@(MTRClusterIDTypeFanControlID) + attributeID:@(MTRAttributeIDTypeClusterFanControlAttributeRockSettingID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -12052,16 +12123,16 @@ - (void)writeAttributeRockSettingWithValue:(NSDictionary *)dataV - (NSDictionary *)readAttributeWindSupportWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterFanControlID) - attributeID:@(MTRClusterFanControlAttributeWindSupportID) + clusterID:@(MTRClusterIDTypeFanControlID) + attributeID:@(MTRAttributeIDTypeClusterFanControlAttributeWindSupportID) params:params]; } - (NSDictionary *)readAttributeWindSettingWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterFanControlID) - attributeID:@(MTRClusterFanControlAttributeWindSettingID) + clusterID:@(MTRClusterIDTypeFanControlID) + attributeID:@(MTRAttributeIDTypeClusterFanControlAttributeWindSettingID) params:params]; } @@ -12077,8 +12148,8 @@ - (void)writeAttributeWindSettingWithValue:(NSDictionary *)dataV NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterFanControlID) - attributeID:@(MTRClusterFanControlAttributeWindSettingID) + clusterID:@(MTRClusterIDTypeFanControlID) + attributeID:@(MTRAttributeIDTypeClusterFanControlAttributeWindSettingID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -12087,40 +12158,40 @@ - (void)writeAttributeWindSettingWithValue:(NSDictionary *)dataV - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterFanControlID) - attributeID:@(MTRClusterFanControlAttributeGeneratedCommandListID) + clusterID:@(MTRClusterIDTypeFanControlID) + attributeID:@(MTRAttributeIDTypeClusterFanControlAttributeGeneratedCommandListID) params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterFanControlID) - attributeID:@(MTRClusterFanControlAttributeAcceptedCommandListID) + clusterID:@(MTRClusterIDTypeFanControlID) + attributeID:@(MTRAttributeIDTypeClusterFanControlAttributeAcceptedCommandListID) params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterFanControlID) - attributeID:@(MTRClusterFanControlAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeFanControlID) + attributeID:@(MTRAttributeIDTypeClusterFanControlAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterFanControlID) - attributeID:@(MTRClusterFanControlAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeFanControlID) + attributeID:@(MTRAttributeIDTypeClusterFanControlAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterFanControlID) - attributeID:@(MTRClusterFanControlAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeFanControlID) + attributeID:@(MTRAttributeIDTypeClusterFanControlAttributeClusterRevisionID) params:params]; } @@ -12143,11 +12214,12 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(NSNumber *)endpoint - (NSDictionary *)readAttributeTemperatureDisplayModeWithParams:(MTRReadParams * _Nullable)params { - return - [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatUserInterfaceConfigurationID) - attributeID:@(MTRClusterThermostatUserInterfaceConfigurationAttributeTemperatureDisplayModeID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeThermostatUserInterfaceConfigurationID) + attributeID: + @(MTRAttributeIDTypeClusterThermostatUserInterfaceConfigurationAttributeTemperatureDisplayModeID) + params:params]; } - (void)writeAttributeTemperatureDisplayModeWithValue:(NSDictionary *)dataValueDictionary @@ -12163,20 +12235,23 @@ - (void)writeAttributeTemperatureDisplayModeWithValue:(NSDictionary *)readAttributeKeypadLockoutWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatUserInterfaceConfigurationID) - attributeID:@(MTRClusterThermostatUserInterfaceConfigurationAttributeKeypadLockoutID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeThermostatUserInterfaceConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterThermostatUserInterfaceConfigurationAttributeKeypadLockoutID) + params:params]; } - (void)writeAttributeKeypadLockoutWithValue:(NSDictionary *)dataValueDictionary @@ -12190,20 +12265,22 @@ - (void)writeAttributeKeypadLockoutWithValue:(NSDictionary *)dat { NSNumber * timedWriteTimeout = params.timedWriteTimeout; - [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatUserInterfaceConfigurationID) - attributeID:@(MTRClusterThermostatUserInterfaceConfigurationAttributeKeypadLockoutID) - value:dataValueDictionary - expectedValueInterval:expectedValueIntervalMs - timedWriteTimeout:timedWriteTimeout]; + [self.device + writeAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeThermostatUserInterfaceConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterThermostatUserInterfaceConfigurationAttributeKeypadLockoutID) + value:dataValueDictionary + expectedValueInterval:expectedValueIntervalMs + timedWriteTimeout:timedWriteTimeout]; } - (NSDictionary *)readAttributeScheduleProgrammingVisibilityWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatUserInterfaceConfigurationID) - attributeID:@(MTRClusterThermostatUserInterfaceConfigurationAttributeScheduleProgrammingVisibilityID) + clusterID:@(MTRClusterIDTypeThermostatUserInterfaceConfigurationID) + attributeID: + @(MTRAttributeIDTypeClusterThermostatUserInterfaceConfigurationAttributeScheduleProgrammingVisibilityID) params:params]; } @@ -12222,8 +12299,9 @@ - (void)writeAttributeScheduleProgrammingVisibilityWithValue:(NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatUserInterfaceConfigurationID) - attributeID:@(MTRClusterThermostatUserInterfaceConfigurationAttributeGeneratedCommandListID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeThermostatUserInterfaceConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterThermostatUserInterfaceConfigurationAttributeGeneratedCommandListID) + params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatUserInterfaceConfigurationID) - attributeID:@(MTRClusterThermostatUserInterfaceConfigurationAttributeAcceptedCommandListID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeThermostatUserInterfaceConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterThermostatUserInterfaceConfigurationAttributeAcceptedCommandListID) + params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatUserInterfaceConfigurationID) - attributeID:@(MTRClusterThermostatUserInterfaceConfigurationAttributeAttributeListID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeThermostatUserInterfaceConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterThermostatUserInterfaceConfigurationAttributeAttributeListID) + params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatUserInterfaceConfigurationID) - attributeID:@(MTRClusterThermostatUserInterfaceConfigurationAttributeFeatureMapID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeThermostatUserInterfaceConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterThermostatUserInterfaceConfigurationAttributeFeatureMapID) + params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterThermostatUserInterfaceConfigurationID) - attributeID:@(MTRClusterThermostatUserInterfaceConfigurationAttributeClusterRevisionID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeThermostatUserInterfaceConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterThermostatUserInterfaceConfigurationAttributeClusterRevisionID) + params:params]; } @end @@ -13011,80 +13094,80 @@ new MTRCommandSuccessCallbackBridge( - (NSDictionary *)readAttributeCurrentHueWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributeCurrentHueID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeCurrentHueID) params:params]; } - (NSDictionary *)readAttributeCurrentSaturationWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributeCurrentSaturationID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeCurrentSaturationID) params:params]; } - (NSDictionary *)readAttributeRemainingTimeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributeRemainingTimeID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeRemainingTimeID) params:params]; } - (NSDictionary *)readAttributeCurrentXWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributeCurrentXID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeCurrentXID) params:params]; } - (NSDictionary *)readAttributeCurrentYWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributeCurrentYID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeCurrentYID) params:params]; } - (NSDictionary *)readAttributeDriftCompensationWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributeDriftCompensationID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeDriftCompensationID) params:params]; } - (NSDictionary *)readAttributeCompensationTextWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributeCompensationTextID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeCompensationTextID) params:params]; } - (NSDictionary *)readAttributeColorTemperatureMiredsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributeColorTemperatureMiredsID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeColorTemperatureMiredsID) params:params]; } - (NSDictionary *)readAttributeColorModeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributeColorModeID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeColorModeID) params:params]; } - (NSDictionary *)readAttributeOptionsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributeOptionsID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeOptionsID) params:params]; } @@ -13100,8 +13183,8 @@ - (void)writeAttributeOptionsWithValue:(NSDictionary *)dataValue NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributeOptionsID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeOptionsID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -13110,160 +13193,160 @@ - (void)writeAttributeOptionsWithValue:(NSDictionary *)dataValue - (NSDictionary *)readAttributeNumberOfPrimariesWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributeNumberOfPrimariesID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeNumberOfPrimariesID) params:params]; } - (NSDictionary *)readAttributePrimary1XWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributePrimary1XID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributePrimary1XID) params:params]; } - (NSDictionary *)readAttributePrimary1YWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributePrimary1YID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributePrimary1YID) params:params]; } - (NSDictionary *)readAttributePrimary1IntensityWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributePrimary1IntensityID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributePrimary1IntensityID) params:params]; } - (NSDictionary *)readAttributePrimary2XWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributePrimary2XID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributePrimary2XID) params:params]; } - (NSDictionary *)readAttributePrimary2YWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributePrimary2YID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributePrimary2YID) params:params]; } - (NSDictionary *)readAttributePrimary2IntensityWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributePrimary2IntensityID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributePrimary2IntensityID) params:params]; } - (NSDictionary *)readAttributePrimary3XWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributePrimary3XID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributePrimary3XID) params:params]; } - (NSDictionary *)readAttributePrimary3YWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributePrimary3YID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributePrimary3YID) params:params]; } - (NSDictionary *)readAttributePrimary3IntensityWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributePrimary3IntensityID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributePrimary3IntensityID) params:params]; } - (NSDictionary *)readAttributePrimary4XWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributePrimary4XID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributePrimary4XID) params:params]; } - (NSDictionary *)readAttributePrimary4YWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributePrimary4YID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributePrimary4YID) params:params]; } - (NSDictionary *)readAttributePrimary4IntensityWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributePrimary4IntensityID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributePrimary4IntensityID) params:params]; } - (NSDictionary *)readAttributePrimary5XWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributePrimary5XID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributePrimary5XID) params:params]; } - (NSDictionary *)readAttributePrimary5YWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributePrimary5YID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributePrimary5YID) params:params]; } - (NSDictionary *)readAttributePrimary5IntensityWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributePrimary5IntensityID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributePrimary5IntensityID) params:params]; } - (NSDictionary *)readAttributePrimary6XWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributePrimary6XID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributePrimary6XID) params:params]; } - (NSDictionary *)readAttributePrimary6YWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributePrimary6YID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributePrimary6YID) params:params]; } - (NSDictionary *)readAttributePrimary6IntensityWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributePrimary6IntensityID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributePrimary6IntensityID) params:params]; } - (NSDictionary *)readAttributeWhitePointXWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributeWhitePointXID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeWhitePointXID) params:params]; } @@ -13279,8 +13362,8 @@ - (void)writeAttributeWhitePointXWithValue:(NSDictionary *)dataV NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributeWhitePointXID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeWhitePointXID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -13289,8 +13372,8 @@ - (void)writeAttributeWhitePointXWithValue:(NSDictionary *)dataV - (NSDictionary *)readAttributeWhitePointYWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributeWhitePointYID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeWhitePointYID) params:params]; } @@ -13306,8 +13389,8 @@ - (void)writeAttributeWhitePointYWithValue:(NSDictionary *)dataV NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributeWhitePointYID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeWhitePointYID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -13316,8 +13399,8 @@ - (void)writeAttributeWhitePointYWithValue:(NSDictionary *)dataV - (NSDictionary *)readAttributeColorPointRXWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributeColorPointRXID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeColorPointRXID) params:params]; } @@ -13333,8 +13416,8 @@ - (void)writeAttributeColorPointRXWithValue:(NSDictionary *)data NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributeColorPointRXID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeColorPointRXID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -13343,8 +13426,8 @@ - (void)writeAttributeColorPointRXWithValue:(NSDictionary *)data - (NSDictionary *)readAttributeColorPointRYWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributeColorPointRYID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeColorPointRYID) params:params]; } @@ -13360,8 +13443,8 @@ - (void)writeAttributeColorPointRYWithValue:(NSDictionary *)data NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributeColorPointRYID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeColorPointRYID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -13370,8 +13453,8 @@ - (void)writeAttributeColorPointRYWithValue:(NSDictionary *)data - (NSDictionary *)readAttributeColorPointRIntensityWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributeColorPointRIntensityID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeColorPointRIntensityID) params:params]; } @@ -13387,8 +13470,8 @@ - (void)writeAttributeColorPointRIntensityWithValue:(NSDictionary *)readAttributeColorPointGXWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributeColorPointGXID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeColorPointGXID) params:params]; } @@ -13414,8 +13497,8 @@ - (void)writeAttributeColorPointGXWithValue:(NSDictionary *)data NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributeColorPointGXID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeColorPointGXID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -13424,8 +13507,8 @@ - (void)writeAttributeColorPointGXWithValue:(NSDictionary *)data - (NSDictionary *)readAttributeColorPointGYWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributeColorPointGYID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeColorPointGYID) params:params]; } @@ -13441,8 +13524,8 @@ - (void)writeAttributeColorPointGYWithValue:(NSDictionary *)data NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributeColorPointGYID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeColorPointGYID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -13451,8 +13534,8 @@ - (void)writeAttributeColorPointGYWithValue:(NSDictionary *)data - (NSDictionary *)readAttributeColorPointGIntensityWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributeColorPointGIntensityID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeColorPointGIntensityID) params:params]; } @@ -13468,8 +13551,8 @@ - (void)writeAttributeColorPointGIntensityWithValue:(NSDictionary *)readAttributeColorPointBXWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributeColorPointBXID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeColorPointBXID) params:params]; } @@ -13495,8 +13578,8 @@ - (void)writeAttributeColorPointBXWithValue:(NSDictionary *)data NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributeColorPointBXID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeColorPointBXID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -13505,8 +13588,8 @@ - (void)writeAttributeColorPointBXWithValue:(NSDictionary *)data - (NSDictionary *)readAttributeColorPointBYWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributeColorPointBYID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeColorPointBYID) params:params]; } @@ -13522,8 +13605,8 @@ - (void)writeAttributeColorPointBYWithValue:(NSDictionary *)data NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributeColorPointBYID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeColorPointBYID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -13532,8 +13615,8 @@ - (void)writeAttributeColorPointBYWithValue:(NSDictionary *)data - (NSDictionary *)readAttributeColorPointBIntensityWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributeColorPointBIntensityID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeColorPointBIntensityID) params:params]; } @@ -13549,8 +13632,8 @@ - (void)writeAttributeColorPointBIntensityWithValue:(NSDictionary *)readAttributeEnhancedCurrentHueWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributeEnhancedCurrentHueID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeEnhancedCurrentHueID) params:params]; } - (NSDictionary *)readAttributeEnhancedColorModeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributeEnhancedColorModeID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeEnhancedColorModeID) params:params]; } - (NSDictionary *)readAttributeColorLoopActiveWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributeColorLoopActiveID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeColorLoopActiveID) params:params]; } - (NSDictionary *)readAttributeColorLoopDirectionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributeColorLoopDirectionID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeColorLoopDirectionID) params:params]; } - (NSDictionary *)readAttributeColorLoopTimeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributeColorLoopTimeID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeColorLoopTimeID) params:params]; } - (NSDictionary *)readAttributeColorLoopStartEnhancedHueWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributeColorLoopStartEnhancedHueID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeColorLoopStartEnhancedHueID) params:params]; } - (NSDictionary *)readAttributeColorLoopStoredEnhancedHueWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributeColorLoopStoredEnhancedHueID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeColorLoopStoredEnhancedHueID) params:params]; } - (NSDictionary *)readAttributeColorCapabilitiesWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributeColorCapabilitiesID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeColorCapabilitiesID) params:params]; } - (NSDictionary *)readAttributeColorTempPhysicalMinMiredsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributeColorTempPhysicalMinMiredsID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeColorTempPhysicalMinMiredsID) params:params]; } - (NSDictionary *)readAttributeColorTempPhysicalMaxMiredsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributeColorTempPhysicalMaxMiredsID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeColorTempPhysicalMaxMiredsID) params:params]; } - (NSDictionary *)readAttributeCoupleColorTempToLevelMinMiredsWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributeCoupleColorTempToLevelMinMiredsID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeCoupleColorTempToLevelMinMiredsID) + params:params]; } - (NSDictionary *)readAttributeStartUpColorTemperatureMiredsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributeStartUpColorTemperatureMiredsID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeStartUpColorTemperatureMiredsID) params:params]; } @@ -13666,8 +13750,8 @@ - (void)writeAttributeStartUpColorTemperatureMiredsWithValue:(NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributeGeneratedCommandListID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeGeneratedCommandListID) params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributeAcceptedCommandListID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeAcceptedCommandListID) params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterColorControlID) - attributeID:@(MTRClusterColorControlAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeColorControlID) + attributeID:@(MTRAttributeIDTypeClusterColorControlAttributeClusterRevisionID) params:params]; } @@ -13733,32 +13817,32 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(NSNumber *)endpoint - (NSDictionary *)readAttributePhysicalMinLevelWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBallastConfigurationID) - attributeID:@(MTRClusterBallastConfigurationAttributePhysicalMinLevelID) + clusterID:@(MTRClusterIDTypeBallastConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterBallastConfigurationAttributePhysicalMinLevelID) params:params]; } - (NSDictionary *)readAttributePhysicalMaxLevelWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBallastConfigurationID) - attributeID:@(MTRClusterBallastConfigurationAttributePhysicalMaxLevelID) + clusterID:@(MTRClusterIDTypeBallastConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterBallastConfigurationAttributePhysicalMaxLevelID) params:params]; } - (NSDictionary *)readAttributeBallastStatusWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBallastConfigurationID) - attributeID:@(MTRClusterBallastConfigurationAttributeBallastStatusID) + clusterID:@(MTRClusterIDTypeBallastConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterBallastConfigurationAttributeBallastStatusID) params:params]; } - (NSDictionary *)readAttributeMinLevelWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBallastConfigurationID) - attributeID:@(MTRClusterBallastConfigurationAttributeMinLevelID) + clusterID:@(MTRClusterIDTypeBallastConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterBallastConfigurationAttributeMinLevelID) params:params]; } @@ -13774,8 +13858,8 @@ - (void)writeAttributeMinLevelWithValue:(NSDictionary *)dataValu NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBallastConfigurationID) - attributeID:@(MTRClusterBallastConfigurationAttributeMinLevelID) + clusterID:@(MTRClusterIDTypeBallastConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterBallastConfigurationAttributeMinLevelID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -13784,8 +13868,8 @@ - (void)writeAttributeMinLevelWithValue:(NSDictionary *)dataValu - (NSDictionary *)readAttributeMaxLevelWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBallastConfigurationID) - attributeID:@(MTRClusterBallastConfigurationAttributeMaxLevelID) + clusterID:@(MTRClusterIDTypeBallastConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterBallastConfigurationAttributeMaxLevelID) params:params]; } @@ -13801,8 +13885,8 @@ - (void)writeAttributeMaxLevelWithValue:(NSDictionary *)dataValu NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBallastConfigurationID) - attributeID:@(MTRClusterBallastConfigurationAttributeMaxLevelID) + clusterID:@(MTRClusterIDTypeBallastConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterBallastConfigurationAttributeMaxLevelID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -13810,10 +13894,11 @@ - (void)writeAttributeMaxLevelWithValue:(NSDictionary *)dataValu - (NSDictionary *)readAttributeIntrinsicBalanceFactorWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBallastConfigurationID) - attributeID:@(MTRClusterBallastConfigurationAttributeIntrinsicBalanceFactorID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeBallastConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterBallastConfigurationAttributeIntrinsicBalanceFactorID) + params:params]; } - (void)writeAttributeIntrinsicBalanceFactorWithValue:(NSDictionary *)dataValueDictionary @@ -13830,8 +13915,8 @@ - (void)writeAttributeIntrinsicBalanceFactorWithValue:(NSDictionary *)readAttributeBallastFactorAdjustmentWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBallastConfigurationID) - attributeID:@(MTRClusterBallastConfigurationAttributeBallastFactorAdjustmentID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeBallastConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterBallastConfigurationAttributeBallastFactorAdjustmentID) + params:params]; } - (void)writeAttributeBallastFactorAdjustmentWithValue:(NSDictionary *)dataValueDictionary @@ -13859,8 +13945,8 @@ - (void)writeAttributeBallastFactorAdjustmentWithValue:(NSDictionary *)readAttributeLampQuantityWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBallastConfigurationID) - attributeID:@(MTRClusterBallastConfigurationAttributeLampQuantityID) + clusterID:@(MTRClusterIDTypeBallastConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterBallastConfigurationAttributeLampQuantityID) params:params]; } - (NSDictionary *)readAttributeLampTypeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBallastConfigurationID) - attributeID:@(MTRClusterBallastConfigurationAttributeLampTypeID) + clusterID:@(MTRClusterIDTypeBallastConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterBallastConfigurationAttributeLampTypeID) params:params]; } @@ -13894,8 +13980,8 @@ - (void)writeAttributeLampTypeWithValue:(NSDictionary *)dataValu NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBallastConfigurationID) - attributeID:@(MTRClusterBallastConfigurationAttributeLampTypeID) + clusterID:@(MTRClusterIDTypeBallastConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterBallastConfigurationAttributeLampTypeID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -13904,8 +13990,8 @@ - (void)writeAttributeLampTypeWithValue:(NSDictionary *)dataValu - (NSDictionary *)readAttributeLampManufacturerWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBallastConfigurationID) - attributeID:@(MTRClusterBallastConfigurationAttributeLampManufacturerID) + clusterID:@(MTRClusterIDTypeBallastConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterBallastConfigurationAttributeLampManufacturerID) params:params]; } @@ -13921,8 +14007,8 @@ - (void)writeAttributeLampManufacturerWithValue:(NSDictionary *) NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBallastConfigurationID) - attributeID:@(MTRClusterBallastConfigurationAttributeLampManufacturerID) + clusterID:@(MTRClusterIDTypeBallastConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterBallastConfigurationAttributeLampManufacturerID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -13931,8 +14017,8 @@ - (void)writeAttributeLampManufacturerWithValue:(NSDictionary *) - (NSDictionary *)readAttributeLampRatedHoursWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBallastConfigurationID) - attributeID:@(MTRClusterBallastConfigurationAttributeLampRatedHoursID) + clusterID:@(MTRClusterIDTypeBallastConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterBallastConfigurationAttributeLampRatedHoursID) params:params]; } @@ -13948,8 +14034,8 @@ - (void)writeAttributeLampRatedHoursWithValue:(NSDictionary *)da NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBallastConfigurationID) - attributeID:@(MTRClusterBallastConfigurationAttributeLampRatedHoursID) + clusterID:@(MTRClusterIDTypeBallastConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterBallastConfigurationAttributeLampRatedHoursID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -13958,8 +14044,8 @@ - (void)writeAttributeLampRatedHoursWithValue:(NSDictionary *)da - (NSDictionary *)readAttributeLampBurnHoursWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBallastConfigurationID) - attributeID:@(MTRClusterBallastConfigurationAttributeLampBurnHoursID) + clusterID:@(MTRClusterIDTypeBallastConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterBallastConfigurationAttributeLampBurnHoursID) params:params]; } @@ -13975,8 +14061,8 @@ - (void)writeAttributeLampBurnHoursWithValue:(NSDictionary *)dat NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBallastConfigurationID) - attributeID:@(MTRClusterBallastConfigurationAttributeLampBurnHoursID) + clusterID:@(MTRClusterIDTypeBallastConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterBallastConfigurationAttributeLampBurnHoursID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -13985,8 +14071,8 @@ - (void)writeAttributeLampBurnHoursWithValue:(NSDictionary *)dat - (NSDictionary *)readAttributeLampAlarmModeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBallastConfigurationID) - attributeID:@(MTRClusterBallastConfigurationAttributeLampAlarmModeID) + clusterID:@(MTRClusterIDTypeBallastConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterBallastConfigurationAttributeLampAlarmModeID) params:params]; } @@ -14002,8 +14088,8 @@ - (void)writeAttributeLampAlarmModeWithValue:(NSDictionary *)dat NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBallastConfigurationID) - attributeID:@(MTRClusterBallastConfigurationAttributeLampAlarmModeID) + clusterID:@(MTRClusterIDTypeBallastConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterBallastConfigurationAttributeLampAlarmModeID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -14011,10 +14097,11 @@ - (void)writeAttributeLampAlarmModeWithValue:(NSDictionary *)dat - (NSDictionary *)readAttributeLampBurnHoursTripPointWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBallastConfigurationID) - attributeID:@(MTRClusterBallastConfigurationAttributeLampBurnHoursTripPointID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeBallastConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterBallastConfigurationAttributeLampBurnHoursTripPointID) + params:params]; } - (void)writeAttributeLampBurnHoursTripPointWithValue:(NSDictionary *)dataValueDictionary @@ -14031,8 +14118,8 @@ - (void)writeAttributeLampBurnHoursTripPointWithValue:(NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBallastConfigurationID) - attributeID:@(MTRClusterBallastConfigurationAttributeGeneratedCommandListID) + clusterID:@(MTRClusterIDTypeBallastConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterBallastConfigurationAttributeGeneratedCommandListID) params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBallastConfigurationID) - attributeID:@(MTRClusterBallastConfigurationAttributeAcceptedCommandListID) + clusterID:@(MTRClusterIDTypeBallastConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterBallastConfigurationAttributeAcceptedCommandListID) params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBallastConfigurationID) - attributeID:@(MTRClusterBallastConfigurationAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeBallastConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterBallastConfigurationAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBallastConfigurationID) - attributeID:@(MTRClusterBallastConfigurationAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeBallastConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterBallastConfigurationAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterBallastConfigurationID) - attributeID:@(MTRClusterBallastConfigurationAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeBallastConfigurationID) + attributeID:@(MTRAttributeIDTypeClusterBallastConfigurationAttributeClusterRevisionID) params:params]; } @@ -14098,80 +14185,81 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(NSNumber *)endpoint - (NSDictionary *)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterIlluminanceMeasurementID) - attributeID:@(MTRClusterIlluminanceMeasurementAttributeMeasuredValueID) + clusterID:@(MTRClusterIDTypeIlluminanceMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterIlluminanceMeasurementAttributeMeasuredValueID) params:params]; } - (NSDictionary *)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterIlluminanceMeasurementID) - attributeID:@(MTRClusterIlluminanceMeasurementAttributeMinMeasuredValueID) + clusterID:@(MTRClusterIDTypeIlluminanceMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterIlluminanceMeasurementAttributeMinMeasuredValueID) params:params]; } - (NSDictionary *)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterIlluminanceMeasurementID) - attributeID:@(MTRClusterIlluminanceMeasurementAttributeMaxMeasuredValueID) + clusterID:@(MTRClusterIDTypeIlluminanceMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterIlluminanceMeasurementAttributeMaxMeasuredValueID) params:params]; } - (NSDictionary *)readAttributeToleranceWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterIlluminanceMeasurementID) - attributeID:@(MTRClusterIlluminanceMeasurementAttributeToleranceID) + clusterID:@(MTRClusterIDTypeIlluminanceMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterIlluminanceMeasurementAttributeToleranceID) params:params]; } - (NSDictionary *)readAttributeLightSensorTypeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterIlluminanceMeasurementID) - attributeID:@(MTRClusterIlluminanceMeasurementAttributeLightSensorTypeID) + clusterID:@(MTRClusterIDTypeIlluminanceMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterIlluminanceMeasurementAttributeLightSensorTypeID) params:params]; } - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterIlluminanceMeasurementID) - attributeID:@(MTRClusterIlluminanceMeasurementAttributeGeneratedCommandListID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeIlluminanceMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterIlluminanceMeasurementAttributeGeneratedCommandListID) + params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterIlluminanceMeasurementID) - attributeID:@(MTRClusterIlluminanceMeasurementAttributeAcceptedCommandListID) + clusterID:@(MTRClusterIDTypeIlluminanceMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterIlluminanceMeasurementAttributeAcceptedCommandListID) params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterIlluminanceMeasurementID) - attributeID:@(MTRClusterIlluminanceMeasurementAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeIlluminanceMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterIlluminanceMeasurementAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterIlluminanceMeasurementID) - attributeID:@(MTRClusterIlluminanceMeasurementAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeIlluminanceMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterIlluminanceMeasurementAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterIlluminanceMeasurementID) - attributeID:@(MTRClusterIlluminanceMeasurementAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeIlluminanceMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterIlluminanceMeasurementAttributeClusterRevisionID) params:params]; } @@ -14195,72 +14283,73 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(NSNumber *)endpoint - (NSDictionary *)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTemperatureMeasurementID) - attributeID:@(MTRClusterTemperatureMeasurementAttributeMeasuredValueID) + clusterID:@(MTRClusterIDTypeTemperatureMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterTemperatureMeasurementAttributeMeasuredValueID) params:params]; } - (NSDictionary *)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTemperatureMeasurementID) - attributeID:@(MTRClusterTemperatureMeasurementAttributeMinMeasuredValueID) + clusterID:@(MTRClusterIDTypeTemperatureMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterTemperatureMeasurementAttributeMinMeasuredValueID) params:params]; } - (NSDictionary *)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTemperatureMeasurementID) - attributeID:@(MTRClusterTemperatureMeasurementAttributeMaxMeasuredValueID) + clusterID:@(MTRClusterIDTypeTemperatureMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterTemperatureMeasurementAttributeMaxMeasuredValueID) params:params]; } - (NSDictionary *)readAttributeToleranceWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTemperatureMeasurementID) - attributeID:@(MTRClusterTemperatureMeasurementAttributeToleranceID) + clusterID:@(MTRClusterIDTypeTemperatureMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterTemperatureMeasurementAttributeToleranceID) params:params]; } - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTemperatureMeasurementID) - attributeID:@(MTRClusterTemperatureMeasurementAttributeGeneratedCommandListID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeTemperatureMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterTemperatureMeasurementAttributeGeneratedCommandListID) + params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTemperatureMeasurementID) - attributeID:@(MTRClusterTemperatureMeasurementAttributeAcceptedCommandListID) + clusterID:@(MTRClusterIDTypeTemperatureMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterTemperatureMeasurementAttributeAcceptedCommandListID) params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTemperatureMeasurementID) - attributeID:@(MTRClusterTemperatureMeasurementAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeTemperatureMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterTemperatureMeasurementAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTemperatureMeasurementID) - attributeID:@(MTRClusterTemperatureMeasurementAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeTemperatureMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterTemperatureMeasurementAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTemperatureMeasurementID) - attributeID:@(MTRClusterTemperatureMeasurementAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeTemperatureMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterTemperatureMeasurementAttributeClusterRevisionID) params:params]; } @@ -14284,112 +14373,112 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(NSNumber *)endpoint - (NSDictionary *)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPressureMeasurementID) - attributeID:@(MTRClusterPressureMeasurementAttributeMeasuredValueID) + clusterID:@(MTRClusterIDTypePressureMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPressureMeasurementAttributeMeasuredValueID) params:params]; } - (NSDictionary *)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPressureMeasurementID) - attributeID:@(MTRClusterPressureMeasurementAttributeMinMeasuredValueID) + clusterID:@(MTRClusterIDTypePressureMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPressureMeasurementAttributeMinMeasuredValueID) params:params]; } - (NSDictionary *)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPressureMeasurementID) - attributeID:@(MTRClusterPressureMeasurementAttributeMaxMeasuredValueID) + clusterID:@(MTRClusterIDTypePressureMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPressureMeasurementAttributeMaxMeasuredValueID) params:params]; } - (NSDictionary *)readAttributeToleranceWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPressureMeasurementID) - attributeID:@(MTRClusterPressureMeasurementAttributeToleranceID) + clusterID:@(MTRClusterIDTypePressureMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPressureMeasurementAttributeToleranceID) params:params]; } - (NSDictionary *)readAttributeScaledValueWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPressureMeasurementID) - attributeID:@(MTRClusterPressureMeasurementAttributeScaledValueID) + clusterID:@(MTRClusterIDTypePressureMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPressureMeasurementAttributeScaledValueID) params:params]; } - (NSDictionary *)readAttributeMinScaledValueWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPressureMeasurementID) - attributeID:@(MTRClusterPressureMeasurementAttributeMinScaledValueID) + clusterID:@(MTRClusterIDTypePressureMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPressureMeasurementAttributeMinScaledValueID) params:params]; } - (NSDictionary *)readAttributeMaxScaledValueWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPressureMeasurementID) - attributeID:@(MTRClusterPressureMeasurementAttributeMaxScaledValueID) + clusterID:@(MTRClusterIDTypePressureMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPressureMeasurementAttributeMaxScaledValueID) params:params]; } - (NSDictionary *)readAttributeScaledToleranceWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPressureMeasurementID) - attributeID:@(MTRClusterPressureMeasurementAttributeScaledToleranceID) + clusterID:@(MTRClusterIDTypePressureMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPressureMeasurementAttributeScaledToleranceID) params:params]; } - (NSDictionary *)readAttributeScaleWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPressureMeasurementID) - attributeID:@(MTRClusterPressureMeasurementAttributeScaleID) + clusterID:@(MTRClusterIDTypePressureMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPressureMeasurementAttributeScaleID) params:params]; } - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPressureMeasurementID) - attributeID:@(MTRClusterPressureMeasurementAttributeGeneratedCommandListID) + clusterID:@(MTRClusterIDTypePressureMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPressureMeasurementAttributeGeneratedCommandListID) params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPressureMeasurementID) - attributeID:@(MTRClusterPressureMeasurementAttributeAcceptedCommandListID) + clusterID:@(MTRClusterIDTypePressureMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPressureMeasurementAttributeAcceptedCommandListID) params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPressureMeasurementID) - attributeID:@(MTRClusterPressureMeasurementAttributeAttributeListID) + clusterID:@(MTRClusterIDTypePressureMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPressureMeasurementAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPressureMeasurementID) - attributeID:@(MTRClusterPressureMeasurementAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypePressureMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPressureMeasurementAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterPressureMeasurementID) - attributeID:@(MTRClusterPressureMeasurementAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypePressureMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterPressureMeasurementAttributeClusterRevisionID) params:params]; } @@ -14413,72 +14502,72 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(NSNumber *)endpoint - (NSDictionary *)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterFlowMeasurementID) - attributeID:@(MTRClusterFlowMeasurementAttributeMeasuredValueID) + clusterID:@(MTRClusterIDTypeFlowMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterFlowMeasurementAttributeMeasuredValueID) params:params]; } - (NSDictionary *)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterFlowMeasurementID) - attributeID:@(MTRClusterFlowMeasurementAttributeMinMeasuredValueID) + clusterID:@(MTRClusterIDTypeFlowMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterFlowMeasurementAttributeMinMeasuredValueID) params:params]; } - (NSDictionary *)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterFlowMeasurementID) - attributeID:@(MTRClusterFlowMeasurementAttributeMaxMeasuredValueID) + clusterID:@(MTRClusterIDTypeFlowMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterFlowMeasurementAttributeMaxMeasuredValueID) params:params]; } - (NSDictionary *)readAttributeToleranceWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterFlowMeasurementID) - attributeID:@(MTRClusterFlowMeasurementAttributeToleranceID) + clusterID:@(MTRClusterIDTypeFlowMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterFlowMeasurementAttributeToleranceID) params:params]; } - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterFlowMeasurementID) - attributeID:@(MTRClusterFlowMeasurementAttributeGeneratedCommandListID) + clusterID:@(MTRClusterIDTypeFlowMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterFlowMeasurementAttributeGeneratedCommandListID) params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterFlowMeasurementID) - attributeID:@(MTRClusterFlowMeasurementAttributeAcceptedCommandListID) + clusterID:@(MTRClusterIDTypeFlowMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterFlowMeasurementAttributeAcceptedCommandListID) params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterFlowMeasurementID) - attributeID:@(MTRClusterFlowMeasurementAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeFlowMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterFlowMeasurementAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterFlowMeasurementID) - attributeID:@(MTRClusterFlowMeasurementAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeFlowMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterFlowMeasurementAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterFlowMeasurementID) - attributeID:@(MTRClusterFlowMeasurementAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeFlowMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterFlowMeasurementAttributeClusterRevisionID) params:params]; } @@ -14502,73 +14591,78 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(NSNumber *)endpoint - (NSDictionary *)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterRelativeHumidityMeasurementID) - attributeID:@(MTRClusterRelativeHumidityMeasurementAttributeMeasuredValueID) + clusterID:@(MTRClusterIDTypeRelativeHumidityMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterRelativeHumidityMeasurementAttributeMeasuredValueID) params:params]; } - (NSDictionary *)readAttributeMinMeasuredValueWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterRelativeHumidityMeasurementID) - attributeID:@(MTRClusterRelativeHumidityMeasurementAttributeMinMeasuredValueID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeRelativeHumidityMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterRelativeHumidityMeasurementAttributeMinMeasuredValueID) + params:params]; } - (NSDictionary *)readAttributeMaxMeasuredValueWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterRelativeHumidityMeasurementID) - attributeID:@(MTRClusterRelativeHumidityMeasurementAttributeMaxMeasuredValueID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeRelativeHumidityMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterRelativeHumidityMeasurementAttributeMaxMeasuredValueID) + params:params]; } - (NSDictionary *)readAttributeToleranceWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterRelativeHumidityMeasurementID) - attributeID:@(MTRClusterRelativeHumidityMeasurementAttributeToleranceID) + clusterID:@(MTRClusterIDTypeRelativeHumidityMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterRelativeHumidityMeasurementAttributeToleranceID) params:params]; } - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterRelativeHumidityMeasurementID) - attributeID:@(MTRClusterRelativeHumidityMeasurementAttributeGeneratedCommandListID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeRelativeHumidityMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterRelativeHumidityMeasurementAttributeGeneratedCommandListID) + params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterRelativeHumidityMeasurementID) - attributeID:@(MTRClusterRelativeHumidityMeasurementAttributeAcceptedCommandListID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeRelativeHumidityMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterRelativeHumidityMeasurementAttributeAcceptedCommandListID) + params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterRelativeHumidityMeasurementID) - attributeID:@(MTRClusterRelativeHumidityMeasurementAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeRelativeHumidityMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterRelativeHumidityMeasurementAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterRelativeHumidityMeasurementID) - attributeID:@(MTRClusterRelativeHumidityMeasurementAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeRelativeHumidityMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterRelativeHumidityMeasurementAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterRelativeHumidityMeasurementID) - attributeID:@(MTRClusterRelativeHumidityMeasurementAttributeClusterRevisionID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeRelativeHumidityMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterRelativeHumidityMeasurementAttributeClusterRevisionID) + params:params]; } @end @@ -14591,33 +14685,34 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(NSNumber *)endpoint - (NSDictionary *)readAttributeOccupancyWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOccupancySensingID) - attributeID:@(MTRClusterOccupancySensingAttributeOccupancyID) + clusterID:@(MTRClusterIDTypeOccupancySensingID) + attributeID:@(MTRAttributeIDTypeClusterOccupancySensingAttributeOccupancyID) params:params]; } - (NSDictionary *)readAttributeOccupancySensorTypeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOccupancySensingID) - attributeID:@(MTRClusterOccupancySensingAttributeOccupancySensorTypeID) + clusterID:@(MTRClusterIDTypeOccupancySensingID) + attributeID:@(MTRAttributeIDTypeClusterOccupancySensingAttributeOccupancySensorTypeID) params:params]; } - (NSDictionary *)readAttributeOccupancySensorTypeBitmapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOccupancySensingID) - attributeID:@(MTRClusterOccupancySensingAttributeOccupancySensorTypeBitmapID) + clusterID:@(MTRClusterIDTypeOccupancySensingID) + attributeID:@(MTRAttributeIDTypeClusterOccupancySensingAttributeOccupancySensorTypeBitmapID) params:params]; } - (NSDictionary *)readAttributePirOccupiedToUnoccupiedDelayWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOccupancySensingID) - attributeID:@(MTRClusterOccupancySensingAttributePirOccupiedToUnoccupiedDelayID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeOccupancySensingID) + attributeID:@(MTRAttributeIDTypeClusterOccupancySensingAttributePirOccupiedToUnoccupiedDelayID) + params:params]; } - (void)writeAttributePirOccupiedToUnoccupiedDelayWithValue:(NSDictionary *)dataValueDictionary @@ -14634,8 +14729,8 @@ - (void)writeAttributePirOccupiedToUnoccupiedDelayWithValue:(NSDictionary *)readAttributePirUnoccupiedToOccupiedDelayWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOccupancySensingID) - attributeID:@(MTRClusterOccupancySensingAttributePirUnoccupiedToOccupiedDelayID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeOccupancySensingID) + attributeID:@(MTRAttributeIDTypeClusterOccupancySensingAttributePirUnoccupiedToOccupiedDelayID) + params:params]; } - (void)writeAttributePirUnoccupiedToOccupiedDelayWithValue:(NSDictionary *)dataValueDictionary @@ -14663,8 +14759,8 @@ - (void)writeAttributePirUnoccupiedToOccupiedDelayWithValue:(NSDictionary *)readAttributePirUnoccupiedToOccupiedThresholdWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOccupancySensingID) - attributeID:@(MTRClusterOccupancySensingAttributePirUnoccupiedToOccupiedThresholdID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeOccupancySensingID) + attributeID:@(MTRAttributeIDTypeClusterOccupancySensingAttributePirUnoccupiedToOccupiedThresholdID) + params:params]; } - (void)writeAttributePirUnoccupiedToOccupiedThresholdWithValue:(NSDictionary *)dataValueDictionary @@ -14691,20 +14788,22 @@ - (void)writeAttributePirUnoccupiedToOccupiedThresholdWithValue:(NSDictionary *)readAttributeUltrasonicOccupiedToUnoccupiedDelayWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOccupancySensingID) - attributeID:@(MTRClusterOccupancySensingAttributeUltrasonicOccupiedToUnoccupiedDelayID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeOccupancySensingID) + attributeID:@(MTRAttributeIDTypeClusterOccupancySensingAttributeUltrasonicOccupiedToUnoccupiedDelayID) + params:params]; } - (void)writeAttributeUltrasonicOccupiedToUnoccupiedDelayWithValue:(NSDictionary *)dataValueDictionary @@ -14720,20 +14819,22 @@ - (void)writeAttributeUltrasonicOccupiedToUnoccupiedDelayWithValue:(NSDictionary { NSNumber * timedWriteTimeout = params.timedWriteTimeout; - [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOccupancySensingID) - attributeID:@(MTRClusterOccupancySensingAttributeUltrasonicOccupiedToUnoccupiedDelayID) - value:dataValueDictionary - expectedValueInterval:expectedValueIntervalMs - timedWriteTimeout:timedWriteTimeout]; + [self.device + writeAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeOccupancySensingID) + attributeID:@(MTRAttributeIDTypeClusterOccupancySensingAttributeUltrasonicOccupiedToUnoccupiedDelayID) + value:dataValueDictionary + expectedValueInterval:expectedValueIntervalMs + timedWriteTimeout:timedWriteTimeout]; } - (NSDictionary *)readAttributeUltrasonicUnoccupiedToOccupiedDelayWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOccupancySensingID) - attributeID:@(MTRClusterOccupancySensingAttributeUltrasonicUnoccupiedToOccupiedDelayID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeOccupancySensingID) + attributeID:@(MTRAttributeIDTypeClusterOccupancySensingAttributeUltrasonicUnoccupiedToOccupiedDelayID) + params:params]; } - (void)writeAttributeUltrasonicUnoccupiedToOccupiedDelayWithValue:(NSDictionary *)dataValueDictionary @@ -14749,20 +14850,22 @@ - (void)writeAttributeUltrasonicUnoccupiedToOccupiedDelayWithValue:(NSDictionary { NSNumber * timedWriteTimeout = params.timedWriteTimeout; - [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOccupancySensingID) - attributeID:@(MTRClusterOccupancySensingAttributeUltrasonicUnoccupiedToOccupiedDelayID) - value:dataValueDictionary - expectedValueInterval:expectedValueIntervalMs - timedWriteTimeout:timedWriteTimeout]; + [self.device + writeAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeOccupancySensingID) + attributeID:@(MTRAttributeIDTypeClusterOccupancySensingAttributeUltrasonicUnoccupiedToOccupiedDelayID) + value:dataValueDictionary + expectedValueInterval:expectedValueIntervalMs + timedWriteTimeout:timedWriteTimeout]; } - (NSDictionary *)readAttributeUltrasonicUnoccupiedToOccupiedThresholdWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOccupancySensingID) - attributeID:@(MTRClusterOccupancySensingAttributeUltrasonicUnoccupiedToOccupiedThresholdID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeOccupancySensingID) + attributeID:@(MTRAttributeIDTypeClusterOccupancySensingAttributeUltrasonicUnoccupiedToOccupiedThresholdID) + params:params]; } - (void)writeAttributeUltrasonicUnoccupiedToOccupiedThresholdWithValue:(NSDictionary *)dataValueDictionary @@ -14778,20 +14881,22 @@ - (void)writeAttributeUltrasonicUnoccupiedToOccupiedThresholdWithValue:(NSDictio { NSNumber * timedWriteTimeout = params.timedWriteTimeout; - [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOccupancySensingID) - attributeID:@(MTRClusterOccupancySensingAttributeUltrasonicUnoccupiedToOccupiedThresholdID) - value:dataValueDictionary - expectedValueInterval:expectedValueIntervalMs - timedWriteTimeout:timedWriteTimeout]; + [self.device + writeAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeOccupancySensingID) + attributeID:@(MTRAttributeIDTypeClusterOccupancySensingAttributeUltrasonicUnoccupiedToOccupiedThresholdID) + value:dataValueDictionary + expectedValueInterval:expectedValueIntervalMs + timedWriteTimeout:timedWriteTimeout]; } - (NSDictionary *)readAttributePhysicalContactOccupiedToUnoccupiedDelayWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOccupancySensingID) - attributeID:@(MTRClusterOccupancySensingAttributePhysicalContactOccupiedToUnoccupiedDelayID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeOccupancySensingID) + attributeID:@(MTRAttributeIDTypeClusterOccupancySensingAttributePhysicalContactOccupiedToUnoccupiedDelayID) + params:params]; } - (void)writeAttributePhysicalContactOccupiedToUnoccupiedDelayWithValue:(NSDictionary *)dataValueDictionary @@ -14807,20 +14912,22 @@ - (void)writeAttributePhysicalContactOccupiedToUnoccupiedDelayWithValue:(NSDicti { NSNumber * timedWriteTimeout = params.timedWriteTimeout; - [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOccupancySensingID) - attributeID:@(MTRClusterOccupancySensingAttributePhysicalContactOccupiedToUnoccupiedDelayID) - value:dataValueDictionary - expectedValueInterval:expectedValueIntervalMs - timedWriteTimeout:timedWriteTimeout]; + [self.device + writeAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeOccupancySensingID) + attributeID:@(MTRAttributeIDTypeClusterOccupancySensingAttributePhysicalContactOccupiedToUnoccupiedDelayID) + value:dataValueDictionary + expectedValueInterval:expectedValueIntervalMs + timedWriteTimeout:timedWriteTimeout]; } - (NSDictionary *)readAttributePhysicalContactUnoccupiedToOccupiedDelayWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOccupancySensingID) - attributeID:@(MTRClusterOccupancySensingAttributePhysicalContactUnoccupiedToOccupiedDelayID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeOccupancySensingID) + attributeID:@(MTRAttributeIDTypeClusterOccupancySensingAttributePhysicalContactUnoccupiedToOccupiedDelayID) + params:params]; } - (void)writeAttributePhysicalContactUnoccupiedToOccupiedDelayWithValue:(NSDictionary *)dataValueDictionary @@ -14836,12 +14943,13 @@ - (void)writeAttributePhysicalContactUnoccupiedToOccupiedDelayWithValue:(NSDicti { NSNumber * timedWriteTimeout = params.timedWriteTimeout; - [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOccupancySensingID) - attributeID:@(MTRClusterOccupancySensingAttributePhysicalContactUnoccupiedToOccupiedDelayID) - value:dataValueDictionary - expectedValueInterval:expectedValueIntervalMs - timedWriteTimeout:timedWriteTimeout]; + [self.device + writeAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeOccupancySensingID) + attributeID:@(MTRAttributeIDTypeClusterOccupancySensingAttributePhysicalContactUnoccupiedToOccupiedDelayID) + value:dataValueDictionary + expectedValueInterval:expectedValueIntervalMs + timedWriteTimeout:timedWriteTimeout]; } - (NSDictionary *)readAttributePhysicalContactUnoccupiedToOccupiedThresholdWithParams: @@ -14849,8 +14957,9 @@ - (void)writeAttributePhysicalContactUnoccupiedToOccupiedDelayWithValue:(NSDicti { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOccupancySensingID) - attributeID:@(MTRClusterOccupancySensingAttributePhysicalContactUnoccupiedToOccupiedThresholdID) + clusterID:@(MTRClusterIDTypeOccupancySensingID) + attributeID: + @(MTRAttributeIDTypeClusterOccupancySensingAttributePhysicalContactUnoccupiedToOccupiedThresholdID) params:params]; } @@ -14867,51 +14976,53 @@ - (void)writeAttributePhysicalContactUnoccupiedToOccupiedThresholdWithValue:(NSD { NSNumber * timedWriteTimeout = params.timedWriteTimeout; - [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOccupancySensingID) - attributeID:@(MTRClusterOccupancySensingAttributePhysicalContactUnoccupiedToOccupiedThresholdID) - value:dataValueDictionary - expectedValueInterval:expectedValueIntervalMs - timedWriteTimeout:timedWriteTimeout]; + [self.device + writeAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeOccupancySensingID) + attributeID: + @(MTRAttributeIDTypeClusterOccupancySensingAttributePhysicalContactUnoccupiedToOccupiedThresholdID) + value:dataValueDictionary + expectedValueInterval:expectedValueIntervalMs + timedWriteTimeout:timedWriteTimeout]; } - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOccupancySensingID) - attributeID:@(MTRClusterOccupancySensingAttributeGeneratedCommandListID) + clusterID:@(MTRClusterIDTypeOccupancySensingID) + attributeID:@(MTRAttributeIDTypeClusterOccupancySensingAttributeGeneratedCommandListID) params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOccupancySensingID) - attributeID:@(MTRClusterOccupancySensingAttributeAcceptedCommandListID) + clusterID:@(MTRClusterIDTypeOccupancySensingID) + attributeID:@(MTRAttributeIDTypeClusterOccupancySensingAttributeAcceptedCommandListID) params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOccupancySensingID) - attributeID:@(MTRClusterOccupancySensingAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeOccupancySensingID) + attributeID:@(MTRAttributeIDTypeClusterOccupancySensingAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOccupancySensingID) - attributeID:@(MTRClusterOccupancySensingAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeOccupancySensingID) + attributeID:@(MTRAttributeIDTypeClusterOccupancySensingAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterOccupancySensingID) - attributeID:@(MTRClusterOccupancySensingAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeOccupancySensingID) + attributeID:@(MTRAttributeIDTypeClusterOccupancySensingAttributeClusterRevisionID) params:params]; } @@ -14935,48 +15046,48 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(NSNumber *)endpoint - (NSDictionary *)readAttributeMACAddressWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterWakeOnLanID) - attributeID:@(MTRClusterWakeOnLanAttributeMACAddressID) + clusterID:@(MTRClusterIDTypeWakeOnLanID) + attributeID:@(MTRAttributeIDTypeClusterWakeOnLanAttributeMACAddressID) params:params]; } - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterWakeOnLanID) - attributeID:@(MTRClusterWakeOnLanAttributeGeneratedCommandListID) + clusterID:@(MTRClusterIDTypeWakeOnLanID) + attributeID:@(MTRAttributeIDTypeClusterWakeOnLanAttributeGeneratedCommandListID) params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterWakeOnLanID) - attributeID:@(MTRClusterWakeOnLanAttributeAcceptedCommandListID) + clusterID:@(MTRClusterIDTypeWakeOnLanID) + attributeID:@(MTRAttributeIDTypeClusterWakeOnLanAttributeAcceptedCommandListID) params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterWakeOnLanID) - attributeID:@(MTRClusterWakeOnLanAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeWakeOnLanID) + attributeID:@(MTRAttributeIDTypeClusterWakeOnLanAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterWakeOnLanID) - attributeID:@(MTRClusterWakeOnLanAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeWakeOnLanID) + attributeID:@(MTRAttributeIDTypeClusterWakeOnLanAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterWakeOnLanID) - attributeID:@(MTRClusterWakeOnLanAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeWakeOnLanID) + attributeID:@(MTRAttributeIDTypeClusterWakeOnLanAttributeClusterRevisionID) params:params]; } @@ -15100,64 +15211,64 @@ new MTRCommandSuccessCallbackBridge( - (NSDictionary *)readAttributeChannelListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterChannelID) - attributeID:@(MTRClusterChannelAttributeChannelListID) + clusterID:@(MTRClusterIDTypeChannelID) + attributeID:@(MTRAttributeIDTypeClusterChannelAttributeChannelListID) params:params]; } - (NSDictionary *)readAttributeLineupWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterChannelID) - attributeID:@(MTRClusterChannelAttributeLineupID) + clusterID:@(MTRClusterIDTypeChannelID) + attributeID:@(MTRAttributeIDTypeClusterChannelAttributeLineupID) params:params]; } - (NSDictionary *)readAttributeCurrentChannelWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterChannelID) - attributeID:@(MTRClusterChannelAttributeCurrentChannelID) + clusterID:@(MTRClusterIDTypeChannelID) + attributeID:@(MTRAttributeIDTypeClusterChannelAttributeCurrentChannelID) params:params]; } - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterChannelID) - attributeID:@(MTRClusterChannelAttributeGeneratedCommandListID) + clusterID:@(MTRClusterIDTypeChannelID) + attributeID:@(MTRAttributeIDTypeClusterChannelAttributeGeneratedCommandListID) params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterChannelID) - attributeID:@(MTRClusterChannelAttributeAcceptedCommandListID) + clusterID:@(MTRClusterIDTypeChannelID) + attributeID:@(MTRAttributeIDTypeClusterChannelAttributeAcceptedCommandListID) params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterChannelID) - attributeID:@(MTRClusterChannelAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeChannelID) + attributeID:@(MTRAttributeIDTypeClusterChannelAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterChannelID) - attributeID:@(MTRClusterChannelAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeChannelID) + attributeID:@(MTRAttributeIDTypeClusterChannelAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterChannelID) - attributeID:@(MTRClusterChannelAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeChannelID) + attributeID:@(MTRAttributeIDTypeClusterChannelAttributeClusterRevisionID) params:params]; } @@ -15216,56 +15327,56 @@ new MTRTargetNavigatorClusterNavigateTargetResponseCallbackBridge(self.callbackQ - (NSDictionary *)readAttributeTargetListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTargetNavigatorID) - attributeID:@(MTRClusterTargetNavigatorAttributeTargetListID) + clusterID:@(MTRClusterIDTypeTargetNavigatorID) + attributeID:@(MTRAttributeIDTypeClusterTargetNavigatorAttributeTargetListID) params:params]; } - (NSDictionary *)readAttributeCurrentTargetWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTargetNavigatorID) - attributeID:@(MTRClusterTargetNavigatorAttributeCurrentTargetID) + clusterID:@(MTRClusterIDTypeTargetNavigatorID) + attributeID:@(MTRAttributeIDTypeClusterTargetNavigatorAttributeCurrentTargetID) params:params]; } - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTargetNavigatorID) - attributeID:@(MTRClusterTargetNavigatorAttributeGeneratedCommandListID) + clusterID:@(MTRClusterIDTypeTargetNavigatorID) + attributeID:@(MTRAttributeIDTypeClusterTargetNavigatorAttributeGeneratedCommandListID) params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTargetNavigatorID) - attributeID:@(MTRClusterTargetNavigatorAttributeAcceptedCommandListID) + clusterID:@(MTRClusterIDTypeTargetNavigatorID) + attributeID:@(MTRAttributeIDTypeClusterTargetNavigatorAttributeAcceptedCommandListID) params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTargetNavigatorID) - attributeID:@(MTRClusterTargetNavigatorAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeTargetNavigatorID) + attributeID:@(MTRAttributeIDTypeClusterTargetNavigatorAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTargetNavigatorID) - attributeID:@(MTRClusterTargetNavigatorAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeTargetNavigatorID) + attributeID:@(MTRAttributeIDTypeClusterTargetNavigatorAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTargetNavigatorID) - attributeID:@(MTRClusterTargetNavigatorAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeTargetNavigatorID) + attributeID:@(MTRAttributeIDTypeClusterTargetNavigatorAttributeClusterRevisionID) params:params]; } @@ -15687,96 +15798,96 @@ new MTRMediaPlaybackClusterPlaybackResponseCallbackBridge(self.callbackQueue, ba - (NSDictionary *)readAttributeCurrentStateWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterMediaPlaybackID) - attributeID:@(MTRClusterMediaPlaybackAttributeCurrentStateID) + clusterID:@(MTRClusterIDTypeMediaPlaybackID) + attributeID:@(MTRAttributeIDTypeClusterMediaPlaybackAttributeCurrentStateID) params:params]; } - (NSDictionary *)readAttributeStartTimeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterMediaPlaybackID) - attributeID:@(MTRClusterMediaPlaybackAttributeStartTimeID) + clusterID:@(MTRClusterIDTypeMediaPlaybackID) + attributeID:@(MTRAttributeIDTypeClusterMediaPlaybackAttributeStartTimeID) params:params]; } - (NSDictionary *)readAttributeDurationWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterMediaPlaybackID) - attributeID:@(MTRClusterMediaPlaybackAttributeDurationID) + clusterID:@(MTRClusterIDTypeMediaPlaybackID) + attributeID:@(MTRAttributeIDTypeClusterMediaPlaybackAttributeDurationID) params:params]; } - (NSDictionary *)readAttributeSampledPositionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterMediaPlaybackID) - attributeID:@(MTRClusterMediaPlaybackAttributeSampledPositionID) + clusterID:@(MTRClusterIDTypeMediaPlaybackID) + attributeID:@(MTRAttributeIDTypeClusterMediaPlaybackAttributeSampledPositionID) params:params]; } - (NSDictionary *)readAttributePlaybackSpeedWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterMediaPlaybackID) - attributeID:@(MTRClusterMediaPlaybackAttributePlaybackSpeedID) + clusterID:@(MTRClusterIDTypeMediaPlaybackID) + attributeID:@(MTRAttributeIDTypeClusterMediaPlaybackAttributePlaybackSpeedID) params:params]; } - (NSDictionary *)readAttributeSeekRangeEndWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterMediaPlaybackID) - attributeID:@(MTRClusterMediaPlaybackAttributeSeekRangeEndID) + clusterID:@(MTRClusterIDTypeMediaPlaybackID) + attributeID:@(MTRAttributeIDTypeClusterMediaPlaybackAttributeSeekRangeEndID) params:params]; } - (NSDictionary *)readAttributeSeekRangeStartWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterMediaPlaybackID) - attributeID:@(MTRClusterMediaPlaybackAttributeSeekRangeStartID) + clusterID:@(MTRClusterIDTypeMediaPlaybackID) + attributeID:@(MTRAttributeIDTypeClusterMediaPlaybackAttributeSeekRangeStartID) params:params]; } - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterMediaPlaybackID) - attributeID:@(MTRClusterMediaPlaybackAttributeGeneratedCommandListID) + clusterID:@(MTRClusterIDTypeMediaPlaybackID) + attributeID:@(MTRAttributeIDTypeClusterMediaPlaybackAttributeGeneratedCommandListID) params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterMediaPlaybackID) - attributeID:@(MTRClusterMediaPlaybackAttributeAcceptedCommandListID) + clusterID:@(MTRClusterIDTypeMediaPlaybackID) + attributeID:@(MTRAttributeIDTypeClusterMediaPlaybackAttributeAcceptedCommandListID) params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterMediaPlaybackID) - attributeID:@(MTRClusterMediaPlaybackAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeMediaPlaybackID) + attributeID:@(MTRAttributeIDTypeClusterMediaPlaybackAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterMediaPlaybackID) - attributeID:@(MTRClusterMediaPlaybackAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeMediaPlaybackID) + attributeID:@(MTRAttributeIDTypeClusterMediaPlaybackAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterMediaPlaybackID) - attributeID:@(MTRClusterMediaPlaybackAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeMediaPlaybackID) + attributeID:@(MTRAttributeIDTypeClusterMediaPlaybackAttributeClusterRevisionID) params:params]; } @@ -15953,56 +16064,56 @@ new MTRCommandSuccessCallbackBridge( - (NSDictionary *)readAttributeInputListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterMediaInputID) - attributeID:@(MTRClusterMediaInputAttributeInputListID) + clusterID:@(MTRClusterIDTypeMediaInputID) + attributeID:@(MTRAttributeIDTypeClusterMediaInputAttributeInputListID) params:params]; } - (NSDictionary *)readAttributeCurrentInputWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterMediaInputID) - attributeID:@(MTRClusterMediaInputAttributeCurrentInputID) + clusterID:@(MTRClusterIDTypeMediaInputID) + attributeID:@(MTRAttributeIDTypeClusterMediaInputAttributeCurrentInputID) params:params]; } - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterMediaInputID) - attributeID:@(MTRClusterMediaInputAttributeGeneratedCommandListID) + clusterID:@(MTRClusterIDTypeMediaInputID) + attributeID:@(MTRAttributeIDTypeClusterMediaInputAttributeGeneratedCommandListID) params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterMediaInputID) - attributeID:@(MTRClusterMediaInputAttributeAcceptedCommandListID) + clusterID:@(MTRClusterIDTypeMediaInputID) + attributeID:@(MTRAttributeIDTypeClusterMediaInputAttributeAcceptedCommandListID) params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterMediaInputID) - attributeID:@(MTRClusterMediaInputAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeMediaInputID) + attributeID:@(MTRAttributeIDTypeClusterMediaInputAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterMediaInputID) - attributeID:@(MTRClusterMediaInputAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeMediaInputID) + attributeID:@(MTRAttributeIDTypeClusterMediaInputAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterMediaInputID) - attributeID:@(MTRClusterMediaInputAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeMediaInputID) + attributeID:@(MTRAttributeIDTypeClusterMediaInputAttributeClusterRevisionID) params:params]; } @@ -16065,40 +16176,40 @@ new MTRCommandSuccessCallbackBridge( - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterLowPowerID) - attributeID:@(MTRClusterLowPowerAttributeGeneratedCommandListID) + clusterID:@(MTRClusterIDTypeLowPowerID) + attributeID:@(MTRAttributeIDTypeClusterLowPowerAttributeGeneratedCommandListID) params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterLowPowerID) - attributeID:@(MTRClusterLowPowerAttributeAcceptedCommandListID) + clusterID:@(MTRClusterIDTypeLowPowerID) + attributeID:@(MTRAttributeIDTypeClusterLowPowerAttributeAcceptedCommandListID) params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterLowPowerID) - attributeID:@(MTRClusterLowPowerAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeLowPowerID) + attributeID:@(MTRAttributeIDTypeClusterLowPowerAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterLowPowerID) - attributeID:@(MTRClusterLowPowerAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeLowPowerID) + attributeID:@(MTRAttributeIDTypeClusterLowPowerAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterLowPowerID) - attributeID:@(MTRClusterLowPowerAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeLowPowerID) + attributeID:@(MTRAttributeIDTypeClusterLowPowerAttributeClusterRevisionID) params:params]; } @@ -16153,40 +16264,40 @@ new MTRKeypadInputClusterSendKeyResponseCallbackBridge(self.callbackQueue, baseD - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterKeypadInputID) - attributeID:@(MTRClusterKeypadInputAttributeGeneratedCommandListID) + clusterID:@(MTRClusterIDTypeKeypadInputID) + attributeID:@(MTRAttributeIDTypeClusterKeypadInputAttributeGeneratedCommandListID) params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterKeypadInputID) - attributeID:@(MTRClusterKeypadInputAttributeAcceptedCommandListID) + clusterID:@(MTRClusterIDTypeKeypadInputID) + attributeID:@(MTRAttributeIDTypeClusterKeypadInputAttributeAcceptedCommandListID) params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterKeypadInputID) - attributeID:@(MTRClusterKeypadInputAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeKeypadInputID) + attributeID:@(MTRAttributeIDTypeClusterKeypadInputAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterKeypadInputID) - attributeID:@(MTRClusterKeypadInputAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeKeypadInputID) + attributeID:@(MTRAttributeIDTypeClusterKeypadInputAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterKeypadInputID) - attributeID:@(MTRClusterKeypadInputAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeKeypadInputID) + attributeID:@(MTRAttributeIDTypeClusterKeypadInputAttributeClusterRevisionID) params:params]; } @@ -16426,17 +16537,18 @@ new MTRContentLauncherClusterLaunchResponseCallbackBridge(self.callbackQueue, ba - (NSDictionary *)readAttributeAcceptHeaderWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterContentLauncherID) - attributeID:@(MTRClusterContentLauncherAttributeAcceptHeaderID) + clusterID:@(MTRClusterIDTypeContentLauncherID) + attributeID:@(MTRAttributeIDTypeClusterContentLauncherAttributeAcceptHeaderID) params:params]; } - (NSDictionary *)readAttributeSupportedStreamingProtocolsWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterContentLauncherID) - attributeID:@(MTRClusterContentLauncherAttributeSupportedStreamingProtocolsID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeContentLauncherID) + attributeID:@(MTRAttributeIDTypeClusterContentLauncherAttributeSupportedStreamingProtocolsID) + params:params]; } - (void)writeAttributeSupportedStreamingProtocolsWithValue:(NSDictionary *)dataValueDictionary @@ -16453,8 +16565,8 @@ - (void)writeAttributeSupportedStreamingProtocolsWithValue:(NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterContentLauncherID) - attributeID:@(MTRClusterContentLauncherAttributeGeneratedCommandListID) + clusterID:@(MTRClusterIDTypeContentLauncherID) + attributeID:@(MTRAttributeIDTypeClusterContentLauncherAttributeGeneratedCommandListID) params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterContentLauncherID) - attributeID:@(MTRClusterContentLauncherAttributeAcceptedCommandListID) + clusterID:@(MTRClusterIDTypeContentLauncherID) + attributeID:@(MTRAttributeIDTypeClusterContentLauncherAttributeAcceptedCommandListID) params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterContentLauncherID) - attributeID:@(MTRClusterContentLauncherAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeContentLauncherID) + attributeID:@(MTRAttributeIDTypeClusterContentLauncherAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterContentLauncherID) - attributeID:@(MTRClusterContentLauncherAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeContentLauncherID) + attributeID:@(MTRAttributeIDTypeClusterContentLauncherAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterContentLauncherID) - attributeID:@(MTRClusterContentLauncherAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeContentLauncherID) + attributeID:@(MTRAttributeIDTypeClusterContentLauncherAttributeClusterRevisionID) params:params]; } @@ -16589,56 +16701,56 @@ new MTRCommandSuccessCallbackBridge( - (NSDictionary *)readAttributeOutputListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterAudioOutputID) - attributeID:@(MTRClusterAudioOutputAttributeOutputListID) + clusterID:@(MTRClusterIDTypeAudioOutputID) + attributeID:@(MTRAttributeIDTypeClusterAudioOutputAttributeOutputListID) params:params]; } - (NSDictionary *)readAttributeCurrentOutputWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterAudioOutputID) - attributeID:@(MTRClusterAudioOutputAttributeCurrentOutputID) + clusterID:@(MTRClusterIDTypeAudioOutputID) + attributeID:@(MTRAttributeIDTypeClusterAudioOutputAttributeCurrentOutputID) params:params]; } - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterAudioOutputID) - attributeID:@(MTRClusterAudioOutputAttributeGeneratedCommandListID) + clusterID:@(MTRClusterIDTypeAudioOutputID) + attributeID:@(MTRAttributeIDTypeClusterAudioOutputAttributeGeneratedCommandListID) params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterAudioOutputID) - attributeID:@(MTRClusterAudioOutputAttributeAcceptedCommandListID) + clusterID:@(MTRClusterIDTypeAudioOutputID) + attributeID:@(MTRAttributeIDTypeClusterAudioOutputAttributeAcceptedCommandListID) params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterAudioOutputID) - attributeID:@(MTRClusterAudioOutputAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeAudioOutputID) + attributeID:@(MTRAttributeIDTypeClusterAudioOutputAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterAudioOutputID) - attributeID:@(MTRClusterAudioOutputAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeAudioOutputID) + attributeID:@(MTRAttributeIDTypeClusterAudioOutputAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterAudioOutputID) - attributeID:@(MTRClusterAudioOutputAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeAudioOutputID) + attributeID:@(MTRAttributeIDTypeClusterAudioOutputAttributeClusterRevisionID) params:params]; } @@ -16762,16 +16874,16 @@ new MTRApplicationLauncherClusterLauncherResponseCallbackBridge(self.callbackQue - (NSDictionary *)readAttributeCatalogListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterApplicationLauncherID) - attributeID:@(MTRClusterApplicationLauncherAttributeCatalogListID) + clusterID:@(MTRClusterIDTypeApplicationLauncherID) + attributeID:@(MTRAttributeIDTypeClusterApplicationLauncherAttributeCatalogListID) params:params]; } - (NSDictionary *)readAttributeCurrentAppWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterApplicationLauncherID) - attributeID:@(MTRClusterApplicationLauncherAttributeCurrentAppID) + clusterID:@(MTRClusterIDTypeApplicationLauncherID) + attributeID:@(MTRAttributeIDTypeClusterApplicationLauncherAttributeCurrentAppID) params:params]; } @@ -16787,8 +16899,8 @@ - (void)writeAttributeCurrentAppWithValue:(NSDictionary *)dataVa NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterApplicationLauncherID) - attributeID:@(MTRClusterApplicationLauncherAttributeCurrentAppID) + clusterID:@(MTRClusterIDTypeApplicationLauncherID) + attributeID:@(MTRAttributeIDTypeClusterApplicationLauncherAttributeCurrentAppID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -16797,40 +16909,40 @@ - (void)writeAttributeCurrentAppWithValue:(NSDictionary *)dataVa - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterApplicationLauncherID) - attributeID:@(MTRClusterApplicationLauncherAttributeGeneratedCommandListID) + clusterID:@(MTRClusterIDTypeApplicationLauncherID) + attributeID:@(MTRAttributeIDTypeClusterApplicationLauncherAttributeGeneratedCommandListID) params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterApplicationLauncherID) - attributeID:@(MTRClusterApplicationLauncherAttributeAcceptedCommandListID) + clusterID:@(MTRClusterIDTypeApplicationLauncherID) + attributeID:@(MTRAttributeIDTypeClusterApplicationLauncherAttributeAcceptedCommandListID) params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterApplicationLauncherID) - attributeID:@(MTRClusterApplicationLauncherAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeApplicationLauncherID) + attributeID:@(MTRAttributeIDTypeClusterApplicationLauncherAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterApplicationLauncherID) - attributeID:@(MTRClusterApplicationLauncherAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeApplicationLauncherID) + attributeID:@(MTRAttributeIDTypeClusterApplicationLauncherAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterApplicationLauncherID) - attributeID:@(MTRClusterApplicationLauncherAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeApplicationLauncherID) + attributeID:@(MTRAttributeIDTypeClusterApplicationLauncherAttributeClusterRevisionID) params:params]; } @@ -16854,104 +16966,104 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(NSNumber *)endpoint - (NSDictionary *)readAttributeVendorNameWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterApplicationBasicID) - attributeID:@(MTRClusterApplicationBasicAttributeVendorNameID) + clusterID:@(MTRClusterIDTypeApplicationBasicID) + attributeID:@(MTRAttributeIDTypeClusterApplicationBasicAttributeVendorNameID) params:params]; } - (NSDictionary *)readAttributeVendorIDWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterApplicationBasicID) - attributeID:@(MTRClusterApplicationBasicAttributeVendorIDID) + clusterID:@(MTRClusterIDTypeApplicationBasicID) + attributeID:@(MTRAttributeIDTypeClusterApplicationBasicAttributeVendorIDID) params:params]; } - (NSDictionary *)readAttributeApplicationNameWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterApplicationBasicID) - attributeID:@(MTRClusterApplicationBasicAttributeApplicationNameID) + clusterID:@(MTRClusterIDTypeApplicationBasicID) + attributeID:@(MTRAttributeIDTypeClusterApplicationBasicAttributeApplicationNameID) params:params]; } - (NSDictionary *)readAttributeProductIDWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterApplicationBasicID) - attributeID:@(MTRClusterApplicationBasicAttributeProductIDID) + clusterID:@(MTRClusterIDTypeApplicationBasicID) + attributeID:@(MTRAttributeIDTypeClusterApplicationBasicAttributeProductIDID) params:params]; } - (NSDictionary *)readAttributeApplicationWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterApplicationBasicID) - attributeID:@(MTRClusterApplicationBasicAttributeApplicationID) + clusterID:@(MTRClusterIDTypeApplicationBasicID) + attributeID:@(MTRAttributeIDTypeClusterApplicationBasicAttributeApplicationID) params:params]; } - (NSDictionary *)readAttributeStatusWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterApplicationBasicID) - attributeID:@(MTRClusterApplicationBasicAttributeStatusID) + clusterID:@(MTRClusterIDTypeApplicationBasicID) + attributeID:@(MTRAttributeIDTypeClusterApplicationBasicAttributeStatusID) params:params]; } - (NSDictionary *)readAttributeApplicationVersionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterApplicationBasicID) - attributeID:@(MTRClusterApplicationBasicAttributeApplicationVersionID) + clusterID:@(MTRClusterIDTypeApplicationBasicID) + attributeID:@(MTRAttributeIDTypeClusterApplicationBasicAttributeApplicationVersionID) params:params]; } - (NSDictionary *)readAttributeAllowedVendorListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterApplicationBasicID) - attributeID:@(MTRClusterApplicationBasicAttributeAllowedVendorListID) + clusterID:@(MTRClusterIDTypeApplicationBasicID) + attributeID:@(MTRAttributeIDTypeClusterApplicationBasicAttributeAllowedVendorListID) params:params]; } - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterApplicationBasicID) - attributeID:@(MTRClusterApplicationBasicAttributeGeneratedCommandListID) + clusterID:@(MTRClusterIDTypeApplicationBasicID) + attributeID:@(MTRAttributeIDTypeClusterApplicationBasicAttributeGeneratedCommandListID) params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterApplicationBasicID) - attributeID:@(MTRClusterApplicationBasicAttributeAcceptedCommandListID) + clusterID:@(MTRClusterIDTypeApplicationBasicID) + attributeID:@(MTRAttributeIDTypeClusterApplicationBasicAttributeAcceptedCommandListID) params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterApplicationBasicID) - attributeID:@(MTRClusterApplicationBasicAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeApplicationBasicID) + attributeID:@(MTRAttributeIDTypeClusterApplicationBasicAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterApplicationBasicID) - attributeID:@(MTRClusterApplicationBasicAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeApplicationBasicID) + attributeID:@(MTRAttributeIDTypeClusterApplicationBasicAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterApplicationBasicID) - attributeID:@(MTRClusterApplicationBasicAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeApplicationBasicID) + attributeID:@(MTRAttributeIDTypeClusterApplicationBasicAttributeClusterRevisionID) params:params]; } @@ -17089,40 +17201,40 @@ new MTRCommandSuccessCallbackBridge( - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterAccountLoginID) - attributeID:@(MTRClusterAccountLoginAttributeGeneratedCommandListID) + clusterID:@(MTRClusterIDTypeAccountLoginID) + attributeID:@(MTRAttributeIDTypeClusterAccountLoginAttributeGeneratedCommandListID) params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterAccountLoginID) - attributeID:@(MTRClusterAccountLoginAttributeAcceptedCommandListID) + clusterID:@(MTRClusterIDTypeAccountLoginID) + attributeID:@(MTRAttributeIDTypeClusterAccountLoginAttributeAcceptedCommandListID) params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterAccountLoginID) - attributeID:@(MTRClusterAccountLoginAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeAccountLoginID) + attributeID:@(MTRAttributeIDTypeClusterAccountLoginAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterAccountLoginID) - attributeID:@(MTRClusterAccountLoginAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeAccountLoginID) + attributeID:@(MTRAttributeIDTypeClusterAccountLoginAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterAccountLoginID) - attributeID:@(MTRClusterAccountLoginAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeAccountLoginID) + attributeID:@(MTRAttributeIDTypeClusterAccountLoginAttributeClusterRevisionID) params:params]; } @@ -17224,473 +17336,492 @@ new MTRCommandSuccessCallbackBridge( - (NSDictionary *)readAttributeMeasurementTypeWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeMeasurementTypeID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeMeasurementTypeID) params:params]; } - (NSDictionary *)readAttributeDcVoltageWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeDcVoltageID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeDcVoltageID) params:params]; } - (NSDictionary *)readAttributeDcVoltageMinWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeDcVoltageMinID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeDcVoltageMinID) params:params]; } - (NSDictionary *)readAttributeDcVoltageMaxWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeDcVoltageMaxID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeDcVoltageMaxID) params:params]; } - (NSDictionary *)readAttributeDcCurrentWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeDcCurrentID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeDcCurrentID) params:params]; } - (NSDictionary *)readAttributeDcCurrentMinWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeDcCurrentMinID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeDcCurrentMinID) params:params]; } - (NSDictionary *)readAttributeDcCurrentMaxWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeDcCurrentMaxID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeDcCurrentMaxID) params:params]; } - (NSDictionary *)readAttributeDcPowerWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeDcPowerID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeDcPowerID) params:params]; } - (NSDictionary *)readAttributeDcPowerMinWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeDcPowerMinID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeDcPowerMinID) params:params]; } - (NSDictionary *)readAttributeDcPowerMaxWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeDcPowerMaxID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeDcPowerMaxID) params:params]; } - (NSDictionary *)readAttributeDcVoltageMultiplierWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeDcVoltageMultiplierID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeDcVoltageMultiplierID) params:params]; } - (NSDictionary *)readAttributeDcVoltageDivisorWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeDcVoltageDivisorID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeDcVoltageDivisorID) params:params]; } - (NSDictionary *)readAttributeDcCurrentMultiplierWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeDcCurrentMultiplierID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeDcCurrentMultiplierID) params:params]; } - (NSDictionary *)readAttributeDcCurrentDivisorWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeDcCurrentDivisorID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeDcCurrentDivisorID) params:params]; } - (NSDictionary *)readAttributeDcPowerMultiplierWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeDcPowerMultiplierID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeDcPowerMultiplierID) params:params]; } - (NSDictionary *)readAttributeDcPowerDivisorWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeDcPowerDivisorID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeDcPowerDivisorID) params:params]; } - (NSDictionary *)readAttributeAcFrequencyWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeAcFrequencyID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeAcFrequencyID) params:params]; } - (NSDictionary *)readAttributeAcFrequencyMinWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeAcFrequencyMinID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeAcFrequencyMinID) params:params]; } - (NSDictionary *)readAttributeAcFrequencyMaxWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeAcFrequencyMaxID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeAcFrequencyMaxID) params:params]; } - (NSDictionary *)readAttributeNeutralCurrentWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeNeutralCurrentID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeNeutralCurrentID) params:params]; } - (NSDictionary *)readAttributeTotalActivePowerWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeTotalActivePowerID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeTotalActivePowerID) params:params]; } - (NSDictionary *)readAttributeTotalReactivePowerWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeTotalReactivePowerID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeTotalReactivePowerID) params:params]; } - (NSDictionary *)readAttributeTotalApparentPowerWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeTotalApparentPowerID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeTotalApparentPowerID) params:params]; } - (NSDictionary *)readAttributeMeasured1stHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeMeasured1stHarmonicCurrentID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeMeasured1stHarmonicCurrentID) + params:params]; } - (NSDictionary *)readAttributeMeasured3rdHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeMeasured3rdHarmonicCurrentID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeMeasured3rdHarmonicCurrentID) + params:params]; } - (NSDictionary *)readAttributeMeasured5thHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeMeasured5thHarmonicCurrentID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeMeasured5thHarmonicCurrentID) + params:params]; } - (NSDictionary *)readAttributeMeasured7thHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeMeasured7thHarmonicCurrentID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeMeasured7thHarmonicCurrentID) + params:params]; } - (NSDictionary *)readAttributeMeasured9thHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeMeasured9thHarmonicCurrentID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeMeasured9thHarmonicCurrentID) + params:params]; } - (NSDictionary *)readAttributeMeasured11thHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeMeasured11thHarmonicCurrentID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeMeasured11thHarmonicCurrentID) + params:params]; } - (NSDictionary *)readAttributeMeasuredPhase1stHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeMeasuredPhase1stHarmonicCurrentID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeMeasuredPhase1stHarmonicCurrentID) + params:params]; } - (NSDictionary *)readAttributeMeasuredPhase3rdHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeMeasuredPhase3rdHarmonicCurrentID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeMeasuredPhase3rdHarmonicCurrentID) + params:params]; } - (NSDictionary *)readAttributeMeasuredPhase5thHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeMeasuredPhase5thHarmonicCurrentID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeMeasuredPhase5thHarmonicCurrentID) + params:params]; } - (NSDictionary *)readAttributeMeasuredPhase7thHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeMeasuredPhase7thHarmonicCurrentID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeMeasuredPhase7thHarmonicCurrentID) + params:params]; } - (NSDictionary *)readAttributeMeasuredPhase9thHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeMeasuredPhase9thHarmonicCurrentID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeMeasuredPhase9thHarmonicCurrentID) + params:params]; } - (NSDictionary *)readAttributeMeasuredPhase11thHarmonicCurrentWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeMeasuredPhase11thHarmonicCurrentID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeMeasuredPhase11thHarmonicCurrentID) + params:params]; } - (NSDictionary *)readAttributeAcFrequencyMultiplierWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeAcFrequencyMultiplierID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeAcFrequencyMultiplierID) + params:params]; } - (NSDictionary *)readAttributeAcFrequencyDivisorWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeAcFrequencyDivisorID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeAcFrequencyDivisorID) params:params]; } - (NSDictionary *)readAttributePowerMultiplierWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributePowerMultiplierID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributePowerMultiplierID) params:params]; } - (NSDictionary *)readAttributePowerDivisorWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributePowerDivisorID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributePowerDivisorID) params:params]; } - (NSDictionary *)readAttributeHarmonicCurrentMultiplierWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeHarmonicCurrentMultiplierID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeHarmonicCurrentMultiplierID) + params:params]; } - (NSDictionary *)readAttributePhaseHarmonicCurrentMultiplierWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributePhaseHarmonicCurrentMultiplierID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributePhaseHarmonicCurrentMultiplierID) + params:params]; } - (NSDictionary *)readAttributeInstantaneousVoltageWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeInstantaneousVoltageID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeInstantaneousVoltageID) params:params]; } - (NSDictionary *)readAttributeInstantaneousLineCurrentWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeInstantaneousLineCurrentID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeInstantaneousLineCurrentID) + params:params]; } - (NSDictionary *)readAttributeInstantaneousActiveCurrentWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeInstantaneousActiveCurrentID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeInstantaneousActiveCurrentID) + params:params]; } - (NSDictionary *)readAttributeInstantaneousReactiveCurrentWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeInstantaneousReactiveCurrentID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeInstantaneousReactiveCurrentID) + params:params]; } - (NSDictionary *)readAttributeInstantaneousPowerWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeInstantaneousPowerID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeInstantaneousPowerID) params:params]; } - (NSDictionary *)readAttributeRmsVoltageWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeRmsVoltageID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsVoltageID) params:params]; } - (NSDictionary *)readAttributeRmsVoltageMinWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeRmsVoltageMinID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsVoltageMinID) params:params]; } - (NSDictionary *)readAttributeRmsVoltageMaxWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeRmsVoltageMaxID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsVoltageMaxID) params:params]; } - (NSDictionary *)readAttributeRmsCurrentWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeRmsCurrentID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsCurrentID) params:params]; } - (NSDictionary *)readAttributeRmsCurrentMinWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeRmsCurrentMinID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsCurrentMinID) params:params]; } - (NSDictionary *)readAttributeRmsCurrentMaxWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeRmsCurrentMaxID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsCurrentMaxID) params:params]; } - (NSDictionary *)readAttributeActivePowerWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeActivePowerID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeActivePowerID) params:params]; } - (NSDictionary *)readAttributeActivePowerMinWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeActivePowerMinID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeActivePowerMinID) params:params]; } - (NSDictionary *)readAttributeActivePowerMaxWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeActivePowerMaxID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeActivePowerMaxID) params:params]; } - (NSDictionary *)readAttributeReactivePowerWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeReactivePowerID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeReactivePowerID) params:params]; } - (NSDictionary *)readAttributeApparentPowerWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeApparentPowerID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeApparentPowerID) params:params]; } - (NSDictionary *)readAttributePowerFactorWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributePowerFactorID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributePowerFactorID) params:params]; } - (NSDictionary *)readAttributeAverageRmsVoltageMeasurementPeriodWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeAverageRmsVoltageMeasurementPeriodID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeAverageRmsVoltageMeasurementPeriodID) + params:params]; } - (void)writeAttributeAverageRmsVoltageMeasurementPeriodWithValue:(NSDictionary *)dataValueDictionary @@ -17706,20 +17837,22 @@ - (void)writeAttributeAverageRmsVoltageMeasurementPeriodWithValue:(NSDictionary< { NSNumber * timedWriteTimeout = params.timedWriteTimeout; - [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeAverageRmsVoltageMeasurementPeriodID) - value:dataValueDictionary - expectedValueInterval:expectedValueIntervalMs - timedWriteTimeout:timedWriteTimeout]; + [self.device + writeAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeAverageRmsVoltageMeasurementPeriodID) + value:dataValueDictionary + expectedValueInterval:expectedValueIntervalMs + timedWriteTimeout:timedWriteTimeout]; } - (NSDictionary *)readAttributeAverageRmsUnderVoltageCounterWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeAverageRmsUnderVoltageCounterID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeAverageRmsUnderVoltageCounterID) + params:params]; } - (void)writeAttributeAverageRmsUnderVoltageCounterWithValue:(NSDictionary *)dataValueDictionary @@ -17735,20 +17868,22 @@ - (void)writeAttributeAverageRmsUnderVoltageCounterWithValue:(NSDictionary *)readAttributeRmsExtremeOverVoltagePeriodWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeRmsExtremeOverVoltagePeriodID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsExtremeOverVoltagePeriodID) + params:params]; } - (void)writeAttributeRmsExtremeOverVoltagePeriodWithValue:(NSDictionary *)dataValueDictionary @@ -17764,20 +17899,22 @@ - (void)writeAttributeRmsExtremeOverVoltagePeriodWithValue:(NSDictionary *)readAttributeRmsExtremeUnderVoltagePeriodWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeRmsExtremeUnderVoltagePeriodID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsExtremeUnderVoltagePeriodID) + params:params]; } - (void)writeAttributeRmsExtremeUnderVoltagePeriodWithValue:(NSDictionary *)dataValueDictionary @@ -17793,19 +17930,20 @@ - (void)writeAttributeRmsExtremeUnderVoltagePeriodWithValue:(NSDictionary *)readAttributeRmsVoltageSagPeriodWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeRmsVoltageSagPeriodID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsVoltageSagPeriodID) params:params]; } @@ -17821,8 +17959,8 @@ - (void)writeAttributeRmsVoltageSagPeriodWithValue:(NSDictionary NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeRmsVoltageSagPeriodID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsVoltageSagPeriodID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -17830,10 +17968,11 @@ - (void)writeAttributeRmsVoltageSagPeriodWithValue:(NSDictionary - (NSDictionary *)readAttributeRmsVoltageSwellPeriodWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeRmsVoltageSwellPeriodID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsVoltageSwellPeriodID) + params:params]; } - (void)writeAttributeRmsVoltageSwellPeriodWithValue:(NSDictionary *)dataValueDictionary @@ -17850,8 +17989,8 @@ - (void)writeAttributeRmsVoltageSwellPeriodWithValue:(NSDictionary *)readAttributeAcVoltageMultiplierWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeAcVoltageMultiplierID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeAcVoltageMultiplierID) params:params]; } - (NSDictionary *)readAttributeAcVoltageDivisorWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeAcVoltageDivisorID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeAcVoltageDivisorID) params:params]; } - (NSDictionary *)readAttributeAcCurrentMultiplierWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeAcCurrentMultiplierID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeAcCurrentMultiplierID) params:params]; } - (NSDictionary *)readAttributeAcCurrentDivisorWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeAcCurrentDivisorID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeAcCurrentDivisorID) params:params]; } - (NSDictionary *)readAttributeAcPowerMultiplierWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeAcPowerMultiplierID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeAcPowerMultiplierID) params:params]; } - (NSDictionary *)readAttributeAcPowerDivisorWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeAcPowerDivisorID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeAcPowerDivisorID) params:params]; } - (NSDictionary *)readAttributeOverloadAlarmsMaskWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeOverloadAlarmsMaskID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeOverloadAlarmsMaskID) params:params]; } @@ -17925,8 +18064,8 @@ - (void)writeAttributeOverloadAlarmsMaskWithValue:(NSDictionary NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeOverloadAlarmsMaskID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeOverloadAlarmsMaskID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -17935,24 +18074,24 @@ - (void)writeAttributeOverloadAlarmsMaskWithValue:(NSDictionary - (NSDictionary *)readAttributeVoltageOverloadWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeVoltageOverloadID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeVoltageOverloadID) params:params]; } - (NSDictionary *)readAttributeCurrentOverloadWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeCurrentOverloadID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeCurrentOverloadID) params:params]; } - (NSDictionary *)readAttributeAcOverloadAlarmsMaskWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeAcOverloadAlarmsMaskID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeAcOverloadAlarmsMaskID) params:params]; } @@ -17968,8 +18107,8 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributeAcVoltageOverloadWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeAcVoltageOverloadID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeAcVoltageOverloadID) params:params]; } - (NSDictionary *)readAttributeAcCurrentOverloadWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeAcCurrentOverloadID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeAcCurrentOverloadID) params:params]; } - (NSDictionary *)readAttributeAcActivePowerOverloadWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeAcActivePowerOverloadID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeAcActivePowerOverloadID) + params:params]; } - (NSDictionary *)readAttributeAcReactivePowerOverloadWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeAcReactivePowerOverloadID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeAcReactivePowerOverloadID) + params:params]; } - (NSDictionary *)readAttributeAverageRmsOverVoltageWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeAverageRmsOverVoltageID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeAverageRmsOverVoltageID) + params:params]; } - (NSDictionary *)readAttributeAverageRmsUnderVoltageWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeAverageRmsUnderVoltageID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeAverageRmsUnderVoltageID) + params:params]; } - (NSDictionary *)readAttributeRmsExtremeOverVoltageWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeRmsExtremeOverVoltageID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsExtremeOverVoltageID) + params:params]; } - (NSDictionary *)readAttributeRmsExtremeUnderVoltageWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeRmsExtremeUnderVoltageID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsExtremeUnderVoltageID) + params:params]; } - (NSDictionary *)readAttributeRmsVoltageSagWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeRmsVoltageSagID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsVoltageSagID) params:params]; } - (NSDictionary *)readAttributeRmsVoltageSwellWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeRmsVoltageSwellID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsVoltageSwellID) params:params]; } - (NSDictionary *)readAttributeLineCurrentPhaseBWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeLineCurrentPhaseBID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeLineCurrentPhaseBID) params:params]; } - (NSDictionary *)readAttributeActiveCurrentPhaseBWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeActiveCurrentPhaseBID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeActiveCurrentPhaseBID) params:params]; } - (NSDictionary *)readAttributeReactiveCurrentPhaseBWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeReactiveCurrentPhaseBID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeReactiveCurrentPhaseBID) + params:params]; } - (NSDictionary *)readAttributeRmsVoltagePhaseBWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeRmsVoltagePhaseBID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsVoltagePhaseBID) params:params]; } - (NSDictionary *)readAttributeRmsVoltageMinPhaseBWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeRmsVoltageMinPhaseBID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsVoltageMinPhaseBID) params:params]; } - (NSDictionary *)readAttributeRmsVoltageMaxPhaseBWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeRmsVoltageMaxPhaseBID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsVoltageMaxPhaseBID) params:params]; } - (NSDictionary *)readAttributeRmsCurrentPhaseBWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeRmsCurrentPhaseBID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsCurrentPhaseBID) params:params]; } - (NSDictionary *)readAttributeRmsCurrentMinPhaseBWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeRmsCurrentMinPhaseBID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsCurrentMinPhaseBID) params:params]; } - (NSDictionary *)readAttributeRmsCurrentMaxPhaseBWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeRmsCurrentMaxPhaseBID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsCurrentMaxPhaseBID) params:params]; } - (NSDictionary *)readAttributeActivePowerPhaseBWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeActivePowerPhaseBID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeActivePowerPhaseBID) params:params]; } - (NSDictionary *)readAttributeActivePowerMinPhaseBWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeActivePowerMinPhaseBID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeActivePowerMinPhaseBID) params:params]; } - (NSDictionary *)readAttributeActivePowerMaxPhaseBWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeActivePowerMaxPhaseBID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeActivePowerMaxPhaseBID) params:params]; } - (NSDictionary *)readAttributeReactivePowerPhaseBWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeReactivePowerPhaseBID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeReactivePowerPhaseBID) params:params]; } - (NSDictionary *)readAttributeApparentPowerPhaseBWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeApparentPowerPhaseBID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeApparentPowerPhaseBID) params:params]; } - (NSDictionary *)readAttributePowerFactorPhaseBWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributePowerFactorPhaseBID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributePowerFactorPhaseBID) params:params]; } @@ -18179,176 +18325,184 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributeAverageRmsOverVoltageCounterPhaseBWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeAverageRmsOverVoltageCounterPhaseBID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeAverageRmsOverVoltageCounterPhaseBID) + params:params]; } - (NSDictionary *)readAttributeAverageRmsUnderVoltageCounterPhaseBWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeAverageRmsUnderVoltageCounterPhaseBID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeAverageRmsUnderVoltageCounterPhaseBID) + params:params]; } - (NSDictionary *)readAttributeRmsExtremeOverVoltagePeriodPhaseBWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeRmsExtremeOverVoltagePeriodPhaseBID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsExtremeOverVoltagePeriodPhaseBID) + params:params]; } - (NSDictionary *)readAttributeRmsExtremeUnderVoltagePeriodPhaseBWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeRmsExtremeUnderVoltagePeriodPhaseBID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsExtremeUnderVoltagePeriodPhaseBID) + params:params]; } - (NSDictionary *)readAttributeRmsVoltageSagPeriodPhaseBWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeRmsVoltageSagPeriodPhaseBID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsVoltageSagPeriodPhaseBID) + params:params]; } - (NSDictionary *)readAttributeRmsVoltageSwellPeriodPhaseBWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeRmsVoltageSwellPeriodPhaseBID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsVoltageSwellPeriodPhaseBID) + params:params]; } - (NSDictionary *)readAttributeLineCurrentPhaseCWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeLineCurrentPhaseCID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeLineCurrentPhaseCID) params:params]; } - (NSDictionary *)readAttributeActiveCurrentPhaseCWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeActiveCurrentPhaseCID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeActiveCurrentPhaseCID) params:params]; } - (NSDictionary *)readAttributeReactiveCurrentPhaseCWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeReactiveCurrentPhaseCID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeReactiveCurrentPhaseCID) + params:params]; } - (NSDictionary *)readAttributeRmsVoltagePhaseCWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeRmsVoltagePhaseCID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsVoltagePhaseCID) params:params]; } - (NSDictionary *)readAttributeRmsVoltageMinPhaseCWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeRmsVoltageMinPhaseCID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsVoltageMinPhaseCID) params:params]; } - (NSDictionary *)readAttributeRmsVoltageMaxPhaseCWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeRmsVoltageMaxPhaseCID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsVoltageMaxPhaseCID) params:params]; } - (NSDictionary *)readAttributeRmsCurrentPhaseCWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeRmsCurrentPhaseCID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsCurrentPhaseCID) params:params]; } - (NSDictionary *)readAttributeRmsCurrentMinPhaseCWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeRmsCurrentMinPhaseCID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsCurrentMinPhaseCID) params:params]; } - (NSDictionary *)readAttributeRmsCurrentMaxPhaseCWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeRmsCurrentMaxPhaseCID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsCurrentMaxPhaseCID) params:params]; } - (NSDictionary *)readAttributeActivePowerPhaseCWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeActivePowerPhaseCID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeActivePowerPhaseCID) params:params]; } - (NSDictionary *)readAttributeActivePowerMinPhaseCWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeActivePowerMinPhaseCID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeActivePowerMinPhaseCID) params:params]; } - (NSDictionary *)readAttributeActivePowerMaxPhaseCWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeActivePowerMaxPhaseCID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeActivePowerMaxPhaseCID) params:params]; } - (NSDictionary *)readAttributeReactivePowerPhaseCWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeReactivePowerPhaseCID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeReactivePowerPhaseCID) params:params]; } - (NSDictionary *)readAttributeApparentPowerPhaseCWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeApparentPowerPhaseCID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeApparentPowerPhaseCID) params:params]; } - (NSDictionary *)readAttributePowerFactorPhaseCWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributePowerFactorPhaseCID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributePowerFactorPhaseCID) params:params]; } @@ -18356,96 +18510,103 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)readAttributeAverageRmsOverVoltageCounterPhaseCWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeAverageRmsOverVoltageCounterPhaseCID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeAverageRmsOverVoltageCounterPhaseCID) + params:params]; } - (NSDictionary *)readAttributeAverageRmsUnderVoltageCounterPhaseCWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeAverageRmsUnderVoltageCounterPhaseCID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeAverageRmsUnderVoltageCounterPhaseCID) + params:params]; } - (NSDictionary *)readAttributeRmsExtremeOverVoltagePeriodPhaseCWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeRmsExtremeOverVoltagePeriodPhaseCID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsExtremeOverVoltagePeriodPhaseCID) + params:params]; } - (NSDictionary *)readAttributeRmsExtremeUnderVoltagePeriodPhaseCWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeRmsExtremeUnderVoltagePeriodPhaseCID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsExtremeUnderVoltagePeriodPhaseCID) + params:params]; } - (NSDictionary *)readAttributeRmsVoltageSagPeriodPhaseCWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeRmsVoltageSagPeriodPhaseCID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsVoltageSagPeriodPhaseCID) + params:params]; } - (NSDictionary *)readAttributeRmsVoltageSwellPeriodPhaseCWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeRmsVoltageSwellPeriodPhaseCID) - params:params]; + return [self.device + readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeRmsVoltageSwellPeriodPhaseCID) + params:params]; } - (NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeGeneratedCommandListID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeGeneratedCommandListID) params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeAcceptedCommandListID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeAcceptedCommandListID) params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterElectricalMeasurementID) - attributeID:@(MTRClusterElectricalMeasurementAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeElectricalMeasurementID) + attributeID:@(MTRAttributeIDTypeClusterElectricalMeasurementAttributeClusterRevisionID) params:params]; } @@ -19942,8 +20103,8 @@ new MTRTestClusterClusterTestEmitTestFabricScopedEventResponseCallbackBridge(sel - (NSDictionary *)readAttributeBooleanWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeBooleanID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeBooleanID) params:params]; } @@ -19959,8 +20120,8 @@ - (void)writeAttributeBooleanWithValue:(NSDictionary *)dataValue NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeBooleanID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeBooleanID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -19969,8 +20130,8 @@ - (void)writeAttributeBooleanWithValue:(NSDictionary *)dataValue - (NSDictionary *)readAttributeBitmap8WithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeBitmap8ID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeBitmap8ID) params:params]; } @@ -19986,8 +20147,8 @@ - (void)writeAttributeBitmap8WithValue:(NSDictionary *)dataValue NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeBitmap8ID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeBitmap8ID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -19996,8 +20157,8 @@ - (void)writeAttributeBitmap8WithValue:(NSDictionary *)dataValue - (NSDictionary *)readAttributeBitmap16WithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeBitmap16ID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeBitmap16ID) params:params]; } @@ -20013,8 +20174,8 @@ - (void)writeAttributeBitmap16WithValue:(NSDictionary *)dataValu NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeBitmap16ID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeBitmap16ID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -20023,8 +20184,8 @@ - (void)writeAttributeBitmap16WithValue:(NSDictionary *)dataValu - (NSDictionary *)readAttributeBitmap32WithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeBitmap32ID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeBitmap32ID) params:params]; } @@ -20040,8 +20201,8 @@ - (void)writeAttributeBitmap32WithValue:(NSDictionary *)dataValu NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeBitmap32ID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeBitmap32ID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -20050,8 +20211,8 @@ - (void)writeAttributeBitmap32WithValue:(NSDictionary *)dataValu - (NSDictionary *)readAttributeBitmap64WithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeBitmap64ID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeBitmap64ID) params:params]; } @@ -20067,8 +20228,8 @@ - (void)writeAttributeBitmap64WithValue:(NSDictionary *)dataValu NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeBitmap64ID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeBitmap64ID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -20077,8 +20238,8 @@ - (void)writeAttributeBitmap64WithValue:(NSDictionary *)dataValu - (NSDictionary *)readAttributeInt8uWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeInt8uID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeInt8uID) params:params]; } @@ -20094,8 +20255,8 @@ - (void)writeAttributeInt8uWithValue:(NSDictionary *)dataValueDi NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeInt8uID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeInt8uID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -20104,8 +20265,8 @@ - (void)writeAttributeInt8uWithValue:(NSDictionary *)dataValueDi - (NSDictionary *)readAttributeInt16uWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeInt16uID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeInt16uID) params:params]; } @@ -20121,8 +20282,8 @@ - (void)writeAttributeInt16uWithValue:(NSDictionary *)dataValueD NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeInt16uID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeInt16uID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -20131,8 +20292,8 @@ - (void)writeAttributeInt16uWithValue:(NSDictionary *)dataValueD - (NSDictionary *)readAttributeInt24uWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeInt24uID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeInt24uID) params:params]; } @@ -20148,8 +20309,8 @@ - (void)writeAttributeInt24uWithValue:(NSDictionary *)dataValueD NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeInt24uID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeInt24uID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -20158,8 +20319,8 @@ - (void)writeAttributeInt24uWithValue:(NSDictionary *)dataValueD - (NSDictionary *)readAttributeInt32uWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeInt32uID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeInt32uID) params:params]; } @@ -20175,8 +20336,8 @@ - (void)writeAttributeInt32uWithValue:(NSDictionary *)dataValueD NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeInt32uID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeInt32uID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -20185,8 +20346,8 @@ - (void)writeAttributeInt32uWithValue:(NSDictionary *)dataValueD - (NSDictionary *)readAttributeInt40uWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeInt40uID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeInt40uID) params:params]; } @@ -20202,8 +20363,8 @@ - (void)writeAttributeInt40uWithValue:(NSDictionary *)dataValueD NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeInt40uID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeInt40uID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -20212,8 +20373,8 @@ - (void)writeAttributeInt40uWithValue:(NSDictionary *)dataValueD - (NSDictionary *)readAttributeInt48uWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeInt48uID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeInt48uID) params:params]; } @@ -20229,8 +20390,8 @@ - (void)writeAttributeInt48uWithValue:(NSDictionary *)dataValueD NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeInt48uID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeInt48uID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -20239,8 +20400,8 @@ - (void)writeAttributeInt48uWithValue:(NSDictionary *)dataValueD - (NSDictionary *)readAttributeInt56uWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeInt56uID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeInt56uID) params:params]; } @@ -20256,8 +20417,8 @@ - (void)writeAttributeInt56uWithValue:(NSDictionary *)dataValueD NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeInt56uID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeInt56uID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -20266,8 +20427,8 @@ - (void)writeAttributeInt56uWithValue:(NSDictionary *)dataValueD - (NSDictionary *)readAttributeInt64uWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeInt64uID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeInt64uID) params:params]; } @@ -20283,8 +20444,8 @@ - (void)writeAttributeInt64uWithValue:(NSDictionary *)dataValueD NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeInt64uID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeInt64uID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -20293,8 +20454,8 @@ - (void)writeAttributeInt64uWithValue:(NSDictionary *)dataValueD - (NSDictionary *)readAttributeInt8sWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeInt8sID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeInt8sID) params:params]; } @@ -20310,8 +20471,8 @@ - (void)writeAttributeInt8sWithValue:(NSDictionary *)dataValueDi NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeInt8sID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeInt8sID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -20320,8 +20481,8 @@ - (void)writeAttributeInt8sWithValue:(NSDictionary *)dataValueDi - (NSDictionary *)readAttributeInt16sWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeInt16sID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeInt16sID) params:params]; } @@ -20337,8 +20498,8 @@ - (void)writeAttributeInt16sWithValue:(NSDictionary *)dataValueD NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeInt16sID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeInt16sID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -20347,8 +20508,8 @@ - (void)writeAttributeInt16sWithValue:(NSDictionary *)dataValueD - (NSDictionary *)readAttributeInt24sWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeInt24sID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeInt24sID) params:params]; } @@ -20364,8 +20525,8 @@ - (void)writeAttributeInt24sWithValue:(NSDictionary *)dataValueD NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeInt24sID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeInt24sID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -20374,8 +20535,8 @@ - (void)writeAttributeInt24sWithValue:(NSDictionary *)dataValueD - (NSDictionary *)readAttributeInt32sWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeInt32sID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeInt32sID) params:params]; } @@ -20391,8 +20552,8 @@ - (void)writeAttributeInt32sWithValue:(NSDictionary *)dataValueD NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeInt32sID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeInt32sID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -20401,8 +20562,8 @@ - (void)writeAttributeInt32sWithValue:(NSDictionary *)dataValueD - (NSDictionary *)readAttributeInt40sWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeInt40sID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeInt40sID) params:params]; } @@ -20418,8 +20579,8 @@ - (void)writeAttributeInt40sWithValue:(NSDictionary *)dataValueD NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeInt40sID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeInt40sID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -20428,8 +20589,8 @@ - (void)writeAttributeInt40sWithValue:(NSDictionary *)dataValueD - (NSDictionary *)readAttributeInt48sWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeInt48sID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeInt48sID) params:params]; } @@ -20445,8 +20606,8 @@ - (void)writeAttributeInt48sWithValue:(NSDictionary *)dataValueD NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeInt48sID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeInt48sID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -20455,8 +20616,8 @@ - (void)writeAttributeInt48sWithValue:(NSDictionary *)dataValueD - (NSDictionary *)readAttributeInt56sWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeInt56sID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeInt56sID) params:params]; } @@ -20472,8 +20633,8 @@ - (void)writeAttributeInt56sWithValue:(NSDictionary *)dataValueD NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeInt56sID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeInt56sID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -20482,8 +20643,8 @@ - (void)writeAttributeInt56sWithValue:(NSDictionary *)dataValueD - (NSDictionary *)readAttributeInt64sWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeInt64sID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeInt64sID) params:params]; } @@ -20499,8 +20660,8 @@ - (void)writeAttributeInt64sWithValue:(NSDictionary *)dataValueD NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeInt64sID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeInt64sID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -20509,8 +20670,8 @@ - (void)writeAttributeInt64sWithValue:(NSDictionary *)dataValueD - (NSDictionary *)readAttributeEnum8WithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeEnum8ID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeEnum8ID) params:params]; } @@ -20526,8 +20687,8 @@ - (void)writeAttributeEnum8WithValue:(NSDictionary *)dataValueDi NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeEnum8ID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeEnum8ID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -20536,8 +20697,8 @@ - (void)writeAttributeEnum8WithValue:(NSDictionary *)dataValueDi - (NSDictionary *)readAttributeEnum16WithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeEnum16ID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeEnum16ID) params:params]; } @@ -20553,8 +20714,8 @@ - (void)writeAttributeEnum16WithValue:(NSDictionary *)dataValueD NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeEnum16ID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeEnum16ID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -20563,8 +20724,8 @@ - (void)writeAttributeEnum16WithValue:(NSDictionary *)dataValueD - (NSDictionary *)readAttributeFloatSingleWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeFloatSingleID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeFloatSingleID) params:params]; } @@ -20580,8 +20741,8 @@ - (void)writeAttributeFloatSingleWithValue:(NSDictionary *)dataV NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeFloatSingleID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeFloatSingleID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -20590,8 +20751,8 @@ - (void)writeAttributeFloatSingleWithValue:(NSDictionary *)dataV - (NSDictionary *)readAttributeFloatDoubleWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeFloatDoubleID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeFloatDoubleID) params:params]; } @@ -20607,8 +20768,8 @@ - (void)writeAttributeFloatDoubleWithValue:(NSDictionary *)dataV NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeFloatDoubleID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeFloatDoubleID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -20617,8 +20778,8 @@ - (void)writeAttributeFloatDoubleWithValue:(NSDictionary *)dataV - (NSDictionary *)readAttributeOctetStringWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeOctetStringID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeOctetStringID) params:params]; } @@ -20634,8 +20795,8 @@ - (void)writeAttributeOctetStringWithValue:(NSDictionary *)dataV NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeOctetStringID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeOctetStringID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -20644,8 +20805,8 @@ - (void)writeAttributeOctetStringWithValue:(NSDictionary *)dataV - (NSDictionary *)readAttributeListInt8uWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeListInt8uID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeListInt8uID) params:params]; } @@ -20661,8 +20822,8 @@ - (void)writeAttributeListInt8uWithValue:(NSDictionary *)dataVal NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeListInt8uID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeListInt8uID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -20671,8 +20832,8 @@ - (void)writeAttributeListInt8uWithValue:(NSDictionary *)dataVal - (NSDictionary *)readAttributeListOctetStringWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeListOctetStringID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeListOctetStringID) params:params]; } @@ -20688,8 +20849,8 @@ - (void)writeAttributeListOctetStringWithValue:(NSDictionary *)d NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeListOctetStringID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeListOctetStringID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -20698,8 +20859,8 @@ - (void)writeAttributeListOctetStringWithValue:(NSDictionary *)d - (NSDictionary *)readAttributeListStructOctetStringWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeListStructOctetStringID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeListStructOctetStringID) params:params]; } @@ -20717,8 +20878,8 @@ - (void)writeAttributeListStructOctetStringWithValue:(NSDictionary *)readAttributeLongOctetStringWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeLongOctetStringID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeLongOctetStringID) params:params]; } @@ -20744,8 +20905,8 @@ - (void)writeAttributeLongOctetStringWithValue:(NSDictionary *)d NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeLongOctetStringID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeLongOctetStringID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -20754,8 +20915,8 @@ - (void)writeAttributeLongOctetStringWithValue:(NSDictionary *)d - (NSDictionary *)readAttributeCharStringWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeCharStringID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeCharStringID) params:params]; } @@ -20771,8 +20932,8 @@ - (void)writeAttributeCharStringWithValue:(NSDictionary *)dataVa NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeCharStringID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeCharStringID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -20781,8 +20942,8 @@ - (void)writeAttributeCharStringWithValue:(NSDictionary *)dataVa - (NSDictionary *)readAttributeLongCharStringWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeLongCharStringID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeLongCharStringID) params:params]; } @@ -20798,8 +20959,8 @@ - (void)writeAttributeLongCharStringWithValue:(NSDictionary *)da NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeLongCharStringID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeLongCharStringID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -20808,8 +20969,8 @@ - (void)writeAttributeLongCharStringWithValue:(NSDictionary *)da - (NSDictionary *)readAttributeEpochUsWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeEpochUsID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeEpochUsID) params:params]; } @@ -20825,8 +20986,8 @@ - (void)writeAttributeEpochUsWithValue:(NSDictionary *)dataValue NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeEpochUsID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeEpochUsID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -20835,8 +20996,8 @@ - (void)writeAttributeEpochUsWithValue:(NSDictionary *)dataValue - (NSDictionary *)readAttributeEpochSWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeEpochSID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeEpochSID) params:params]; } @@ -20852,8 +21013,8 @@ - (void)writeAttributeEpochSWithValue:(NSDictionary *)dataValueD NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeEpochSID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeEpochSID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -20862,8 +21023,8 @@ - (void)writeAttributeEpochSWithValue:(NSDictionary *)dataValueD - (NSDictionary *)readAttributeVendorIdWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeVendorIdID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeVendorIdID) params:params]; } @@ -20879,8 +21040,8 @@ - (void)writeAttributeVendorIdWithValue:(NSDictionary *)dataValu NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeVendorIdID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeVendorIdID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -20888,10 +21049,11 @@ - (void)writeAttributeVendorIdWithValue:(NSDictionary *)dataValu - (NSDictionary *)readAttributeListNullablesAndOptionalsStructWithParams:(MTRReadParams * _Nullable)params { - return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeListNullablesAndOptionalsStructID) - params:params]; + return + [self.device readAttributeWithEndpointID:@(_endpoint) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeListNullablesAndOptionalsStructID) + params:params]; } - (void)writeAttributeListNullablesAndOptionalsStructWithValue:(NSDictionary *)dataValueDictionary @@ -20908,8 +21070,8 @@ - (void)writeAttributeListNullablesAndOptionalsStructWithValue:(NSDictionary *)readAttributeEnumAttrWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeEnumAttrID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeEnumAttrID) params:params]; } @@ -20935,8 +21097,8 @@ - (void)writeAttributeEnumAttrWithValue:(NSDictionary *)dataValu NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeEnumAttrID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeEnumAttrID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -20945,8 +21107,8 @@ - (void)writeAttributeEnumAttrWithValue:(NSDictionary *)dataValu - (NSDictionary *)readAttributeStructAttrWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeStructAttrID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeStructAttrID) params:params]; } @@ -20962,8 +21124,8 @@ - (void)writeAttributeStructAttrWithValue:(NSDictionary *)dataVa NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeStructAttrID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeStructAttrID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -20972,8 +21134,8 @@ - (void)writeAttributeStructAttrWithValue:(NSDictionary *)dataVa - (NSDictionary *)readAttributeRangeRestrictedInt8uWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeRangeRestrictedInt8uID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeRangeRestrictedInt8uID) params:params]; } @@ -20989,8 +21151,8 @@ - (void)writeAttributeRangeRestrictedInt8uWithValue:(NSDictionary *)readAttributeRangeRestrictedInt8sWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeRangeRestrictedInt8sID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeRangeRestrictedInt8sID) params:params]; } @@ -21016,8 +21178,8 @@ - (void)writeAttributeRangeRestrictedInt8sWithValue:(NSDictionary *)readAttributeRangeRestrictedInt16uWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeRangeRestrictedInt16uID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeRangeRestrictedInt16uID) params:params]; } @@ -21045,8 +21207,8 @@ - (void)writeAttributeRangeRestrictedInt16uWithValue:(NSDictionary *)readAttributeRangeRestrictedInt16sWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeRangeRestrictedInt16sID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeRangeRestrictedInt16sID) params:params]; } @@ -21074,8 +21236,8 @@ - (void)writeAttributeRangeRestrictedInt16sWithValue:(NSDictionary *)readAttributeListLongOctetStringWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeListLongOctetStringID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeListLongOctetStringID) params:params]; } @@ -21101,8 +21263,8 @@ - (void)writeAttributeListLongOctetStringWithValue:(NSDictionary NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeListLongOctetStringID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeListLongOctetStringID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -21111,8 +21273,8 @@ - (void)writeAttributeListLongOctetStringWithValue:(NSDictionary - (NSDictionary *)readAttributeListFabricScopedWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeListFabricScopedID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeListFabricScopedID) params:params]; } @@ -21128,8 +21290,8 @@ - (void)writeAttributeListFabricScopedWithValue:(NSDictionary *) NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeListFabricScopedID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeListFabricScopedID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -21138,8 +21300,8 @@ - (void)writeAttributeListFabricScopedWithValue:(NSDictionary *) - (NSDictionary *)readAttributeTimedWriteBooleanWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeTimedWriteBooleanID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeTimedWriteBooleanID) params:params]; } @@ -21155,8 +21317,8 @@ - (void)writeAttributeTimedWriteBooleanWithValue:(NSDictionary * NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeTimedWriteBooleanID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeTimedWriteBooleanID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -21165,8 +21327,8 @@ - (void)writeAttributeTimedWriteBooleanWithValue:(NSDictionary * - (NSDictionary *)readAttributeGeneralErrorBooleanWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeGeneralErrorBooleanID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeGeneralErrorBooleanID) params:params]; } @@ -21182,8 +21344,8 @@ - (void)writeAttributeGeneralErrorBooleanWithValue:(NSDictionary NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeGeneralErrorBooleanID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeGeneralErrorBooleanID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -21192,8 +21354,8 @@ - (void)writeAttributeGeneralErrorBooleanWithValue:(NSDictionary - (NSDictionary *)readAttributeClusterErrorBooleanWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeClusterErrorBooleanID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeClusterErrorBooleanID) params:params]; } @@ -21209,8 +21371,8 @@ - (void)writeAttributeClusterErrorBooleanWithValue:(NSDictionary NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeClusterErrorBooleanID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeClusterErrorBooleanID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -21219,8 +21381,8 @@ - (void)writeAttributeClusterErrorBooleanWithValue:(NSDictionary - (NSDictionary *)readAttributeUnsupportedWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeUnsupportedID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeUnsupportedID) params:params]; } @@ -21236,8 +21398,8 @@ - (void)writeAttributeUnsupportedWithValue:(NSDictionary *)dataV NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeUnsupportedID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeUnsupportedID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -21246,8 +21408,8 @@ - (void)writeAttributeUnsupportedWithValue:(NSDictionary *)dataV - (NSDictionary *)readAttributeNullableBooleanWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableBooleanID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableBooleanID) params:params]; } @@ -21263,8 +21425,8 @@ - (void)writeAttributeNullableBooleanWithValue:(NSDictionary *)d NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableBooleanID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableBooleanID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -21273,8 +21435,8 @@ - (void)writeAttributeNullableBooleanWithValue:(NSDictionary *)d - (NSDictionary *)readAttributeNullableBitmap8WithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableBitmap8ID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableBitmap8ID) params:params]; } @@ -21290,8 +21452,8 @@ - (void)writeAttributeNullableBitmap8WithValue:(NSDictionary *)d NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableBitmap8ID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableBitmap8ID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -21300,8 +21462,8 @@ - (void)writeAttributeNullableBitmap8WithValue:(NSDictionary *)d - (NSDictionary *)readAttributeNullableBitmap16WithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableBitmap16ID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableBitmap16ID) params:params]; } @@ -21317,8 +21479,8 @@ - (void)writeAttributeNullableBitmap16WithValue:(NSDictionary *) NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableBitmap16ID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableBitmap16ID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -21327,8 +21489,8 @@ - (void)writeAttributeNullableBitmap16WithValue:(NSDictionary *) - (NSDictionary *)readAttributeNullableBitmap32WithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableBitmap32ID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableBitmap32ID) params:params]; } @@ -21344,8 +21506,8 @@ - (void)writeAttributeNullableBitmap32WithValue:(NSDictionary *) NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableBitmap32ID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableBitmap32ID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -21354,8 +21516,8 @@ - (void)writeAttributeNullableBitmap32WithValue:(NSDictionary *) - (NSDictionary *)readAttributeNullableBitmap64WithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableBitmap64ID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableBitmap64ID) params:params]; } @@ -21371,8 +21533,8 @@ - (void)writeAttributeNullableBitmap64WithValue:(NSDictionary *) NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableBitmap64ID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableBitmap64ID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -21381,8 +21543,8 @@ - (void)writeAttributeNullableBitmap64WithValue:(NSDictionary *) - (NSDictionary *)readAttributeNullableInt8uWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableInt8uID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableInt8uID) params:params]; } @@ -21398,8 +21560,8 @@ - (void)writeAttributeNullableInt8uWithValue:(NSDictionary *)dat NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableInt8uID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableInt8uID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -21408,8 +21570,8 @@ - (void)writeAttributeNullableInt8uWithValue:(NSDictionary *)dat - (NSDictionary *)readAttributeNullableInt16uWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableInt16uID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableInt16uID) params:params]; } @@ -21425,8 +21587,8 @@ - (void)writeAttributeNullableInt16uWithValue:(NSDictionary *)da NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableInt16uID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableInt16uID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -21435,8 +21597,8 @@ - (void)writeAttributeNullableInt16uWithValue:(NSDictionary *)da - (NSDictionary *)readAttributeNullableInt24uWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableInt24uID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableInt24uID) params:params]; } @@ -21452,8 +21614,8 @@ - (void)writeAttributeNullableInt24uWithValue:(NSDictionary *)da NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableInt24uID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableInt24uID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -21462,8 +21624,8 @@ - (void)writeAttributeNullableInt24uWithValue:(NSDictionary *)da - (NSDictionary *)readAttributeNullableInt32uWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableInt32uID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableInt32uID) params:params]; } @@ -21479,8 +21641,8 @@ - (void)writeAttributeNullableInt32uWithValue:(NSDictionary *)da NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableInt32uID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableInt32uID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -21489,8 +21651,8 @@ - (void)writeAttributeNullableInt32uWithValue:(NSDictionary *)da - (NSDictionary *)readAttributeNullableInt40uWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableInt40uID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableInt40uID) params:params]; } @@ -21506,8 +21668,8 @@ - (void)writeAttributeNullableInt40uWithValue:(NSDictionary *)da NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableInt40uID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableInt40uID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -21516,8 +21678,8 @@ - (void)writeAttributeNullableInt40uWithValue:(NSDictionary *)da - (NSDictionary *)readAttributeNullableInt48uWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableInt48uID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableInt48uID) params:params]; } @@ -21533,8 +21695,8 @@ - (void)writeAttributeNullableInt48uWithValue:(NSDictionary *)da NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableInt48uID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableInt48uID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -21543,8 +21705,8 @@ - (void)writeAttributeNullableInt48uWithValue:(NSDictionary *)da - (NSDictionary *)readAttributeNullableInt56uWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableInt56uID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableInt56uID) params:params]; } @@ -21560,8 +21722,8 @@ - (void)writeAttributeNullableInt56uWithValue:(NSDictionary *)da NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableInt56uID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableInt56uID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -21570,8 +21732,8 @@ - (void)writeAttributeNullableInt56uWithValue:(NSDictionary *)da - (NSDictionary *)readAttributeNullableInt64uWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableInt64uID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableInt64uID) params:params]; } @@ -21587,8 +21749,8 @@ - (void)writeAttributeNullableInt64uWithValue:(NSDictionary *)da NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableInt64uID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableInt64uID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -21597,8 +21759,8 @@ - (void)writeAttributeNullableInt64uWithValue:(NSDictionary *)da - (NSDictionary *)readAttributeNullableInt8sWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableInt8sID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableInt8sID) params:params]; } @@ -21614,8 +21776,8 @@ - (void)writeAttributeNullableInt8sWithValue:(NSDictionary *)dat NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableInt8sID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableInt8sID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -21624,8 +21786,8 @@ - (void)writeAttributeNullableInt8sWithValue:(NSDictionary *)dat - (NSDictionary *)readAttributeNullableInt16sWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableInt16sID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableInt16sID) params:params]; } @@ -21641,8 +21803,8 @@ - (void)writeAttributeNullableInt16sWithValue:(NSDictionary *)da NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableInt16sID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableInt16sID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -21651,8 +21813,8 @@ - (void)writeAttributeNullableInt16sWithValue:(NSDictionary *)da - (NSDictionary *)readAttributeNullableInt24sWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableInt24sID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableInt24sID) params:params]; } @@ -21668,8 +21830,8 @@ - (void)writeAttributeNullableInt24sWithValue:(NSDictionary *)da NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableInt24sID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableInt24sID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -21678,8 +21840,8 @@ - (void)writeAttributeNullableInt24sWithValue:(NSDictionary *)da - (NSDictionary *)readAttributeNullableInt32sWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableInt32sID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableInt32sID) params:params]; } @@ -21695,8 +21857,8 @@ - (void)writeAttributeNullableInt32sWithValue:(NSDictionary *)da NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableInt32sID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableInt32sID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -21705,8 +21867,8 @@ - (void)writeAttributeNullableInt32sWithValue:(NSDictionary *)da - (NSDictionary *)readAttributeNullableInt40sWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableInt40sID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableInt40sID) params:params]; } @@ -21722,8 +21884,8 @@ - (void)writeAttributeNullableInt40sWithValue:(NSDictionary *)da NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableInt40sID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableInt40sID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -21732,8 +21894,8 @@ - (void)writeAttributeNullableInt40sWithValue:(NSDictionary *)da - (NSDictionary *)readAttributeNullableInt48sWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableInt48sID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableInt48sID) params:params]; } @@ -21749,8 +21911,8 @@ - (void)writeAttributeNullableInt48sWithValue:(NSDictionary *)da NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableInt48sID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableInt48sID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -21759,8 +21921,8 @@ - (void)writeAttributeNullableInt48sWithValue:(NSDictionary *)da - (NSDictionary *)readAttributeNullableInt56sWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableInt56sID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableInt56sID) params:params]; } @@ -21776,8 +21938,8 @@ - (void)writeAttributeNullableInt56sWithValue:(NSDictionary *)da NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableInt56sID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableInt56sID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -21786,8 +21948,8 @@ - (void)writeAttributeNullableInt56sWithValue:(NSDictionary *)da - (NSDictionary *)readAttributeNullableInt64sWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableInt64sID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableInt64sID) params:params]; } @@ -21803,8 +21965,8 @@ - (void)writeAttributeNullableInt64sWithValue:(NSDictionary *)da NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableInt64sID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableInt64sID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -21813,8 +21975,8 @@ - (void)writeAttributeNullableInt64sWithValue:(NSDictionary *)da - (NSDictionary *)readAttributeNullableEnum8WithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableEnum8ID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableEnum8ID) params:params]; } @@ -21830,8 +21992,8 @@ - (void)writeAttributeNullableEnum8WithValue:(NSDictionary *)dat NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableEnum8ID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableEnum8ID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -21840,8 +22002,8 @@ - (void)writeAttributeNullableEnum8WithValue:(NSDictionary *)dat - (NSDictionary *)readAttributeNullableEnum16WithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableEnum16ID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableEnum16ID) params:params]; } @@ -21857,8 +22019,8 @@ - (void)writeAttributeNullableEnum16WithValue:(NSDictionary *)da NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableEnum16ID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableEnum16ID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -21867,8 +22029,8 @@ - (void)writeAttributeNullableEnum16WithValue:(NSDictionary *)da - (NSDictionary *)readAttributeNullableFloatSingleWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableFloatSingleID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableFloatSingleID) params:params]; } @@ -21884,8 +22046,8 @@ - (void)writeAttributeNullableFloatSingleWithValue:(NSDictionary NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableFloatSingleID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableFloatSingleID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -21894,8 +22056,8 @@ - (void)writeAttributeNullableFloatSingleWithValue:(NSDictionary - (NSDictionary *)readAttributeNullableFloatDoubleWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableFloatDoubleID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableFloatDoubleID) params:params]; } @@ -21911,8 +22073,8 @@ - (void)writeAttributeNullableFloatDoubleWithValue:(NSDictionary NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableFloatDoubleID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableFloatDoubleID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -21921,8 +22083,8 @@ - (void)writeAttributeNullableFloatDoubleWithValue:(NSDictionary - (NSDictionary *)readAttributeNullableOctetStringWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableOctetStringID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableOctetStringID) params:params]; } @@ -21938,8 +22100,8 @@ - (void)writeAttributeNullableOctetStringWithValue:(NSDictionary NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableOctetStringID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableOctetStringID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -21948,8 +22110,8 @@ - (void)writeAttributeNullableOctetStringWithValue:(NSDictionary - (NSDictionary *)readAttributeNullableCharStringWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableCharStringID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableCharStringID) params:params]; } @@ -21965,8 +22127,8 @@ - (void)writeAttributeNullableCharStringWithValue:(NSDictionary NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableCharStringID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableCharStringID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -21975,8 +22137,8 @@ - (void)writeAttributeNullableCharStringWithValue:(NSDictionary - (NSDictionary *)readAttributeNullableEnumAttrWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableEnumAttrID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableEnumAttrID) params:params]; } @@ -21992,8 +22154,8 @@ - (void)writeAttributeNullableEnumAttrWithValue:(NSDictionary *) NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableEnumAttrID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableEnumAttrID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -22002,8 +22164,8 @@ - (void)writeAttributeNullableEnumAttrWithValue:(NSDictionary *) - (NSDictionary *)readAttributeNullableStructWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableStructID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableStructID) params:params]; } @@ -22019,8 +22181,8 @@ - (void)writeAttributeNullableStructWithValue:(NSDictionary *)da NSNumber * timedWriteTimeout = params.timedWriteTimeout; [self.device writeAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableStructID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableStructID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout]; @@ -22029,8 +22191,8 @@ - (void)writeAttributeNullableStructWithValue:(NSDictionary *)da - (NSDictionary *)readAttributeNullableRangeRestrictedInt8uWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableRangeRestrictedInt8uID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableRangeRestrictedInt8uID) params:params]; } @@ -22048,8 +22210,8 @@ - (void)writeAttributeNullableRangeRestrictedInt8uWithValue:(NSDictionary *)readAttributeNullableRangeRestrictedInt8sWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableRangeRestrictedInt8sID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableRangeRestrictedInt8sID) params:params]; } @@ -22077,8 +22239,8 @@ - (void)writeAttributeNullableRangeRestrictedInt8sWithValue:(NSDictionary *)readAttributeNullableRangeRestrictedInt16uWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableRangeRestrictedInt16uID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableRangeRestrictedInt16uID) params:params]; } @@ -22106,8 +22268,8 @@ - (void)writeAttributeNullableRangeRestrictedInt16uWithValue:(NSDictionary *)readAttributeNullableRangeRestrictedInt16sWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeNullableRangeRestrictedInt16sID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeNullableRangeRestrictedInt16sID) params:params]; } @@ -22135,8 +22297,8 @@ - (void)writeAttributeNullableRangeRestrictedInt16sWithValue:(NSDictionary *)readAttributeGeneratedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeGeneratedCommandListID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeGeneratedCommandListID) params:params]; } - (NSDictionary *)readAttributeAcceptedCommandListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeAcceptedCommandListID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeAcceptedCommandListID) params:params]; } - (NSDictionary *)readAttributeAttributeListWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeAttributeListID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeAttributeListID) params:params]; } - (NSDictionary *)readAttributeFeatureMapWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeFeatureMapID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeFeatureMapID) params:params]; } - (NSDictionary *)readAttributeClusterRevisionWithParams:(MTRReadParams * _Nullable)params { return [self.device readAttributeWithEndpointID:@(_endpoint) - clusterID:@(MTRClusterTestClusterID) - attributeID:@(MTRClusterTestClusterAttributeClusterRevisionID) + clusterID:@(MTRClusterIDTypeTestClusterID) + attributeID:@(MTRAttributeIDTypeClusterTestClusterAttributeClusterRevisionID) params:params]; }