Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate BooleanState with Alchemy #37857

Merged
merged 2 commits into from
Mar 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<!--
Copyright (c) 2021 Project CHIP Authors
Copyright (c) 2021-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.
Expand All @@ -14,9 +14,14 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
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/BooleanState.adoc
Parameters: in-progress
Git:
-->
<configurator xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../zcl.xsd">
<domain name="CHIP"/>

<cluster>
<name>Boolean State</name>
<domain>General</domain>
Expand All @@ -26,14 +31,12 @@ limitations under the License.
<client tick="false" init="false">true</client>
<server tick="false" init="false">true</server>
<globalAttribute side="either" code="0xFFFD" value="1"/>
<attribute side="server" code="0x0000" name="StateValue" define="STATE_VALUE" type="boolean" reportable="true">
<mandatoryConform/>
</attribute>

<event code="0x0000" name="StateChange" priority="info" side="server">
<description>This event SHALL be generated when the StateValue attribute changes.</description>
<attribute side="server" code="0x0000" name="StateValue" define="STATE_VALUE" type="boolean">StateValue</attribute>
<event code="0x0000" name="StateChange" priority="info" side="server" optional="true">
<description>If this event is supported, it SHALL be generated when the StateValue attribute changes.</description>
<field id="0" name="StateValue" type="boolean"/>
<optionalConform/>
</event>

</cluster>
</configurator>
5 changes: 2 additions & 3 deletions src/app/zap_cluster_list.json
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
"ServerDirectories": {
"ACCESS_CONTROL_CLUSTER": ["access-control-server"],
"ACCOUNT_LOGIN_CLUSTER": ["account-login-server"],
"ACTIONS_CLUSTER": [],
"ACTIONS_CLUSTER": ["actions-server"],
"ACTIVATED_CARBON_FILTER_MONITORING_CLUSTER": [
"resource-monitoring-server"
],
Expand Down Expand Up @@ -330,7 +330,6 @@
"WINDOW_COVERING_CLUSTER": ["window-covering-server"],
"WATER_HEATER_MANAGEMENT_CLUSTER": ["water-heater-management-server"],
"WATER_HEATER_MODE_CLUSTER": ["mode-base-server"],
"ZONE_MANAGEMENT_CLUSTER": [],
"ACTIONS_CLUSTER": ["actions-server"]
"ZONE_MANAGEMENT_CLUSTER": []
}
}
Loading