@@ -2972,7 +2972,7 @@ cluster DoorLock = 257 {
2972
2972
readonly attribute optional int8u numberOfCredentialsSupportedPerUser = 28;
2973
2973
attribute access(write: manage) optional char_string<3> language = 33;
2974
2974
attribute access(write: manage) optional int8u LEDSettings = 34;
2975
- attribute access(write: manage) int32u autoRelockTime = 35;
2975
+ attribute access(write: manage) optional int32u autoRelockTime = 35;
2976
2976
attribute access(write: manage) optional int8u soundVolume = 36;
2977
2977
attribute access(write: manage) OperatingModeEnum operatingMode = 37;
2978
2978
readonly attribute DlSupportedOperatingModes supportedOperatingModes = 38;
@@ -3997,6 +3997,21 @@ cluster ColorControl = 768 {
3997
3997
kColorTemperature = 2;
3998
3998
}
3999
3999
4000
+ enum DriftCompensationEnum : enum8 {
4001
+ kNone = 0;
4002
+ kOtherUnknown = 1;
4003
+ kTemperaturemonitoring = 2;
4004
+ kOpticalLuminanceMonitoringAndFeedback = 3;
4005
+ kOpticalColorMonitoringAndFeedback = 4;
4006
+ }
4007
+
4008
+ enum EnhancedColorModeEnum : enum8 {
4009
+ kCurrentHueAndCurrentSaturation = 0;
4010
+ kCurrentXAndCurrentY = 1;
4011
+ kColorTemperature = 2;
4012
+ kEnhancedCurrentHueAndCurrentSaturation = 3;
4013
+ }
4014
+
4000
4015
enum HueDirection : enum8 {
4001
4016
kShortestDistance = 0;
4002
4017
kLongestDistance = 1;
@@ -4049,16 +4064,20 @@ cluster ColorControl = 768 {
4049
4064
kColorTemperature = 0x10;
4050
4065
}
4051
4066
4067
+ bitmap OptionsBitmap : bitmap8 {
4068
+ kExecuteIfOff = 0x1;
4069
+ }
4070
+
4052
4071
readonly attribute optional int8u currentHue = 0;
4053
4072
readonly attribute optional int8u currentSaturation = 1;
4054
4073
readonly attribute optional int16u remainingTime = 2;
4055
4074
readonly attribute optional int16u currentX = 3;
4056
4075
readonly attribute optional int16u currentY = 4;
4057
- readonly attribute optional enum8 driftCompensation = 5;
4076
+ readonly attribute optional DriftCompensationEnum driftCompensation = 5;
4058
4077
readonly attribute optional char_string<254> compensationText = 6;
4059
4078
readonly attribute optional int16u colorTemperatureMireds = 7;
4060
4079
readonly attribute enum8 colorMode = 8;
4061
- attribute bitmap8 options = 15;
4080
+ attribute OptionsBitmap options = 15;
4062
4081
readonly attribute nullable int8u numberOfPrimaries = 16;
4063
4082
readonly attribute optional int16u primary1X = 17;
4064
4083
readonly attribute optional int16u primary1Y = 18;
@@ -4090,7 +4109,7 @@ cluster ColorControl = 768 {
4090
4109
attribute access(write: manage) optional int16u colorPointBY = 59;
4091
4110
attribute access(write: manage) optional nullable int8u colorPointBIntensity = 60;
4092
4111
readonly attribute optional int16u enhancedCurrentHue = 16384;
4093
- readonly attribute enum8 enhancedColorMode = 16385;
4112
+ readonly attribute EnhancedColorModeEnum enhancedColorMode = 16385;
4094
4113
readonly attribute optional int8u colorLoopActive = 16386;
4095
4114
readonly attribute optional int8u colorLoopDirection = 16387;
4096
4115
readonly attribute optional int16u colorLoopTime = 16388;
0 commit comments