Generate ThermostatUserInterface cluster with Alchemy (#39580)
diff --git a/scripts/tools/zap/tests/outputs/all-clusters-app/app-templates/access.h b/scripts/tools/zap/tests/outputs/all-clusters-app/app-templates/access.h
index cc3c659..6e8ed5a 100644
--- a/scripts/tools/zap/tests/outputs/all-clusters-app/app-templates/access.h
+++ b/scripts/tools/zap/tests/outputs/all-clusters-app/app-templates/access.h
@@ -46,8 +46,6 @@
/* Cluster: Energy Preference, Attribute: CurrentEnergyBalance, Privilege: view */ \
/* Cluster: Energy Preference, Attribute: CurrentLowPowerModeSensitivity, Privilege: view */ \
/* Cluster: Window Covering, Attribute: Mode, Privilege: view */ \
- /* Cluster: Thermostat User Interface Configuration, Attribute: KeypadLockout, Privilege: view */ \
- /* Cluster: Thermostat User Interface Configuration, Attribute: ScheduleProgrammingVisibility, Privilege: view */ \
/* Cluster: Color Control, Attribute: WhitePointX, Privilege: view */ \
/* Cluster: Color Control, Attribute: WhitePointY, Privilege: view */ \
/* Cluster: Color Control, Attribute: ColorPointRX, Privilege: view */ \
@@ -81,8 +79,6 @@
/* Cluster: Energy Preference, Attribute: CurrentEnergyBalance, Privilege: view */ \
/* Cluster: Energy Preference, Attribute: CurrentLowPowerModeSensitivity, Privilege: view */ \
/* Cluster: Window Covering, Attribute: Mode, Privilege: view */ \
- /* Cluster: Thermostat User Interface Configuration, Attribute: KeypadLockout, Privilege: view */ \
- /* Cluster: Thermostat User Interface Configuration, Attribute: ScheduleProgrammingVisibility, Privilege: view */ \
/* Cluster: Color Control, Attribute: WhitePointX, Privilege: view */ \
/* Cluster: Color Control, Attribute: WhitePointY, Privilege: view */ \
/* Cluster: Color Control, Attribute: ColorPointRX, Privilege: view */ \
@@ -116,8 +112,6 @@
/* Cluster: Energy Preference, Attribute: CurrentEnergyBalance, Privilege: view */ \
/* Cluster: Energy Preference, Attribute: CurrentLowPowerModeSensitivity, Privilege: view */ \
/* Cluster: Window Covering, Attribute: Mode, Privilege: view */ \
- /* Cluster: Thermostat User Interface Configuration, Attribute: KeypadLockout, Privilege: view */ \
- /* Cluster: Thermostat User Interface Configuration, Attribute: ScheduleProgrammingVisibility, Privilege: view */ \
/* Cluster: Color Control, Attribute: WhitePointX, Privilege: view */ \
/* Cluster: Color Control, Attribute: WhitePointY, Privilege: view */ \
/* Cluster: Color Control, Attribute: ColorPointRX, Privilege: view */ \
diff --git a/src/app/zap-templates/zcl/data-model/chip/thermostat-user-interface-configuration-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/thermostat-user-interface-configuration-cluster.xml
index ed0b412..254855a 100644
--- a/src/app/zap-templates/zcl/data-model/chip/thermostat-user-interface-configuration-cluster.xml
+++ b/src/app/zap-templates/zcl/data-model/chip/thermostat-user-interface-configuration-cluster.xml
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<!--
-Copyright (c) 2023 Project CHIP Authors
+Copyright (c) 2023-2025 Project CHIP Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -14,33 +14,28 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<configurator>
+<!--
+XML generated by Alchemy; DO NOT EDIT.
+Source: src/app_clusters/ThermostatUserInterfaceConfiguration.adoc
+Parameters:
+Git: 0.9.2-summer2025-124-g2b25c360b
+-->
+<configurator xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../zcl.xsd">
<domain name="HVAC"/>
-
<cluster>
<name>Thermostat User Interface Configuration</name>
<domain>HVAC</domain>
<description>An interface for configuring the user interface of a thermostat (which may be remote from the thermostat).</description>
<code>0x0204</code>
<define>THERMOSTAT_USER_INTERFACE_CONFIGURATION_CLUSTER</define>
-
<client tick="false" init="false">true</client>
<server tick="false" tickFrequency="half" init="false">true</server>
-
<globalAttribute side="either" code="0xFFFD" value="2"/>
-
- <attribute side="server" code="0x0000" name="TemperatureDisplayMode" define="TEMPERATURE_DISPLAY_MODE" type="TemperatureDisplayModeEnum" min="0x00" max="0x01" writable="true" default="0x00">
- <mandatoryConform/>
- </attribute>
-
- <attribute side="server" code="0x0001" name="KeypadLockout" define="KEYPAD_LOCKOUT" type="KeypadLockoutEnum" min="0x00" max="0x05" writable="true" default="0x00">
- <access op="read" role="view"/>
+ <attribute side="server" code="0x0000" name="TemperatureDisplayMode" define="TEMPERATURE_DISPLAY_MODE" type="TemperatureDisplayModeEnum" max="0x01" writable="true"/>
+ <attribute side="server" code="0x0001" name="KeypadLockout" define="KEYPAD_LOCKOUT" type="KeypadLockoutEnum" max="0x05" writable="true">
<access op="write" role="manage"/>
- <mandatoryConform/>
</attribute>
-
- <attribute side="server" code="0x0002" name="ScheduleProgrammingVisibility" define="SCHEDULE_PROGRAMMING_VISIBILITY" type="ScheduleProgrammingVisibilityEnum" min="0x00" max="0x01" writable="true" optional="true" introducedIn="ha-1.2-05-3520-29">
- <access op="read" role="view"/>
+ <attribute side="server" code="0x0002" name="ScheduleProgrammingVisibility" define="SCHEDULE_PROGRAMMING_VISIBILITY" type="ScheduleProgrammingVisibilityEnum" max="0x01" writable="true" introducedIn="ha-1.2-05-3520-29" default="0x00">
<access op="write" role="manage"/>
<optionalConform/>
</attribute>
@@ -67,5 +62,4 @@
<item name="Celsius" value="0x00"/>
<item name="Fahrenheit" value="0x01"/>
</enum>
-
</configurator>