From 108e4fefc0ef40337f8480dcaf75a4ac48e8fc5f Mon Sep 17 00:00:00 2001 From: krypton36 Date: Wed, 11 May 2022 08:41:41 -0700 Subject: [PATCH] Generated code --- .../zap-generated/cluster/Commands.h | 220 ++++++++++++++++++ 1 file changed, 220 insertions(+) diff --git a/zzz_generated/chip-tool-darwin/zap-generated/cluster/Commands.h b/zzz_generated/chip-tool-darwin/zap-generated/cluster/Commands.h index b02f250525fc52..ba4d559a5e80b9 100644 --- a/zzz_generated/chip-tool-darwin/zap-generated/cluster/Commands.h +++ b/zzz_generated/chip-tool-darwin/zap-generated/cluster/Commands.h @@ -234,6 +234,7 @@ class WriteAccessControlAcl : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSArray * _Nonnull value; { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; @@ -402,6 +403,7 @@ class WriteAccessControlExtension : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSArray * _Nonnull value; { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; @@ -3663,6 +3665,7 @@ class WriteApplicationLauncherCurrentApp : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; CHIPApplicationLauncherClusterApplicationEP * _Nullable value; if (mValue.IsNull()) { value = nil; @@ -5108,6 +5111,7 @@ class WriteBarrierControlBarrierOpenEvents : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedShort:mValue]; [cluster writeAttributeBarrierOpenEventsWithValue:value @@ -5219,6 +5223,7 @@ class WriteBarrierControlBarrierCloseEvents : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedShort:mValue]; [cluster writeAttributeBarrierCloseEventsWithValue:value @@ -5331,6 +5336,7 @@ class WriteBarrierControlBarrierCommandOpenEvents : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedShort:mValue]; [cluster @@ -5445,6 +5451,7 @@ class WriteBarrierControlBarrierCommandCloseEvents : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedShort:mValue]; [cluster writeAttributeBarrierCommandCloseEventsWithValue:value @@ -5558,6 +5565,7 @@ class WriteBarrierControlBarrierOpenPeriod : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedShort:mValue]; [cluster writeAttributeBarrierOpenPeriodWithValue:value @@ -5669,6 +5677,7 @@ class WriteBarrierControlBarrierClosePeriod : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedShort:mValue]; [cluster writeAttributeBarrierClosePeriodWithValue:value @@ -6636,6 +6645,7 @@ class WriteBasicNodeLabel : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSString * _Nonnull value = [[NSString alloc] initWithBytes:mValue.data() length:mValue.size() encoding:NSUTF8StringEncoding]; @@ -6747,6 +6757,7 @@ class WriteBasicLocation : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSString * _Nonnull value = [[NSString alloc] initWithBytes:mValue.data() length:mValue.size() encoding:NSUTF8StringEncoding]; @@ -7490,6 +7501,7 @@ class WriteBasicLocalConfigDisabled : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithBool:mValue]; [cluster writeAttributeLocalConfigDisabledWithValue:value @@ -8190,6 +8202,7 @@ class WriteBinaryInputBasicActiveText : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSString * _Nonnull value = [[NSString alloc] initWithBytes:mValue.data() length:mValue.size() encoding:NSUTF8StringEncoding]; @@ -8308,6 +8321,7 @@ class WriteBinaryInputBasicDescription : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSString * _Nonnull value = [[NSString alloc] initWithBytes:mValue.data() length:mValue.size() encoding:NSUTF8StringEncoding]; @@ -8426,6 +8440,7 @@ class WriteBinaryInputBasicInactiveText : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSString * _Nonnull value = [[NSString alloc] initWithBytes:mValue.data() length:mValue.size() encoding:NSUTF8StringEncoding]; @@ -8544,6 +8559,7 @@ class WriteBinaryInputBasicOutOfService : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithBool:mValue]; [cluster writeAttributeOutOfServiceWithValue:value @@ -8734,6 +8750,7 @@ class WriteBinaryInputBasicPresentValue : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithBool:mValue]; [cluster writeAttributePresentValueWithValue:value @@ -8850,6 +8867,7 @@ class WriteBinaryInputBasicReliability : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedChar:mValue]; [cluster writeAttributeReliabilityWithValue:value @@ -9502,6 +9520,7 @@ class WriteBindingBinding : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSArray * _Nonnull value; { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; @@ -11937,6 +11956,7 @@ class WriteBridgedDeviceBasicNodeLabel : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSString * _Nonnull value = [[NSString alloc] initWithBytes:mValue.data() length:mValue.size() encoding:NSUTF8StringEncoding]; @@ -15822,6 +15842,7 @@ class WriteColorControlColorControlOptions : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedChar:mValue]; [cluster writeAttributeColorControlOptionsWithValue:value @@ -17263,6 +17284,7 @@ class WriteColorControlWhitePointX : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedShort:mValue]; [cluster @@ -17373,6 +17395,7 @@ class WriteColorControlWhitePointY : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedShort:mValue]; [cluster @@ -17483,6 +17506,7 @@ class WriteColorControlColorPointRX : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedShort:mValue]; [cluster writeAttributeColorPointRXWithValue:value @@ -17593,6 +17617,7 @@ class WriteColorControlColorPointRY : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedShort:mValue]; [cluster writeAttributeColorPointRYWithValue:value @@ -17703,6 +17728,7 @@ class WriteColorControlColorPointRIntensity : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedChar:mValue]; [cluster writeAttributeColorPointRIntensityWithValue:value @@ -17814,6 +17840,7 @@ class WriteColorControlColorPointGX : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedShort:mValue]; [cluster writeAttributeColorPointGXWithValue:value @@ -17924,6 +17951,7 @@ class WriteColorControlColorPointGY : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedShort:mValue]; [cluster writeAttributeColorPointGYWithValue:value @@ -18034,6 +18062,7 @@ class WriteColorControlColorPointGIntensity : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedChar:mValue]; [cluster writeAttributeColorPointGIntensityWithValue:value @@ -18145,6 +18174,7 @@ class WriteColorControlColorPointBX : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedShort:mValue]; [cluster writeAttributeColorPointBXWithValue:value @@ -18255,6 +18285,7 @@ class WriteColorControlColorPointBY : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedShort:mValue]; [cluster writeAttributeColorPointBYWithValue:value @@ -18365,6 +18396,7 @@ class WriteColorControlColorPointBIntensity : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedChar:mValue]; [cluster writeAttributeColorPointBIntensityWithValue:value @@ -19262,6 +19294,7 @@ class WriteColorControlStartUpColorTemperatureMireds : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedShort:mValue]; [cluster writeAttributeStartUpColorTemperatureMiredsWithValue:value @@ -20148,6 +20181,7 @@ class WriteContentLauncherSupportedStreamingProtocols : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedInt:mValue]; [cluster writeAttributeSupportedStreamingProtocolsWithValue:value @@ -23837,6 +23871,7 @@ class WriteDoorLockDoorOpenEvents : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedInt:mValue]; [cluster writeAttributeDoorOpenEventsWithValue:value @@ -23947,6 +23982,7 @@ class WriteDoorLockDoorClosedEvents : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedInt:mValue]; [cluster writeAttributeDoorClosedEventsWithValue:value @@ -24057,6 +24093,7 @@ class WriteDoorLockOpenPeriod : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedShort:mValue]; [cluster writeAttributeOpenPeriodWithValue:value @@ -25039,6 +25076,7 @@ class WriteDoorLockEnableLogging : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithBool:mValue]; [cluster @@ -25149,6 +25187,7 @@ class WriteDoorLockLanguage : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSString * _Nonnull value = [[NSString alloc] initWithBytes:mValue.data() length:mValue.size() encoding:NSUTF8StringEncoding]; @@ -25260,6 +25299,7 @@ class WriteDoorLockLEDSettings : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedChar:mValue]; [cluster writeAttributeLEDSettingsWithValue:value @@ -25369,6 +25409,7 @@ class WriteDoorLockAutoRelockTime : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedInt:mValue]; [cluster writeAttributeAutoRelockTimeWithValue:value @@ -25479,6 +25520,7 @@ class WriteDoorLockSoundVolume : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedChar:mValue]; [cluster writeAttributeSoundVolumeWithValue:value @@ -25588,6 +25630,7 @@ class WriteDoorLockOperatingMode : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedChar:mValue]; [cluster @@ -25843,6 +25886,7 @@ class WriteDoorLockEnableLocalProgramming : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithBool:mValue]; [cluster writeAttributeEnableLocalProgrammingWithValue:value @@ -25954,6 +25998,7 @@ class WriteDoorLockEnableOneTouchLocking : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithBool:mValue]; [cluster writeAttributeEnableOneTouchLockingWithValue:value @@ -26065,6 +26110,7 @@ class WriteDoorLockEnableInsideStatusLED : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithBool:mValue]; [cluster writeAttributeEnableInsideStatusLEDWithValue:value @@ -26177,6 +26223,7 @@ class WriteDoorLockEnablePrivacyModeButton : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithBool:mValue]; [cluster writeAttributeEnablePrivacyModeButtonWithValue:value @@ -26289,6 +26336,7 @@ class WriteDoorLockLocalProgrammingFeatures : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedChar:mValue]; [cluster writeAttributeLocalProgrammingFeaturesWithValue:value @@ -26401,6 +26449,7 @@ class WriteDoorLockWrongCodeEntryLimit : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedChar:mValue]; [cluster writeAttributeWrongCodeEntryLimitWithValue:value @@ -26512,6 +26561,7 @@ class WriteDoorLockUserCodeTemporaryDisableTime : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedChar:mValue]; [cluster writeAttributeUserCodeTemporaryDisableTimeWithValue:value @@ -26625,6 +26675,7 @@ class WriteDoorLockSendPINOverTheAir : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithBool:mValue]; [cluster writeAttributeSendPINOverTheAirWithValue:value @@ -26736,6 +26787,7 @@ class WriteDoorLockRequirePINforRemoteOperation : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithBool:mValue]; [cluster writeAttributeRequirePINforRemoteOperationWithValue:value @@ -26849,6 +26901,7 @@ class WriteDoorLockExpiringUserTimeout : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedShort:mValue]; [cluster writeAttributeExpiringUserTimeoutWithValue:value @@ -26959,6 +27012,7 @@ class WriteDoorLockAlarmMask : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedShort:mValue]; [cluster writeAttributeAlarmMaskWithValue:value @@ -27069,6 +27123,7 @@ class WriteDoorLockKeypadOperationEventMask : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedShort:mValue]; [cluster writeAttributeKeypadOperationEventMaskWithValue:value @@ -27182,6 +27237,7 @@ class WriteDoorLockRemoteOperationEventMask : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedShort:mValue]; [cluster writeAttributeRemoteOperationEventMaskWithValue:value @@ -27295,6 +27351,7 @@ class WriteDoorLockManualOperationEventMask : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedShort:mValue]; [cluster writeAttributeManualOperationEventMaskWithValue:value @@ -27407,6 +27464,7 @@ class WriteDoorLockRFIDOperationEventMask : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedShort:mValue]; [cluster writeAttributeRFIDOperationEventMaskWithValue:value @@ -27519,6 +27577,7 @@ class WriteDoorLockKeypadProgrammingEventMask : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedShort:mValue]; [cluster @@ -27633,6 +27692,7 @@ class WriteDoorLockRemoteProgrammingEventMask : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedShort:mValue]; [cluster @@ -27747,6 +27807,7 @@ class WriteDoorLockRFIDProgrammingEventMask : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedShort:mValue]; [cluster writeAttributeRFIDProgrammingEventMaskWithValue:value @@ -32849,6 +32910,7 @@ class WriteElectricalMeasurementAverageRmsVoltageMeasurementPeriod : public Writ CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedShort:mValue]; [cluster writeAttributeAverageRmsVoltageMeasurementPeriodWithValue:value @@ -32972,6 +33034,7 @@ class WriteElectricalMeasurementAverageRmsUnderVoltageCounter : public WriteAttr CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedShort:mValue]; [cluster @@ -33095,6 +33158,7 @@ class WriteElectricalMeasurementRmsExtremeOverVoltagePeriod : public WriteAttrib CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedShort:mValue]; [cluster writeAttributeRmsExtremeOverVoltagePeriodWithValue:value @@ -33216,6 +33280,7 @@ class WriteElectricalMeasurementRmsExtremeUnderVoltagePeriod : public WriteAttri CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedShort:mValue]; [cluster writeAttributeRmsExtremeUnderVoltagePeriodWithValue:value @@ -33336,6 +33401,7 @@ class WriteElectricalMeasurementRmsVoltageSagPeriod : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedShort:mValue]; [cluster @@ -33454,6 +33520,7 @@ class WriteElectricalMeasurementRmsVoltageSwellPeriod : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedShort:mValue]; [cluster @@ -34022,6 +34089,7 @@ class WriteElectricalMeasurementOverloadAlarmsMask : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedChar:mValue]; [cluster writeAttributeOverloadAlarmsMaskWithValue:value @@ -34289,6 +34357,7 @@ class WriteElectricalMeasurementAcOverloadAlarmsMask : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedShort:mValue]; [cluster @@ -40037,6 +40106,7 @@ class WriteFanControlFanMode : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedChar:mValue]; [cluster writeAttributeFanModeWithValue:value @@ -40146,6 +40216,7 @@ class WriteFanControlFanModeSequence : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedChar:mValue]; [cluster writeAttributeFanModeSequenceWithValue:value @@ -40256,6 +40327,7 @@ class WriteFanControlPercentSetting : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedChar:mValue]; [cluster writeAttributePercentSettingWithValue:value @@ -40506,6 +40578,7 @@ class WriteFanControlSpeedSetting : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedChar:mValue]; [cluster @@ -40756,6 +40829,7 @@ class WriteFanControlRockSetting : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedChar:mValue]; [cluster @@ -40936,6 +41010,7 @@ class WriteFanControlWindSetting : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedChar:mValue]; [cluster @@ -42680,6 +42755,7 @@ class WriteGeneralCommissioningBreadcrumb : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedLongLong:mValue]; [cluster writeAttributeBreadcrumbWithValue:value @@ -44752,6 +44828,7 @@ class WriteGroupKeyManagementGroupKeyMap : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSArray * _Nonnull value; { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; @@ -46396,6 +46473,7 @@ class WriteIdentifyIdentifyTime : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedShort:mValue]; [cluster @@ -49065,6 +49143,7 @@ class WriteLevelControlOptions : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedChar:mValue]; [cluster writeAttributeOptionsWithValue:value @@ -49174,6 +49253,7 @@ class WriteLevelControlOnOffTransitionTime : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedShort:mValue]; [cluster writeAttributeOnOffTransitionTimeWithValue:value @@ -49285,6 +49365,7 @@ class WriteLevelControlOnLevel : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nullable value = [NSNumber numberWithUnsignedChar:mValue]; [cluster writeAttributeOnLevelWithValue:value @@ -49394,6 +49475,7 @@ class WriteLevelControlOnTransitionTime : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nullable value = [NSNumber numberWithUnsignedShort:mValue]; [cluster writeAttributeOnTransitionTimeWithValue:value @@ -49504,6 +49586,7 @@ class WriteLevelControlOffTransitionTime : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nullable value = [NSNumber numberWithUnsignedShort:mValue]; [cluster writeAttributeOffTransitionTimeWithValue:value @@ -49614,6 +49697,7 @@ class WriteLevelControlDefaultMoveRate : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nullable value = [NSNumber numberWithUnsignedChar:mValue]; [cluster writeAttributeDefaultMoveRateWithValue:value @@ -49724,6 +49808,7 @@ class WriteLevelControlStartUpCurrentLevel : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nullable value = [NSNumber numberWithUnsignedChar:mValue]; [cluster writeAttributeStartUpCurrentLevelWithValue:value @@ -50208,6 +50293,7 @@ class WriteLocalizationConfigurationActiveLocale : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSString * _Nonnull value = [[NSString alloc] initWithBytes:mValue.data() length:mValue.size() encoding:NSUTF8StringEncoding]; @@ -53628,6 +53714,7 @@ class WriteModeSelectStartUpMode : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nullable value = [NSNumber numberWithUnsignedChar:mValue]; [cluster @@ -53738,6 +53825,7 @@ class WriteModeSelectOnMode : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nullable value = [NSNumber numberWithUnsignedChar:mValue]; [cluster writeAttributeOnModeWithValue:value @@ -54882,6 +54970,7 @@ class WriteNetworkCommissioningInterfaceEnabled : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithBool:mValue]; [cluster writeAttributeInterfaceEnabledWithValue:value @@ -56285,6 +56374,7 @@ class WriteOtaSoftwareUpdateRequestorDefaultOtaProviders : public WriteAttribute CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSArray * _Nonnull value; { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; @@ -57271,6 +57361,7 @@ class WriteOccupancySensingPirOccupiedToUnoccupiedDelay : public WriteAttribute CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedShort:mValue]; [cluster writeAttributePirOccupiedToUnoccupiedDelayWithValue:value @@ -57391,6 +57482,7 @@ class WriteOccupancySensingPirUnoccupiedToOccupiedDelay : public WriteAttribute CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedShort:mValue]; [cluster writeAttributePirUnoccupiedToOccupiedDelayWithValue:value @@ -57511,6 +57603,7 @@ class WriteOccupancySensingPirUnoccupiedToOccupiedThreshold : public WriteAttrib CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedChar:mValue]; [cluster @@ -57634,6 +57727,7 @@ class WriteOccupancySensingUltrasonicOccupiedToUnoccupiedDelay : public WriteAtt CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedShort:mValue]; [cluster writeAttributeUltrasonicOccupiedToUnoccupiedDelayWithValue:value @@ -57758,6 +57852,7 @@ class WriteOccupancySensingUltrasonicUnoccupiedToOccupiedDelay : public WriteAtt CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedShort:mValue]; [cluster writeAttributeUltrasonicUnoccupiedToOccupiedDelayWithValue:value @@ -57883,6 +57978,7 @@ class WriteOccupancySensingUltrasonicUnoccupiedToOccupiedThreshold : public Writ CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedChar:mValue]; [cluster writeAttributeUltrasonicUnoccupiedToOccupiedThresholdWithValue:value @@ -58009,6 +58105,7 @@ class WriteOccupancySensingPhysicalContactOccupiedToUnoccupiedDelay : public Wri CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedShort:mValue]; [cluster @@ -58136,6 +58233,7 @@ class WriteOccupancySensingPhysicalContactUnoccupiedToOccupiedDelay : public Wri CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedShort:mValue]; [cluster @@ -58263,6 +58361,7 @@ class WriteOccupancySensingPhysicalContactUnoccupiedToOccupiedThreshold : public CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedChar:mValue]; [cluster writeAttributePhysicalContactUnoccupiedToOccupiedThresholdWithValue:value @@ -59205,6 +59304,7 @@ class WriteOnOffOnTime : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedShort:mValue]; [cluster writeAttributeOnTimeWithValue:value @@ -59314,6 +59414,7 @@ class WriteOnOffOffWaitTime : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedShort:mValue]; [cluster writeAttributeOffWaitTimeWithValue:value @@ -59423,6 +59524,7 @@ class WriteOnOffStartUpOnOff : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nullable value = [NSNumber numberWithUnsignedChar:mValue]; [cluster writeAttributeStartUpOnOffWithValue:value @@ -59977,6 +60079,7 @@ class WriteOnOffSwitchConfigurationSwitchActions : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedChar:mValue]; [cluster writeAttributeSwitchActionsWithValue:value @@ -67355,6 +67458,7 @@ class WritePumpConfigurationAndControlLifetimeRunningHours : public WriteAttribu CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nullable value = [NSNumber numberWithUnsignedInt:mValue]; [cluster writeAttributeLifetimeRunningHoursWithValue:value @@ -67547,6 +67651,7 @@ class WritePumpConfigurationAndControlLifetimeEnergyConsumed : public WriteAttri CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nullable value = [NSNumber numberWithUnsignedInt:mValue]; [cluster writeAttributeLifetimeEnergyConsumedWithValue:value @@ -67666,6 +67771,7 @@ class WritePumpConfigurationAndControlOperationMode : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedChar:mValue]; [cluster writeAttributeOperationModeWithValue:value @@ -67783,6 +67889,7 @@ class WritePumpConfigurationAndControlControlMode : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedChar:mValue]; [cluster writeAttributeControlModeWithValue:value @@ -74697,6 +74804,7 @@ class WriteTestClusterBoolean : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithBool:mValue]; [cluster writeAttributeBooleanWithValue:value @@ -74806,6 +74914,7 @@ class WriteTestClusterBitmap8 : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedChar:mValue]; [cluster writeAttributeBitmap8WithValue:value @@ -74915,6 +75024,7 @@ class WriteTestClusterBitmap16 : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedShort:mValue]; [cluster writeAttributeBitmap16WithValue:value @@ -75024,6 +75134,7 @@ class WriteTestClusterBitmap32 : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedInt:mValue]; [cluster writeAttributeBitmap32WithValue:value @@ -75133,6 +75244,7 @@ class WriteTestClusterBitmap64 : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedLongLong:mValue]; [cluster writeAttributeBitmap64WithValue:value @@ -75242,6 +75354,7 @@ class WriteTestClusterInt8u : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedChar:mValue]; [cluster writeAttributeInt8uWithValue:value @@ -75351,6 +75464,7 @@ class WriteTestClusterInt16u : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedShort:mValue]; [cluster writeAttributeInt16uWithValue:value @@ -75460,6 +75574,7 @@ class WriteTestClusterInt24u : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedInt:mValue]; [cluster writeAttributeInt24uWithValue:value @@ -75569,6 +75684,7 @@ class WriteTestClusterInt32u : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedInt:mValue]; [cluster writeAttributeInt32uWithValue:value @@ -75678,6 +75794,7 @@ class WriteTestClusterInt40u : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedLongLong:mValue]; [cluster writeAttributeInt40uWithValue:value @@ -75787,6 +75904,7 @@ class WriteTestClusterInt48u : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedLongLong:mValue]; [cluster writeAttributeInt48uWithValue:value @@ -75896,6 +76014,7 @@ class WriteTestClusterInt56u : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedLongLong:mValue]; [cluster writeAttributeInt56uWithValue:value @@ -76005,6 +76124,7 @@ class WriteTestClusterInt64u : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedLongLong:mValue]; [cluster writeAttributeInt64uWithValue:value @@ -76114,6 +76234,7 @@ class WriteTestClusterInt8s : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithChar:mValue]; [cluster writeAttributeInt8sWithValue:value @@ -76223,6 +76344,7 @@ class WriteTestClusterInt16s : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithShort:mValue]; [cluster writeAttributeInt16sWithValue:value @@ -76332,6 +76454,7 @@ class WriteTestClusterInt24s : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithInt:mValue]; [cluster writeAttributeInt24sWithValue:value @@ -76441,6 +76564,7 @@ class WriteTestClusterInt32s : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithInt:mValue]; [cluster writeAttributeInt32sWithValue:value @@ -76550,6 +76674,7 @@ class WriteTestClusterInt40s : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithLongLong:mValue]; [cluster writeAttributeInt40sWithValue:value @@ -76659,6 +76784,7 @@ class WriteTestClusterInt48s : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithLongLong:mValue]; [cluster writeAttributeInt48sWithValue:value @@ -76768,6 +76894,7 @@ class WriteTestClusterInt56s : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithLongLong:mValue]; [cluster writeAttributeInt56sWithValue:value @@ -76877,6 +77004,7 @@ class WriteTestClusterInt64s : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithLongLong:mValue]; [cluster writeAttributeInt64sWithValue:value @@ -76986,6 +77114,7 @@ class WriteTestClusterEnum8 : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedChar:mValue]; [cluster writeAttributeEnum8WithValue:value @@ -77095,6 +77224,7 @@ class WriteTestClusterEnum16 : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedShort:mValue]; [cluster writeAttributeEnum16WithValue:value @@ -77204,6 +77334,7 @@ class WriteTestClusterFloatSingle : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithFloat:mValue]; [cluster @@ -77314,6 +77445,7 @@ class WriteTestClusterFloatDouble : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithDouble:mValue]; [cluster @@ -77424,6 +77556,7 @@ class WriteTestClusterOctetString : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSData * _Nonnull value = [[NSData alloc] initWithBytes:mValue.data() length:mValue.size()]; [cluster @@ -77535,6 +77668,7 @@ class WriteTestClusterListInt8u : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSArray * _Nonnull value; { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; @@ -77655,6 +77789,7 @@ class WriteTestClusterListOctetString : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSArray * _Nonnull value; { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; @@ -77776,6 +77911,7 @@ class WriteTestClusterListStructOctetString : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSArray * _Nonnull value; { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; @@ -77901,6 +78037,7 @@ class WriteTestClusterLongOctetString : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSData * _Nonnull value = [[NSData alloc] initWithBytes:mValue.data() length:mValue.size()]; [cluster writeAttributeLongOctetStringWithValue:value @@ -78011,6 +78148,7 @@ class WriteTestClusterCharString : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSString * _Nonnull value = [[NSString alloc] initWithBytes:mValue.data() length:mValue.size() encoding:NSUTF8StringEncoding]; @@ -78123,6 +78261,7 @@ class WriteTestClusterLongCharString : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSString * _Nonnull value = [[NSString alloc] initWithBytes:mValue.data() length:mValue.size() encoding:NSUTF8StringEncoding]; @@ -78235,6 +78374,7 @@ class WriteTestClusterEpochUs : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedLongLong:mValue]; [cluster writeAttributeEpochUsWithValue:value @@ -78344,6 +78484,7 @@ class WriteTestClusterEpochS : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedInt:mValue]; [cluster writeAttributeEpochSWithValue:value @@ -78453,6 +78594,7 @@ class WriteTestClusterVendorId : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedShort:mValue]; [cluster writeAttributeVendorIdWithValue:value @@ -78564,6 +78706,7 @@ class WriteTestClusterListNullablesAndOptionalsStruct : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSArray * _Nonnull value; { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; @@ -78841,6 +78984,7 @@ class WriteTestClusterEnumAttr : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedChar:mValue]; [cluster writeAttributeEnumAttrWithValue:value @@ -78952,6 +79096,7 @@ class WriteTestClusterStructAttr : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; CHIPTestClusterClusterSimpleStruct * _Nonnull value; value = [CHIPTestClusterClusterSimpleStruct new]; value.a = [NSNumber numberWithUnsignedChar:mValue.a]; @@ -79073,6 +79218,7 @@ class WriteTestClusterRangeRestrictedInt8u : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedChar:mValue]; [cluster writeAttributeRangeRestrictedInt8uWithValue:value @@ -79184,6 +79330,7 @@ class WriteTestClusterRangeRestrictedInt8s : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithChar:mValue]; [cluster writeAttributeRangeRestrictedInt8sWithValue:value @@ -79295,6 +79442,7 @@ class WriteTestClusterRangeRestrictedInt16u : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedShort:mValue]; [cluster writeAttributeRangeRestrictedInt16uWithValue:value @@ -79406,6 +79554,7 @@ class WriteTestClusterRangeRestrictedInt16s : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithShort:mValue]; [cluster writeAttributeRangeRestrictedInt16sWithValue:value @@ -79518,6 +79667,7 @@ class WriteTestClusterListLongOctetString : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSArray * _Nonnull value; { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; @@ -79644,6 +79794,7 @@ class WriteTestClusterListFabricScoped : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSArray * _Nonnull value; { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; @@ -79814,6 +79965,7 @@ class WriteTestClusterTimedWriteBoolean : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithBool:mValue]; [cluster writeAttributeTimedWriteBooleanWithValue:value @@ -79924,6 +80076,7 @@ class WriteTestClusterGeneralErrorBoolean : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithBool:mValue]; [cluster writeAttributeGeneralErrorBooleanWithValue:value @@ -80035,6 +80188,7 @@ class WriteTestClusterClusterErrorBoolean : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithBool:mValue]; [cluster writeAttributeClusterErrorBooleanWithValue:value @@ -80146,6 +80300,7 @@ class WriteTestClusterUnsupported : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithBool:mValue]; [cluster @@ -80256,6 +80411,7 @@ class WriteTestClusterNullableBoolean : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nullable value = [NSNumber numberWithBool:mValue]; [cluster writeAttributeNullableBooleanWithValue:value @@ -80366,6 +80522,7 @@ class WriteTestClusterNullableBitmap8 : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nullable value = [NSNumber numberWithUnsignedChar:mValue]; [cluster writeAttributeNullableBitmap8WithValue:value @@ -80476,6 +80633,7 @@ class WriteTestClusterNullableBitmap16 : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nullable value = [NSNumber numberWithUnsignedShort:mValue]; [cluster writeAttributeNullableBitmap16WithValue:value @@ -80586,6 +80744,7 @@ class WriteTestClusterNullableBitmap32 : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nullable value = [NSNumber numberWithUnsignedInt:mValue]; [cluster writeAttributeNullableBitmap32WithValue:value @@ -80696,6 +80855,7 @@ class WriteTestClusterNullableBitmap64 : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nullable value = [NSNumber numberWithUnsignedLongLong:mValue]; [cluster writeAttributeNullableBitmap64WithValue:value @@ -80806,6 +80966,7 @@ class WriteTestClusterNullableInt8u : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nullable value = [NSNumber numberWithUnsignedChar:mValue]; [cluster writeAttributeNullableInt8uWithValue:value @@ -80916,6 +81077,7 @@ class WriteTestClusterNullableInt16u : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nullable value = [NSNumber numberWithUnsignedShort:mValue]; [cluster writeAttributeNullableInt16uWithValue:value @@ -81026,6 +81188,7 @@ class WriteTestClusterNullableInt24u : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nullable value = [NSNumber numberWithUnsignedInt:mValue]; [cluster writeAttributeNullableInt24uWithValue:value @@ -81136,6 +81299,7 @@ class WriteTestClusterNullableInt32u : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nullable value = [NSNumber numberWithUnsignedInt:mValue]; [cluster writeAttributeNullableInt32uWithValue:value @@ -81246,6 +81410,7 @@ class WriteTestClusterNullableInt40u : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nullable value = [NSNumber numberWithUnsignedLongLong:mValue]; [cluster writeAttributeNullableInt40uWithValue:value @@ -81356,6 +81521,7 @@ class WriteTestClusterNullableInt48u : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nullable value = [NSNumber numberWithUnsignedLongLong:mValue]; [cluster writeAttributeNullableInt48uWithValue:value @@ -81466,6 +81632,7 @@ class WriteTestClusterNullableInt56u : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nullable value = [NSNumber numberWithUnsignedLongLong:mValue]; [cluster writeAttributeNullableInt56uWithValue:value @@ -81576,6 +81743,7 @@ class WriteTestClusterNullableInt64u : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nullable value = [NSNumber numberWithUnsignedLongLong:mValue]; [cluster writeAttributeNullableInt64uWithValue:value @@ -81686,6 +81854,7 @@ class WriteTestClusterNullableInt8s : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nullable value = [NSNumber numberWithChar:mValue]; [cluster writeAttributeNullableInt8sWithValue:value @@ -81796,6 +81965,7 @@ class WriteTestClusterNullableInt16s : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nullable value = [NSNumber numberWithShort:mValue]; [cluster writeAttributeNullableInt16sWithValue:value @@ -81906,6 +82076,7 @@ class WriteTestClusterNullableInt24s : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nullable value = [NSNumber numberWithInt:mValue]; [cluster writeAttributeNullableInt24sWithValue:value @@ -82016,6 +82187,7 @@ class WriteTestClusterNullableInt32s : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nullable value = [NSNumber numberWithInt:mValue]; [cluster writeAttributeNullableInt32sWithValue:value @@ -82126,6 +82298,7 @@ class WriteTestClusterNullableInt40s : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nullable value = [NSNumber numberWithLongLong:mValue]; [cluster writeAttributeNullableInt40sWithValue:value @@ -82236,6 +82409,7 @@ class WriteTestClusterNullableInt48s : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nullable value = [NSNumber numberWithLongLong:mValue]; [cluster writeAttributeNullableInt48sWithValue:value @@ -82346,6 +82520,7 @@ class WriteTestClusterNullableInt56s : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nullable value = [NSNumber numberWithLongLong:mValue]; [cluster writeAttributeNullableInt56sWithValue:value @@ -82456,6 +82631,7 @@ class WriteTestClusterNullableInt64s : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nullable value = [NSNumber numberWithLongLong:mValue]; [cluster writeAttributeNullableInt64sWithValue:value @@ -82566,6 +82742,7 @@ class WriteTestClusterNullableEnum8 : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nullable value = [NSNumber numberWithUnsignedChar:mValue]; [cluster writeAttributeNullableEnum8WithValue:value @@ -82676,6 +82853,7 @@ class WriteTestClusterNullableEnum16 : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nullable value = [NSNumber numberWithUnsignedShort:mValue]; [cluster writeAttributeNullableEnum16WithValue:value @@ -82786,6 +82964,7 @@ class WriteTestClusterNullableFloatSingle : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nullable value = [NSNumber numberWithFloat:mValue]; [cluster writeAttributeNullableFloatSingleWithValue:value @@ -82897,6 +83076,7 @@ class WriteTestClusterNullableFloatDouble : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nullable value = [NSNumber numberWithDouble:mValue]; [cluster writeAttributeNullableFloatDoubleWithValue:value @@ -83008,6 +83188,7 @@ class WriteTestClusterNullableOctetString : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSData * _Nullable value = [[NSData alloc] initWithBytes:mValue.data() length:mValue.size()]; [cluster writeAttributeNullableOctetStringWithValue:value @@ -83119,6 +83300,7 @@ class WriteTestClusterNullableCharString : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSString * _Nullable value = [[NSString alloc] initWithBytes:mValue.data() length:mValue.size() encoding:NSUTF8StringEncoding]; @@ -83232,6 +83414,7 @@ class WriteTestClusterNullableEnumAttr : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nullable value = [NSNumber numberWithUnsignedChar:mValue]; [cluster writeAttributeNullableEnumAttrWithValue:value @@ -83344,6 +83527,7 @@ class WriteTestClusterNullableStruct : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; CHIPTestClusterClusterSimpleStruct * _Nullable value; if (mValue.IsNull()) { value = nil; @@ -83472,6 +83656,7 @@ class WriteTestClusterNullableRangeRestrictedInt8u : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nullable value = [NSNumber numberWithUnsignedChar:mValue]; [cluster writeAttributeNullableRangeRestrictedInt8uWithValue:value @@ -83586,6 +83771,7 @@ class WriteTestClusterNullableRangeRestrictedInt8s : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nullable value = [NSNumber numberWithChar:mValue]; [cluster writeAttributeNullableRangeRestrictedInt8sWithValue:value @@ -83700,6 +83886,7 @@ class WriteTestClusterNullableRangeRestrictedInt16u : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nullable value = [NSNumber numberWithUnsignedShort:mValue]; [cluster writeAttributeNullableRangeRestrictedInt16uWithValue:value @@ -83815,6 +84002,7 @@ class WriteTestClusterNullableRangeRestrictedInt16s : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nullable value = [NSNumber numberWithShort:mValue]; [cluster writeAttributeNullableRangeRestrictedInt16sWithValue:value @@ -85243,6 +85431,7 @@ class WriteThermostatHvacSystemTypeConfiguration : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedChar:mValue]; [cluster writeAttributeHvacSystemTypeConfigurationWithValue:value @@ -85357,6 +85546,7 @@ class WriteThermostatLocalTemperatureCalibration : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithChar:mValue]; [cluster writeAttributeLocalTemperatureCalibrationWithValue:value @@ -85471,6 +85661,7 @@ class WriteThermostatOccupiedCoolingSetpoint : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithShort:mValue]; [cluster writeAttributeOccupiedCoolingSetpointWithValue:value @@ -85583,6 +85774,7 @@ class WriteThermostatOccupiedHeatingSetpoint : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithShort:mValue]; [cluster writeAttributeOccupiedHeatingSetpointWithValue:value @@ -85695,6 +85887,7 @@ class WriteThermostatUnoccupiedCoolingSetpoint : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithShort:mValue]; [cluster @@ -85809,6 +86002,7 @@ class WriteThermostatUnoccupiedHeatingSetpoint : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithShort:mValue]; [cluster @@ -85922,6 +86116,7 @@ class WriteThermostatMinHeatSetpointLimit : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithShort:mValue]; [cluster writeAttributeMinHeatSetpointLimitWithValue:value @@ -86033,6 +86228,7 @@ class WriteThermostatMaxHeatSetpointLimit : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithShort:mValue]; [cluster writeAttributeMaxHeatSetpointLimitWithValue:value @@ -86144,6 +86340,7 @@ class WriteThermostatMinCoolSetpointLimit : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithShort:mValue]; [cluster writeAttributeMinCoolSetpointLimitWithValue:value @@ -86255,6 +86452,7 @@ class WriteThermostatMaxCoolSetpointLimit : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithShort:mValue]; [cluster writeAttributeMaxCoolSetpointLimitWithValue:value @@ -86366,6 +86564,7 @@ class WriteThermostatMinSetpointDeadBand : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithChar:mValue]; [cluster writeAttributeMinSetpointDeadBandWithValue:value @@ -86477,6 +86676,7 @@ class WriteThermostatRemoteSensing : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedChar:mValue]; [cluster writeAttributeRemoteSensingWithValue:value @@ -86588,6 +86788,7 @@ class WriteThermostatControlSequenceOfOperation : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedChar:mValue]; [cluster @@ -86701,6 +86902,7 @@ class WriteThermostatSystemMode : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedChar:mValue]; [cluster writeAttributeSystemModeWithValue:value @@ -87168,6 +87370,7 @@ class WriteThermostatTemperatureSetpointHold : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedChar:mValue]; [cluster writeAttributeTemperatureSetpointHoldWithValue:value @@ -87280,6 +87483,7 @@ class WriteThermostatTemperatureSetpointHoldDuration : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedShort:mValue]; [cluster writeAttributeTemperatureSetpointHoldDurationWithValue:value @@ -87395,6 +87599,7 @@ class WriteThermostatThermostatProgrammingOperationMode : public WriteAttribute CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedChar:mValue]; [cluster @@ -87798,6 +88003,7 @@ class WriteThermostatAcType : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedChar:mValue]; [cluster writeAttributeAcTypeWithValue:value @@ -87907,6 +88113,7 @@ class WriteThermostatAcCapacity : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedShort:mValue]; [cluster writeAttributeAcCapacityWithValue:value @@ -88016,6 +88223,7 @@ class WriteThermostatAcRefrigerantType : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedChar:mValue]; [cluster writeAttributeAcRefrigerantTypeWithValue:value @@ -88126,6 +88334,7 @@ class WriteThermostatAcCompressorType : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedChar:mValue]; [cluster writeAttributeAcCompressorTypeWithValue:value @@ -88236,6 +88445,7 @@ class WriteThermostatAcErrorCode : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedInt:mValue]; [cluster @@ -88346,6 +88556,7 @@ class WriteThermostatAcLouverPosition : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedChar:mValue]; [cluster writeAttributeAcLouverPositionWithValue:value @@ -88526,6 +88737,7 @@ class WriteThermostatAcCapacityFormat : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedChar:mValue]; [cluster writeAttributeAcCapacityFormatWithValue:value @@ -89009,6 +89221,7 @@ class WriteThermostatUserInterfaceConfigurationTemperatureDisplayMode : public W CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedChar:mValue]; [cluster @@ -89126,6 +89339,7 @@ class WriteThermostatUserInterfaceConfigurationKeypadLockout : public WriteAttri CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedChar:mValue]; [cluster @@ -89243,6 +89457,7 @@ class WriteThermostatUserInterfaceConfigurationScheduleProgrammingVisibility : p CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedChar:mValue]; [cluster writeAttributeScheduleProgrammingVisibilityWithValue:value @@ -94990,6 +95205,7 @@ class WriteTimeFormatLocalizationHourFormat : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedChar:mValue]; [cluster writeAttributeHourFormatWithValue:value @@ -95106,6 +95322,7 @@ class WriteTimeFormatLocalizationActiveCalendarType : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedChar:mValue]; [cluster writeAttributeActiveCalendarTypeWithValue:value @@ -95688,6 +95905,7 @@ class WriteUnitLocalizationTemperatureUnit : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedChar:mValue]; [cluster writeAttributeTemperatureUnitWithValue:value @@ -96189,6 +96407,7 @@ class WriteUserLabelLabelList : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSArray * _Nonnull value; { // Scope for our temporary variables auto * array_0 = [NSMutableArray new]; @@ -100349,6 +100568,7 @@ class WriteWindowCoveringMode : public WriteAttribute { CHIPWriteParams * params = [[CHIPWriteParams alloc] init]; params.timedWriteTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; + params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; NSNumber * _Nonnull value = [NSNumber numberWithUnsignedChar:mValue]; [cluster writeAttributeModeWithValue:value