Skip to content

Commit ffc67e9

Browse files
committed
Generate BooleanState with Alchemy
1 parent bf9ef44 commit ffc67e9

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0"?>
22
<!--
3-
Copyright (c) 2021 Project CHIP Authors
3+
Copyright (c) 2021-2025 Project CHIP Authors
44
55
Licensed under the Apache License, Version 2.0 (the "License");
66
you may not use this file except in compliance with the License.
@@ -14,9 +14,14 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1414
See the License for the specific language governing permissions and
1515
limitations under the License.
1616
-->
17-
<configurator>
17+
<!--
18+
XML generated by Alchemy; DO NOT EDIT.
19+
Source: src/app_clusters/BooleanState.adoc
20+
Parameters: in-progress
21+
Git:
22+
-->
23+
<configurator xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../zcl.xsd">
1824
<domain name="CHIP"/>
19-
2025
<cluster>
2126
<name>Boolean State</name>
2227
<domain>General</domain>
@@ -26,14 +31,12 @@ limitations under the License.
2631
<client tick="false" init="false">true</client>
2732
<server tick="false" init="false">true</server>
2833
<globalAttribute side="either" code="0xFFFD" value="1"/>
29-
<attribute side="server" code="0x0000" name="StateValue" define="STATE_VALUE" type="boolean" reportable="true">
30-
<mandatoryConform/>
31-
</attribute>
32-
33-
<event code="0x0000" name="StateChange" priority="info" side="server">
34-
<description>This event SHALL be generated when the StateValue attribute changes.</description>
34+
<attribute side="server" code="0x0000" name="StateValue" define="STATE_VALUE" type="boolean">StateValue</attribute>
35+
<event code="0x0000" name="StateChange" priority="info" side="server" optional="true">
36+
<description>If this event is supported, it SHALL be generated when the StateValue attribute changes.</description>
3537
<field id="0" name="StateValue" type="boolean"/>
3638
<optionalConform/>
3739
</event>
40+
3841
</cluster>
3942
</configurator>

src/app/zap_cluster_list.json

-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@
145145
"ServerDirectories": {
146146
"ACCESS_CONTROL_CLUSTER": ["access-control-server"],
147147
"ACCOUNT_LOGIN_CLUSTER": ["account-login-server"],
148-
"ACTIONS_CLUSTER": [],
149148
"ACTIVATED_CARBON_FILTER_MONITORING_CLUSTER": [
150149
"resource-monitoring-server"
151150
],

0 commit comments

Comments
 (0)