@@ -1392,6 +1392,23 @@ cluster UserLabel = 65 {
1392
1392
readonly attribute int16u clusterRevision = 65533;
1393
1393
}
1394
1394
1395
+ /** This cluster provides an interface to a boolean state called StateValue. */
1396
+ cluster BooleanState = 69 {
1397
+ revision 1;
1398
+
1399
+ info event StateChange = 0 {
1400
+ boolean stateValue = 0;
1401
+ }
1402
+
1403
+ readonly attribute boolean stateValue = 0;
1404
+ readonly attribute command_id generatedCommandList[] = 65528;
1405
+ readonly attribute command_id acceptedCommandList[] = 65529;
1406
+ readonly attribute event_id eventList[] = 65530;
1407
+ readonly attribute attrib_id attributeList[] = 65531;
1408
+ readonly attribute bitmap32 featureMap = 65532;
1409
+ readonly attribute int16u clusterRevision = 65533;
1410
+ }
1411
+
1395
1412
/** Allows servers to ensure that listed clients are notified when a server is available for communication. */
1396
1413
cluster IcdManagement = 70 {
1397
1414
revision 2;
@@ -1783,5 +1800,46 @@ endpoint 0 {
1783
1800
handle command StayActiveResponse;
1784
1801
}
1785
1802
}
1803
+ endpoint 1 {
1804
+ device type ma_contactsensor = 21, version 1;
1805
+
1806
+
1807
+ server cluster Identify {
1808
+ ram attribute identifyTime default = 0x0;
1809
+ ram attribute identifyType default = 0x00;
1810
+ callback attribute generatedCommandList;
1811
+ callback attribute acceptedCommandList;
1812
+ callback attribute eventList;
1813
+ callback attribute attributeList;
1814
+ ram attribute featureMap default = 0;
1815
+ ram attribute clusterRevision default = 4;
1816
+
1817
+ handle command Identify;
1818
+ handle command TriggerEffect;
1819
+ }
1820
+
1821
+ server cluster Descriptor {
1822
+ callback attribute deviceTypeList;
1823
+ callback attribute serverList;
1824
+ callback attribute clientList;
1825
+ callback attribute partsList;
1826
+ callback attribute generatedCommandList;
1827
+ callback attribute acceptedCommandList;
1828
+ callback attribute eventList;
1829
+ callback attribute attributeList;
1830
+ callback attribute featureMap;
1831
+ callback attribute clusterRevision;
1832
+ }
1833
+
1834
+ server cluster BooleanState {
1835
+ ram attribute stateValue;
1836
+ callback attribute generatedCommandList;
1837
+ callback attribute acceptedCommandList;
1838
+ callback attribute eventList;
1839
+ callback attribute attributeList;
1840
+ ram attribute featureMap default = 0;
1841
+ ram attribute clusterRevision default = 1;
1842
+ }
1843
+ }
1786
1844
1787
1845
0 commit comments