From ddc875071c66752d191f5784dac5676b2591cc36 Mon Sep 17 00:00:00 2001 From: Thirupathi S Date: Fri, 5 Jul 2024 15:31:18 +0530 Subject: [PATCH] addressed review comments --- .../all-clusters-common/all-clusters-app.matter | 2 +- .../all-clusters-minimal-app.matter | 2 +- .../rootnode_colortemperaturelight_hbUnzYVeyn.matter | 2 +- .../rootnode_extendedcolorlight_8lcaaYJVAa.matter | 2 +- examples/common/imgui_ui/windows/light.cpp | 12 ++++++------ examples/common/m5stack-tft/repo | 2 +- .../light-switch-common/light-switch-app.matter | 2 +- examples/light-switch-app/qpg/zap/switch.matter | 2 +- .../data_model/lighting-app-ethernet.matter | 2 +- .../data_model/lighting-app-thread.matter | 2 +- .../bouffalolab/data_model/lighting-app-wifi.matter | 2 +- .../lighting-app/lighting-common/lighting-app.matter | 2 +- examples/lighting-app/qpg/zap/light.matter | 2 +- .../silabs/data_model/lighting-thread-app.matter | 2 +- .../silabs/data_model/lighting-wifi-app.matter | 2 +- examples/lighting-app/tizen/src/DBusInterface.cpp | 7 +++---- examples/lighting-app/tizen/src/DBusInterface.h | 2 +- examples/lighting-app/tizen/src/main.cpp | 2 +- examples/placeholder/linux/apps/app1/config.matter | 4 ++-- examples/placeholder/linux/apps/app2/config.matter | 4 ++-- .../virtual-device-common/virtual-device-app.matter | 2 +- src/app/common/CompatEnumNames.h | 9 +++++++++ .../zcl/data-model/chip/color-control-cluster.xml | 2 +- src/controller/data_model/controller-clusters.matter | 2 +- src/controller/python/chip/clusters/Objects.py | 2 +- .../Framework/CHIP/zap-generated/MTRBaseClusters.h | 2 +- .../app-common/zap-generated/cluster-enums-check.h | 2 +- .../app-common/zap-generated/cluster-enums.h | 2 +- 28 files changed, 45 insertions(+), 37 deletions(-) diff --git a/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter b/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter index ebe38b5138aacb..a37de6fddfd51b 100644 --- a/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter +++ b/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter @@ -5460,7 +5460,7 @@ cluster ColorControl = 768 { enum DriftCompensationEnum : enum8 { kNone = 0; kOtherOrUnknown = 1; - kTemperaturemonitoring = 2; + kTemperatureMonitoring = 2; kOpticalLuminanceMonitoringAndFeedback = 3; kOpticalColorMonitoringAndFeedback = 4; } diff --git a/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter b/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter index a96a1110c34c60..0588ebf6b896c6 100644 --- a/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter +++ b/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter @@ -4008,7 +4008,7 @@ cluster ColorControl = 768 { enum DriftCompensationEnum : enum8 { kNone = 0; kOtherOrUnknown = 1; - kTemperaturemonitoring = 2; + kTemperatureMonitoring = 2; kOpticalLuminanceMonitoringAndFeedback = 3; kOpticalColorMonitoringAndFeedback = 4; } diff --git a/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter b/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter index 43b5781abe6b2b..61d932223a1c48 100644 --- a/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter +++ b/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter @@ -1433,7 +1433,7 @@ cluster ColorControl = 768 { enum DriftCompensationEnum : enum8 { kNone = 0; kOtherOrUnknown = 1; - kTemperaturemonitoring = 2; + kTemperatureMonitoring = 2; kOpticalLuminanceMonitoringAndFeedback = 3; kOpticalColorMonitoringAndFeedback = 4; } diff --git a/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter b/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter index 3fb02682478a62..5feeb8b2356457 100644 --- a/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter +++ b/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter @@ -1534,7 +1534,7 @@ cluster ColorControl = 768 { enum DriftCompensationEnum : enum8 { kNone = 0; kOtherOrUnknown = 1; - kTemperaturemonitoring = 2; + kTemperatureMonitoring = 2; kOpticalLuminanceMonitoringAndFeedback = 3; kOpticalColorMonitoringAndFeedback = 4; } diff --git a/examples/common/imgui_ui/windows/light.cpp b/examples/common/imgui_ui/windows/light.cpp index e55eb49198e8de..7058e05b90780a 100644 --- a/examples/common/imgui_ui/windows/light.cpp +++ b/examples/common/imgui_ui/windows/light.cpp @@ -155,14 +155,14 @@ void Light::Render() ImGui::Text("Color Control:"); ImGui::Indent(); const char * mode = // based on ColorMode attribute: spec 3.2.7.9 - (mColorMode == chip::app::Clusters::ColorControl::ColorModeEnum::kCurrentHueAndCurrentSaturation) ? "Hue/Saturation" - : (mColorMode == chip::app::Clusters::ColorControl::ColorModeEnum::kCurrentXAndCurrentY) ? "X/Y" - : (mColorMode == chip::app::Clusters::ColorControl::ColorModeEnum::kColorTemperatureMireds) ? "Temperature/Mireds" + (mColorMode == ColorControl::ColorModeEnum::kCurrentHueAndCurrentSaturation) ? "Hue/Saturation" + : (mColorMode == ColorControl::ColorModeEnum::kCurrentXAndCurrentY) ? "X/Y" + : (mColorMode == ColorControl::ColorModeEnum::kColorTemperatureMireds) ? "Temperature/Mireds" : "UNKNOWN"; ImGui::Text("Mode: %s", mode); - if (mColorMode == chip::app::Clusters::ColorControl::ColorModeEnum::kCurrentHueAndCurrentSaturation) + if (mColorMode == ColorControl::ColorModeEnum::kCurrentHueAndCurrentSaturation) { const float hueDegrees = (mColorHue * 360.0f) / 254.0f; const float saturationPercent = 100.0f * (mColorSaturation / 254.0f); @@ -173,12 +173,12 @@ void Light::Render() ImGui::ColorButton("LightColor", HueSaturationToColor(hueDegrees, saturationPercent), 0 /* ImGuiColorEditFlags_* */, ImVec2(80, 80)); } - else if (mColorMode == chip::app::Clusters::ColorControl::ColorModeEnum::kCurrentXAndCurrentY) + else if (mColorMode == ColorControl::ColorModeEnum::kCurrentXAndCurrentY) { ImGui::Text("Current X: %d", mColorX); ImGui::Text("Current Y: %d", mColorY); } - else if (mColorMode == chip::app::Clusters::ColorControl::ColorModeEnum::kColorTemperatureMireds) + else if (mColorMode == ColorControl::ColorModeEnum::kColorTemperatureMireds) { ImGui::Text("Color Temperature Mireds: %d", mColorTemperatureMireds); } diff --git a/examples/common/m5stack-tft/repo b/examples/common/m5stack-tft/repo index d99f5ef8df180a..a6299b6c7c0b2e 160000 --- a/examples/common/m5stack-tft/repo +++ b/examples/common/m5stack-tft/repo @@ -1 +1 @@ -Subproject commit d99f5ef8df180ab34b3d9fff6888d5bede7665c5 +Subproject commit a6299b6c7c0b2e3eb62fa08ee4bf7155c39bad1f diff --git a/examples/light-switch-app/light-switch-common/light-switch-app.matter b/examples/light-switch-app/light-switch-common/light-switch-app.matter index 3120811288c7e7..ee8bacbeb57613 100644 --- a/examples/light-switch-app/light-switch-common/light-switch-app.matter +++ b/examples/light-switch-app/light-switch-common/light-switch-app.matter @@ -2211,7 +2211,7 @@ cluster ColorControl = 768 { enum DriftCompensationEnum : enum8 { kNone = 0; kOtherOrUnknown = 1; - kTemperaturemonitoring = 2; + kTemperatureMonitoring = 2; kOpticalLuminanceMonitoringAndFeedback = 3; kOpticalColorMonitoringAndFeedback = 4; } diff --git a/examples/light-switch-app/qpg/zap/switch.matter b/examples/light-switch-app/qpg/zap/switch.matter index 1d1b8e97dc8605..8706a9b8e98d95 100644 --- a/examples/light-switch-app/qpg/zap/switch.matter +++ b/examples/light-switch-app/qpg/zap/switch.matter @@ -2008,7 +2008,7 @@ cluster ColorControl = 768 { enum DriftCompensationEnum : enum8 { kNone = 0; kOtherOrUnknown = 1; - kTemperaturemonitoring = 2; + kTemperatureMonitoring = 2; kOpticalLuminanceMonitoringAndFeedback = 3; kOpticalColorMonitoringAndFeedback = 4; } diff --git a/examples/lighting-app/bouffalolab/data_model/lighting-app-ethernet.matter b/examples/lighting-app/bouffalolab/data_model/lighting-app-ethernet.matter index 5d17fec7987a9a..fb6d06e881ec47 100644 --- a/examples/lighting-app/bouffalolab/data_model/lighting-app-ethernet.matter +++ b/examples/lighting-app/bouffalolab/data_model/lighting-app-ethernet.matter @@ -1573,7 +1573,7 @@ cluster ColorControl = 768 { enum DriftCompensationEnum : enum8 { kNone = 0; kOtherOrUnknown = 1; - kTemperaturemonitoring = 2; + kTemperatureMonitoring = 2; kOpticalLuminanceMonitoringAndFeedback = 3; kOpticalColorMonitoringAndFeedback = 4; } diff --git a/examples/lighting-app/bouffalolab/data_model/lighting-app-thread.matter b/examples/lighting-app/bouffalolab/data_model/lighting-app-thread.matter index c93fa5afbf2fba..e083b8491a5c3d 100644 --- a/examples/lighting-app/bouffalolab/data_model/lighting-app-thread.matter +++ b/examples/lighting-app/bouffalolab/data_model/lighting-app-thread.matter @@ -1697,7 +1697,7 @@ cluster ColorControl = 768 { enum DriftCompensationEnum : enum8 { kNone = 0; kOtherOrUnknown = 1; - kTemperaturemonitoring = 2; + kTemperatureMonitoring = 2; kOpticalLuminanceMonitoringAndFeedback = 3; kOpticalColorMonitoringAndFeedback = 4; } diff --git a/examples/lighting-app/bouffalolab/data_model/lighting-app-wifi.matter b/examples/lighting-app/bouffalolab/data_model/lighting-app-wifi.matter index ead68a69989c88..78066ceb0e5c87 100644 --- a/examples/lighting-app/bouffalolab/data_model/lighting-app-wifi.matter +++ b/examples/lighting-app/bouffalolab/data_model/lighting-app-wifi.matter @@ -1608,7 +1608,7 @@ cluster ColorControl = 768 { enum DriftCompensationEnum : enum8 { kNone = 0; kOtherOrUnknown = 1; - kTemperaturemonitoring = 2; + kTemperatureMonitoring = 2; kOpticalLuminanceMonitoringAndFeedback = 3; kOpticalColorMonitoringAndFeedback = 4; } diff --git a/examples/lighting-app/lighting-common/lighting-app.matter b/examples/lighting-app/lighting-common/lighting-app.matter index e8e58538fc1c3a..442fb89a95880d 100644 --- a/examples/lighting-app/lighting-common/lighting-app.matter +++ b/examples/lighting-app/lighting-common/lighting-app.matter @@ -2021,7 +2021,7 @@ cluster ColorControl = 768 { enum DriftCompensationEnum : enum8 { kNone = 0; kOtherOrUnknown = 1; - kTemperaturemonitoring = 2; + kTemperatureMonitoring = 2; kOpticalLuminanceMonitoringAndFeedback = 3; kOpticalColorMonitoringAndFeedback = 4; } diff --git a/examples/lighting-app/qpg/zap/light.matter b/examples/lighting-app/qpg/zap/light.matter index 35b2f6f018e7b9..777bd64c9b2c9f 100644 --- a/examples/lighting-app/qpg/zap/light.matter +++ b/examples/lighting-app/qpg/zap/light.matter @@ -1636,7 +1636,7 @@ cluster ColorControl = 768 { enum DriftCompensationEnum : enum8 { kNone = 0; kOtherOrUnknown = 1; - kTemperaturemonitoring = 2; + kTemperatureMonitoring = 2; kOpticalLuminanceMonitoringAndFeedback = 3; kOpticalColorMonitoringAndFeedback = 4; } diff --git a/examples/lighting-app/silabs/data_model/lighting-thread-app.matter b/examples/lighting-app/silabs/data_model/lighting-thread-app.matter index 482ea45d7a76a5..9c5ff3595fb466 100644 --- a/examples/lighting-app/silabs/data_model/lighting-thread-app.matter +++ b/examples/lighting-app/silabs/data_model/lighting-thread-app.matter @@ -1725,7 +1725,7 @@ cluster ColorControl = 768 { enum DriftCompensationEnum : enum8 { kNone = 0; kOtherOrUnknown = 1; - kTemperaturemonitoring = 2; + kTemperatureMonitoring = 2; kOpticalLuminanceMonitoringAndFeedback = 3; kOpticalColorMonitoringAndFeedback = 4; } diff --git a/examples/lighting-app/silabs/data_model/lighting-wifi-app.matter b/examples/lighting-app/silabs/data_model/lighting-wifi-app.matter index 3a574f124dc072..d6db707d8dd2e0 100644 --- a/examples/lighting-app/silabs/data_model/lighting-wifi-app.matter +++ b/examples/lighting-app/silabs/data_model/lighting-wifi-app.matter @@ -2016,7 +2016,7 @@ cluster ColorControl = 768 { enum DriftCompensationEnum : enum8 { kNone = 0; kOtherOrUnknown = 1; - kTemperaturemonitoring = 2; + kTemperatureMonitoring = 2; kOpticalLuminanceMonitoringAndFeedback = 3; kOpticalColorMonitoringAndFeedback = 4; } diff --git a/examples/lighting-app/tizen/src/DBusInterface.cpp b/examples/lighting-app/tizen/src/DBusInterface.cpp index a3cbe44587b927..65f39687c72214 100644 --- a/examples/lighting-app/tizen/src/DBusInterface.cpp +++ b/examples/lighting-app/tizen/src/DBusInterface.cpp @@ -92,7 +92,7 @@ void DBusInterface::SetCurrentLevel(uint8_t value) light_app_level_control_set_current_level(mIfaceLevelControl, value); } -void DBusInterface::SetColorMode(chip::app::Clusters::ColorControl::ColorModeEnum colorMode) +void DBusInterface::SetColorMode(chip::app::Clusters::ColorControl::ColorMode colorMode) { InternalSetGuard guard(this); if (light_app_color_control_get_color_mode(mIfaceColorControl) != chip::to_underlying(colorMode)) @@ -217,12 +217,11 @@ void DBusInterface::InitOnOff() void DBusInterface::InitColor() { { - chip::app::Clusters::ColorControl::ColorModeEnum value = - chip::app::Clusters::ColorControl::ColorModeEnum::kCurrentHueAndCurrentSaturation; + auto value = 0; auto status = Clusters::ColorControl::Attributes::ColorMode::Get(mEndpointId, &value); VerifyOrReturn(status == Protocols::InteractionModel::Status::Success, ChipLogError(NotSpecified, "Error getting ColorMode: 0x%x", to_underlying(status))); - light_app_color_control_set_color_mode(mIfaceColorControl, static_cast(value)); + light_app_color_control_set_color_mode(mIfaceColorControl, value); } { uint16_t value = 0; diff --git a/examples/lighting-app/tizen/src/DBusInterface.h b/examples/lighting-app/tizen/src/DBusInterface.h index 96790f48fa5f6c..c5d58775dde384 100644 --- a/examples/lighting-app/tizen/src/DBusInterface.h +++ b/examples/lighting-app/tizen/src/DBusInterface.h @@ -39,7 +39,7 @@ class DBusInterface void Identify(uint16_t time); void SetOnOff(bool on); void SetCurrentLevel(uint8_t value); - void SetColorMode(chip::app::Clusters::ColorControl::ColorModeEnum colorMode); + void SetColorMode(chip::app::Clusters::ColorControl::ColorMode colorMode); void SetColorTemperature(uint16_t value); private: diff --git a/examples/lighting-app/tizen/src/main.cpp b/examples/lighting-app/tizen/src/main.cpp index b60e8efdf431b7..040a8a5fcb231f 100644 --- a/examples/lighting-app/tizen/src/main.cpp +++ b/examples/lighting-app/tizen/src/main.cpp @@ -103,7 +103,7 @@ void MatterPostAttributeChangeCallback(const chip::app::ConcreteAttributePath & switch (attributePath.mAttributeId) { case Clusters::ColorControl::Attributes::ColorMode::Id: - sDBusInterface.SetColorMode(static_cast(*value)); + sDBusInterface.SetColorMode(static_cast(*value)); break; case Clusters::ColorControl::Attributes::ColorTemperatureMireds::Id: VerifyOrDie(size == sizeof(uint16_t)); diff --git a/examples/placeholder/linux/apps/app1/config.matter b/examples/placeholder/linux/apps/app1/config.matter index 63af566e57347e..8ddaf4eef11d2d 100644 --- a/examples/placeholder/linux/apps/app1/config.matter +++ b/examples/placeholder/linux/apps/app1/config.matter @@ -5577,7 +5577,7 @@ cluster ColorControl = 768 { enum DriftCompensationEnum : enum8 { kNone = 0; kOtherOrUnknown = 1; - kTemperaturemonitoring = 2; + kTemperatureMonitoring = 2; kOpticalLuminanceMonitoringAndFeedback = 3; kOpticalColorMonitoringAndFeedback = 4; } @@ -5905,7 +5905,7 @@ cluster ColorControl = 768 { enum DriftCompensationEnum : enum8 { kNone = 0; kOtherOrUnknown = 1; - kTemperaturemonitoring = 2; + kTemperatureMonitoring = 2; kOpticalLuminanceMonitoringAndFeedback = 3; kOpticalColorMonitoringAndFeedback = 4; } diff --git a/examples/placeholder/linux/apps/app2/config.matter b/examples/placeholder/linux/apps/app2/config.matter index 43500c69d46e22..73f2a282e53fab 100644 --- a/examples/placeholder/linux/apps/app2/config.matter +++ b/examples/placeholder/linux/apps/app2/config.matter @@ -5534,7 +5534,7 @@ cluster ColorControl = 768 { enum DriftCompensationEnum : enum8 { kNone = 0; kOtherOrUnknown = 1; - kTemperaturemonitoring = 2; + kTemperatureMonitoring = 2; kOpticalLuminanceMonitoringAndFeedback = 3; kOpticalColorMonitoringAndFeedback = 4; } @@ -5862,7 +5862,7 @@ cluster ColorControl = 768 { enum DriftCompensationEnum : enum8 { kNone = 0; kOtherOrUnknown = 1; - kTemperaturemonitoring = 2; + kTemperatureMonitoring = 2; kOpticalLuminanceMonitoringAndFeedback = 3; kOpticalColorMonitoringAndFeedback = 4; } diff --git a/examples/virtual-device-app/virtual-device-common/virtual-device-app.matter b/examples/virtual-device-app/virtual-device-common/virtual-device-app.matter index 130ca249040fd8..090cf532c0f513 100644 --- a/examples/virtual-device-app/virtual-device-common/virtual-device-app.matter +++ b/examples/virtual-device-app/virtual-device-common/virtual-device-app.matter @@ -2872,7 +2872,7 @@ cluster ColorControl = 768 { enum DriftCompensationEnum : enum8 { kNone = 0; kOtherOrUnknown = 1; - kTemperaturemonitoring = 2; + kTemperatureMonitoring = 2; kOpticalLuminanceMonitoringAndFeedback = 3; kOpticalColorMonitoringAndFeedback = 4; } diff --git a/src/app/common/CompatEnumNames.h b/src/app/common/CompatEnumNames.h index ceb91c1981d203..8e190a60f2345e 100644 --- a/src/app/common/CompatEnumNames.h +++ b/src/app/common/CompatEnumNames.h @@ -80,6 +80,15 @@ using StepMode = StepModeEnum; using LevelControlOptions = OptionsBitmap; } // namespace LevelControl +namespace ColorControl { +// https://github.com/project-chip/connectedhomeip/pull/33612 renamed this +using ColorMode = ColorModeEnum; +using ColorTemperature = ColorTemperatureMireds; +using ColorCapabilities = ColorCapabilitiesBitmap; +using ColorLoopUpdateFlags = UpdateFlagsBitmap; +using ColorLoopAction = ColorLoopActionEnum; +} // namespace ColorControl + namespace RefrigeratorAlarm { // https://github.com/project-chip/connectedhomeip/pull/31517 renamed this using AlarmMap = AlarmBitmap; diff --git a/src/app/zap-templates/zcl/data-model/chip/color-control-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/color-control-cluster.xml index 4c24689c865873..58854fdc62ecf1 100644 --- a/src/app/zap-templates/zcl/data-model/chip/color-control-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/color-control-cluster.xml @@ -86,7 +86,7 @@ limitations under the License. - + diff --git a/src/controller/data_model/controller-clusters.matter b/src/controller/data_model/controller-clusters.matter index 7b6c51e4b8a7c6..3f3847f09977e4 100644 --- a/src/controller/data_model/controller-clusters.matter +++ b/src/controller/data_model/controller-clusters.matter @@ -6933,7 +6933,7 @@ cluster ColorControl = 768 { enum DriftCompensationEnum : enum8 { kNone = 0; kOtherOrUnknown = 1; - kTemperaturemonitoring = 2; + kTemperatureMonitoring = 2; kOpticalLuminanceMonitoringAndFeedback = 3; kOpticalColorMonitoringAndFeedback = 4; } diff --git a/src/controller/python/chip/clusters/Objects.py b/src/controller/python/chip/clusters/Objects.py index c416e5dcd9b23b..c964aa6111a5d1 100644 --- a/src/controller/python/chip/clusters/Objects.py +++ b/src/controller/python/chip/clusters/Objects.py @@ -33970,7 +33970,7 @@ class DirectionEnum(MatterIntEnum): class DriftCompensationEnum(MatterIntEnum): kNone = 0x00 kOtherOrUnknown = 0x01 - kTemperaturemonitoring = 0x02 + kTemperatureMonitoring = 0x02 kOpticalLuminanceMonitoringAndFeedback = 0x03 kOpticalColorMonitoringAndFeedback = 0x04 # All received enum values that are not listed above will be mapped diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h b/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h index 18ab8d9d99cb5a..0f50f8ba8f2f4d 100644 --- a/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h +++ b/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h @@ -19725,7 +19725,7 @@ typedef NS_ENUM(uint8_t, MTRColorControlDirection) { typedef NS_ENUM(uint8_t, MTRColorControlDriftCompensation) { MTRColorControlDriftCompensationNone MTR_PROVISIONALLY_AVAILABLE = 0x00, MTRColorControlDriftCompensationOtherOrUnknown MTR_PROVISIONALLY_AVAILABLE = 0x01, - MTRColorControlDriftCompensationTemperaturemonitoring MTR_PROVISIONALLY_AVAILABLE = 0x02, + MTRColorControlDriftCompensationTemperatureMonitoring MTR_PROVISIONALLY_AVAILABLE = 0x02, MTRColorControlDriftCompensationOpticalLuminanceMonitoringAndFeedback MTR_PROVISIONALLY_AVAILABLE = 0x03, MTRColorControlDriftCompensationOpticalColorMonitoringAndFeedback MTR_PROVISIONALLY_AVAILABLE = 0x04, } MTR_PROVISIONALLY_AVAILABLE; diff --git a/zzz_generated/app-common/app-common/zap-generated/cluster-enums-check.h b/zzz_generated/app-common/app-common/zap-generated/cluster-enums-check.h index 7851a6b55393e1..e49dc1c3bcbd77 100644 --- a/zzz_generated/app-common/app-common/zap-generated/cluster-enums-check.h +++ b/zzz_generated/app-common/app-common/zap-generated/cluster-enums-check.h @@ -2927,7 +2927,7 @@ static auto __attribute__((unused)) EnsureKnownEnumValue(ColorControl::DriftComp { case EnumType::kNone: case EnumType::kOtherOrUnknown: - case EnumType::kTemperaturemonitoring: + case EnumType::kTemperatureMonitoring: case EnumType::kOpticalLuminanceMonitoringAndFeedback: case EnumType::kOpticalColorMonitoringAndFeedback: return val; diff --git a/zzz_generated/app-common/app-common/zap-generated/cluster-enums.h b/zzz_generated/app-common/app-common/zap-generated/cluster-enums.h index 0951b5c7f98096..f683d14f7c180a 100644 --- a/zzz_generated/app-common/app-common/zap-generated/cluster-enums.h +++ b/zzz_generated/app-common/app-common/zap-generated/cluster-enums.h @@ -4259,7 +4259,7 @@ enum class DriftCompensationEnum : uint8_t { kNone = 0x00, kOtherOrUnknown = 0x01, - kTemperaturemonitoring = 0x02, + kTemperatureMonitoring = 0x02, kOpticalLuminanceMonitoringAndFeedback = 0x03, kOpticalColorMonitoringAndFeedback = 0x04, // All received enum values that are not listed above will be mapped