Skip to content

Commit d9a7a13

Browse files
vivien-applepull[bot]
authored andcommitted
[cluster] Move unspecified thermostat types under the draft folder (#24729)
1 parent 9bfcb6e commit d9a7a13

File tree

4 files changed

+51
-54
lines changed

4 files changed

+51
-54
lines changed

src/app/zap-templates/zcl/data-model/chip/thermostat-cluster.xml

-26
Original file line numberDiff line numberDiff line change
@@ -27,32 +27,6 @@ limitations under the License.
2727
<field name="AutoMode" mask="0x20"/>
2828
</bitmap>
2929

30-
<bitmap name="ThermostatOccupancy" type="BITMAP8">
31-
<field name="occupied" mask="0x1"/>
32-
</bitmap>
33-
34-
<bitmap name="ThermostatSensing" type="BITMAP8">
35-
<field name="localTempSensedRemotely" mask="0x1"/>
36-
<field name="outdoorTempSensedRemotely" mask="0x2"/>
37-
<field name="occupancySensedRemotely" mask="0x4"/>
38-
</bitmap>
39-
40-
<bitmap name="ThermostatAlarmMask" type="BITMAP8">
41-
<field name="initializationFailure" mask="0x1"/>
42-
<field name="hardwareFailure" mask="0x2"/>
43-
<field name="selfcalibrationFailure" mask="0x4"/>
44-
</bitmap>
45-
46-
<bitmap name="ThermostatRunningState" type="BITMAP16">
47-
<field name="HeatStateOn" mask="0x0001"/>
48-
<field name="CoolStateOn" mask="0x0002"/>
49-
<field name="FanStateOn" mask="0x0004"/>
50-
<field name="HeatSecondStageStateOn" mask="0x0008"/>
51-
<field name="CoolSecondStageStateOn" mask="0x0010"/>
52-
<field name="FanSecondStageStateOn" mask="0x0020"/>
53-
<field name="FanThirdStageStateOn" mask="0x0040"/>
54-
</bitmap>
55-
5630
<bitmap name="DayOfWeek" type="BITMAP8">
5731
<cluster code="0x0201"/>
5832
<field name="Sunday" mask="0x01"/>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Data Model Draft
2+
3+
### What is this repo?
4+
5+
This directory contains clusters and types that have not been specified yet.
6+
7+
**IMPORTANT**: Adding a cluster code to the types in this folder will expose
8+
them as if they are fully specified.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<?xml version="1.0"?>
2+
<!--
3+
Copyright (c) 2023 Project CHIP Authors
4+
5+
Licensed under the Apache License, Version 2.0 (the "License");
6+
you may not use this file except in compliance with the License.
7+
You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
16+
-->
17+
<configurator>
18+
<bitmap name="ThermostatOccupancy" type="BITMAP8">
19+
<field name="occupied" mask="0x1"/>
20+
</bitmap>
21+
22+
<bitmap name="ThermostatSensing" type="BITMAP8">
23+
<field name="localTempSensedRemotely" mask="0x1"/>
24+
<field name="outdoorTempSensedRemotely" mask="0x2"/>
25+
<field name="occupancySensedRemotely" mask="0x4"/>
26+
</bitmap>
27+
28+
<bitmap name="ThermostatAlarmMask" type="BITMAP8">
29+
<field name="initializationFailure" mask="0x1"/>
30+
<field name="hardwareFailure" mask="0x2"/>
31+
<field name="selfcalibrationFailure" mask="0x4"/>
32+
</bitmap>
33+
34+
<bitmap name="ThermostatRunningState" type="BITMAP16">
35+
<field name="HeatStateOn" mask="0x0001"/>
36+
<field name="CoolStateOn" mask="0x0002"/>
37+
<field name="FanStateOn" mask="0x0004"/>
38+
<field name="HeatSecondStageStateOn" mask="0x0008"/>
39+
<field name="CoolSecondStageStateOn" mask="0x0010"/>
40+
<field name="FanSecondStageStateOn" mask="0x0020"/>
41+
<field name="FanThirdStageStateOn" mask="0x0040"/>
42+
</bitmap>
43+
</configurator>

zzz_generated/app-common/app-common/zap-generated/enums.h

-28
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)