Skip to content

Commit

Permalink
Add missing Water Heater device to matter-devices.xml (project-chip#3…
Browse files Browse the repository at this point in the history
…6125)

* Add missing Water Heater device to matter-devices.xml

This PR adds the missing Water Heater device to matter-devices.xml.

The description was generated using the Alchemy tool
(https://github.com/project-chip/alchemy) with the following command:

`alchemy zap --attribute="in-progress"  --sdkRoot=./connectedhomeip/
--specRoot=./connectedhomeip-spec/
./connectedhomeip-spec/src/device_types/WaterHeater.adoc`

I manually fixed the device nae from `Matter Water Heater` to `Water
Heater`.

* zap regen

Change-Id: I522bf3640e65c624c96b281a46caa60ded43e6f7
Reviewed-on: http://androidsource.nxp.com/project/26508
Reviewed-by: Elven Wang <[email protected]>
  • Loading branch information
soares-sergio authored and TE-N-ElvenWang committed Nov 25, 2024
1 parent be13bdf commit c3ceda5
Show file tree
Hide file tree
Showing 4 changed files with 118 additions and 8 deletions.
43 changes: 43 additions & 0 deletions src/app/zap-templates/zcl/data-model/chip/matter-devices.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2698,4 +2698,47 @@ limitations under the License.
<include cluster="Device Energy Management Mode" client="false" server="true" clientLocked="true" serverLocked="false"></include>
</clusters>
</deviceType>
<deviceType>
<name>MA-waterheater</name>
<domain>CHIP</domain>
<typeName>Water Heater</typeName>
<profileId editable="false">0x0103</profileId>
<deviceId editable="false">0x050F</deviceId>
<class>Simple</class>
<scope>Endpoint</scope>
<clusters>
<include cluster="Descriptor" client="false" server="true" clientLocked="true" serverLocked="true">
<requireAttribute>CLIENT_LIST</requireAttribute>
<requireAttribute>DEVICE_TYPE_LIST</requireAttribute>
<requireAttribute>PARTS_LIST</requireAttribute>
<requireAttribute>SERVER_LIST</requireAttribute>
</include>
<include cluster="Identify" client="false" server="true" clientLocked="true" serverLocked="false">
<requireAttribute>IDENTIFY_TIME</requireAttribute>
<requireAttribute>IDENTIFY_TYPE</requireAttribute>
<requireCommand>Identify</requireCommand>
</include>
<include cluster="Thermostat" client="false" server="true" clientLocked="true" serverLocked="true">
<requireAttribute>CONTROL_SEQUENCE_OF_OPERATION</requireAttribute>
<requireAttribute>LOCAL_TEMPERATURE</requireAttribute>
<requireAttribute>SYSTEM_MODE</requireAttribute>
<requireCommand>SetpointRaiseLower</requireCommand>
</include>
<include cluster="Water Heater Management" client="false" server="true" clientLocked="true" serverLocked="true">
<requireAttribute>BOOST_STATE</requireAttribute>
<requireAttribute>HEATER_TYPES</requireAttribute>
<requireAttribute>HEAT_DEMAND</requireAttribute>
<requireEvent>BoostEnded</requireEvent>
<requireEvent>BoostStarted</requireEvent>
<requireCommand>Boost</requireCommand>
<requireCommand>CancelBoost</requireCommand>
</include>
<include cluster="Water Heater Mode" client="false" server="true" clientLocked="true" serverLocked="true">
<requireAttribute>CURRENT_MODE</requireAttribute>
<requireAttribute>SUPPORTED_MODES</requireAttribute>
<requireCommand>ChangeToMode</requireCommand>
<requireCommand>ChangeToModeResponse</requireCommand>
</include>
</clusters>
</deviceType>
</configurator>
72 changes: 72 additions & 0 deletions src/darwin/Framework/CHIP/zap-generated/MTRClusterConstants.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c3ceda5

Please sign in to comment.