-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[cluster] Move unspecified thermostat types under the draft folder (#…
- Loading branch information
1 parent
cb5346a
commit 9d25505
Showing
4 changed files
with
51 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Data Model Draft | ||
|
||
### What is this repo? | ||
|
||
This directory contains clusters and types that have not been specified yet. | ||
|
||
**IMPORTANT**: Adding a cluster code to the types in this folder will expose | ||
them as if they are fully specified. |
43 changes: 43 additions & 0 deletions
43
src/app/zap-templates/zcl/data-model/draft/types/thermostat.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<?xml version="1.0"?> | ||
<!-- | ||
Copyright (c) 2023 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. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
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> | ||
<bitmap name="ThermostatOccupancy" type="BITMAP8"> | ||
<field name="occupied" mask="0x1"/> | ||
</bitmap> | ||
|
||
<bitmap name="ThermostatSensing" type="BITMAP8"> | ||
<field name="localTempSensedRemotely" mask="0x1"/> | ||
<field name="outdoorTempSensedRemotely" mask="0x2"/> | ||
<field name="occupancySensedRemotely" mask="0x4"/> | ||
</bitmap> | ||
|
||
<bitmap name="ThermostatAlarmMask" type="BITMAP8"> | ||
<field name="initializationFailure" mask="0x1"/> | ||
<field name="hardwareFailure" mask="0x2"/> | ||
<field name="selfcalibrationFailure" mask="0x4"/> | ||
</bitmap> | ||
|
||
<bitmap name="ThermostatRunningState" type="BITMAP16"> | ||
<field name="HeatStateOn" mask="0x0001"/> | ||
<field name="CoolStateOn" mask="0x0002"/> | ||
<field name="FanStateOn" mask="0x0004"/> | ||
<field name="HeatSecondStageStateOn" mask="0x0008"/> | ||
<field name="CoolSecondStageStateOn" mask="0x0010"/> | ||
<field name="FanSecondStageStateOn" mask="0x0020"/> | ||
<field name="FanThirdStageStateOn" mask="0x0040"/> | ||
</bitmap> | ||
</configurator> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.