forked from csa-iot/data-model
-
Notifications
You must be signed in to change notification settings - Fork 0
/
OnOffSwitchConfiguration.xml
34 lines (34 loc) · 1.54 KB
/
OnOffSwitchConfiguration.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?xml version="1.0"?>
<!--
Zigbee Alliance owns the copyright to the text and content displayed or
included in this document (including in PDF, XML files and other formats) in
all forms of media, which copyright is protected by the copyright laws of the
United States and by international treaties. Full text of licensing terms
applicable to this document can be found in the LICENSE.md file.
-->
<zcl:cluster xmlns:zcl="http://zigbee.org/zcl/clusters"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:type="http://zigbee.org/zcl/types"
xmlns:xi="http://www.w3.org/2001/XInclude"
xsi:schemaLocation="http://zigbee.org/zcl/clusters cluster.xsd http://zigbee.org/zcl/types type.xsd"
id="0007" revision="1" name="OnOffSwitchConfiguration">
<classification role="application" picsCode="OOSC" primaryTransaction="2" />
<server>
<attributes>
<attribute id="0000" name="SwitchType" type="enum8" required="true">
<restriction>
<type:enumeration value="00" name="Toggle" />
<type:enumeration value="01" name="Momentary" />
<type:enumeration value="02" name="Multifunction" />
</restriction>
</attribute>
<attribute id="0010" name="SwitchActions" type="enum8" writable="true" required="true" default="0">
<restriction>
<type:enumeration value="00" name="OffToOn" />
<type:enumeration value="01" name="OnToOff" />
<type:enumeration value="02" name="Toggle" />
</restriction>
</attribute>
</attributes>
</server>
</zcl:cluster>