From 7cd2add6b44b4432c01a144fd05db771716b843e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damian=20Michalak-Szmaci=C5=84ski?= Date: Fri, 24 Feb 2023 23:53:01 +0100 Subject: [PATCH 1/5] [ZAP template] Add to flake8 in workflow and fix python files (#25303) --- .flake8 | 2 - .../python/chip/clusters/CHIPClusters.py | 15285 ++++++++-------- .../python/chip/clusters/Objects.py | 3192 ++-- .../templates/python-CHIPClusters-py.zapt | 59 +- .../templates/python-cluster-Objects-py.zapt | 50 +- 5 files changed, 9070 insertions(+), 9518 deletions(-) diff --git a/.flake8 b/.flake8 index a43d67e2c4a111..5d254aff4e1ae2 100644 --- a/.flake8 +++ b/.flake8 @@ -109,10 +109,8 @@ exclude = third_party src/controller/python/chip/FabricAdmin.py src/controller/python/chip/ble/scan_devices.py src/controller/python/chip/clusters/Attribute.py - src/controller/python/chip/clusters/CHIPClusters.py src/controller/python/chip/clusters/ClusterObjects.py src/controller/python/chip/clusters/Command.py - src/controller/python/chip/clusters/Objects.py src/controller/python/chip/clusters/__init__.py src/controller/python/chip/discovery/__init__.py src/controller/python/chip/interaction_model/__init__.py diff --git a/src/controller/python/chip/clusters/CHIPClusters.py b/src/controller/python/chip/clusters/CHIPClusters.py index 28ad2610dacf81..7069f236a771ff 100644 --- a/src/controller/python/chip/clusters/CHIPClusters.py +++ b/src/controller/python/chip/clusters/CHIPClusters.py @@ -21,8125 +21,8128 @@ import ctypes +from chip import exceptions + __all__ = ["ChipClusters"] + class ChipClusters: SUCCESS_DELEGATE = ctypes.CFUNCTYPE(None) FAILURE_DELEGATE = ctypes.CFUNCTYPE(None, ctypes.c_uint8) _IDENTIFY_CLUSTER_INFO = { - "clusterName": "Identify", - "clusterId": 0x00000003, - "commands": { + "clusterName": "Identify", + "clusterId": 0x00000003, + "commands": { 0x00000000: { - "commandId": 0x00000000, - "commandName": "Identify", - "args": { - "identifyTime": "int", - }, + "commandId": 0x00000000, + "commandName": "Identify", + "args": { + "identifyTime": "int", }, + }, 0x00000040: { - "commandId": 0x00000040, - "commandName": "TriggerEffect", - "args": { - "effectIdentifier": "int", - "effectVariant": "int", - }, - }, - }, - "attributes": { - 0x00000000: { - "attributeName": "IdentifyTime", - "attributeId": 0x00000000, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000001: { - "attributeName": "IdentifyType", - "attributeId": 0x00000001, - "type": "int", - "reportable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, + "commandId": 0x00000040, + "commandName": "TriggerEffect", + "args": { + "effectIdentifier": "int", + "effectVariant": "int", }, }, + }, + "attributes": { + 0x00000000: { + "attributeName": "IdentifyTime", + "attributeId": 0x00000000, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000001: { + "attributeName": "IdentifyType", + "attributeId": 0x00000001, + "type": "int", + "reportable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } _GROUPS_CLUSTER_INFO = { - "clusterName": "Groups", - "clusterId": 0x00000004, - "commands": { + "clusterName": "Groups", + "clusterId": 0x00000004, + "commands": { 0x00000000: { - "commandId": 0x00000000, - "commandName": "AddGroup", - "args": { - "groupID": "int", - "groupName": "str", - }, + "commandId": 0x00000000, + "commandName": "AddGroup", + "args": { + "groupID": "int", + "groupName": "str", }, + }, 0x00000001: { - "commandId": 0x00000001, - "commandName": "ViewGroup", - "args": { - "groupID": "int", - }, + "commandId": 0x00000001, + "commandName": "ViewGroup", + "args": { + "groupID": "int", }, + }, 0x00000002: { - "commandId": 0x00000002, - "commandName": "GetGroupMembership", - "args": { - "groupList": "int", - }, + "commandId": 0x00000002, + "commandName": "GetGroupMembership", + "args": { + "groupList": "int", }, + }, 0x00000003: { - "commandId": 0x00000003, - "commandName": "RemoveGroup", - "args": { - "groupID": "int", - }, + "commandId": 0x00000003, + "commandName": "RemoveGroup", + "args": { + "groupID": "int", }, + }, 0x00000004: { - "commandId": 0x00000004, - "commandName": "RemoveAllGroups", - "args": { - }, + "commandId": 0x00000004, + "commandName": "RemoveAllGroups", + "args": { }, + }, 0x00000005: { - "commandId": 0x00000005, - "commandName": "AddGroupIfIdentifying", - "args": { - "groupID": "int", - "groupName": "str", - }, - }, - }, - "attributes": { - 0x00000000: { - "attributeName": "NameSupport", - "attributeId": 0x00000000, - "type": "int", - "reportable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, + "commandId": 0x00000005, + "commandName": "AddGroupIfIdentifying", + "args": { + "groupID": "int", + "groupName": "str", }, }, + }, + "attributes": { + 0x00000000: { + "attributeName": "NameSupport", + "attributeId": 0x00000000, + "type": "int", + "reportable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } _SCENES_CLUSTER_INFO = { - "clusterName": "Scenes", - "clusterId": 0x00000005, - "commands": { + "clusterName": "Scenes", + "clusterId": 0x00000005, + "commands": { 0x00000000: { - "commandId": 0x00000000, - "commandName": "AddScene", - "args": { - "groupID": "int", - "sceneID": "int", - "transitionTime": "int", - "sceneName": "str", - "clusterID": "int", - "attributeValueList": "", - }, + "commandId": 0x00000000, + "commandName": "AddScene", + "args": { + "groupID": "int", + "sceneID": "int", + "transitionTime": "int", + "sceneName": "str", + "clusterID": "int", + "attributeValueList": "", }, + }, 0x00000001: { - "commandId": 0x00000001, - "commandName": "ViewScene", - "args": { - "groupID": "int", - "sceneID": "int", - }, + "commandId": 0x00000001, + "commandName": "ViewScene", + "args": { + "groupID": "int", + "sceneID": "int", }, + }, 0x00000002: { - "commandId": 0x00000002, - "commandName": "RemoveScene", - "args": { - "groupID": "int", - "sceneID": "int", - }, + "commandId": 0x00000002, + "commandName": "RemoveScene", + "args": { + "groupID": "int", + "sceneID": "int", }, + }, 0x00000003: { - "commandId": 0x00000003, - "commandName": "RemoveAllScenes", - "args": { - "groupID": "int", - }, + "commandId": 0x00000003, + "commandName": "RemoveAllScenes", + "args": { + "groupID": "int", }, + }, 0x00000004: { - "commandId": 0x00000004, - "commandName": "StoreScene", - "args": { - "groupID": "int", - "sceneID": "int", - }, + "commandId": 0x00000004, + "commandName": "StoreScene", + "args": { + "groupID": "int", + "sceneID": "int", }, + }, 0x00000005: { - "commandId": 0x00000005, - "commandName": "RecallScene", - "args": { - "groupID": "int", - "sceneID": "int", - "transitionTime": "int", - }, + "commandId": 0x00000005, + "commandName": "RecallScene", + "args": { + "groupID": "int", + "sceneID": "int", + "transitionTime": "int", }, + }, 0x00000006: { - "commandId": 0x00000006, - "commandName": "GetSceneMembership", - "args": { - "groupID": "int", - }, - }, - }, - "attributes": { - 0x00000000: { - "attributeName": "SceneCount", - "attributeId": 0x00000000, - "type": "int", - "reportable": True, - }, - 0x00000001: { - "attributeName": "CurrentScene", - "attributeId": 0x00000001, - "type": "int", - "reportable": True, - }, - 0x00000002: { - "attributeName": "CurrentGroup", - "attributeId": 0x00000002, - "type": "int", - "reportable": True, - }, - 0x00000003: { - "attributeName": "SceneValid", - "attributeId": 0x00000003, - "type": "bool", - "reportable": True, - }, - 0x00000004: { - "attributeName": "NameSupport", - "attributeId": 0x00000004, - "type": "int", - "reportable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, + "commandId": 0x00000006, + "commandName": "GetSceneMembership", + "args": { + "groupID": "int", }, }, + }, + "attributes": { + 0x00000000: { + "attributeName": "SceneCount", + "attributeId": 0x00000000, + "type": "int", + "reportable": True, + }, + 0x00000001: { + "attributeName": "CurrentScene", + "attributeId": 0x00000001, + "type": "int", + "reportable": True, + }, + 0x00000002: { + "attributeName": "CurrentGroup", + "attributeId": 0x00000002, + "type": "int", + "reportable": True, + }, + 0x00000003: { + "attributeName": "SceneValid", + "attributeId": 0x00000003, + "type": "bool", + "reportable": True, + }, + 0x00000004: { + "attributeName": "NameSupport", + "attributeId": 0x00000004, + "type": "int", + "reportable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } _ON_OFF_CLUSTER_INFO = { - "clusterName": "OnOff", - "clusterId": 0x00000006, - "commands": { + "clusterName": "OnOff", + "clusterId": 0x00000006, + "commands": { 0x00000000: { - "commandId": 0x00000000, - "commandName": "Off", - "args": { - }, + "commandId": 0x00000000, + "commandName": "Off", + "args": { }, + }, 0x00000001: { - "commandId": 0x00000001, - "commandName": "On", - "args": { - }, + "commandId": 0x00000001, + "commandName": "On", + "args": { }, + }, 0x00000002: { - "commandId": 0x00000002, - "commandName": "Toggle", - "args": { - }, + "commandId": 0x00000002, + "commandName": "Toggle", + "args": { }, + }, 0x00000040: { - "commandId": 0x00000040, - "commandName": "OffWithEffect", - "args": { - "effectIdentifier": "int", - "effectVariant": "int", - }, + "commandId": 0x00000040, + "commandName": "OffWithEffect", + "args": { + "effectIdentifier": "int", + "effectVariant": "int", }, + }, 0x00000041: { - "commandId": 0x00000041, - "commandName": "OnWithRecallGlobalScene", - "args": { - }, + "commandId": 0x00000041, + "commandName": "OnWithRecallGlobalScene", + "args": { }, + }, 0x00000042: { - "commandId": 0x00000042, - "commandName": "OnWithTimedOff", - "args": { - "onOffControl": "int", - "onTime": "int", - "offWaitTime": "int", - }, - }, - }, - "attributes": { - 0x00000000: { - "attributeName": "OnOff", - "attributeId": 0x00000000, - "type": "bool", - "reportable": True, - }, - 0x00004000: { - "attributeName": "GlobalSceneControl", - "attributeId": 0x00004000, - "type": "bool", - "reportable": True, - }, - 0x00004001: { - "attributeName": "OnTime", - "attributeId": 0x00004001, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00004002: { - "attributeName": "OffWaitTime", - "attributeId": 0x00004002, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00004003: { - "attributeName": "StartUpOnOff", - "attributeId": 0x00004003, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, + "commandId": 0x00000042, + "commandName": "OnWithTimedOff", + "args": { + "onOffControl": "int", + "onTime": "int", + "offWaitTime": "int", }, }, + }, + "attributes": { + 0x00000000: { + "attributeName": "OnOff", + "attributeId": 0x00000000, + "type": "bool", + "reportable": True, + }, + 0x00004000: { + "attributeName": "GlobalSceneControl", + "attributeId": 0x00004000, + "type": "bool", + "reportable": True, + }, + 0x00004001: { + "attributeName": "OnTime", + "attributeId": 0x00004001, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00004002: { + "attributeName": "OffWaitTime", + "attributeId": 0x00004002, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00004003: { + "attributeName": "StartUpOnOff", + "attributeId": 0x00004003, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } _ON_OFF_SWITCH_CONFIGURATION_CLUSTER_INFO = { - "clusterName": "OnOffSwitchConfiguration", - "clusterId": 0x00000007, - "commands": { - }, - "attributes": { - 0x00000000: { - "attributeName": "SwitchType", - "attributeId": 0x00000000, - "type": "int", - "reportable": True, - }, - 0x00000010: { - "attributeName": "SwitchActions", - "attributeId": 0x00000010, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, - }, + "clusterName": "OnOffSwitchConfiguration", + "clusterId": 0x00000007, + "commands": { + }, + "attributes": { + 0x00000000: { + "attributeName": "SwitchType", + "attributeId": 0x00000000, + "type": "int", + "reportable": True, }, + 0x00000010: { + "attributeName": "SwitchActions", + "attributeId": 0x00000010, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } _LEVEL_CONTROL_CLUSTER_INFO = { - "clusterName": "LevelControl", - "clusterId": 0x00000008, - "commands": { + "clusterName": "LevelControl", + "clusterId": 0x00000008, + "commands": { 0x00000000: { - "commandId": 0x00000000, - "commandName": "MoveToLevel", - "args": { - "level": "int", - "transitionTime": "int", - "optionsMask": "int", - "optionsOverride": "int", - }, + "commandId": 0x00000000, + "commandName": "MoveToLevel", + "args": { + "level": "int", + "transitionTime": "int", + "optionsMask": "int", + "optionsOverride": "int", }, + }, 0x00000001: { - "commandId": 0x00000001, - "commandName": "Move", - "args": { - "moveMode": "int", - "rate": "int", - "optionsMask": "int", - "optionsOverride": "int", - }, + "commandId": 0x00000001, + "commandName": "Move", + "args": { + "moveMode": "int", + "rate": "int", + "optionsMask": "int", + "optionsOverride": "int", }, + }, 0x00000002: { - "commandId": 0x00000002, - "commandName": "Step", - "args": { - "stepMode": "int", - "stepSize": "int", - "transitionTime": "int", - "optionsMask": "int", - "optionsOverride": "int", - }, + "commandId": 0x00000002, + "commandName": "Step", + "args": { + "stepMode": "int", + "stepSize": "int", + "transitionTime": "int", + "optionsMask": "int", + "optionsOverride": "int", }, + }, 0x00000003: { - "commandId": 0x00000003, - "commandName": "Stop", - "args": { - "optionsMask": "int", - "optionsOverride": "int", - }, + "commandId": 0x00000003, + "commandName": "Stop", + "args": { + "optionsMask": "int", + "optionsOverride": "int", }, + }, 0x00000004: { - "commandId": 0x00000004, - "commandName": "MoveToLevelWithOnOff", - "args": { - "level": "int", - "transitionTime": "int", - "optionsMask": "int", - "optionsOverride": "int", - }, + "commandId": 0x00000004, + "commandName": "MoveToLevelWithOnOff", + "args": { + "level": "int", + "transitionTime": "int", + "optionsMask": "int", + "optionsOverride": "int", }, + }, 0x00000005: { - "commandId": 0x00000005, - "commandName": "MoveWithOnOff", - "args": { - "moveMode": "int", - "rate": "int", - "optionsMask": "int", - "optionsOverride": "int", - }, + "commandId": 0x00000005, + "commandName": "MoveWithOnOff", + "args": { + "moveMode": "int", + "rate": "int", + "optionsMask": "int", + "optionsOverride": "int", }, + }, 0x00000006: { - "commandId": 0x00000006, - "commandName": "StepWithOnOff", - "args": { - "stepMode": "int", - "stepSize": "int", - "transitionTime": "int", - "optionsMask": "int", - "optionsOverride": "int", - }, + "commandId": 0x00000006, + "commandName": "StepWithOnOff", + "args": { + "stepMode": "int", + "stepSize": "int", + "transitionTime": "int", + "optionsMask": "int", + "optionsOverride": "int", }, + }, 0x00000007: { - "commandId": 0x00000007, - "commandName": "StopWithOnOff", - "args": { - "optionsMask": "int", - "optionsOverride": "int", - }, - }, - }, - "attributes": { - 0x00000000: { - "attributeName": "CurrentLevel", - "attributeId": 0x00000000, - "type": "int", - "reportable": True, - }, - 0x00000001: { - "attributeName": "RemainingTime", - "attributeId": 0x00000001, - "type": "int", - "reportable": True, - }, - 0x00000002: { - "attributeName": "MinLevel", - "attributeId": 0x00000002, - "type": "int", - "reportable": True, - }, - 0x00000003: { - "attributeName": "MaxLevel", - "attributeId": 0x00000003, - "type": "int", - "reportable": True, - }, - 0x00000004: { - "attributeName": "CurrentFrequency", - "attributeId": 0x00000004, - "type": "int", - "reportable": True, - }, - 0x00000005: { - "attributeName": "MinFrequency", - "attributeId": 0x00000005, - "type": "int", - "reportable": True, - }, - 0x00000006: { - "attributeName": "MaxFrequency", - "attributeId": 0x00000006, - "type": "int", - "reportable": True, - }, - 0x0000000F: { - "attributeName": "Options", - "attributeId": 0x0000000F, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000010: { - "attributeName": "OnOffTransitionTime", - "attributeId": 0x00000010, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000011: { - "attributeName": "OnLevel", - "attributeId": 0x00000011, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000012: { - "attributeName": "OnTransitionTime", - "attributeId": 0x00000012, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000013: { - "attributeName": "OffTransitionTime", - "attributeId": 0x00000013, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000014: { - "attributeName": "DefaultMoveRate", - "attributeId": 0x00000014, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00004000: { - "attributeName": "StartUpCurrentLevel", - "attributeId": 0x00004000, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, + "commandId": 0x00000007, + "commandName": "StopWithOnOff", + "args": { + "optionsMask": "int", + "optionsOverride": "int", }, }, + }, + "attributes": { + 0x00000000: { + "attributeName": "CurrentLevel", + "attributeId": 0x00000000, + "type": "int", + "reportable": True, + }, + 0x00000001: { + "attributeName": "RemainingTime", + "attributeId": 0x00000001, + "type": "int", + "reportable": True, + }, + 0x00000002: { + "attributeName": "MinLevel", + "attributeId": 0x00000002, + "type": "int", + "reportable": True, + }, + 0x00000003: { + "attributeName": "MaxLevel", + "attributeId": 0x00000003, + "type": "int", + "reportable": True, + }, + 0x00000004: { + "attributeName": "CurrentFrequency", + "attributeId": 0x00000004, + "type": "int", + "reportable": True, + }, + 0x00000005: { + "attributeName": "MinFrequency", + "attributeId": 0x00000005, + "type": "int", + "reportable": True, + }, + 0x00000006: { + "attributeName": "MaxFrequency", + "attributeId": 0x00000006, + "type": "int", + "reportable": True, + }, + 0x0000000F: { + "attributeName": "Options", + "attributeId": 0x0000000F, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000010: { + "attributeName": "OnOffTransitionTime", + "attributeId": 0x00000010, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000011: { + "attributeName": "OnLevel", + "attributeId": 0x00000011, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000012: { + "attributeName": "OnTransitionTime", + "attributeId": 0x00000012, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000013: { + "attributeName": "OffTransitionTime", + "attributeId": 0x00000013, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000014: { + "attributeName": "DefaultMoveRate", + "attributeId": 0x00000014, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00004000: { + "attributeName": "StartUpCurrentLevel", + "attributeId": 0x00004000, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } _BINARY_INPUT_BASIC_CLUSTER_INFO = { - "clusterName": "BinaryInputBasic", - "clusterId": 0x0000000F, - "commands": { - }, - "attributes": { - 0x00000051: { - "attributeName": "OutOfService", - "attributeId": 0x00000051, - "type": "bool", - "reportable": True, - "writable": True, - }, - 0x00000055: { - "attributeName": "PresentValue", - "attributeId": 0x00000055, - "type": "bool", - "reportable": True, - "writable": True, - }, - 0x0000006F: { - "attributeName": "StatusFlags", - "attributeId": 0x0000006F, - "type": "int", - "reportable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, - }, - }, + "clusterName": "BinaryInputBasic", + "clusterId": 0x0000000F, + "commands": { + }, + "attributes": { + 0x00000051: { + "attributeName": "OutOfService", + "attributeId": 0x00000051, + "type": "bool", + "reportable": True, + "writable": True, + }, + 0x00000055: { + "attributeName": "PresentValue", + "attributeId": 0x00000055, + "type": "bool", + "reportable": True, + "writable": True, + }, + 0x0000006F: { + "attributeName": "StatusFlags", + "attributeId": 0x0000006F, + "type": "int", + "reportable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } _DESCRIPTOR_CLUSTER_INFO = { - "clusterName": "Descriptor", - "clusterId": 0x0000001D, - "commands": { - }, - "attributes": { - 0x00000000: { - "attributeName": "DeviceTypeList", - "attributeId": 0x00000000, - "type": "", - "reportable": True, - }, - 0x00000001: { - "attributeName": "ServerList", - "attributeId": 0x00000001, - "type": "int", - "reportable": True, - }, - 0x00000002: { - "attributeName": "ClientList", - "attributeId": 0x00000002, - "type": "int", - "reportable": True, - }, - 0x00000003: { - "attributeName": "PartsList", - "attributeId": 0x00000003, - "type": "int", - "reportable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, - }, + "clusterName": "Descriptor", + "clusterId": 0x0000001D, + "commands": { + }, + "attributes": { + 0x00000000: { + "attributeName": "DeviceTypeList", + "attributeId": 0x00000000, + "type": "", + "reportable": True, }, + 0x00000001: { + "attributeName": "ServerList", + "attributeId": 0x00000001, + "type": "int", + "reportable": True, + }, + 0x00000002: { + "attributeName": "ClientList", + "attributeId": 0x00000002, + "type": "int", + "reportable": True, + }, + 0x00000003: { + "attributeName": "PartsList", + "attributeId": 0x00000003, + "type": "int", + "reportable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } _BINDING_CLUSTER_INFO = { - "clusterName": "Binding", - "clusterId": 0x0000001E, - "commands": { - }, - "attributes": { - 0x00000000: { - "attributeName": "Binding", - "attributeId": 0x00000000, - "type": "", - "reportable": True, - "writable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, - }, - }, + "clusterName": "Binding", + "clusterId": 0x0000001E, + "commands": { + }, + "attributes": { + 0x00000000: { + "attributeName": "Binding", + "attributeId": 0x00000000, + "type": "", + "reportable": True, + "writable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } _ACCESS_CONTROL_CLUSTER_INFO = { - "clusterName": "AccessControl", - "clusterId": 0x0000001F, - "commands": { - }, - "attributes": { - 0x00000000: { - "attributeName": "Acl", - "attributeId": 0x00000000, - "type": "", - "reportable": True, - "writable": True, - }, - 0x00000001: { - "attributeName": "Extension", - "attributeId": 0x00000001, - "type": "", - "reportable": True, - "writable": True, - }, - 0x00000002: { - "attributeName": "SubjectsPerAccessControlEntry", - "attributeId": 0x00000002, - "type": "int", - "reportable": True, - }, - 0x00000003: { - "attributeName": "TargetsPerAccessControlEntry", - "attributeId": 0x00000003, - "type": "int", - "reportable": True, - }, - 0x00000004: { - "attributeName": "AccessControlEntriesPerFabric", - "attributeId": 0x00000004, - "type": "int", - "reportable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, - }, + "clusterName": "AccessControl", + "clusterId": 0x0000001F, + "commands": { + }, + "attributes": { + 0x00000000: { + "attributeName": "Acl", + "attributeId": 0x00000000, + "type": "", + "reportable": True, + "writable": True, + }, + 0x00000001: { + "attributeName": "Extension", + "attributeId": 0x00000001, + "type": "", + "reportable": True, + "writable": True, + }, + 0x00000002: { + "attributeName": "SubjectsPerAccessControlEntry", + "attributeId": 0x00000002, + "type": "int", + "reportable": True, + }, + 0x00000003: { + "attributeName": "TargetsPerAccessControlEntry", + "attributeId": 0x00000003, + "type": "int", + "reportable": True, }, + 0x00000004: { + "attributeName": "AccessControlEntriesPerFabric", + "attributeId": 0x00000004, + "type": "int", + "reportable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } _ACTIONS_CLUSTER_INFO = { - "clusterName": "Actions", - "clusterId": 0x00000025, - "commands": { + "clusterName": "Actions", + "clusterId": 0x00000025, + "commands": { 0x00000000: { - "commandId": 0x00000000, - "commandName": "InstantAction", - "args": { - "actionID": "int", - "invokeID": "int", - }, + "commandId": 0x00000000, + "commandName": "InstantAction", + "args": { + "actionID": "int", + "invokeID": "int", }, + }, 0x00000001: { - "commandId": 0x00000001, - "commandName": "InstantActionWithTransition", - "args": { - "actionID": "int", - "invokeID": "int", - "transitionTime": "int", - }, + "commandId": 0x00000001, + "commandName": "InstantActionWithTransition", + "args": { + "actionID": "int", + "invokeID": "int", + "transitionTime": "int", }, + }, 0x00000002: { - "commandId": 0x00000002, - "commandName": "StartAction", - "args": { - "actionID": "int", - "invokeID": "int", - }, + "commandId": 0x00000002, + "commandName": "StartAction", + "args": { + "actionID": "int", + "invokeID": "int", }, + }, 0x00000003: { - "commandId": 0x00000003, - "commandName": "StartActionWithDuration", - "args": { - "actionID": "int", - "invokeID": "int", - "duration": "int", - }, + "commandId": 0x00000003, + "commandName": "StartActionWithDuration", + "args": { + "actionID": "int", + "invokeID": "int", + "duration": "int", }, + }, 0x00000004: { - "commandId": 0x00000004, - "commandName": "StopAction", - "args": { - "actionID": "int", - "invokeID": "int", - }, + "commandId": 0x00000004, + "commandName": "StopAction", + "args": { + "actionID": "int", + "invokeID": "int", }, + }, 0x00000005: { - "commandId": 0x00000005, - "commandName": "PauseAction", - "args": { - "actionID": "int", - "invokeID": "int", - }, + "commandId": 0x00000005, + "commandName": "PauseAction", + "args": { + "actionID": "int", + "invokeID": "int", }, + }, 0x00000006: { - "commandId": 0x00000006, - "commandName": "PauseActionWithDuration", - "args": { - "actionID": "int", - "invokeID": "int", - "duration": "int", - }, + "commandId": 0x00000006, + "commandName": "PauseActionWithDuration", + "args": { + "actionID": "int", + "invokeID": "int", + "duration": "int", }, + }, 0x00000007: { - "commandId": 0x00000007, - "commandName": "ResumeAction", - "args": { - "actionID": "int", - "invokeID": "int", - }, + "commandId": 0x00000007, + "commandName": "ResumeAction", + "args": { + "actionID": "int", + "invokeID": "int", }, + }, 0x00000008: { - "commandId": 0x00000008, - "commandName": "EnableAction", - "args": { - "actionID": "int", - "invokeID": "int", - }, + "commandId": 0x00000008, + "commandName": "EnableAction", + "args": { + "actionID": "int", + "invokeID": "int", }, + }, 0x00000009: { - "commandId": 0x00000009, - "commandName": "EnableActionWithDuration", - "args": { - "actionID": "int", - "invokeID": "int", - "duration": "int", - }, + "commandId": 0x00000009, + "commandName": "EnableActionWithDuration", + "args": { + "actionID": "int", + "invokeID": "int", + "duration": "int", }, + }, 0x0000000A: { - "commandId": 0x0000000A, - "commandName": "DisableAction", - "args": { - "actionID": "int", - "invokeID": "int", - }, + "commandId": 0x0000000A, + "commandName": "DisableAction", + "args": { + "actionID": "int", + "invokeID": "int", }, + }, 0x0000000B: { - "commandId": 0x0000000B, - "commandName": "DisableActionWithDuration", - "args": { - "actionID": "int", - "invokeID": "int", - "duration": "int", - }, - }, - }, - "attributes": { - 0x00000000: { - "attributeName": "ActionList", - "attributeId": 0x00000000, - "type": "", - "reportable": True, - }, - 0x00000001: { - "attributeName": "EndpointLists", - "attributeId": 0x00000001, - "type": "", - "reportable": True, - }, - 0x00000002: { - "attributeName": "SetupURL", - "attributeId": 0x00000002, - "type": "str", - "reportable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, + "commandId": 0x0000000B, + "commandName": "DisableActionWithDuration", + "args": { + "actionID": "int", + "invokeID": "int", + "duration": "int", }, }, + }, + "attributes": { + 0x00000000: { + "attributeName": "ActionList", + "attributeId": 0x00000000, + "type": "", + "reportable": True, + }, + 0x00000001: { + "attributeName": "EndpointLists", + "attributeId": 0x00000001, + "type": "", + "reportable": True, + }, + 0x00000002: { + "attributeName": "SetupURL", + "attributeId": 0x00000002, + "type": "str", + "reportable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } _BASIC_INFORMATION_CLUSTER_INFO = { - "clusterName": "BasicInformation", - "clusterId": 0x00000028, - "commands": { - }, - "attributes": { - 0x00000000: { - "attributeName": "DataModelRevision", - "attributeId": 0x00000000, - "type": "int", - "reportable": True, - }, - 0x00000001: { - "attributeName": "VendorName", - "attributeId": 0x00000001, - "type": "str", - "reportable": True, - }, - 0x00000002: { - "attributeName": "VendorID", - "attributeId": 0x00000002, - "type": "int", - "reportable": True, - }, - 0x00000003: { - "attributeName": "ProductName", - "attributeId": 0x00000003, - "type": "str", - "reportable": True, - }, - 0x00000004: { - "attributeName": "ProductID", - "attributeId": 0x00000004, - "type": "int", - "reportable": True, - }, - 0x00000005: { - "attributeName": "NodeLabel", - "attributeId": 0x00000005, - "type": "str", - "reportable": True, - "writable": True, - }, - 0x00000006: { - "attributeName": "Location", - "attributeId": 0x00000006, - "type": "str", - "reportable": True, - "writable": True, - }, - 0x00000007: { - "attributeName": "HardwareVersion", - "attributeId": 0x00000007, - "type": "int", - "reportable": True, - }, - 0x00000008: { - "attributeName": "HardwareVersionString", - "attributeId": 0x00000008, - "type": "str", - "reportable": True, - }, - 0x00000009: { - "attributeName": "SoftwareVersion", - "attributeId": 0x00000009, - "type": "int", - "reportable": True, - }, - 0x0000000A: { - "attributeName": "SoftwareVersionString", - "attributeId": 0x0000000A, - "type": "str", - "reportable": True, - }, - 0x0000000B: { - "attributeName": "ManufacturingDate", - "attributeId": 0x0000000B, - "type": "str", - "reportable": True, - }, - 0x0000000C: { - "attributeName": "PartNumber", - "attributeId": 0x0000000C, - "type": "str", - "reportable": True, - }, - 0x0000000D: { - "attributeName": "ProductURL", - "attributeId": 0x0000000D, - "type": "str", - "reportable": True, - }, - 0x0000000E: { - "attributeName": "ProductLabel", - "attributeId": 0x0000000E, - "type": "str", - "reportable": True, - }, - 0x0000000F: { - "attributeName": "SerialNumber", - "attributeId": 0x0000000F, - "type": "str", - "reportable": True, - }, - 0x00000010: { - "attributeName": "LocalConfigDisabled", - "attributeId": 0x00000010, - "type": "bool", - "reportable": True, - "writable": True, - }, - 0x00000011: { - "attributeName": "Reachable", - "attributeId": 0x00000011, - "type": "bool", - "reportable": True, - }, - 0x00000012: { - "attributeName": "UniqueID", - "attributeId": 0x00000012, - "type": "str", - "reportable": True, - }, - 0x00000013: { - "attributeName": "CapabilityMinima", - "attributeId": 0x00000013, - "type": "", - "reportable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, - }, + "clusterName": "BasicInformation", + "clusterId": 0x00000028, + "commands": { + }, + "attributes": { + 0x00000000: { + "attributeName": "DataModelRevision", + "attributeId": 0x00000000, + "type": "int", + "reportable": True, + }, + 0x00000001: { + "attributeName": "VendorName", + "attributeId": 0x00000001, + "type": "str", + "reportable": True, + }, + 0x00000002: { + "attributeName": "VendorID", + "attributeId": 0x00000002, + "type": "int", + "reportable": True, + }, + 0x00000003: { + "attributeName": "ProductName", + "attributeId": 0x00000003, + "type": "str", + "reportable": True, + }, + 0x00000004: { + "attributeName": "ProductID", + "attributeId": 0x00000004, + "type": "int", + "reportable": True, + }, + 0x00000005: { + "attributeName": "NodeLabel", + "attributeId": 0x00000005, + "type": "str", + "reportable": True, + "writable": True, + }, + 0x00000006: { + "attributeName": "Location", + "attributeId": 0x00000006, + "type": "str", + "reportable": True, + "writable": True, + }, + 0x00000007: { + "attributeName": "HardwareVersion", + "attributeId": 0x00000007, + "type": "int", + "reportable": True, + }, + 0x00000008: { + "attributeName": "HardwareVersionString", + "attributeId": 0x00000008, + "type": "str", + "reportable": True, + }, + 0x00000009: { + "attributeName": "SoftwareVersion", + "attributeId": 0x00000009, + "type": "int", + "reportable": True, + }, + 0x0000000A: { + "attributeName": "SoftwareVersionString", + "attributeId": 0x0000000A, + "type": "str", + "reportable": True, + }, + 0x0000000B: { + "attributeName": "ManufacturingDate", + "attributeId": 0x0000000B, + "type": "str", + "reportable": True, + }, + 0x0000000C: { + "attributeName": "PartNumber", + "attributeId": 0x0000000C, + "type": "str", + "reportable": True, + }, + 0x0000000D: { + "attributeName": "ProductURL", + "attributeId": 0x0000000D, + "type": "str", + "reportable": True, + }, + 0x0000000E: { + "attributeName": "ProductLabel", + "attributeId": 0x0000000E, + "type": "str", + "reportable": True, + }, + 0x0000000F: { + "attributeName": "SerialNumber", + "attributeId": 0x0000000F, + "type": "str", + "reportable": True, + }, + 0x00000010: { + "attributeName": "LocalConfigDisabled", + "attributeId": 0x00000010, + "type": "bool", + "reportable": True, + "writable": True, + }, + 0x00000011: { + "attributeName": "Reachable", + "attributeId": 0x00000011, + "type": "bool", + "reportable": True, + }, + 0x00000012: { + "attributeName": "UniqueID", + "attributeId": 0x00000012, + "type": "str", + "reportable": True, }, + 0x00000013: { + "attributeName": "CapabilityMinima", + "attributeId": 0x00000013, + "type": "", + "reportable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } _OTA_SOFTWARE_UPDATE_PROVIDER_CLUSTER_INFO = { - "clusterName": "OtaSoftwareUpdateProvider", - "clusterId": 0x00000029, - "commands": { + "clusterName": "OtaSoftwareUpdateProvider", + "clusterId": 0x00000029, + "commands": { 0x00000000: { - "commandId": 0x00000000, - "commandName": "QueryImage", - "args": { - "vendorID": "int", - "productID": "int", - "softwareVersion": "int", - "protocolsSupported": "int", - "hardwareVersion": "int", - "location": "str", - "requestorCanConsent": "bool", - "metadataForProvider": "bytes", - }, + "commandId": 0x00000000, + "commandName": "QueryImage", + "args": { + "vendorID": "int", + "productID": "int", + "softwareVersion": "int", + "protocolsSupported": "int", + "hardwareVersion": "int", + "location": "str", + "requestorCanConsent": "bool", + "metadataForProvider": "bytes", }, + }, 0x00000002: { - "commandId": 0x00000002, - "commandName": "ApplyUpdateRequest", - "args": { - "updateToken": "bytes", - "newVersion": "int", - }, - }, - 0x00000004: { - "commandId": 0x00000004, - "commandName": "NotifyUpdateApplied", - "args": { - "updateToken": "bytes", - "softwareVersion": "int", - }, - }, - }, - "attributes": { - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, + "commandId": 0x00000002, + "commandName": "ApplyUpdateRequest", + "args": { + "updateToken": "bytes", + "newVersion": "int", }, }, + 0x00000004: { + "commandId": 0x00000004, + "commandName": "NotifyUpdateApplied", + "args": { + "updateToken": "bytes", + "softwareVersion": "int", + }, + }, + }, + "attributes": { + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } _OTA_SOFTWARE_UPDATE_REQUESTOR_CLUSTER_INFO = { - "clusterName": "OtaSoftwareUpdateRequestor", - "clusterId": 0x0000002A, - "commands": { + "clusterName": "OtaSoftwareUpdateRequestor", + "clusterId": 0x0000002A, + "commands": { 0x00000000: { - "commandId": 0x00000000, - "commandName": "AnnounceOTAProvider", - "args": { - "providerNodeID": "int", - "vendorID": "int", - "announcementReason": "int", - "metadataForNode": "bytes", - "endpoint": "int", - }, - }, - }, - "attributes": { - 0x00000000: { - "attributeName": "DefaultOTAProviders", - "attributeId": 0x00000000, - "type": "", - "reportable": True, - "writable": True, - }, - 0x00000001: { - "attributeName": "UpdatePossible", - "attributeId": 0x00000001, - "type": "bool", - "reportable": True, - }, - 0x00000002: { - "attributeName": "UpdateState", - "attributeId": 0x00000002, - "type": "int", - "reportable": True, - }, - 0x00000003: { - "attributeName": "UpdateStateProgress", - "attributeId": 0x00000003, - "type": "int", - "reportable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, - }, + "commandId": 0x00000000, + "commandName": "AnnounceOTAProvider", + "args": { + "providerNodeID": "int", + "vendorID": "int", + "announcementReason": "int", + "metadataForNode": "bytes", + "endpoint": "int", + }, + }, + }, + "attributes": { + 0x00000000: { + "attributeName": "DefaultOTAProviders", + "attributeId": 0x00000000, + "type": "", + "reportable": True, + "writable": True, + }, + 0x00000001: { + "attributeName": "UpdatePossible", + "attributeId": 0x00000001, + "type": "bool", + "reportable": True, }, + 0x00000002: { + "attributeName": "UpdateState", + "attributeId": 0x00000002, + "type": "int", + "reportable": True, + }, + 0x00000003: { + "attributeName": "UpdateStateProgress", + "attributeId": 0x00000003, + "type": "int", + "reportable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } _LOCALIZATION_CONFIGURATION_CLUSTER_INFO = { - "clusterName": "LocalizationConfiguration", - "clusterId": 0x0000002B, - "commands": { - }, - "attributes": { - 0x00000000: { - "attributeName": "ActiveLocale", - "attributeId": 0x00000000, - "type": "str", - "reportable": True, - "writable": True, - }, - 0x00000001: { - "attributeName": "SupportedLocales", - "attributeId": 0x00000001, - "type": "str", - "reportable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, - }, + "clusterName": "LocalizationConfiguration", + "clusterId": 0x0000002B, + "commands": { + }, + "attributes": { + 0x00000000: { + "attributeName": "ActiveLocale", + "attributeId": 0x00000000, + "type": "str", + "reportable": True, + "writable": True, }, + 0x00000001: { + "attributeName": "SupportedLocales", + "attributeId": 0x00000001, + "type": "str", + "reportable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } _TIME_FORMAT_LOCALIZATION_CLUSTER_INFO = { - "clusterName": "TimeFormatLocalization", - "clusterId": 0x0000002C, - "commands": { - }, - "attributes": { - 0x00000000: { - "attributeName": "HourFormat", - "attributeId": 0x00000000, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000001: { - "attributeName": "ActiveCalendarType", - "attributeId": 0x00000001, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000002: { - "attributeName": "SupportedCalendarTypes", - "attributeId": 0x00000002, - "type": "int", - "reportable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, - }, + "clusterName": "TimeFormatLocalization", + "clusterId": 0x0000002C, + "commands": { + }, + "attributes": { + 0x00000000: { + "attributeName": "HourFormat", + "attributeId": 0x00000000, + "type": "int", + "reportable": True, + "writable": True, }, + 0x00000001: { + "attributeName": "ActiveCalendarType", + "attributeId": 0x00000001, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000002: { + "attributeName": "SupportedCalendarTypes", + "attributeId": 0x00000002, + "type": "int", + "reportable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } _UNIT_LOCALIZATION_CLUSTER_INFO = { - "clusterName": "UnitLocalization", - "clusterId": 0x0000002D, - "commands": { - }, - "attributes": { - 0x00000000: { - "attributeName": "TemperatureUnit", - "attributeId": 0x00000000, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, - }, - }, + "clusterName": "UnitLocalization", + "clusterId": 0x0000002D, + "commands": { + }, + "attributes": { + 0x00000000: { + "attributeName": "TemperatureUnit", + "attributeId": 0x00000000, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } _POWER_SOURCE_CONFIGURATION_CLUSTER_INFO = { - "clusterName": "PowerSourceConfiguration", - "clusterId": 0x0000002E, - "commands": { - }, - "attributes": { - 0x00000000: { - "attributeName": "Sources", - "attributeId": 0x00000000, - "type": "int", - "reportable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, - }, - }, + "clusterName": "PowerSourceConfiguration", + "clusterId": 0x0000002E, + "commands": { + }, + "attributes": { + 0x00000000: { + "attributeName": "Sources", + "attributeId": 0x00000000, + "type": "int", + "reportable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } _POWER_SOURCE_CLUSTER_INFO = { - "clusterName": "PowerSource", - "clusterId": 0x0000002F, - "commands": { - }, - "attributes": { - 0x00000000: { - "attributeName": "Status", - "attributeId": 0x00000000, - "type": "int", - "reportable": True, - }, - 0x00000001: { - "attributeName": "Order", - "attributeId": 0x00000001, - "type": "int", - "reportable": True, - }, - 0x00000002: { - "attributeName": "Description", - "attributeId": 0x00000002, - "type": "str", - "reportable": True, - }, - 0x00000003: { - "attributeName": "WiredAssessedInputVoltage", - "attributeId": 0x00000003, - "type": "int", - "reportable": True, - }, - 0x00000004: { - "attributeName": "WiredAssessedInputFrequency", - "attributeId": 0x00000004, - "type": "int", - "reportable": True, - }, - 0x00000005: { - "attributeName": "WiredCurrentType", - "attributeId": 0x00000005, - "type": "int", - "reportable": True, - }, - 0x00000006: { - "attributeName": "WiredAssessedCurrent", - "attributeId": 0x00000006, - "type": "int", - "reportable": True, - }, - 0x00000007: { - "attributeName": "WiredNominalVoltage", - "attributeId": 0x00000007, - "type": "int", - "reportable": True, - }, - 0x00000008: { - "attributeName": "WiredMaximumCurrent", - "attributeId": 0x00000008, - "type": "int", - "reportable": True, - }, - 0x00000009: { - "attributeName": "WiredPresent", - "attributeId": 0x00000009, - "type": "bool", - "reportable": True, - }, - 0x0000000A: { - "attributeName": "ActiveWiredFaults", - "attributeId": 0x0000000A, - "type": "int", - "reportable": True, - }, - 0x0000000B: { - "attributeName": "BatVoltage", - "attributeId": 0x0000000B, - "type": "int", - "reportable": True, - }, - 0x0000000C: { - "attributeName": "BatPercentRemaining", - "attributeId": 0x0000000C, - "type": "int", - "reportable": True, - }, - 0x0000000D: { - "attributeName": "BatTimeRemaining", - "attributeId": 0x0000000D, - "type": "int", - "reportable": True, - }, - 0x0000000E: { - "attributeName": "BatChargeLevel", - "attributeId": 0x0000000E, - "type": "int", - "reportable": True, - }, - 0x0000000F: { - "attributeName": "BatReplacementNeeded", - "attributeId": 0x0000000F, - "type": "bool", - "reportable": True, - }, - 0x00000010: { - "attributeName": "BatReplaceability", - "attributeId": 0x00000010, - "type": "int", - "reportable": True, - }, - 0x00000011: { - "attributeName": "BatPresent", - "attributeId": 0x00000011, - "type": "bool", - "reportable": True, - }, - 0x00000012: { - "attributeName": "ActiveBatFaults", - "attributeId": 0x00000012, - "type": "int", - "reportable": True, - }, - 0x00000013: { - "attributeName": "BatReplacementDescription", - "attributeId": 0x00000013, - "type": "str", - "reportable": True, - }, - 0x00000014: { - "attributeName": "BatCommonDesignation", - "attributeId": 0x00000014, - "type": "int", - "reportable": True, - }, - 0x00000015: { - "attributeName": "BatANSIDesignation", - "attributeId": 0x00000015, - "type": "str", - "reportable": True, - }, - 0x00000016: { - "attributeName": "BatIECDesignation", - "attributeId": 0x00000016, - "type": "str", - "reportable": True, - }, - 0x00000017: { - "attributeName": "BatApprovedChemistry", - "attributeId": 0x00000017, - "type": "int", - "reportable": True, - }, - 0x00000018: { - "attributeName": "BatCapacity", - "attributeId": 0x00000018, - "type": "int", - "reportable": True, - }, - 0x00000019: { - "attributeName": "BatQuantity", - "attributeId": 0x00000019, - "type": "int", - "reportable": True, - }, - 0x0000001A: { - "attributeName": "BatChargeState", - "attributeId": 0x0000001A, - "type": "int", - "reportable": True, - }, - 0x0000001B: { - "attributeName": "BatTimeToFullCharge", - "attributeId": 0x0000001B, - "type": "int", - "reportable": True, - }, - 0x0000001C: { - "attributeName": "BatFunctionalWhileCharging", - "attributeId": 0x0000001C, - "type": "bool", - "reportable": True, - }, - 0x0000001D: { - "attributeName": "BatChargingCurrent", - "attributeId": 0x0000001D, - "type": "int", - "reportable": True, - }, - 0x0000001E: { - "attributeName": "ActiveBatChargeFaults", - "attributeId": 0x0000001E, - "type": "int", - "reportable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, - }, + "clusterName": "PowerSource", + "clusterId": 0x0000002F, + "commands": { + }, + "attributes": { + 0x00000000: { + "attributeName": "Status", + "attributeId": 0x00000000, + "type": "int", + "reportable": True, + }, + 0x00000001: { + "attributeName": "Order", + "attributeId": 0x00000001, + "type": "int", + "reportable": True, + }, + 0x00000002: { + "attributeName": "Description", + "attributeId": 0x00000002, + "type": "str", + "reportable": True, + }, + 0x00000003: { + "attributeName": "WiredAssessedInputVoltage", + "attributeId": 0x00000003, + "type": "int", + "reportable": True, + }, + 0x00000004: { + "attributeName": "WiredAssessedInputFrequency", + "attributeId": 0x00000004, + "type": "int", + "reportable": True, + }, + 0x00000005: { + "attributeName": "WiredCurrentType", + "attributeId": 0x00000005, + "type": "int", + "reportable": True, + }, + 0x00000006: { + "attributeName": "WiredAssessedCurrent", + "attributeId": 0x00000006, + "type": "int", + "reportable": True, + }, + 0x00000007: { + "attributeName": "WiredNominalVoltage", + "attributeId": 0x00000007, + "type": "int", + "reportable": True, + }, + 0x00000008: { + "attributeName": "WiredMaximumCurrent", + "attributeId": 0x00000008, + "type": "int", + "reportable": True, + }, + 0x00000009: { + "attributeName": "WiredPresent", + "attributeId": 0x00000009, + "type": "bool", + "reportable": True, + }, + 0x0000000A: { + "attributeName": "ActiveWiredFaults", + "attributeId": 0x0000000A, + "type": "int", + "reportable": True, + }, + 0x0000000B: { + "attributeName": "BatVoltage", + "attributeId": 0x0000000B, + "type": "int", + "reportable": True, + }, + 0x0000000C: { + "attributeName": "BatPercentRemaining", + "attributeId": 0x0000000C, + "type": "int", + "reportable": True, + }, + 0x0000000D: { + "attributeName": "BatTimeRemaining", + "attributeId": 0x0000000D, + "type": "int", + "reportable": True, + }, + 0x0000000E: { + "attributeName": "BatChargeLevel", + "attributeId": 0x0000000E, + "type": "int", + "reportable": True, + }, + 0x0000000F: { + "attributeName": "BatReplacementNeeded", + "attributeId": 0x0000000F, + "type": "bool", + "reportable": True, + }, + 0x00000010: { + "attributeName": "BatReplaceability", + "attributeId": 0x00000010, + "type": "int", + "reportable": True, + }, + 0x00000011: { + "attributeName": "BatPresent", + "attributeId": 0x00000011, + "type": "bool", + "reportable": True, + }, + 0x00000012: { + "attributeName": "ActiveBatFaults", + "attributeId": 0x00000012, + "type": "int", + "reportable": True, + }, + 0x00000013: { + "attributeName": "BatReplacementDescription", + "attributeId": 0x00000013, + "type": "str", + "reportable": True, + }, + 0x00000014: { + "attributeName": "BatCommonDesignation", + "attributeId": 0x00000014, + "type": "int", + "reportable": True, + }, + 0x00000015: { + "attributeName": "BatANSIDesignation", + "attributeId": 0x00000015, + "type": "str", + "reportable": True, + }, + 0x00000016: { + "attributeName": "BatIECDesignation", + "attributeId": 0x00000016, + "type": "str", + "reportable": True, + }, + 0x00000017: { + "attributeName": "BatApprovedChemistry", + "attributeId": 0x00000017, + "type": "int", + "reportable": True, + }, + 0x00000018: { + "attributeName": "BatCapacity", + "attributeId": 0x00000018, + "type": "int", + "reportable": True, + }, + 0x00000019: { + "attributeName": "BatQuantity", + "attributeId": 0x00000019, + "type": "int", + "reportable": True, + }, + 0x0000001A: { + "attributeName": "BatChargeState", + "attributeId": 0x0000001A, + "type": "int", + "reportable": True, + }, + 0x0000001B: { + "attributeName": "BatTimeToFullCharge", + "attributeId": 0x0000001B, + "type": "int", + "reportable": True, + }, + 0x0000001C: { + "attributeName": "BatFunctionalWhileCharging", + "attributeId": 0x0000001C, + "type": "bool", + "reportable": True, }, + 0x0000001D: { + "attributeName": "BatChargingCurrent", + "attributeId": 0x0000001D, + "type": "int", + "reportable": True, + }, + 0x0000001E: { + "attributeName": "ActiveBatChargeFaults", + "attributeId": 0x0000001E, + "type": "int", + "reportable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } _GENERAL_COMMISSIONING_CLUSTER_INFO = { - "clusterName": "GeneralCommissioning", - "clusterId": 0x00000030, - "commands": { + "clusterName": "GeneralCommissioning", + "clusterId": 0x00000030, + "commands": { 0x00000000: { - "commandId": 0x00000000, - "commandName": "ArmFailSafe", - "args": { - "expiryLengthSeconds": "int", - "breadcrumb": "int", - }, + "commandId": 0x00000000, + "commandName": "ArmFailSafe", + "args": { + "expiryLengthSeconds": "int", + "breadcrumb": "int", }, + }, 0x00000002: { - "commandId": 0x00000002, - "commandName": "SetRegulatoryConfig", - "args": { - "newRegulatoryConfig": "int", - "countryCode": "str", - "breadcrumb": "int", - }, + "commandId": 0x00000002, + "commandName": "SetRegulatoryConfig", + "args": { + "newRegulatoryConfig": "int", + "countryCode": "str", + "breadcrumb": "int", }, + }, 0x00000004: { - "commandId": 0x00000004, - "commandName": "CommissioningComplete", - "args": { - }, - }, - }, - "attributes": { - 0x00000000: { - "attributeName": "Breadcrumb", - "attributeId": 0x00000000, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000001: { - "attributeName": "BasicCommissioningInfo", - "attributeId": 0x00000001, - "type": "", - "reportable": True, - }, - 0x00000002: { - "attributeName": "RegulatoryConfig", - "attributeId": 0x00000002, - "type": "int", - "reportable": True, - }, - 0x00000003: { - "attributeName": "LocationCapability", - "attributeId": 0x00000003, - "type": "int", - "reportable": True, - }, - 0x00000004: { - "attributeName": "SupportsConcurrentConnection", - "attributeId": 0x00000004, - "type": "bool", - "reportable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, + "commandId": 0x00000004, + "commandName": "CommissioningComplete", + "args": { }, }, + }, + "attributes": { + 0x00000000: { + "attributeName": "Breadcrumb", + "attributeId": 0x00000000, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000001: { + "attributeName": "BasicCommissioningInfo", + "attributeId": 0x00000001, + "type": "", + "reportable": True, + }, + 0x00000002: { + "attributeName": "RegulatoryConfig", + "attributeId": 0x00000002, + "type": "int", + "reportable": True, + }, + 0x00000003: { + "attributeName": "LocationCapability", + "attributeId": 0x00000003, + "type": "int", + "reportable": True, + }, + 0x00000004: { + "attributeName": "SupportsConcurrentConnection", + "attributeId": 0x00000004, + "type": "bool", + "reportable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } _NETWORK_COMMISSIONING_CLUSTER_INFO = { - "clusterName": "NetworkCommissioning", - "clusterId": 0x00000031, - "commands": { + "clusterName": "NetworkCommissioning", + "clusterId": 0x00000031, + "commands": { 0x00000000: { - "commandId": 0x00000000, - "commandName": "ScanNetworks", - "args": { - "ssid": "bytes", - "breadcrumb": "int", - }, + "commandId": 0x00000000, + "commandName": "ScanNetworks", + "args": { + "ssid": "bytes", + "breadcrumb": "int", }, + }, 0x00000002: { - "commandId": 0x00000002, - "commandName": "AddOrUpdateWiFiNetwork", - "args": { - "ssid": "bytes", - "credentials": "bytes", - "breadcrumb": "int", - }, + "commandId": 0x00000002, + "commandName": "AddOrUpdateWiFiNetwork", + "args": { + "ssid": "bytes", + "credentials": "bytes", + "breadcrumb": "int", }, + }, 0x00000003: { - "commandId": 0x00000003, - "commandName": "AddOrUpdateThreadNetwork", - "args": { - "operationalDataset": "bytes", - "breadcrumb": "int", - }, + "commandId": 0x00000003, + "commandName": "AddOrUpdateThreadNetwork", + "args": { + "operationalDataset": "bytes", + "breadcrumb": "int", }, + }, 0x00000004: { - "commandId": 0x00000004, - "commandName": "RemoveNetwork", - "args": { - "networkID": "bytes", - "breadcrumb": "int", - }, + "commandId": 0x00000004, + "commandName": "RemoveNetwork", + "args": { + "networkID": "bytes", + "breadcrumb": "int", }, + }, 0x00000006: { - "commandId": 0x00000006, - "commandName": "ConnectNetwork", - "args": { - "networkID": "bytes", - "breadcrumb": "int", - }, + "commandId": 0x00000006, + "commandName": "ConnectNetwork", + "args": { + "networkID": "bytes", + "breadcrumb": "int", }, + }, 0x00000008: { - "commandId": 0x00000008, - "commandName": "ReorderNetwork", - "args": { - "networkID": "bytes", - "networkIndex": "int", - "breadcrumb": "int", - }, - }, - }, - "attributes": { - 0x00000000: { - "attributeName": "MaxNetworks", - "attributeId": 0x00000000, - "type": "int", - "reportable": True, - }, - 0x00000001: { - "attributeName": "Networks", - "attributeId": 0x00000001, - "type": "", - "reportable": True, - }, - 0x00000002: { - "attributeName": "ScanMaxTimeSeconds", - "attributeId": 0x00000002, - "type": "int", - "reportable": True, - }, - 0x00000003: { - "attributeName": "ConnectMaxTimeSeconds", - "attributeId": 0x00000003, - "type": "int", - "reportable": True, - }, - 0x00000004: { - "attributeName": "InterfaceEnabled", - "attributeId": 0x00000004, - "type": "bool", - "reportable": True, - "writable": True, - }, - 0x00000005: { - "attributeName": "LastNetworkingStatus", - "attributeId": 0x00000005, - "type": "int", - "reportable": True, - }, - 0x00000006: { - "attributeName": "LastNetworkID", - "attributeId": 0x00000006, - "type": "bytes", - "reportable": True, - }, - 0x00000007: { - "attributeName": "LastConnectErrorValue", - "attributeId": 0x00000007, - "type": "int", - "reportable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, + "commandId": 0x00000008, + "commandName": "ReorderNetwork", + "args": { + "networkID": "bytes", + "networkIndex": "int", + "breadcrumb": "int", }, }, + }, + "attributes": { + 0x00000000: { + "attributeName": "MaxNetworks", + "attributeId": 0x00000000, + "type": "int", + "reportable": True, + }, + 0x00000001: { + "attributeName": "Networks", + "attributeId": 0x00000001, + "type": "", + "reportable": True, + }, + 0x00000002: { + "attributeName": "ScanMaxTimeSeconds", + "attributeId": 0x00000002, + "type": "int", + "reportable": True, + }, + 0x00000003: { + "attributeName": "ConnectMaxTimeSeconds", + "attributeId": 0x00000003, + "type": "int", + "reportable": True, + }, + 0x00000004: { + "attributeName": "InterfaceEnabled", + "attributeId": 0x00000004, + "type": "bool", + "reportable": True, + "writable": True, + }, + 0x00000005: { + "attributeName": "LastNetworkingStatus", + "attributeId": 0x00000005, + "type": "int", + "reportable": True, + }, + 0x00000006: { + "attributeName": "LastNetworkID", + "attributeId": 0x00000006, + "type": "bytes", + "reportable": True, + }, + 0x00000007: { + "attributeName": "LastConnectErrorValue", + "attributeId": 0x00000007, + "type": "int", + "reportable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } _DIAGNOSTIC_LOGS_CLUSTER_INFO = { - "clusterName": "DiagnosticLogs", - "clusterId": 0x00000032, - "commands": { + "clusterName": "DiagnosticLogs", + "clusterId": 0x00000032, + "commands": { 0x00000000: { - "commandId": 0x00000000, - "commandName": "RetrieveLogsRequest", - "args": { - "intent": "int", - "requestedProtocol": "int", - "transferFileDesignator": "str", - }, - }, - }, - "attributes": { - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, - }, - }, + "commandId": 0x00000000, + "commandName": "RetrieveLogsRequest", + "args": { + "intent": "int", + "requestedProtocol": "int", + "transferFileDesignator": "str", + }, + }, + }, + "attributes": { + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } _GENERAL_DIAGNOSTICS_CLUSTER_INFO = { - "clusterName": "GeneralDiagnostics", - "clusterId": 0x00000033, - "commands": { + "clusterName": "GeneralDiagnostics", + "clusterId": 0x00000033, + "commands": { 0x00000000: { - "commandId": 0x00000000, - "commandName": "TestEventTrigger", - "args": { - "enableKey": "bytes", - "eventTrigger": "int", - }, - }, - }, - "attributes": { - 0x00000000: { - "attributeName": "NetworkInterfaces", - "attributeId": 0x00000000, - "type": "", - "reportable": True, - }, - 0x00000001: { - "attributeName": "RebootCount", - "attributeId": 0x00000001, - "type": "int", - "reportable": True, - }, - 0x00000002: { - "attributeName": "UpTime", - "attributeId": 0x00000002, - "type": "int", - "reportable": True, - }, - 0x00000003: { - "attributeName": "TotalOperationalHours", - "attributeId": 0x00000003, - "type": "int", - "reportable": True, - }, - 0x00000004: { - "attributeName": "BootReason", - "attributeId": 0x00000004, - "type": "int", - "reportable": True, - }, - 0x00000005: { - "attributeName": "ActiveHardwareFaults", - "attributeId": 0x00000005, - "type": "int", - "reportable": True, - }, - 0x00000006: { - "attributeName": "ActiveRadioFaults", - "attributeId": 0x00000006, - "type": "int", - "reportable": True, - }, - 0x00000007: { - "attributeName": "ActiveNetworkFaults", - "attributeId": 0x00000007, - "type": "int", - "reportable": True, - }, - 0x00000008: { - "attributeName": "TestEventTriggersEnabled", - "attributeId": 0x00000008, - "type": "bool", - "reportable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, + "commandId": 0x00000000, + "commandName": "TestEventTrigger", + "args": { + "enableKey": "bytes", + "eventTrigger": "int", }, }, - } - _SOFTWARE_DIAGNOSTICS_CLUSTER_INFO = { - "clusterName": "SoftwareDiagnostics", - "clusterId": 0x00000034, - "commands": { + }, + "attributes": { 0x00000000: { - "commandId": 0x00000000, - "commandName": "ResetWatermarks", - "args": { - }, - }, - }, - "attributes": { - 0x00000000: { - "attributeName": "ThreadMetrics", - "attributeId": 0x00000000, - "type": "", - "reportable": True, - }, - 0x00000001: { - "attributeName": "CurrentHeapFree", - "attributeId": 0x00000001, - "type": "int", - "reportable": True, - }, - 0x00000002: { - "attributeName": "CurrentHeapUsed", - "attributeId": 0x00000002, - "type": "int", - "reportable": True, - }, - 0x00000003: { - "attributeName": "CurrentHeapHighWatermark", - "attributeId": 0x00000003, - "type": "int", - "reportable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, - }, + "attributeName": "NetworkInterfaces", + "attributeId": 0x00000000, + "type": "", + "reportable": True, }, - } - _THREAD_NETWORK_DIAGNOSTICS_CLUSTER_INFO = { - "clusterName": "ThreadNetworkDiagnostics", - "clusterId": 0x00000035, - "commands": { - 0x00000000: { - "commandId": 0x00000000, - "commandName": "ResetCounts", - "args": { - }, - }, - }, - "attributes": { - 0x00000000: { - "attributeName": "Channel", - "attributeId": 0x00000000, - "type": "int", - "reportable": True, - }, - 0x00000001: { - "attributeName": "RoutingRole", - "attributeId": 0x00000001, - "type": "int", - "reportable": True, - }, - 0x00000002: { - "attributeName": "NetworkName", - "attributeId": 0x00000002, - "type": "str", - "reportable": True, - }, - 0x00000003: { - "attributeName": "PanId", - "attributeId": 0x00000003, - "type": "int", - "reportable": True, - }, - 0x00000004: { - "attributeName": "ExtendedPanId", - "attributeId": 0x00000004, - "type": "int", - "reportable": True, - }, - 0x00000005: { - "attributeName": "MeshLocalPrefix", - "attributeId": 0x00000005, - "type": "bytes", - "reportable": True, - }, - 0x00000006: { - "attributeName": "OverrunCount", - "attributeId": 0x00000006, - "type": "int", - "reportable": True, - }, - 0x00000007: { - "attributeName": "NeighborTable", - "attributeId": 0x00000007, - "type": "", - "reportable": True, - }, - 0x00000008: { - "attributeName": "RouteTable", - "attributeId": 0x00000008, - "type": "", - "reportable": True, - }, - 0x00000009: { - "attributeName": "PartitionId", - "attributeId": 0x00000009, - "type": "int", - "reportable": True, - }, - 0x0000000A: { - "attributeName": "Weighting", - "attributeId": 0x0000000A, - "type": "int", - "reportable": True, - }, - 0x0000000B: { - "attributeName": "DataVersion", - "attributeId": 0x0000000B, - "type": "int", - "reportable": True, - }, - 0x0000000C: { - "attributeName": "StableDataVersion", - "attributeId": 0x0000000C, - "type": "int", - "reportable": True, - }, - 0x0000000D: { - "attributeName": "LeaderRouterId", - "attributeId": 0x0000000D, - "type": "int", - "reportable": True, - }, - 0x0000000E: { - "attributeName": "DetachedRoleCount", - "attributeId": 0x0000000E, - "type": "int", - "reportable": True, - }, - 0x0000000F: { - "attributeName": "ChildRoleCount", - "attributeId": 0x0000000F, - "type": "int", - "reportable": True, - }, - 0x00000010: { - "attributeName": "RouterRoleCount", - "attributeId": 0x00000010, - "type": "int", - "reportable": True, - }, - 0x00000011: { - "attributeName": "LeaderRoleCount", - "attributeId": 0x00000011, - "type": "int", - "reportable": True, - }, - 0x00000012: { - "attributeName": "AttachAttemptCount", - "attributeId": 0x00000012, - "type": "int", - "reportable": True, - }, - 0x00000013: { - "attributeName": "PartitionIdChangeCount", - "attributeId": 0x00000013, - "type": "int", - "reportable": True, - }, - 0x00000014: { - "attributeName": "BetterPartitionAttachAttemptCount", - "attributeId": 0x00000014, - "type": "int", - "reportable": True, - }, - 0x00000015: { - "attributeName": "ParentChangeCount", - "attributeId": 0x00000015, - "type": "int", - "reportable": True, - }, - 0x00000016: { - "attributeName": "TxTotalCount", - "attributeId": 0x00000016, - "type": "int", - "reportable": True, - }, - 0x00000017: { - "attributeName": "TxUnicastCount", - "attributeId": 0x00000017, - "type": "int", - "reportable": True, - }, - 0x00000018: { - "attributeName": "TxBroadcastCount", - "attributeId": 0x00000018, - "type": "int", - "reportable": True, - }, - 0x00000019: { - "attributeName": "TxAckRequestedCount", - "attributeId": 0x00000019, - "type": "int", - "reportable": True, - }, - 0x0000001A: { - "attributeName": "TxAckedCount", - "attributeId": 0x0000001A, - "type": "int", - "reportable": True, - }, - 0x0000001B: { - "attributeName": "TxNoAckRequestedCount", - "attributeId": 0x0000001B, - "type": "int", - "reportable": True, - }, - 0x0000001C: { - "attributeName": "TxDataCount", - "attributeId": 0x0000001C, - "type": "int", - "reportable": True, - }, - 0x0000001D: { - "attributeName": "TxDataPollCount", - "attributeId": 0x0000001D, - "type": "int", - "reportable": True, - }, - 0x0000001E: { - "attributeName": "TxBeaconCount", - "attributeId": 0x0000001E, - "type": "int", - "reportable": True, - }, - 0x0000001F: { - "attributeName": "TxBeaconRequestCount", - "attributeId": 0x0000001F, - "type": "int", - "reportable": True, - }, - 0x00000020: { - "attributeName": "TxOtherCount", - "attributeId": 0x00000020, - "type": "int", - "reportable": True, - }, - 0x00000021: { - "attributeName": "TxRetryCount", - "attributeId": 0x00000021, - "type": "int", - "reportable": True, - }, - 0x00000022: { - "attributeName": "TxDirectMaxRetryExpiryCount", - "attributeId": 0x00000022, - "type": "int", - "reportable": True, - }, - 0x00000023: { - "attributeName": "TxIndirectMaxRetryExpiryCount", - "attributeId": 0x00000023, - "type": "int", - "reportable": True, - }, - 0x00000024: { - "attributeName": "TxErrCcaCount", - "attributeId": 0x00000024, - "type": "int", - "reportable": True, - }, - 0x00000025: { - "attributeName": "TxErrAbortCount", - "attributeId": 0x00000025, - "type": "int", - "reportable": True, - }, - 0x00000026: { - "attributeName": "TxErrBusyChannelCount", - "attributeId": 0x00000026, - "type": "int", - "reportable": True, - }, - 0x00000027: { - "attributeName": "RxTotalCount", - "attributeId": 0x00000027, - "type": "int", - "reportable": True, - }, - 0x00000028: { - "attributeName": "RxUnicastCount", - "attributeId": 0x00000028, - "type": "int", - "reportable": True, - }, - 0x00000029: { - "attributeName": "RxBroadcastCount", - "attributeId": 0x00000029, - "type": "int", - "reportable": True, - }, - 0x0000002A: { - "attributeName": "RxDataCount", - "attributeId": 0x0000002A, - "type": "int", - "reportable": True, - }, - 0x0000002B: { - "attributeName": "RxDataPollCount", - "attributeId": 0x0000002B, - "type": "int", - "reportable": True, - }, - 0x0000002C: { - "attributeName": "RxBeaconCount", - "attributeId": 0x0000002C, - "type": "int", - "reportable": True, - }, - 0x0000002D: { - "attributeName": "RxBeaconRequestCount", - "attributeId": 0x0000002D, - "type": "int", - "reportable": True, - }, - 0x0000002E: { - "attributeName": "RxOtherCount", - "attributeId": 0x0000002E, - "type": "int", - "reportable": True, - }, - 0x0000002F: { - "attributeName": "RxAddressFilteredCount", - "attributeId": 0x0000002F, - "type": "int", - "reportable": True, - }, - 0x00000030: { - "attributeName": "RxDestAddrFilteredCount", - "attributeId": 0x00000030, - "type": "int", - "reportable": True, - }, - 0x00000031: { - "attributeName": "RxDuplicatedCount", - "attributeId": 0x00000031, - "type": "int", - "reportable": True, - }, - 0x00000032: { - "attributeName": "RxErrNoFrameCount", - "attributeId": 0x00000032, - "type": "int", - "reportable": True, - }, - 0x00000033: { - "attributeName": "RxErrUnknownNeighborCount", - "attributeId": 0x00000033, - "type": "int", - "reportable": True, - }, - 0x00000034: { - "attributeName": "RxErrInvalidSrcAddrCount", - "attributeId": 0x00000034, - "type": "int", - "reportable": True, - }, - 0x00000035: { - "attributeName": "RxErrSecCount", - "attributeId": 0x00000035, - "type": "int", - "reportable": True, - }, - 0x00000036: { - "attributeName": "RxErrFcsCount", - "attributeId": 0x00000036, - "type": "int", - "reportable": True, - }, - 0x00000037: { - "attributeName": "RxErrOtherCount", - "attributeId": 0x00000037, - "type": "int", - "reportable": True, - }, - 0x00000038: { - "attributeName": "ActiveTimestamp", - "attributeId": 0x00000038, - "type": "int", - "reportable": True, - }, - 0x00000039: { - "attributeName": "PendingTimestamp", - "attributeId": 0x00000039, - "type": "int", - "reportable": True, - }, - 0x0000003A: { - "attributeName": "Delay", - "attributeId": 0x0000003A, - "type": "int", - "reportable": True, - }, - 0x0000003B: { - "attributeName": "SecurityPolicy", - "attributeId": 0x0000003B, - "type": "", - "reportable": True, - }, - 0x0000003C: { - "attributeName": "ChannelPage0Mask", - "attributeId": 0x0000003C, - "type": "bytes", - "reportable": True, - }, - 0x0000003D: { - "attributeName": "OperationalDatasetComponents", - "attributeId": 0x0000003D, - "type": "", - "reportable": True, - }, - 0x0000003E: { - "attributeName": "ActiveNetworkFaultsList", - "attributeId": 0x0000003E, - "type": "int", - "reportable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, + 0x00000001: { + "attributeName": "RebootCount", + "attributeId": 0x00000001, + "type": "int", + "reportable": True, + }, + 0x00000002: { + "attributeName": "UpTime", + "attributeId": 0x00000002, + "type": "int", + "reportable": True, + }, + 0x00000003: { + "attributeName": "TotalOperationalHours", + "attributeId": 0x00000003, + "type": "int", + "reportable": True, + }, + 0x00000004: { + "attributeName": "BootReason", + "attributeId": 0x00000004, + "type": "int", + "reportable": True, + }, + 0x00000005: { + "attributeName": "ActiveHardwareFaults", + "attributeId": 0x00000005, + "type": "int", + "reportable": True, + }, + 0x00000006: { + "attributeName": "ActiveRadioFaults", + "attributeId": 0x00000006, + "type": "int", + "reportable": True, + }, + 0x00000007: { + "attributeName": "ActiveNetworkFaults", + "attributeId": 0x00000007, + "type": "int", + "reportable": True, + }, + 0x00000008: { + "attributeName": "TestEventTriggersEnabled", + "attributeId": 0x00000008, + "type": "bool", + "reportable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, + } + _SOFTWARE_DIAGNOSTICS_CLUSTER_INFO = { + "clusterName": "SoftwareDiagnostics", + "clusterId": 0x00000034, + "commands": { + 0x00000000: { + "commandId": 0x00000000, + "commandName": "ResetWatermarks", + "args": { + }, + }, + }, + "attributes": { + 0x00000000: { + "attributeName": "ThreadMetrics", + "attributeId": 0x00000000, + "type": "", + "reportable": True, + }, + 0x00000001: { + "attributeName": "CurrentHeapFree", + "attributeId": 0x00000001, + "type": "int", + "reportable": True, + }, + 0x00000002: { + "attributeName": "CurrentHeapUsed", + "attributeId": 0x00000002, + "type": "int", + "reportable": True, + }, + 0x00000003: { + "attributeName": "CurrentHeapHighWatermark", + "attributeId": 0x00000003, + "type": "int", + "reportable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, + } + _THREAD_NETWORK_DIAGNOSTICS_CLUSTER_INFO = { + "clusterName": "ThreadNetworkDiagnostics", + "clusterId": 0x00000035, + "commands": { + 0x00000000: { + "commandId": 0x00000000, + "commandName": "ResetCounts", + "args": { }, }, + }, + "attributes": { + 0x00000000: { + "attributeName": "Channel", + "attributeId": 0x00000000, + "type": "int", + "reportable": True, + }, + 0x00000001: { + "attributeName": "RoutingRole", + "attributeId": 0x00000001, + "type": "int", + "reportable": True, + }, + 0x00000002: { + "attributeName": "NetworkName", + "attributeId": 0x00000002, + "type": "str", + "reportable": True, + }, + 0x00000003: { + "attributeName": "PanId", + "attributeId": 0x00000003, + "type": "int", + "reportable": True, + }, + 0x00000004: { + "attributeName": "ExtendedPanId", + "attributeId": 0x00000004, + "type": "int", + "reportable": True, + }, + 0x00000005: { + "attributeName": "MeshLocalPrefix", + "attributeId": 0x00000005, + "type": "bytes", + "reportable": True, + }, + 0x00000006: { + "attributeName": "OverrunCount", + "attributeId": 0x00000006, + "type": "int", + "reportable": True, + }, + 0x00000007: { + "attributeName": "NeighborTable", + "attributeId": 0x00000007, + "type": "", + "reportable": True, + }, + 0x00000008: { + "attributeName": "RouteTable", + "attributeId": 0x00000008, + "type": "", + "reportable": True, + }, + 0x00000009: { + "attributeName": "PartitionId", + "attributeId": 0x00000009, + "type": "int", + "reportable": True, + }, + 0x0000000A: { + "attributeName": "Weighting", + "attributeId": 0x0000000A, + "type": "int", + "reportable": True, + }, + 0x0000000B: { + "attributeName": "DataVersion", + "attributeId": 0x0000000B, + "type": "int", + "reportable": True, + }, + 0x0000000C: { + "attributeName": "StableDataVersion", + "attributeId": 0x0000000C, + "type": "int", + "reportable": True, + }, + 0x0000000D: { + "attributeName": "LeaderRouterId", + "attributeId": 0x0000000D, + "type": "int", + "reportable": True, + }, + 0x0000000E: { + "attributeName": "DetachedRoleCount", + "attributeId": 0x0000000E, + "type": "int", + "reportable": True, + }, + 0x0000000F: { + "attributeName": "ChildRoleCount", + "attributeId": 0x0000000F, + "type": "int", + "reportable": True, + }, + 0x00000010: { + "attributeName": "RouterRoleCount", + "attributeId": 0x00000010, + "type": "int", + "reportable": True, + }, + 0x00000011: { + "attributeName": "LeaderRoleCount", + "attributeId": 0x00000011, + "type": "int", + "reportable": True, + }, + 0x00000012: { + "attributeName": "AttachAttemptCount", + "attributeId": 0x00000012, + "type": "int", + "reportable": True, + }, + 0x00000013: { + "attributeName": "PartitionIdChangeCount", + "attributeId": 0x00000013, + "type": "int", + "reportable": True, + }, + 0x00000014: { + "attributeName": "BetterPartitionAttachAttemptCount", + "attributeId": 0x00000014, + "type": "int", + "reportable": True, + }, + 0x00000015: { + "attributeName": "ParentChangeCount", + "attributeId": 0x00000015, + "type": "int", + "reportable": True, + }, + 0x00000016: { + "attributeName": "TxTotalCount", + "attributeId": 0x00000016, + "type": "int", + "reportable": True, + }, + 0x00000017: { + "attributeName": "TxUnicastCount", + "attributeId": 0x00000017, + "type": "int", + "reportable": True, + }, + 0x00000018: { + "attributeName": "TxBroadcastCount", + "attributeId": 0x00000018, + "type": "int", + "reportable": True, + }, + 0x00000019: { + "attributeName": "TxAckRequestedCount", + "attributeId": 0x00000019, + "type": "int", + "reportable": True, + }, + 0x0000001A: { + "attributeName": "TxAckedCount", + "attributeId": 0x0000001A, + "type": "int", + "reportable": True, + }, + 0x0000001B: { + "attributeName": "TxNoAckRequestedCount", + "attributeId": 0x0000001B, + "type": "int", + "reportable": True, + }, + 0x0000001C: { + "attributeName": "TxDataCount", + "attributeId": 0x0000001C, + "type": "int", + "reportable": True, + }, + 0x0000001D: { + "attributeName": "TxDataPollCount", + "attributeId": 0x0000001D, + "type": "int", + "reportable": True, + }, + 0x0000001E: { + "attributeName": "TxBeaconCount", + "attributeId": 0x0000001E, + "type": "int", + "reportable": True, + }, + 0x0000001F: { + "attributeName": "TxBeaconRequestCount", + "attributeId": 0x0000001F, + "type": "int", + "reportable": True, + }, + 0x00000020: { + "attributeName": "TxOtherCount", + "attributeId": 0x00000020, + "type": "int", + "reportable": True, + }, + 0x00000021: { + "attributeName": "TxRetryCount", + "attributeId": 0x00000021, + "type": "int", + "reportable": True, + }, + 0x00000022: { + "attributeName": "TxDirectMaxRetryExpiryCount", + "attributeId": 0x00000022, + "type": "int", + "reportable": True, + }, + 0x00000023: { + "attributeName": "TxIndirectMaxRetryExpiryCount", + "attributeId": 0x00000023, + "type": "int", + "reportable": True, + }, + 0x00000024: { + "attributeName": "TxErrCcaCount", + "attributeId": 0x00000024, + "type": "int", + "reportable": True, + }, + 0x00000025: { + "attributeName": "TxErrAbortCount", + "attributeId": 0x00000025, + "type": "int", + "reportable": True, + }, + 0x00000026: { + "attributeName": "TxErrBusyChannelCount", + "attributeId": 0x00000026, + "type": "int", + "reportable": True, + }, + 0x00000027: { + "attributeName": "RxTotalCount", + "attributeId": 0x00000027, + "type": "int", + "reportable": True, + }, + 0x00000028: { + "attributeName": "RxUnicastCount", + "attributeId": 0x00000028, + "type": "int", + "reportable": True, + }, + 0x00000029: { + "attributeName": "RxBroadcastCount", + "attributeId": 0x00000029, + "type": "int", + "reportable": True, + }, + 0x0000002A: { + "attributeName": "RxDataCount", + "attributeId": 0x0000002A, + "type": "int", + "reportable": True, + }, + 0x0000002B: { + "attributeName": "RxDataPollCount", + "attributeId": 0x0000002B, + "type": "int", + "reportable": True, + }, + 0x0000002C: { + "attributeName": "RxBeaconCount", + "attributeId": 0x0000002C, + "type": "int", + "reportable": True, + }, + 0x0000002D: { + "attributeName": "RxBeaconRequestCount", + "attributeId": 0x0000002D, + "type": "int", + "reportable": True, + }, + 0x0000002E: { + "attributeName": "RxOtherCount", + "attributeId": 0x0000002E, + "type": "int", + "reportable": True, + }, + 0x0000002F: { + "attributeName": "RxAddressFilteredCount", + "attributeId": 0x0000002F, + "type": "int", + "reportable": True, + }, + 0x00000030: { + "attributeName": "RxDestAddrFilteredCount", + "attributeId": 0x00000030, + "type": "int", + "reportable": True, + }, + 0x00000031: { + "attributeName": "RxDuplicatedCount", + "attributeId": 0x00000031, + "type": "int", + "reportable": True, + }, + 0x00000032: { + "attributeName": "RxErrNoFrameCount", + "attributeId": 0x00000032, + "type": "int", + "reportable": True, + }, + 0x00000033: { + "attributeName": "RxErrUnknownNeighborCount", + "attributeId": 0x00000033, + "type": "int", + "reportable": True, + }, + 0x00000034: { + "attributeName": "RxErrInvalidSrcAddrCount", + "attributeId": 0x00000034, + "type": "int", + "reportable": True, + }, + 0x00000035: { + "attributeName": "RxErrSecCount", + "attributeId": 0x00000035, + "type": "int", + "reportable": True, + }, + 0x00000036: { + "attributeName": "RxErrFcsCount", + "attributeId": 0x00000036, + "type": "int", + "reportable": True, + }, + 0x00000037: { + "attributeName": "RxErrOtherCount", + "attributeId": 0x00000037, + "type": "int", + "reportable": True, + }, + 0x00000038: { + "attributeName": "ActiveTimestamp", + "attributeId": 0x00000038, + "type": "int", + "reportable": True, + }, + 0x00000039: { + "attributeName": "PendingTimestamp", + "attributeId": 0x00000039, + "type": "int", + "reportable": True, + }, + 0x0000003A: { + "attributeName": "Delay", + "attributeId": 0x0000003A, + "type": "int", + "reportable": True, + }, + 0x0000003B: { + "attributeName": "SecurityPolicy", + "attributeId": 0x0000003B, + "type": "", + "reportable": True, + }, + 0x0000003C: { + "attributeName": "ChannelPage0Mask", + "attributeId": 0x0000003C, + "type": "bytes", + "reportable": True, + }, + 0x0000003D: { + "attributeName": "OperationalDatasetComponents", + "attributeId": 0x0000003D, + "type": "", + "reportable": True, + }, + 0x0000003E: { + "attributeName": "ActiveNetworkFaultsList", + "attributeId": 0x0000003E, + "type": "int", + "reportable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } _WI_FI_NETWORK_DIAGNOSTICS_CLUSTER_INFO = { - "clusterName": "WiFiNetworkDiagnostics", - "clusterId": 0x00000036, - "commands": { + "clusterName": "WiFiNetworkDiagnostics", + "clusterId": 0x00000036, + "commands": { 0x00000000: { - "commandId": 0x00000000, - "commandName": "ResetCounts", - "args": { - }, - }, - }, - "attributes": { - 0x00000000: { - "attributeName": "Bssid", - "attributeId": 0x00000000, - "type": "bytes", - "reportable": True, - }, - 0x00000001: { - "attributeName": "SecurityType", - "attributeId": 0x00000001, - "type": "int", - "reportable": True, - }, - 0x00000002: { - "attributeName": "WiFiVersion", - "attributeId": 0x00000002, - "type": "int", - "reportable": True, - }, - 0x00000003: { - "attributeName": "ChannelNumber", - "attributeId": 0x00000003, - "type": "int", - "reportable": True, - }, - 0x00000004: { - "attributeName": "Rssi", - "attributeId": 0x00000004, - "type": "int", - "reportable": True, - }, - 0x00000005: { - "attributeName": "BeaconLostCount", - "attributeId": 0x00000005, - "type": "int", - "reportable": True, - }, - 0x00000006: { - "attributeName": "BeaconRxCount", - "attributeId": 0x00000006, - "type": "int", - "reportable": True, - }, - 0x00000007: { - "attributeName": "PacketMulticastRxCount", - "attributeId": 0x00000007, - "type": "int", - "reportable": True, - }, - 0x00000008: { - "attributeName": "PacketMulticastTxCount", - "attributeId": 0x00000008, - "type": "int", - "reportable": True, - }, - 0x00000009: { - "attributeName": "PacketUnicastRxCount", - "attributeId": 0x00000009, - "type": "int", - "reportable": True, - }, - 0x0000000A: { - "attributeName": "PacketUnicastTxCount", - "attributeId": 0x0000000A, - "type": "int", - "reportable": True, - }, - 0x0000000B: { - "attributeName": "CurrentMaxRate", - "attributeId": 0x0000000B, - "type": "int", - "reportable": True, - }, - 0x0000000C: { - "attributeName": "OverrunCount", - "attributeId": 0x0000000C, - "type": "int", - "reportable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, + "commandId": 0x00000000, + "commandName": "ResetCounts", + "args": { }, }, + }, + "attributes": { + 0x00000000: { + "attributeName": "Bssid", + "attributeId": 0x00000000, + "type": "bytes", + "reportable": True, + }, + 0x00000001: { + "attributeName": "SecurityType", + "attributeId": 0x00000001, + "type": "int", + "reportable": True, + }, + 0x00000002: { + "attributeName": "WiFiVersion", + "attributeId": 0x00000002, + "type": "int", + "reportable": True, + }, + 0x00000003: { + "attributeName": "ChannelNumber", + "attributeId": 0x00000003, + "type": "int", + "reportable": True, + }, + 0x00000004: { + "attributeName": "Rssi", + "attributeId": 0x00000004, + "type": "int", + "reportable": True, + }, + 0x00000005: { + "attributeName": "BeaconLostCount", + "attributeId": 0x00000005, + "type": "int", + "reportable": True, + }, + 0x00000006: { + "attributeName": "BeaconRxCount", + "attributeId": 0x00000006, + "type": "int", + "reportable": True, + }, + 0x00000007: { + "attributeName": "PacketMulticastRxCount", + "attributeId": 0x00000007, + "type": "int", + "reportable": True, + }, + 0x00000008: { + "attributeName": "PacketMulticastTxCount", + "attributeId": 0x00000008, + "type": "int", + "reportable": True, + }, + 0x00000009: { + "attributeName": "PacketUnicastRxCount", + "attributeId": 0x00000009, + "type": "int", + "reportable": True, + }, + 0x0000000A: { + "attributeName": "PacketUnicastTxCount", + "attributeId": 0x0000000A, + "type": "int", + "reportable": True, + }, + 0x0000000B: { + "attributeName": "CurrentMaxRate", + "attributeId": 0x0000000B, + "type": "int", + "reportable": True, + }, + 0x0000000C: { + "attributeName": "OverrunCount", + "attributeId": 0x0000000C, + "type": "int", + "reportable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } _ETHERNET_NETWORK_DIAGNOSTICS_CLUSTER_INFO = { - "clusterName": "EthernetNetworkDiagnostics", - "clusterId": 0x00000037, - "commands": { + "clusterName": "EthernetNetworkDiagnostics", + "clusterId": 0x00000037, + "commands": { 0x00000000: { - "commandId": 0x00000000, - "commandName": "ResetCounts", - "args": { - }, - }, - }, - "attributes": { - 0x00000000: { - "attributeName": "PHYRate", - "attributeId": 0x00000000, - "type": "int", - "reportable": True, - }, - 0x00000001: { - "attributeName": "FullDuplex", - "attributeId": 0x00000001, - "type": "bool", - "reportable": True, - }, - 0x00000002: { - "attributeName": "PacketRxCount", - "attributeId": 0x00000002, - "type": "int", - "reportable": True, - }, - 0x00000003: { - "attributeName": "PacketTxCount", - "attributeId": 0x00000003, - "type": "int", - "reportable": True, - }, - 0x00000004: { - "attributeName": "TxErrCount", - "attributeId": 0x00000004, - "type": "int", - "reportable": True, - }, - 0x00000005: { - "attributeName": "CollisionCount", - "attributeId": 0x00000005, - "type": "int", - "reportable": True, - }, - 0x00000006: { - "attributeName": "OverrunCount", - "attributeId": 0x00000006, - "type": "int", - "reportable": True, - }, - 0x00000007: { - "attributeName": "CarrierDetect", - "attributeId": 0x00000007, - "type": "bool", - "reportable": True, - }, - 0x00000008: { - "attributeName": "TimeSinceReset", - "attributeId": 0x00000008, - "type": "int", - "reportable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, + "commandId": 0x00000000, + "commandName": "ResetCounts", + "args": { }, }, + }, + "attributes": { + 0x00000000: { + "attributeName": "PHYRate", + "attributeId": 0x00000000, + "type": "int", + "reportable": True, + }, + 0x00000001: { + "attributeName": "FullDuplex", + "attributeId": 0x00000001, + "type": "bool", + "reportable": True, + }, + 0x00000002: { + "attributeName": "PacketRxCount", + "attributeId": 0x00000002, + "type": "int", + "reportable": True, + }, + 0x00000003: { + "attributeName": "PacketTxCount", + "attributeId": 0x00000003, + "type": "int", + "reportable": True, + }, + 0x00000004: { + "attributeName": "TxErrCount", + "attributeId": 0x00000004, + "type": "int", + "reportable": True, + }, + 0x00000005: { + "attributeName": "CollisionCount", + "attributeId": 0x00000005, + "type": "int", + "reportable": True, + }, + 0x00000006: { + "attributeName": "OverrunCount", + "attributeId": 0x00000006, + "type": "int", + "reportable": True, + }, + 0x00000007: { + "attributeName": "CarrierDetect", + "attributeId": 0x00000007, + "type": "bool", + "reportable": True, + }, + 0x00000008: { + "attributeName": "TimeSinceReset", + "attributeId": 0x00000008, + "type": "int", + "reportable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } _BRIDGED_DEVICE_BASIC_INFORMATION_CLUSTER_INFO = { - "clusterName": "BridgedDeviceBasicInformation", - "clusterId": 0x00000039, - "commands": { - }, - "attributes": { - 0x00000001: { - "attributeName": "VendorName", - "attributeId": 0x00000001, - "type": "str", - "reportable": True, - }, - 0x00000002: { - "attributeName": "VendorID", - "attributeId": 0x00000002, - "type": "int", - "reportable": True, - }, - 0x00000003: { - "attributeName": "ProductName", - "attributeId": 0x00000003, - "type": "str", - "reportable": True, - }, - 0x00000005: { - "attributeName": "NodeLabel", - "attributeId": 0x00000005, - "type": "str", - "reportable": True, - "writable": True, - }, - 0x00000007: { - "attributeName": "HardwareVersion", - "attributeId": 0x00000007, - "type": "int", - "reportable": True, - }, - 0x00000008: { - "attributeName": "HardwareVersionString", - "attributeId": 0x00000008, - "type": "str", - "reportable": True, - }, - 0x00000009: { - "attributeName": "SoftwareVersion", - "attributeId": 0x00000009, - "type": "int", - "reportable": True, - }, - 0x0000000A: { - "attributeName": "SoftwareVersionString", - "attributeId": 0x0000000A, - "type": "str", - "reportable": True, - }, - 0x0000000B: { - "attributeName": "ManufacturingDate", - "attributeId": 0x0000000B, - "type": "str", - "reportable": True, - }, - 0x0000000C: { - "attributeName": "PartNumber", - "attributeId": 0x0000000C, - "type": "str", - "reportable": True, - }, - 0x0000000D: { - "attributeName": "ProductURL", - "attributeId": 0x0000000D, - "type": "str", - "reportable": True, - }, - 0x0000000E: { - "attributeName": "ProductLabel", - "attributeId": 0x0000000E, - "type": "str", - "reportable": True, - }, - 0x0000000F: { - "attributeName": "SerialNumber", - "attributeId": 0x0000000F, - "type": "str", - "reportable": True, - }, - 0x00000011: { - "attributeName": "Reachable", - "attributeId": 0x00000011, - "type": "bool", - "reportable": True, - }, - 0x00000012: { - "attributeName": "UniqueID", - "attributeId": 0x00000012, - "type": "str", - "reportable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, - }, + "clusterName": "BridgedDeviceBasicInformation", + "clusterId": 0x00000039, + "commands": { + }, + "attributes": { + 0x00000001: { + "attributeName": "VendorName", + "attributeId": 0x00000001, + "type": "str", + "reportable": True, + }, + 0x00000002: { + "attributeName": "VendorID", + "attributeId": 0x00000002, + "type": "int", + "reportable": True, + }, + 0x00000003: { + "attributeName": "ProductName", + "attributeId": 0x00000003, + "type": "str", + "reportable": True, + }, + 0x00000005: { + "attributeName": "NodeLabel", + "attributeId": 0x00000005, + "type": "str", + "reportable": True, + "writable": True, + }, + 0x00000007: { + "attributeName": "HardwareVersion", + "attributeId": 0x00000007, + "type": "int", + "reportable": True, + }, + 0x00000008: { + "attributeName": "HardwareVersionString", + "attributeId": 0x00000008, + "type": "str", + "reportable": True, + }, + 0x00000009: { + "attributeName": "SoftwareVersion", + "attributeId": 0x00000009, + "type": "int", + "reportable": True, + }, + 0x0000000A: { + "attributeName": "SoftwareVersionString", + "attributeId": 0x0000000A, + "type": "str", + "reportable": True, }, + 0x0000000B: { + "attributeName": "ManufacturingDate", + "attributeId": 0x0000000B, + "type": "str", + "reportable": True, + }, + 0x0000000C: { + "attributeName": "PartNumber", + "attributeId": 0x0000000C, + "type": "str", + "reportable": True, + }, + 0x0000000D: { + "attributeName": "ProductURL", + "attributeId": 0x0000000D, + "type": "str", + "reportable": True, + }, + 0x0000000E: { + "attributeName": "ProductLabel", + "attributeId": 0x0000000E, + "type": "str", + "reportable": True, + }, + 0x0000000F: { + "attributeName": "SerialNumber", + "attributeId": 0x0000000F, + "type": "str", + "reportable": True, + }, + 0x00000011: { + "attributeName": "Reachable", + "attributeId": 0x00000011, + "type": "bool", + "reportable": True, + }, + 0x00000012: { + "attributeName": "UniqueID", + "attributeId": 0x00000012, + "type": "str", + "reportable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } _SWITCH_CLUSTER_INFO = { - "clusterName": "Switch", - "clusterId": 0x0000003B, - "commands": { - }, - "attributes": { - 0x00000000: { - "attributeName": "NumberOfPositions", - "attributeId": 0x00000000, - "type": "int", - "reportable": True, - }, - 0x00000001: { - "attributeName": "CurrentPosition", - "attributeId": 0x00000001, - "type": "int", - "reportable": True, - }, - 0x00000002: { - "attributeName": "MultiPressMax", - "attributeId": 0x00000002, - "type": "int", - "reportable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, - }, + "clusterName": "Switch", + "clusterId": 0x0000003B, + "commands": { + }, + "attributes": { + 0x00000000: { + "attributeName": "NumberOfPositions", + "attributeId": 0x00000000, + "type": "int", + "reportable": True, + }, + 0x00000001: { + "attributeName": "CurrentPosition", + "attributeId": 0x00000001, + "type": "int", + "reportable": True, }, + 0x00000002: { + "attributeName": "MultiPressMax", + "attributeId": 0x00000002, + "type": "int", + "reportable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } _ADMINISTRATOR_COMMISSIONING_CLUSTER_INFO = { - "clusterName": "AdministratorCommissioning", - "clusterId": 0x0000003C, - "commands": { + "clusterName": "AdministratorCommissioning", + "clusterId": 0x0000003C, + "commands": { 0x00000000: { - "commandId": 0x00000000, - "commandName": "OpenCommissioningWindow", - "args": { - "commissioningTimeout": "int", - "PAKEPasscodeVerifier": "bytes", - "discriminator": "int", - "iterations": "int", - "salt": "bytes", - }, + "commandId": 0x00000000, + "commandName": "OpenCommissioningWindow", + "args": { + "commissioningTimeout": "int", + "PAKEPasscodeVerifier": "bytes", + "discriminator": "int", + "iterations": "int", + "salt": "bytes", }, + }, 0x00000001: { - "commandId": 0x00000001, - "commandName": "OpenBasicCommissioningWindow", - "args": { - "commissioningTimeout": "int", - }, + "commandId": 0x00000001, + "commandName": "OpenBasicCommissioningWindow", + "args": { + "commissioningTimeout": "int", }, + }, 0x00000002: { - "commandId": 0x00000002, - "commandName": "RevokeCommissioning", - "args": { - }, - }, - }, - "attributes": { - 0x00000000: { - "attributeName": "WindowStatus", - "attributeId": 0x00000000, - "type": "int", - "reportable": True, - }, - 0x00000001: { - "attributeName": "AdminFabricIndex", - "attributeId": 0x00000001, - "type": "int", - "reportable": True, - }, - 0x00000002: { - "attributeName": "AdminVendorId", - "attributeId": 0x00000002, - "type": "int", - "reportable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, + "commandId": 0x00000002, + "commandName": "RevokeCommissioning", + "args": { }, }, + }, + "attributes": { + 0x00000000: { + "attributeName": "WindowStatus", + "attributeId": 0x00000000, + "type": "int", + "reportable": True, + }, + 0x00000001: { + "attributeName": "AdminFabricIndex", + "attributeId": 0x00000001, + "type": "int", + "reportable": True, + }, + 0x00000002: { + "attributeName": "AdminVendorId", + "attributeId": 0x00000002, + "type": "int", + "reportable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } _OPERATIONAL_CREDENTIALS_CLUSTER_INFO = { - "clusterName": "OperationalCredentials", - "clusterId": 0x0000003E, - "commands": { + "clusterName": "OperationalCredentials", + "clusterId": 0x0000003E, + "commands": { 0x00000000: { - "commandId": 0x00000000, - "commandName": "AttestationRequest", - "args": { - "attestationNonce": "bytes", - }, + "commandId": 0x00000000, + "commandName": "AttestationRequest", + "args": { + "attestationNonce": "bytes", }, + }, 0x00000002: { - "commandId": 0x00000002, - "commandName": "CertificateChainRequest", - "args": { - "certificateType": "int", - }, + "commandId": 0x00000002, + "commandName": "CertificateChainRequest", + "args": { + "certificateType": "int", }, + }, 0x00000004: { - "commandId": 0x00000004, - "commandName": "CSRRequest", - "args": { - "CSRNonce": "bytes", - "isForUpdateNOC": "bool", - }, + "commandId": 0x00000004, + "commandName": "CSRRequest", + "args": { + "CSRNonce": "bytes", + "isForUpdateNOC": "bool", }, + }, 0x00000006: { - "commandId": 0x00000006, - "commandName": "AddNOC", - "args": { - "NOCValue": "bytes", - "ICACValue": "bytes", - "IPKValue": "bytes", - "caseAdminSubject": "int", - "adminVendorId": "int", - }, + "commandId": 0x00000006, + "commandName": "AddNOC", + "args": { + "NOCValue": "bytes", + "ICACValue": "bytes", + "IPKValue": "bytes", + "caseAdminSubject": "int", + "adminVendorId": "int", }, + }, 0x00000007: { - "commandId": 0x00000007, - "commandName": "UpdateNOC", - "args": { - "NOCValue": "bytes", - "ICACValue": "bytes", - }, + "commandId": 0x00000007, + "commandName": "UpdateNOC", + "args": { + "NOCValue": "bytes", + "ICACValue": "bytes", }, + }, 0x00000009: { - "commandId": 0x00000009, - "commandName": "UpdateFabricLabel", - "args": { - "label": "str", - }, + "commandId": 0x00000009, + "commandName": "UpdateFabricLabel", + "args": { + "label": "str", }, + }, 0x0000000A: { - "commandId": 0x0000000A, - "commandName": "RemoveFabric", - "args": { - "fabricIndex": "int", - }, + "commandId": 0x0000000A, + "commandName": "RemoveFabric", + "args": { + "fabricIndex": "int", }, + }, 0x0000000B: { - "commandId": 0x0000000B, - "commandName": "AddTrustedRootCertificate", - "args": { - "rootCACertificate": "bytes", - }, - }, - }, - "attributes": { - 0x00000000: { - "attributeName": "NOCs", - "attributeId": 0x00000000, - "type": "", - "reportable": True, - }, - 0x00000001: { - "attributeName": "Fabrics", - "attributeId": 0x00000001, - "type": "", - "reportable": True, - }, - 0x00000002: { - "attributeName": "SupportedFabrics", - "attributeId": 0x00000002, - "type": "int", - "reportable": True, - }, - 0x00000003: { - "attributeName": "CommissionedFabrics", - "attributeId": 0x00000003, - "type": "int", - "reportable": True, - }, - 0x00000004: { - "attributeName": "TrustedRootCertificates", - "attributeId": 0x00000004, - "type": "bytes", - "reportable": True, - }, - 0x00000005: { - "attributeName": "CurrentFabricIndex", - "attributeId": 0x00000005, - "type": "int", - "reportable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, + "commandId": 0x0000000B, + "commandName": "AddTrustedRootCertificate", + "args": { + "rootCACertificate": "bytes", }, }, + }, + "attributes": { + 0x00000000: { + "attributeName": "NOCs", + "attributeId": 0x00000000, + "type": "", + "reportable": True, + }, + 0x00000001: { + "attributeName": "Fabrics", + "attributeId": 0x00000001, + "type": "", + "reportable": True, + }, + 0x00000002: { + "attributeName": "SupportedFabrics", + "attributeId": 0x00000002, + "type": "int", + "reportable": True, + }, + 0x00000003: { + "attributeName": "CommissionedFabrics", + "attributeId": 0x00000003, + "type": "int", + "reportable": True, + }, + 0x00000004: { + "attributeName": "TrustedRootCertificates", + "attributeId": 0x00000004, + "type": "bytes", + "reportable": True, + }, + 0x00000005: { + "attributeName": "CurrentFabricIndex", + "attributeId": 0x00000005, + "type": "int", + "reportable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } _GROUP_KEY_MANAGEMENT_CLUSTER_INFO = { - "clusterName": "GroupKeyManagement", - "clusterId": 0x0000003F, - "commands": { + "clusterName": "GroupKeyManagement", + "clusterId": 0x0000003F, + "commands": { 0x00000000: { - "commandId": 0x00000000, - "commandName": "KeySetWrite", - "args": { - "groupKeySetID": "int", - "groupKeySecurityPolicy": "int", - "epochKey0": "bytes", - "epochStartTime0": "int", - "epochKey1": "bytes", - "epochStartTime1": "int", - "epochKey2": "bytes", - "epochStartTime2": "int", - }, + "commandId": 0x00000000, + "commandName": "KeySetWrite", + "args": { + "groupKeySetID": "int", + "groupKeySecurityPolicy": "int", + "epochKey0": "bytes", + "epochStartTime0": "int", + "epochKey1": "bytes", + "epochStartTime1": "int", + "epochKey2": "bytes", + "epochStartTime2": "int", }, + }, 0x00000001: { - "commandId": 0x00000001, - "commandName": "KeySetRead", - "args": { - "groupKeySetID": "int", - }, + "commandId": 0x00000001, + "commandName": "KeySetRead", + "args": { + "groupKeySetID": "int", }, + }, 0x00000003: { - "commandId": 0x00000003, - "commandName": "KeySetRemove", - "args": { - "groupKeySetID": "int", - }, + "commandId": 0x00000003, + "commandName": "KeySetRemove", + "args": { + "groupKeySetID": "int", }, + }, 0x00000004: { - "commandId": 0x00000004, - "commandName": "KeySetReadAllIndices", - "args": { - "groupKeySetIDs": "int", - }, - }, - }, - "attributes": { - 0x00000000: { - "attributeName": "GroupKeyMap", - "attributeId": 0x00000000, - "type": "", - "reportable": True, - "writable": True, - }, - 0x00000001: { - "attributeName": "GroupTable", - "attributeId": 0x00000001, - "type": "", - "reportable": True, - }, - 0x00000002: { - "attributeName": "MaxGroupsPerFabric", - "attributeId": 0x00000002, - "type": "int", - "reportable": True, - }, - 0x00000003: { - "attributeName": "MaxGroupKeysPerFabric", - "attributeId": 0x00000003, - "type": "int", - "reportable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, + "commandId": 0x00000004, + "commandName": "KeySetReadAllIndices", + "args": { + "groupKeySetIDs": "int", }, }, + }, + "attributes": { + 0x00000000: { + "attributeName": "GroupKeyMap", + "attributeId": 0x00000000, + "type": "", + "reportable": True, + "writable": True, + }, + 0x00000001: { + "attributeName": "GroupTable", + "attributeId": 0x00000001, + "type": "", + "reportable": True, + }, + 0x00000002: { + "attributeName": "MaxGroupsPerFabric", + "attributeId": 0x00000002, + "type": "int", + "reportable": True, + }, + 0x00000003: { + "attributeName": "MaxGroupKeysPerFabric", + "attributeId": 0x00000003, + "type": "int", + "reportable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } _FIXED_LABEL_CLUSTER_INFO = { - "clusterName": "FixedLabel", - "clusterId": 0x00000040, - "commands": { - }, - "attributes": { - 0x00000000: { - "attributeName": "LabelList", - "attributeId": 0x00000000, - "type": "", - "reportable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, - }, - }, + "clusterName": "FixedLabel", + "clusterId": 0x00000040, + "commands": { + }, + "attributes": { + 0x00000000: { + "attributeName": "LabelList", + "attributeId": 0x00000000, + "type": "", + "reportable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } _USER_LABEL_CLUSTER_INFO = { - "clusterName": "UserLabel", - "clusterId": 0x00000041, - "commands": { - }, - "attributes": { - 0x00000000: { - "attributeName": "LabelList", - "attributeId": 0x00000000, - "type": "", - "reportable": True, - "writable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, - }, - }, + "clusterName": "UserLabel", + "clusterId": 0x00000041, + "commands": { + }, + "attributes": { + 0x00000000: { + "attributeName": "LabelList", + "attributeId": 0x00000000, + "type": "", + "reportable": True, + "writable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } _BOOLEAN_STATE_CLUSTER_INFO = { - "clusterName": "BooleanState", - "clusterId": 0x00000045, - "commands": { - }, - "attributes": { - 0x00000000: { - "attributeName": "StateValue", - "attributeId": 0x00000000, - "type": "bool", - "reportable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, - }, - }, + "clusterName": "BooleanState", + "clusterId": 0x00000045, + "commands": { + }, + "attributes": { + 0x00000000: { + "attributeName": "StateValue", + "attributeId": 0x00000000, + "type": "bool", + "reportable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } _MODE_SELECT_CLUSTER_INFO = { - "clusterName": "ModeSelect", - "clusterId": 0x00000050, - "commands": { + "clusterName": "ModeSelect", + "clusterId": 0x00000050, + "commands": { 0x00000000: { - "commandId": 0x00000000, - "commandName": "ChangeToMode", - "args": { - "newMode": "int", - }, - }, - }, - "attributes": { - 0x00000000: { - "attributeName": "Description", - "attributeId": 0x00000000, - "type": "str", - "reportable": True, - }, - 0x00000001: { - "attributeName": "StandardNamespace", - "attributeId": 0x00000001, - "type": "int", - "reportable": True, - }, - 0x00000002: { - "attributeName": "SupportedModes", - "attributeId": 0x00000002, - "type": "", - "reportable": True, - }, - 0x00000003: { - "attributeName": "CurrentMode", - "attributeId": 0x00000003, - "type": "int", - "reportable": True, - }, - 0x00000004: { - "attributeName": "StartUpMode", - "attributeId": 0x00000004, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000005: { - "attributeName": "OnMode", - "attributeId": 0x00000005, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, + "commandId": 0x00000000, + "commandName": "ChangeToMode", + "args": { + "newMode": "int", }, }, + }, + "attributes": { + 0x00000000: { + "attributeName": "Description", + "attributeId": 0x00000000, + "type": "str", + "reportable": True, + }, + 0x00000001: { + "attributeName": "StandardNamespace", + "attributeId": 0x00000001, + "type": "int", + "reportable": True, + }, + 0x00000002: { + "attributeName": "SupportedModes", + "attributeId": 0x00000002, + "type": "", + "reportable": True, + }, + 0x00000003: { + "attributeName": "CurrentMode", + "attributeId": 0x00000003, + "type": "int", + "reportable": True, + }, + 0x00000004: { + "attributeName": "StartUpMode", + "attributeId": 0x00000004, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000005: { + "attributeName": "OnMode", + "attributeId": 0x00000005, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } _DOOR_LOCK_CLUSTER_INFO = { - "clusterName": "DoorLock", - "clusterId": 0x00000101, - "commands": { + "clusterName": "DoorLock", + "clusterId": 0x00000101, + "commands": { 0x00000000: { - "commandId": 0x00000000, - "commandName": "LockDoor", - "args": { - "PINCode": "bytes", - }, + "commandId": 0x00000000, + "commandName": "LockDoor", + "args": { + "PINCode": "bytes", }, + }, 0x00000001: { - "commandId": 0x00000001, - "commandName": "UnlockDoor", - "args": { - "PINCode": "bytes", - }, + "commandId": 0x00000001, + "commandName": "UnlockDoor", + "args": { + "PINCode": "bytes", }, + }, 0x00000003: { - "commandId": 0x00000003, - "commandName": "UnlockWithTimeout", - "args": { - "timeout": "int", - "PINCode": "bytes", - }, + "commandId": 0x00000003, + "commandName": "UnlockWithTimeout", + "args": { + "timeout": "int", + "PINCode": "bytes", }, + }, 0x0000000B: { - "commandId": 0x0000000B, - "commandName": "SetWeekDaySchedule", - "args": { - "weekDayIndex": "int", - "userIndex": "int", - "daysMask": "int", - "startHour": "int", - "startMinute": "int", - "endHour": "int", - "endMinute": "int", - }, + "commandId": 0x0000000B, + "commandName": "SetWeekDaySchedule", + "args": { + "weekDayIndex": "int", + "userIndex": "int", + "daysMask": "int", + "startHour": "int", + "startMinute": "int", + "endHour": "int", + "endMinute": "int", }, + }, 0x0000000C: { - "commandId": 0x0000000C, - "commandName": "GetWeekDaySchedule", - "args": { - "weekDayIndex": "int", - "userIndex": "int", - }, + "commandId": 0x0000000C, + "commandName": "GetWeekDaySchedule", + "args": { + "weekDayIndex": "int", + "userIndex": "int", }, + }, 0x0000000D: { - "commandId": 0x0000000D, - "commandName": "ClearWeekDaySchedule", - "args": { - "weekDayIndex": "int", - "userIndex": "int", - }, + "commandId": 0x0000000D, + "commandName": "ClearWeekDaySchedule", + "args": { + "weekDayIndex": "int", + "userIndex": "int", }, + }, 0x0000000E: { - "commandId": 0x0000000E, - "commandName": "SetYearDaySchedule", - "args": { - "yearDayIndex": "int", - "userIndex": "int", - "localStartTime": "int", - "localEndTime": "int", - }, + "commandId": 0x0000000E, + "commandName": "SetYearDaySchedule", + "args": { + "yearDayIndex": "int", + "userIndex": "int", + "localStartTime": "int", + "localEndTime": "int", }, + }, 0x0000000F: { - "commandId": 0x0000000F, - "commandName": "GetYearDaySchedule", - "args": { - "yearDayIndex": "int", - "userIndex": "int", - }, + "commandId": 0x0000000F, + "commandName": "GetYearDaySchedule", + "args": { + "yearDayIndex": "int", + "userIndex": "int", }, + }, 0x00000010: { - "commandId": 0x00000010, - "commandName": "ClearYearDaySchedule", - "args": { - "yearDayIndex": "int", - "userIndex": "int", - }, + "commandId": 0x00000010, + "commandName": "ClearYearDaySchedule", + "args": { + "yearDayIndex": "int", + "userIndex": "int", }, + }, 0x00000011: { - "commandId": 0x00000011, - "commandName": "SetHolidaySchedule", - "args": { - "holidayIndex": "int", - "localStartTime": "int", - "localEndTime": "int", - "operatingMode": "int", - }, + "commandId": 0x00000011, + "commandName": "SetHolidaySchedule", + "args": { + "holidayIndex": "int", + "localStartTime": "int", + "localEndTime": "int", + "operatingMode": "int", }, + }, 0x00000012: { - "commandId": 0x00000012, - "commandName": "GetHolidaySchedule", - "args": { - "holidayIndex": "int", - }, + "commandId": 0x00000012, + "commandName": "GetHolidaySchedule", + "args": { + "holidayIndex": "int", }, + }, 0x00000013: { - "commandId": 0x00000013, - "commandName": "ClearHolidaySchedule", - "args": { - "holidayIndex": "int", - }, + "commandId": 0x00000013, + "commandName": "ClearHolidaySchedule", + "args": { + "holidayIndex": "int", }, + }, 0x0000001A: { - "commandId": 0x0000001A, - "commandName": "SetUser", - "args": { - "operationType": "int", - "userIndex": "int", - "userName": "str", - "userUniqueID": "int", - "userStatus": "int", - "userType": "int", - "credentialRule": "int", - }, + "commandId": 0x0000001A, + "commandName": "SetUser", + "args": { + "operationType": "int", + "userIndex": "int", + "userName": "str", + "userUniqueID": "int", + "userStatus": "int", + "userType": "int", + "credentialRule": "int", }, + }, 0x0000001B: { - "commandId": 0x0000001B, - "commandName": "GetUser", - "args": { - "userIndex": "int", - }, + "commandId": 0x0000001B, + "commandName": "GetUser", + "args": { + "userIndex": "int", }, + }, 0x0000001D: { - "commandId": 0x0000001D, - "commandName": "ClearUser", - "args": { - "userIndex": "int", - }, + "commandId": 0x0000001D, + "commandName": "ClearUser", + "args": { + "userIndex": "int", }, + }, 0x00000022: { - "commandId": 0x00000022, - "commandName": "SetCredential", - "args": { - "operationType": "int", - "credentialType": "int", - "credentialIndex": "int", - "credentialData": "bytes", - "userIndex": "int", - "userStatus": "int", - "userType": "int", - }, + "commandId": 0x00000022, + "commandName": "SetCredential", + "args": { + "operationType": "int", + "credentialType": "int", + "credentialIndex": "int", + "credentialData": "bytes", + "userIndex": "int", + "userStatus": "int", + "userType": "int", }, + }, 0x00000024: { - "commandId": 0x00000024, - "commandName": "GetCredentialStatus", - "args": { - "credentialType": "int", - "credentialIndex": "int", - }, + "commandId": 0x00000024, + "commandName": "GetCredentialStatus", + "args": { + "credentialType": "int", + "credentialIndex": "int", }, + }, 0x00000026: { - "commandId": 0x00000026, - "commandName": "ClearCredential", - "args": { - "credentialType": "int", - "credentialIndex": "int", - }, - }, - }, - "attributes": { - 0x00000000: { - "attributeName": "LockState", - "attributeId": 0x00000000, - "type": "int", - "reportable": True, - }, - 0x00000001: { - "attributeName": "LockType", - "attributeId": 0x00000001, - "type": "int", - "reportable": True, - }, - 0x00000002: { - "attributeName": "ActuatorEnabled", - "attributeId": 0x00000002, - "type": "bool", - "reportable": True, - }, - 0x00000003: { - "attributeName": "DoorState", - "attributeId": 0x00000003, - "type": "int", - "reportable": True, - }, - 0x00000011: { - "attributeName": "NumberOfTotalUsersSupported", - "attributeId": 0x00000011, - "type": "int", - "reportable": True, - }, - 0x00000012: { - "attributeName": "NumberOfPINUsersSupported", - "attributeId": 0x00000012, - "type": "int", - "reportable": True, - }, - 0x00000013: { - "attributeName": "NumberOfRFIDUsersSupported", - "attributeId": 0x00000013, - "type": "int", - "reportable": True, - }, - 0x00000014: { - "attributeName": "NumberOfWeekDaySchedulesSupportedPerUser", - "attributeId": 0x00000014, - "type": "int", - "reportable": True, - }, - 0x00000015: { - "attributeName": "NumberOfYearDaySchedulesSupportedPerUser", - "attributeId": 0x00000015, - "type": "int", - "reportable": True, - }, - 0x00000016: { - "attributeName": "NumberOfHolidaySchedulesSupported", - "attributeId": 0x00000016, - "type": "int", - "reportable": True, - }, - 0x00000017: { - "attributeName": "MaxPINCodeLength", - "attributeId": 0x00000017, - "type": "int", - "reportable": True, - }, - 0x00000018: { - "attributeName": "MinPINCodeLength", - "attributeId": 0x00000018, - "type": "int", - "reportable": True, - }, - 0x00000019: { - "attributeName": "MaxRFIDCodeLength", - "attributeId": 0x00000019, - "type": "int", - "reportable": True, - }, - 0x0000001A: { - "attributeName": "MinRFIDCodeLength", - "attributeId": 0x0000001A, - "type": "int", - "reportable": True, - }, - 0x0000001C: { - "attributeName": "NumberOfCredentialsSupportedPerUser", - "attributeId": 0x0000001C, - "type": "int", - "reportable": True, - }, - 0x00000021: { - "attributeName": "Language", - "attributeId": 0x00000021, - "type": "str", - "reportable": True, - "writable": True, - }, - 0x00000023: { - "attributeName": "AutoRelockTime", - "attributeId": 0x00000023, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000024: { - "attributeName": "SoundVolume", - "attributeId": 0x00000024, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000025: { - "attributeName": "OperatingMode", - "attributeId": 0x00000025, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000026: { - "attributeName": "SupportedOperatingModes", - "attributeId": 0x00000026, - "type": "int", - "reportable": True, - }, - 0x00000029: { - "attributeName": "EnableOneTouchLocking", - "attributeId": 0x00000029, - "type": "bool", - "reportable": True, - "writable": True, - }, - 0x0000002B: { - "attributeName": "EnablePrivacyModeButton", - "attributeId": 0x0000002B, - "type": "bool", - "reportable": True, - "writable": True, - }, - 0x00000030: { - "attributeName": "WrongCodeEntryLimit", - "attributeId": 0x00000030, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000031: { - "attributeName": "UserCodeTemporaryDisableTime", - "attributeId": 0x00000031, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000033: { - "attributeName": "RequirePINforRemoteOperation", - "attributeId": 0x00000033, - "type": "bool", - "writable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, + "commandId": 0x00000026, + "commandName": "ClearCredential", + "args": { + "credentialType": "int", + "credentialIndex": "int", }, }, + }, + "attributes": { + 0x00000000: { + "attributeName": "LockState", + "attributeId": 0x00000000, + "type": "int", + "reportable": True, + }, + 0x00000001: { + "attributeName": "LockType", + "attributeId": 0x00000001, + "type": "int", + "reportable": True, + }, + 0x00000002: { + "attributeName": "ActuatorEnabled", + "attributeId": 0x00000002, + "type": "bool", + "reportable": True, + }, + 0x00000003: { + "attributeName": "DoorState", + "attributeId": 0x00000003, + "type": "int", + "reportable": True, + }, + 0x00000011: { + "attributeName": "NumberOfTotalUsersSupported", + "attributeId": 0x00000011, + "type": "int", + "reportable": True, + }, + 0x00000012: { + "attributeName": "NumberOfPINUsersSupported", + "attributeId": 0x00000012, + "type": "int", + "reportable": True, + }, + 0x00000013: { + "attributeName": "NumberOfRFIDUsersSupported", + "attributeId": 0x00000013, + "type": "int", + "reportable": True, + }, + 0x00000014: { + "attributeName": "NumberOfWeekDaySchedulesSupportedPerUser", + "attributeId": 0x00000014, + "type": "int", + "reportable": True, + }, + 0x00000015: { + "attributeName": "NumberOfYearDaySchedulesSupportedPerUser", + "attributeId": 0x00000015, + "type": "int", + "reportable": True, + }, + 0x00000016: { + "attributeName": "NumberOfHolidaySchedulesSupported", + "attributeId": 0x00000016, + "type": "int", + "reportable": True, + }, + 0x00000017: { + "attributeName": "MaxPINCodeLength", + "attributeId": 0x00000017, + "type": "int", + "reportable": True, + }, + 0x00000018: { + "attributeName": "MinPINCodeLength", + "attributeId": 0x00000018, + "type": "int", + "reportable": True, + }, + 0x00000019: { + "attributeName": "MaxRFIDCodeLength", + "attributeId": 0x00000019, + "type": "int", + "reportable": True, + }, + 0x0000001A: { + "attributeName": "MinRFIDCodeLength", + "attributeId": 0x0000001A, + "type": "int", + "reportable": True, + }, + 0x0000001C: { + "attributeName": "NumberOfCredentialsSupportedPerUser", + "attributeId": 0x0000001C, + "type": "int", + "reportable": True, + }, + 0x00000021: { + "attributeName": "Language", + "attributeId": 0x00000021, + "type": "str", + "reportable": True, + "writable": True, + }, + 0x00000023: { + "attributeName": "AutoRelockTime", + "attributeId": 0x00000023, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000024: { + "attributeName": "SoundVolume", + "attributeId": 0x00000024, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000025: { + "attributeName": "OperatingMode", + "attributeId": 0x00000025, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000026: { + "attributeName": "SupportedOperatingModes", + "attributeId": 0x00000026, + "type": "int", + "reportable": True, + }, + 0x00000029: { + "attributeName": "EnableOneTouchLocking", + "attributeId": 0x00000029, + "type": "bool", + "reportable": True, + "writable": True, + }, + 0x0000002B: { + "attributeName": "EnablePrivacyModeButton", + "attributeId": 0x0000002B, + "type": "bool", + "reportable": True, + "writable": True, + }, + 0x00000030: { + "attributeName": "WrongCodeEntryLimit", + "attributeId": 0x00000030, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000031: { + "attributeName": "UserCodeTemporaryDisableTime", + "attributeId": 0x00000031, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000033: { + "attributeName": "RequirePINforRemoteOperation", + "attributeId": 0x00000033, + "type": "bool", + "writable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } _WINDOW_COVERING_CLUSTER_INFO = { - "clusterName": "WindowCovering", - "clusterId": 0x00000102, - "commands": { + "clusterName": "WindowCovering", + "clusterId": 0x00000102, + "commands": { 0x00000000: { - "commandId": 0x00000000, - "commandName": "UpOrOpen", - "args": { - }, + "commandId": 0x00000000, + "commandName": "UpOrOpen", + "args": { }, + }, 0x00000001: { - "commandId": 0x00000001, - "commandName": "DownOrClose", - "args": { - }, + "commandId": 0x00000001, + "commandName": "DownOrClose", + "args": { }, + }, 0x00000002: { - "commandId": 0x00000002, - "commandName": "StopMotion", - "args": { - }, + "commandId": 0x00000002, + "commandName": "StopMotion", + "args": { }, + }, 0x00000004: { - "commandId": 0x00000004, - "commandName": "GoToLiftValue", - "args": { - "liftValue": "int", - }, + "commandId": 0x00000004, + "commandName": "GoToLiftValue", + "args": { + "liftValue": "int", }, + }, 0x00000005: { - "commandId": 0x00000005, - "commandName": "GoToLiftPercentage", - "args": { - "liftPercent100thsValue": "int", - }, + "commandId": 0x00000005, + "commandName": "GoToLiftPercentage", + "args": { + "liftPercent100thsValue": "int", }, + }, 0x00000007: { - "commandId": 0x00000007, - "commandName": "GoToTiltValue", - "args": { - "tiltValue": "int", - }, + "commandId": 0x00000007, + "commandName": "GoToTiltValue", + "args": { + "tiltValue": "int", }, + }, 0x00000008: { - "commandId": 0x00000008, - "commandName": "GoToTiltPercentage", - "args": { - "tiltPercent100thsValue": "int", - }, - }, - }, - "attributes": { - 0x00000000: { - "attributeName": "Type", - "attributeId": 0x00000000, - "type": "int", - "reportable": True, - }, - 0x00000001: { - "attributeName": "PhysicalClosedLimitLift", - "attributeId": 0x00000001, - "type": "int", - "reportable": True, - }, - 0x00000002: { - "attributeName": "PhysicalClosedLimitTilt", - "attributeId": 0x00000002, - "type": "int", - "reportable": True, - }, - 0x00000003: { - "attributeName": "CurrentPositionLift", - "attributeId": 0x00000003, - "type": "int", - "reportable": True, - }, - 0x00000004: { - "attributeName": "CurrentPositionTilt", - "attributeId": 0x00000004, - "type": "int", - "reportable": True, - }, - 0x00000005: { - "attributeName": "NumberOfActuationsLift", - "attributeId": 0x00000005, - "type": "int", - "reportable": True, - }, - 0x00000006: { - "attributeName": "NumberOfActuationsTilt", - "attributeId": 0x00000006, - "type": "int", - "reportable": True, - }, - 0x00000007: { - "attributeName": "ConfigStatus", - "attributeId": 0x00000007, - "type": "int", - "reportable": True, - }, - 0x00000008: { - "attributeName": "CurrentPositionLiftPercentage", - "attributeId": 0x00000008, - "type": "int", - "reportable": True, - }, - 0x00000009: { - "attributeName": "CurrentPositionTiltPercentage", - "attributeId": 0x00000009, - "type": "int", - "reportable": True, - }, - 0x0000000A: { - "attributeName": "OperationalStatus", - "attributeId": 0x0000000A, - "type": "int", - "reportable": True, - }, - 0x0000000B: { - "attributeName": "TargetPositionLiftPercent100ths", - "attributeId": 0x0000000B, - "type": "int", - "reportable": True, - }, - 0x0000000C: { - "attributeName": "TargetPositionTiltPercent100ths", - "attributeId": 0x0000000C, - "type": "int", - "reportable": True, - }, - 0x0000000D: { - "attributeName": "EndProductType", - "attributeId": 0x0000000D, - "type": "int", - "reportable": True, - }, - 0x0000000E: { - "attributeName": "CurrentPositionLiftPercent100ths", - "attributeId": 0x0000000E, - "type": "int", - "reportable": True, - }, - 0x0000000F: { - "attributeName": "CurrentPositionTiltPercent100ths", - "attributeId": 0x0000000F, - "type": "int", - "reportable": True, - }, - 0x00000010: { - "attributeName": "InstalledOpenLimitLift", - "attributeId": 0x00000010, - "type": "int", - "reportable": True, - }, - 0x00000011: { - "attributeName": "InstalledClosedLimitLift", - "attributeId": 0x00000011, - "type": "int", - "reportable": True, - }, - 0x00000012: { - "attributeName": "InstalledOpenLimitTilt", - "attributeId": 0x00000012, - "type": "int", - "reportable": True, - }, - 0x00000013: { - "attributeName": "InstalledClosedLimitTilt", - "attributeId": 0x00000013, - "type": "int", - "reportable": True, - }, - 0x00000017: { - "attributeName": "Mode", - "attributeId": 0x00000017, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x0000001A: { - "attributeName": "SafetyStatus", - "attributeId": 0x0000001A, - "type": "int", - "reportable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, + "commandId": 0x00000008, + "commandName": "GoToTiltPercentage", + "args": { + "tiltPercent100thsValue": "int", }, }, + }, + "attributes": { + 0x00000000: { + "attributeName": "Type", + "attributeId": 0x00000000, + "type": "int", + "reportable": True, + }, + 0x00000001: { + "attributeName": "PhysicalClosedLimitLift", + "attributeId": 0x00000001, + "type": "int", + "reportable": True, + }, + 0x00000002: { + "attributeName": "PhysicalClosedLimitTilt", + "attributeId": 0x00000002, + "type": "int", + "reportable": True, + }, + 0x00000003: { + "attributeName": "CurrentPositionLift", + "attributeId": 0x00000003, + "type": "int", + "reportable": True, + }, + 0x00000004: { + "attributeName": "CurrentPositionTilt", + "attributeId": 0x00000004, + "type": "int", + "reportable": True, + }, + 0x00000005: { + "attributeName": "NumberOfActuationsLift", + "attributeId": 0x00000005, + "type": "int", + "reportable": True, + }, + 0x00000006: { + "attributeName": "NumberOfActuationsTilt", + "attributeId": 0x00000006, + "type": "int", + "reportable": True, + }, + 0x00000007: { + "attributeName": "ConfigStatus", + "attributeId": 0x00000007, + "type": "int", + "reportable": True, + }, + 0x00000008: { + "attributeName": "CurrentPositionLiftPercentage", + "attributeId": 0x00000008, + "type": "int", + "reportable": True, + }, + 0x00000009: { + "attributeName": "CurrentPositionTiltPercentage", + "attributeId": 0x00000009, + "type": "int", + "reportable": True, + }, + 0x0000000A: { + "attributeName": "OperationalStatus", + "attributeId": 0x0000000A, + "type": "int", + "reportable": True, + }, + 0x0000000B: { + "attributeName": "TargetPositionLiftPercent100ths", + "attributeId": 0x0000000B, + "type": "int", + "reportable": True, + }, + 0x0000000C: { + "attributeName": "TargetPositionTiltPercent100ths", + "attributeId": 0x0000000C, + "type": "int", + "reportable": True, + }, + 0x0000000D: { + "attributeName": "EndProductType", + "attributeId": 0x0000000D, + "type": "int", + "reportable": True, + }, + 0x0000000E: { + "attributeName": "CurrentPositionLiftPercent100ths", + "attributeId": 0x0000000E, + "type": "int", + "reportable": True, + }, + 0x0000000F: { + "attributeName": "CurrentPositionTiltPercent100ths", + "attributeId": 0x0000000F, + "type": "int", + "reportable": True, + }, + 0x00000010: { + "attributeName": "InstalledOpenLimitLift", + "attributeId": 0x00000010, + "type": "int", + "reportable": True, + }, + 0x00000011: { + "attributeName": "InstalledClosedLimitLift", + "attributeId": 0x00000011, + "type": "int", + "reportable": True, + }, + 0x00000012: { + "attributeName": "InstalledOpenLimitTilt", + "attributeId": 0x00000012, + "type": "int", + "reportable": True, + }, + 0x00000013: { + "attributeName": "InstalledClosedLimitTilt", + "attributeId": 0x00000013, + "type": "int", + "reportable": True, + }, + 0x00000017: { + "attributeName": "Mode", + "attributeId": 0x00000017, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x0000001A: { + "attributeName": "SafetyStatus", + "attributeId": 0x0000001A, + "type": "int", + "reportable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } _BARRIER_CONTROL_CLUSTER_INFO = { - "clusterName": "BarrierControl", - "clusterId": 0x00000103, - "commands": { + "clusterName": "BarrierControl", + "clusterId": 0x00000103, + "commands": { 0x00000000: { - "commandId": 0x00000000, - "commandName": "BarrierControlGoToPercent", - "args": { - "percentOpen": "int", - }, + "commandId": 0x00000000, + "commandName": "BarrierControlGoToPercent", + "args": { + "percentOpen": "int", }, + }, 0x00000001: { - "commandId": 0x00000001, - "commandName": "BarrierControlStop", - "args": { - }, - }, - }, - "attributes": { - 0x00000001: { - "attributeName": "BarrierMovingState", - "attributeId": 0x00000001, - "type": "int", - "reportable": True, - }, - 0x00000002: { - "attributeName": "BarrierSafetyStatus", - "attributeId": 0x00000002, - "type": "int", - "reportable": True, - }, - 0x00000003: { - "attributeName": "BarrierCapabilities", - "attributeId": 0x00000003, - "type": "int", - "reportable": True, - }, - 0x0000000A: { - "attributeName": "BarrierPosition", - "attributeId": 0x0000000A, - "type": "int", - "reportable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, + "commandId": 0x00000001, + "commandName": "BarrierControlStop", + "args": { }, }, + }, + "attributes": { + 0x00000001: { + "attributeName": "BarrierMovingState", + "attributeId": 0x00000001, + "type": "int", + "reportable": True, + }, + 0x00000002: { + "attributeName": "BarrierSafetyStatus", + "attributeId": 0x00000002, + "type": "int", + "reportable": True, + }, + 0x00000003: { + "attributeName": "BarrierCapabilities", + "attributeId": 0x00000003, + "type": "int", + "reportable": True, + }, + 0x0000000A: { + "attributeName": "BarrierPosition", + "attributeId": 0x0000000A, + "type": "int", + "reportable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } _PUMP_CONFIGURATION_AND_CONTROL_CLUSTER_INFO = { - "clusterName": "PumpConfigurationAndControl", - "clusterId": 0x00000200, - "commands": { - }, - "attributes": { - 0x00000000: { - "attributeName": "MaxPressure", - "attributeId": 0x00000000, - "type": "int", - "reportable": True, - }, - 0x00000001: { - "attributeName": "MaxSpeed", - "attributeId": 0x00000001, - "type": "int", - "reportable": True, - }, - 0x00000002: { - "attributeName": "MaxFlow", - "attributeId": 0x00000002, - "type": "int", - "reportable": True, - }, - 0x00000003: { - "attributeName": "MinConstPressure", - "attributeId": 0x00000003, - "type": "int", - "reportable": True, - }, - 0x00000004: { - "attributeName": "MaxConstPressure", - "attributeId": 0x00000004, - "type": "int", - "reportable": True, - }, - 0x00000005: { - "attributeName": "MinCompPressure", - "attributeId": 0x00000005, - "type": "int", - "reportable": True, - }, - 0x00000006: { - "attributeName": "MaxCompPressure", - "attributeId": 0x00000006, - "type": "int", - "reportable": True, - }, - 0x00000007: { - "attributeName": "MinConstSpeed", - "attributeId": 0x00000007, - "type": "int", - "reportable": True, - }, - 0x00000008: { - "attributeName": "MaxConstSpeed", - "attributeId": 0x00000008, - "type": "int", - "reportable": True, - }, - 0x00000009: { - "attributeName": "MinConstFlow", - "attributeId": 0x00000009, - "type": "int", - "reportable": True, - }, - 0x0000000A: { - "attributeName": "MaxConstFlow", - "attributeId": 0x0000000A, - "type": "int", - "reportable": True, - }, - 0x0000000B: { - "attributeName": "MinConstTemp", - "attributeId": 0x0000000B, - "type": "int", - "reportable": True, - }, - 0x0000000C: { - "attributeName": "MaxConstTemp", - "attributeId": 0x0000000C, - "type": "int", - "reportable": True, - }, - 0x00000010: { - "attributeName": "PumpStatus", - "attributeId": 0x00000010, - "type": "int", - "reportable": True, - }, - 0x00000011: { - "attributeName": "EffectiveOperationMode", - "attributeId": 0x00000011, - "type": "int", - "reportable": True, - }, - 0x00000012: { - "attributeName": "EffectiveControlMode", - "attributeId": 0x00000012, - "type": "int", - "reportable": True, - }, - 0x00000013: { - "attributeName": "Capacity", - "attributeId": 0x00000013, - "type": "int", - "reportable": True, - }, - 0x00000014: { - "attributeName": "Speed", - "attributeId": 0x00000014, - "type": "int", - "reportable": True, - }, - 0x00000015: { - "attributeName": "LifetimeRunningHours", - "attributeId": 0x00000015, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000016: { - "attributeName": "Power", - "attributeId": 0x00000016, - "type": "int", - "reportable": True, - }, - 0x00000017: { - "attributeName": "LifetimeEnergyConsumed", - "attributeId": 0x00000017, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000020: { - "attributeName": "OperationMode", - "attributeId": 0x00000020, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000021: { - "attributeName": "ControlMode", - "attributeId": 0x00000021, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, + "clusterName": "PumpConfigurationAndControl", + "clusterId": 0x00000200, + "commands": { + }, + "attributes": { + 0x00000000: { + "attributeName": "MaxPressure", + "attributeId": 0x00000000, + "type": "int", + "reportable": True, + }, + 0x00000001: { + "attributeName": "MaxSpeed", + "attributeId": 0x00000001, + "type": "int", + "reportable": True, + }, + 0x00000002: { + "attributeName": "MaxFlow", + "attributeId": 0x00000002, + "type": "int", + "reportable": True, + }, + 0x00000003: { + "attributeName": "MinConstPressure", + "attributeId": 0x00000003, + "type": "int", + "reportable": True, + }, + 0x00000004: { + "attributeName": "MaxConstPressure", + "attributeId": 0x00000004, + "type": "int", + "reportable": True, + }, + 0x00000005: { + "attributeName": "MinCompPressure", + "attributeId": 0x00000005, + "type": "int", + "reportable": True, + }, + 0x00000006: { + "attributeName": "MaxCompPressure", + "attributeId": 0x00000006, + "type": "int", + "reportable": True, + }, + 0x00000007: { + "attributeName": "MinConstSpeed", + "attributeId": 0x00000007, + "type": "int", + "reportable": True, + }, + 0x00000008: { + "attributeName": "MaxConstSpeed", + "attributeId": 0x00000008, + "type": "int", + "reportable": True, + }, + 0x00000009: { + "attributeName": "MinConstFlow", + "attributeId": 0x00000009, + "type": "int", + "reportable": True, + }, + 0x0000000A: { + "attributeName": "MaxConstFlow", + "attributeId": 0x0000000A, + "type": "int", + "reportable": True, + }, + 0x0000000B: { + "attributeName": "MinConstTemp", + "attributeId": 0x0000000B, + "type": "int", + "reportable": True, + }, + 0x0000000C: { + "attributeName": "MaxConstTemp", + "attributeId": 0x0000000C, + "type": "int", + "reportable": True, + }, + 0x00000010: { + "attributeName": "PumpStatus", + "attributeId": 0x00000010, + "type": "int", + "reportable": True, + }, + 0x00000011: { + "attributeName": "EffectiveOperationMode", + "attributeId": 0x00000011, + "type": "int", + "reportable": True, + }, + 0x00000012: { + "attributeName": "EffectiveControlMode", + "attributeId": 0x00000012, + "type": "int", + "reportable": True, + }, + 0x00000013: { + "attributeName": "Capacity", + "attributeId": 0x00000013, + "type": "int", + "reportable": True, + }, + 0x00000014: { + "attributeName": "Speed", + "attributeId": 0x00000014, + "type": "int", + "reportable": True, + }, + 0x00000015: { + "attributeName": "LifetimeRunningHours", + "attributeId": 0x00000015, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000016: { + "attributeName": "Power", + "attributeId": 0x00000016, + "type": "int", + "reportable": True, + }, + 0x00000017: { + "attributeName": "LifetimeEnergyConsumed", + "attributeId": 0x00000017, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000020: { + "attributeName": "OperationMode", + "attributeId": 0x00000020, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000021: { + "attributeName": "ControlMode", + "attributeId": 0x00000021, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, + } + _THERMOSTAT_CLUSTER_INFO = { + "clusterName": "Thermostat", + "clusterId": 0x00000201, + "commands": { + 0x00000000: { + "commandId": 0x00000000, + "commandName": "SetpointRaiseLower", + "args": { + "mode": "int", + "amount": "int", + }, + }, + 0x00000001: { + "commandId": 0x00000001, + "commandName": "SetWeeklySchedule", + "args": { + "numberOfTransitionsForSequence": "int", + "dayOfWeekForSequence": "int", + "modeForSequence": "int", + "transitionTime": "int", + "heatSetpoint": "int", + "coolSetpoint": "int", + }, + }, + 0x00000002: { + "commandId": 0x00000002, + "commandName": "GetWeeklySchedule", + "args": { + "daysToReturn": "int", + "modeToReturn": "int", + }, + }, + 0x00000003: { + "commandId": 0x00000003, + "commandName": "ClearWeeklySchedule", + "args": { }, }, + }, + "attributes": { + 0x00000000: { + "attributeName": "LocalTemperature", + "attributeId": 0x00000000, + "type": "int", + "reportable": True, + }, + 0x00000003: { + "attributeName": "AbsMinHeatSetpointLimit", + "attributeId": 0x00000003, + "type": "int", + "reportable": True, + }, + 0x00000004: { + "attributeName": "AbsMaxHeatSetpointLimit", + "attributeId": 0x00000004, + "type": "int", + "reportable": True, + }, + 0x00000005: { + "attributeName": "AbsMinCoolSetpointLimit", + "attributeId": 0x00000005, + "type": "int", + "reportable": True, + }, + 0x00000006: { + "attributeName": "AbsMaxCoolSetpointLimit", + "attributeId": 0x00000006, + "type": "int", + "reportable": True, + }, + 0x00000011: { + "attributeName": "OccupiedCoolingSetpoint", + "attributeId": 0x00000011, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000012: { + "attributeName": "OccupiedHeatingSetpoint", + "attributeId": 0x00000012, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000015: { + "attributeName": "MinHeatSetpointLimit", + "attributeId": 0x00000015, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000016: { + "attributeName": "MaxHeatSetpointLimit", + "attributeId": 0x00000016, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000017: { + "attributeName": "MinCoolSetpointLimit", + "attributeId": 0x00000017, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000018: { + "attributeName": "MaxCoolSetpointLimit", + "attributeId": 0x00000018, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000019: { + "attributeName": "MinSetpointDeadBand", + "attributeId": 0x00000019, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x0000001B: { + "attributeName": "ControlSequenceOfOperation", + "attributeId": 0x0000001B, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x0000001C: { + "attributeName": "SystemMode", + "attributeId": 0x0000001C, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000020: { + "attributeName": "StartOfWeek", + "attributeId": 0x00000020, + "type": "int", + "reportable": True, + }, + 0x00000021: { + "attributeName": "NumberOfWeeklyTransitions", + "attributeId": 0x00000021, + "type": "int", + "reportable": True, + }, + 0x00000022: { + "attributeName": "NumberOfDailyTransitions", + "attributeId": 0x00000022, + "type": "int", + "reportable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, + } + _FAN_CONTROL_CLUSTER_INFO = { + "clusterName": "FanControl", + "clusterId": 0x00000202, + "commands": { + }, + "attributes": { + 0x00000000: { + "attributeName": "FanMode", + "attributeId": 0x00000000, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000001: { + "attributeName": "FanModeSequence", + "attributeId": 0x00000001, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000002: { + "attributeName": "PercentSetting", + "attributeId": 0x00000002, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000003: { + "attributeName": "PercentCurrent", + "attributeId": 0x00000003, + "type": "int", + "reportable": True, + }, + 0x00000004: { + "attributeName": "SpeedMax", + "attributeId": 0x00000004, + "type": "int", + "reportable": True, + }, + 0x00000005: { + "attributeName": "SpeedSetting", + "attributeId": 0x00000005, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000006: { + "attributeName": "SpeedCurrent", + "attributeId": 0x00000006, + "type": "int", + "reportable": True, + }, + 0x00000007: { + "attributeName": "RockSupport", + "attributeId": 0x00000007, + "type": "int", + "reportable": True, + }, + 0x00000008: { + "attributeName": "RockSetting", + "attributeId": 0x00000008, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000009: { + "attributeName": "WindSupport", + "attributeId": 0x00000009, + "type": "int", + "reportable": True, + }, + 0x0000000A: { + "attributeName": "WindSetting", + "attributeId": 0x0000000A, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, + } + _THERMOSTAT_USER_INTERFACE_CONFIGURATION_CLUSTER_INFO = { + "clusterName": "ThermostatUserInterfaceConfiguration", + "clusterId": 0x00000204, + "commands": { + }, + "attributes": { + 0x00000000: { + "attributeName": "TemperatureDisplayMode", + "attributeId": 0x00000000, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000001: { + "attributeName": "KeypadLockout", + "attributeId": 0x00000001, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000002: { + "attributeName": "ScheduleProgrammingVisibility", + "attributeId": 0x00000002, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, + } + _COLOR_CONTROL_CLUSTER_INFO = { + "clusterName": "ColorControl", + "clusterId": 0x00000300, + "commands": { + 0x00000000: { + "commandId": 0x00000000, + "commandName": "MoveToHue", + "args": { + "hue": "int", + "direction": "int", + "transitionTime": "int", + "optionsMask": "int", + "optionsOverride": "int", + }, + }, + 0x00000001: { + "commandId": 0x00000001, + "commandName": "MoveHue", + "args": { + "moveMode": "int", + "rate": "int", + "optionsMask": "int", + "optionsOverride": "int", + }, + }, + 0x00000002: { + "commandId": 0x00000002, + "commandName": "StepHue", + "args": { + "stepMode": "int", + "stepSize": "int", + "transitionTime": "int", + "optionsMask": "int", + "optionsOverride": "int", + }, + }, + 0x00000003: { + "commandId": 0x00000003, + "commandName": "MoveToSaturation", + "args": { + "saturation": "int", + "transitionTime": "int", + "optionsMask": "int", + "optionsOverride": "int", + }, + }, + 0x00000004: { + "commandId": 0x00000004, + "commandName": "MoveSaturation", + "args": { + "moveMode": "int", + "rate": "int", + "optionsMask": "int", + "optionsOverride": "int", + }, + }, + 0x00000005: { + "commandId": 0x00000005, + "commandName": "StepSaturation", + "args": { + "stepMode": "int", + "stepSize": "int", + "transitionTime": "int", + "optionsMask": "int", + "optionsOverride": "int", + }, + }, + 0x00000006: { + "commandId": 0x00000006, + "commandName": "MoveToHueAndSaturation", + "args": { + "hue": "int", + "saturation": "int", + "transitionTime": "int", + "optionsMask": "int", + "optionsOverride": "int", + }, + }, + 0x00000007: { + "commandId": 0x00000007, + "commandName": "MoveToColor", + "args": { + "colorX": "int", + "colorY": "int", + "transitionTime": "int", + "optionsMask": "int", + "optionsOverride": "int", + }, + }, + 0x00000008: { + "commandId": 0x00000008, + "commandName": "MoveColor", + "args": { + "rateX": "int", + "rateY": "int", + "optionsMask": "int", + "optionsOverride": "int", + }, + }, + 0x00000009: { + "commandId": 0x00000009, + "commandName": "StepColor", + "args": { + "stepX": "int", + "stepY": "int", + "transitionTime": "int", + "optionsMask": "int", + "optionsOverride": "int", + }, + }, + 0x0000000A: { + "commandId": 0x0000000A, + "commandName": "MoveToColorTemperature", + "args": { + "colorTemperatureMireds": "int", + "transitionTime": "int", + "optionsMask": "int", + "optionsOverride": "int", + }, + }, + 0x00000040: { + "commandId": 0x00000040, + "commandName": "EnhancedMoveToHue", + "args": { + "enhancedHue": "int", + "direction": "int", + "transitionTime": "int", + "optionsMask": "int", + "optionsOverride": "int", + }, + }, + 0x00000041: { + "commandId": 0x00000041, + "commandName": "EnhancedMoveHue", + "args": { + "moveMode": "int", + "rate": "int", + "optionsMask": "int", + "optionsOverride": "int", + }, + }, + 0x00000042: { + "commandId": 0x00000042, + "commandName": "EnhancedStepHue", + "args": { + "stepMode": "int", + "stepSize": "int", + "transitionTime": "int", + "optionsMask": "int", + "optionsOverride": "int", + }, + }, + 0x00000043: { + "commandId": 0x00000043, + "commandName": "EnhancedMoveToHueAndSaturation", + "args": { + "enhancedHue": "int", + "saturation": "int", + "transitionTime": "int", + "optionsMask": "int", + "optionsOverride": "int", + }, + }, + 0x00000044: { + "commandId": 0x00000044, + "commandName": "ColorLoopSet", + "args": { + "updateFlags": "int", + "action": "int", + "direction": "int", + "time": "int", + "startHue": "int", + "optionsMask": "int", + "optionsOverride": "int", + }, + }, + 0x00000047: { + "commandId": 0x00000047, + "commandName": "StopMoveStep", + "args": { + "optionsMask": "int", + "optionsOverride": "int", + }, + }, + 0x0000004B: { + "commandId": 0x0000004B, + "commandName": "MoveColorTemperature", + "args": { + "moveMode": "int", + "rate": "int", + "colorTemperatureMinimumMireds": "int", + "colorTemperatureMaximumMireds": "int", + "optionsMask": "int", + "optionsOverride": "int", + }, + }, + 0x0000004C: { + "commandId": 0x0000004C, + "commandName": "StepColorTemperature", + "args": { + "stepMode": "int", + "stepSize": "int", + "transitionTime": "int", + "colorTemperatureMinimumMireds": "int", + "colorTemperatureMaximumMireds": "int", + "optionsMask": "int", + "optionsOverride": "int", + }, + }, + }, + "attributes": { + 0x00000000: { + "attributeName": "CurrentHue", + "attributeId": 0x00000000, + "type": "int", + "reportable": True, + }, + 0x00000001: { + "attributeName": "CurrentSaturation", + "attributeId": 0x00000001, + "type": "int", + "reportable": True, + }, + 0x00000002: { + "attributeName": "RemainingTime", + "attributeId": 0x00000002, + "type": "int", + "reportable": True, + }, + 0x00000003: { + "attributeName": "CurrentX", + "attributeId": 0x00000003, + "type": "int", + "reportable": True, + }, + 0x00000004: { + "attributeName": "CurrentY", + "attributeId": 0x00000004, + "type": "int", + "reportable": True, + }, + 0x00000005: { + "attributeName": "DriftCompensation", + "attributeId": 0x00000005, + "type": "int", + "reportable": True, + }, + 0x00000006: { + "attributeName": "CompensationText", + "attributeId": 0x00000006, + "type": "str", + "reportable": True, + }, + 0x00000007: { + "attributeName": "ColorTemperatureMireds", + "attributeId": 0x00000007, + "type": "int", + "reportable": True, + }, + 0x00000008: { + "attributeName": "ColorMode", + "attributeId": 0x00000008, + "type": "int", + "reportable": True, + }, + 0x0000000F: { + "attributeName": "Options", + "attributeId": 0x0000000F, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000010: { + "attributeName": "NumberOfPrimaries", + "attributeId": 0x00000010, + "type": "int", + "reportable": True, + }, + 0x00000011: { + "attributeName": "Primary1X", + "attributeId": 0x00000011, + "type": "int", + "reportable": True, + }, + 0x00000012: { + "attributeName": "Primary1Y", + "attributeId": 0x00000012, + "type": "int", + "reportable": True, + }, + 0x00000013: { + "attributeName": "Primary1Intensity", + "attributeId": 0x00000013, + "type": "int", + "reportable": True, + }, + 0x00000015: { + "attributeName": "Primary2X", + "attributeId": 0x00000015, + "type": "int", + "reportable": True, + }, + 0x00000016: { + "attributeName": "Primary2Y", + "attributeId": 0x00000016, + "type": "int", + "reportable": True, + }, + 0x00000017: { + "attributeName": "Primary2Intensity", + "attributeId": 0x00000017, + "type": "int", + "reportable": True, + }, + 0x00000019: { + "attributeName": "Primary3X", + "attributeId": 0x00000019, + "type": "int", + "reportable": True, + }, + 0x0000001A: { + "attributeName": "Primary3Y", + "attributeId": 0x0000001A, + "type": "int", + "reportable": True, + }, + 0x0000001B: { + "attributeName": "Primary3Intensity", + "attributeId": 0x0000001B, + "type": "int", + "reportable": True, + }, + 0x00000020: { + "attributeName": "Primary4X", + "attributeId": 0x00000020, + "type": "int", + "reportable": True, + }, + 0x00000021: { + "attributeName": "Primary4Y", + "attributeId": 0x00000021, + "type": "int", + "reportable": True, + }, + 0x00000022: { + "attributeName": "Primary4Intensity", + "attributeId": 0x00000022, + "type": "int", + "reportable": True, + }, + 0x00000024: { + "attributeName": "Primary5X", + "attributeId": 0x00000024, + "type": "int", + "reportable": True, + }, + 0x00000025: { + "attributeName": "Primary5Y", + "attributeId": 0x00000025, + "type": "int", + "reportable": True, + }, + 0x00000026: { + "attributeName": "Primary5Intensity", + "attributeId": 0x00000026, + "type": "int", + "reportable": True, + }, + 0x00000028: { + "attributeName": "Primary6X", + "attributeId": 0x00000028, + "type": "int", + "reportable": True, + }, + 0x00000029: { + "attributeName": "Primary6Y", + "attributeId": 0x00000029, + "type": "int", + "reportable": True, + }, + 0x0000002A: { + "attributeName": "Primary6Intensity", + "attributeId": 0x0000002A, + "type": "int", + "reportable": True, + }, + 0x00000030: { + "attributeName": "WhitePointX", + "attributeId": 0x00000030, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000031: { + "attributeName": "WhitePointY", + "attributeId": 0x00000031, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000032: { + "attributeName": "ColorPointRX", + "attributeId": 0x00000032, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000033: { + "attributeName": "ColorPointRY", + "attributeId": 0x00000033, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000034: { + "attributeName": "ColorPointRIntensity", + "attributeId": 0x00000034, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000036: { + "attributeName": "ColorPointGX", + "attributeId": 0x00000036, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000037: { + "attributeName": "ColorPointGY", + "attributeId": 0x00000037, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000038: { + "attributeName": "ColorPointGIntensity", + "attributeId": 0x00000038, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x0000003A: { + "attributeName": "ColorPointBX", + "attributeId": 0x0000003A, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x0000003B: { + "attributeName": "ColorPointBY", + "attributeId": 0x0000003B, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x0000003C: { + "attributeName": "ColorPointBIntensity", + "attributeId": 0x0000003C, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00004000: { + "attributeName": "EnhancedCurrentHue", + "attributeId": 0x00004000, + "type": "int", + "reportable": True, + }, + 0x00004001: { + "attributeName": "EnhancedColorMode", + "attributeId": 0x00004001, + "type": "int", + "reportable": True, + }, + 0x00004002: { + "attributeName": "ColorLoopActive", + "attributeId": 0x00004002, + "type": "int", + "reportable": True, + }, + 0x00004003: { + "attributeName": "ColorLoopDirection", + "attributeId": 0x00004003, + "type": "int", + "reportable": True, + }, + 0x00004004: { + "attributeName": "ColorLoopTime", + "attributeId": 0x00004004, + "type": "int", + "reportable": True, + }, + 0x00004005: { + "attributeName": "ColorLoopStartEnhancedHue", + "attributeId": 0x00004005, + "type": "int", + "reportable": True, + }, + 0x00004006: { + "attributeName": "ColorLoopStoredEnhancedHue", + "attributeId": 0x00004006, + "type": "int", + "reportable": True, + }, + 0x0000400A: { + "attributeName": "ColorCapabilities", + "attributeId": 0x0000400A, + "type": "int", + "reportable": True, + }, + 0x0000400B: { + "attributeName": "ColorTempPhysicalMinMireds", + "attributeId": 0x0000400B, + "type": "int", + "reportable": True, + }, + 0x0000400C: { + "attributeName": "ColorTempPhysicalMaxMireds", + "attributeId": 0x0000400C, + "type": "int", + "reportable": True, + }, + 0x0000400D: { + "attributeName": "CoupleColorTempToLevelMinMireds", + "attributeId": 0x0000400D, + "type": "int", + "reportable": True, + }, + 0x00004010: { + "attributeName": "StartUpColorTemperatureMireds", + "attributeId": 0x00004010, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, + } + _BALLAST_CONFIGURATION_CLUSTER_INFO = { + "clusterName": "BallastConfiguration", + "clusterId": 0x00000301, + "commands": { + }, + "attributes": { + 0x00000000: { + "attributeName": "PhysicalMinLevel", + "attributeId": 0x00000000, + "type": "int", + "reportable": True, + }, + 0x00000001: { + "attributeName": "PhysicalMaxLevel", + "attributeId": 0x00000001, + "type": "int", + "reportable": True, + }, + 0x00000002: { + "attributeName": "BallastStatus", + "attributeId": 0x00000002, + "type": "int", + "reportable": True, + }, + 0x00000010: { + "attributeName": "MinLevel", + "attributeId": 0x00000010, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000011: { + "attributeName": "MaxLevel", + "attributeId": 0x00000011, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000014: { + "attributeName": "IntrinsicBallastFactor", + "attributeId": 0x00000014, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000015: { + "attributeName": "BallastFactorAdjustment", + "attributeId": 0x00000015, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000020: { + "attributeName": "LampQuantity", + "attributeId": 0x00000020, + "type": "int", + "reportable": True, + }, + 0x00000030: { + "attributeName": "LampType", + "attributeId": 0x00000030, + "type": "str", + "reportable": True, + "writable": True, + }, + 0x00000031: { + "attributeName": "LampManufacturer", + "attributeId": 0x00000031, + "type": "str", + "reportable": True, + "writable": True, + }, + 0x00000032: { + "attributeName": "LampRatedHours", + "attributeId": 0x00000032, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000033: { + "attributeName": "LampBurnHours", + "attributeId": 0x00000033, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000034: { + "attributeName": "LampAlarmMode", + "attributeId": 0x00000034, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000035: { + "attributeName": "LampBurnHoursTripPoint", + "attributeId": 0x00000035, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } - _THERMOSTAT_CLUSTER_INFO = { - "clusterName": "Thermostat", - "clusterId": 0x00000201, - "commands": { + _ILLUMINANCE_MEASUREMENT_CLUSTER_INFO = { + "clusterName": "IlluminanceMeasurement", + "clusterId": 0x00000400, + "commands": { + }, + "attributes": { 0x00000000: { - "commandId": 0x00000000, - "commandName": "SetpointRaiseLower", - "args": { - "mode": "int", - "amount": "int", - }, - }, + "attributeName": "MeasuredValue", + "attributeId": 0x00000000, + "type": "int", + "reportable": True, + }, 0x00000001: { - "commandId": 0x00000001, - "commandName": "SetWeeklySchedule", - "args": { - "numberOfTransitionsForSequence": "int", - "dayOfWeekForSequence": "int", - "modeForSequence": "int", - "transitionTime": "int", - "heatSetpoint": "int", - "coolSetpoint": "int", - }, - }, + "attributeName": "MinMeasuredValue", + "attributeId": 0x00000001, + "type": "int", + "reportable": True, + }, 0x00000002: { - "commandId": 0x00000002, - "commandName": "GetWeeklySchedule", - "args": { - "daysToReturn": "int", - "modeToReturn": "int", - }, - }, + "attributeName": "MaxMeasuredValue", + "attributeId": 0x00000002, + "type": "int", + "reportable": True, + }, 0x00000003: { - "commandId": 0x00000003, - "commandName": "ClearWeeklySchedule", - "args": { - }, - }, - }, - "attributes": { - 0x00000000: { - "attributeName": "LocalTemperature", - "attributeId": 0x00000000, - "type": "int", - "reportable": True, - }, - 0x00000003: { - "attributeName": "AbsMinHeatSetpointLimit", - "attributeId": 0x00000003, - "type": "int", - "reportable": True, - }, - 0x00000004: { - "attributeName": "AbsMaxHeatSetpointLimit", - "attributeId": 0x00000004, - "type": "int", - "reportable": True, - }, - 0x00000005: { - "attributeName": "AbsMinCoolSetpointLimit", - "attributeId": 0x00000005, - "type": "int", - "reportable": True, - }, - 0x00000006: { - "attributeName": "AbsMaxCoolSetpointLimit", - "attributeId": 0x00000006, - "type": "int", - "reportable": True, - }, - 0x00000011: { - "attributeName": "OccupiedCoolingSetpoint", - "attributeId": 0x00000011, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000012: { - "attributeName": "OccupiedHeatingSetpoint", - "attributeId": 0x00000012, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000015: { - "attributeName": "MinHeatSetpointLimit", - "attributeId": 0x00000015, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000016: { - "attributeName": "MaxHeatSetpointLimit", - "attributeId": 0x00000016, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000017: { - "attributeName": "MinCoolSetpointLimit", - "attributeId": 0x00000017, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000018: { - "attributeName": "MaxCoolSetpointLimit", - "attributeId": 0x00000018, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000019: { - "attributeName": "MinSetpointDeadBand", - "attributeId": 0x00000019, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x0000001B: { - "attributeName": "ControlSequenceOfOperation", - "attributeId": 0x0000001B, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x0000001C: { - "attributeName": "SystemMode", - "attributeId": 0x0000001C, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000020: { - "attributeName": "StartOfWeek", - "attributeId": 0x00000020, - "type": "int", - "reportable": True, - }, - 0x00000021: { - "attributeName": "NumberOfWeeklyTransitions", - "attributeId": 0x00000021, - "type": "int", - "reportable": True, - }, - 0x00000022: { - "attributeName": "NumberOfDailyTransitions", - "attributeId": 0x00000022, - "type": "int", - "reportable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, - }, + "attributeName": "Tolerance", + "attributeId": 0x00000003, + "type": "int", + "reportable": True, }, + 0x00000004: { + "attributeName": "LightSensorType", + "attributeId": 0x00000004, + "type": "int", + "reportable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } - _FAN_CONTROL_CLUSTER_INFO = { - "clusterName": "FanControl", - "clusterId": 0x00000202, - "commands": { - }, - "attributes": { - 0x00000000: { - "attributeName": "FanMode", - "attributeId": 0x00000000, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000001: { - "attributeName": "FanModeSequence", - "attributeId": 0x00000001, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000002: { - "attributeName": "PercentSetting", - "attributeId": 0x00000002, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000003: { - "attributeName": "PercentCurrent", - "attributeId": 0x00000003, - "type": "int", - "reportable": True, - }, - 0x00000004: { - "attributeName": "SpeedMax", - "attributeId": 0x00000004, - "type": "int", - "reportable": True, - }, - 0x00000005: { - "attributeName": "SpeedSetting", - "attributeId": 0x00000005, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000006: { - "attributeName": "SpeedCurrent", - "attributeId": 0x00000006, - "type": "int", - "reportable": True, - }, - 0x00000007: { - "attributeName": "RockSupport", - "attributeId": 0x00000007, - "type": "int", - "reportable": True, - }, - 0x00000008: { - "attributeName": "RockSetting", - "attributeId": 0x00000008, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000009: { - "attributeName": "WindSupport", - "attributeId": 0x00000009, - "type": "int", - "reportable": True, - }, - 0x0000000A: { - "attributeName": "WindSetting", - "attributeId": 0x0000000A, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, - }, + _TEMPERATURE_MEASUREMENT_CLUSTER_INFO = { + "clusterName": "TemperatureMeasurement", + "clusterId": 0x00000402, + "commands": { + }, + "attributes": { + 0x00000000: { + "attributeName": "MeasuredValue", + "attributeId": 0x00000000, + "type": "int", + "reportable": True, }, - } - _THERMOSTAT_USER_INTERFACE_CONFIGURATION_CLUSTER_INFO = { - "clusterName": "ThermostatUserInterfaceConfiguration", - "clusterId": 0x00000204, - "commands": { - }, - "attributes": { - 0x00000000: { - "attributeName": "TemperatureDisplayMode", - "attributeId": 0x00000000, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000001: { - "attributeName": "KeypadLockout", - "attributeId": 0x00000001, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000002: { - "attributeName": "ScheduleProgrammingVisibility", - "attributeId": 0x00000002, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, - }, + 0x00000001: { + "attributeName": "MinMeasuredValue", + "attributeId": 0x00000001, + "type": "int", + "reportable": True, + }, + 0x00000002: { + "attributeName": "MaxMeasuredValue", + "attributeId": 0x00000002, + "type": "int", + "reportable": True, }, + 0x00000003: { + "attributeName": "Tolerance", + "attributeId": 0x00000003, + "type": "int", + "reportable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } - _COLOR_CONTROL_CLUSTER_INFO = { - "clusterName": "ColorControl", - "clusterId": 0x00000300, - "commands": { + _PRESSURE_MEASUREMENT_CLUSTER_INFO = { + "clusterName": "PressureMeasurement", + "clusterId": 0x00000403, + "commands": { + }, + "attributes": { 0x00000000: { - "commandId": 0x00000000, - "commandName": "MoveToHue", - "args": { - "hue": "int", - "direction": "int", - "transitionTime": "int", - "optionsMask": "int", - "optionsOverride": "int", - }, - }, + "attributeName": "MeasuredValue", + "attributeId": 0x00000000, + "type": "int", + "reportable": True, + }, 0x00000001: { - "commandId": 0x00000001, - "commandName": "MoveHue", - "args": { - "moveMode": "int", - "rate": "int", - "optionsMask": "int", - "optionsOverride": "int", - }, - }, + "attributeName": "MinMeasuredValue", + "attributeId": 0x00000001, + "type": "int", + "reportable": True, + }, 0x00000002: { - "commandId": 0x00000002, - "commandName": "StepHue", - "args": { - "stepMode": "int", - "stepSize": "int", - "transitionTime": "int", - "optionsMask": "int", - "optionsOverride": "int", - }, - }, + "attributeName": "MaxMeasuredValue", + "attributeId": 0x00000002, + "type": "int", + "reportable": True, + }, 0x00000003: { - "commandId": 0x00000003, - "commandName": "MoveToSaturation", - "args": { - "saturation": "int", - "transitionTime": "int", - "optionsMask": "int", - "optionsOverride": "int", - }, - }, - 0x00000004: { - "commandId": 0x00000004, - "commandName": "MoveSaturation", - "args": { - "moveMode": "int", - "rate": "int", - "optionsMask": "int", - "optionsOverride": "int", - }, - }, - 0x00000005: { - "commandId": 0x00000005, - "commandName": "StepSaturation", - "args": { - "stepMode": "int", - "stepSize": "int", - "transitionTime": "int", - "optionsMask": "int", - "optionsOverride": "int", - }, - }, - 0x00000006: { - "commandId": 0x00000006, - "commandName": "MoveToHueAndSaturation", - "args": { - "hue": "int", - "saturation": "int", - "transitionTime": "int", - "optionsMask": "int", - "optionsOverride": "int", - }, - }, - 0x00000007: { - "commandId": 0x00000007, - "commandName": "MoveToColor", - "args": { - "colorX": "int", - "colorY": "int", - "transitionTime": "int", - "optionsMask": "int", - "optionsOverride": "int", - }, - }, - 0x00000008: { - "commandId": 0x00000008, - "commandName": "MoveColor", - "args": { - "rateX": "int", - "rateY": "int", - "optionsMask": "int", - "optionsOverride": "int", - }, - }, - 0x00000009: { - "commandId": 0x00000009, - "commandName": "StepColor", - "args": { - "stepX": "int", - "stepY": "int", - "transitionTime": "int", - "optionsMask": "int", - "optionsOverride": "int", - }, - }, - 0x0000000A: { - "commandId": 0x0000000A, - "commandName": "MoveToColorTemperature", - "args": { - "colorTemperatureMireds": "int", - "transitionTime": "int", - "optionsMask": "int", - "optionsOverride": "int", - }, - }, - 0x00000040: { - "commandId": 0x00000040, - "commandName": "EnhancedMoveToHue", - "args": { - "enhancedHue": "int", - "direction": "int", - "transitionTime": "int", - "optionsMask": "int", - "optionsOverride": "int", - }, - }, - 0x00000041: { - "commandId": 0x00000041, - "commandName": "EnhancedMoveHue", - "args": { - "moveMode": "int", - "rate": "int", - "optionsMask": "int", - "optionsOverride": "int", - }, - }, - 0x00000042: { - "commandId": 0x00000042, - "commandName": "EnhancedStepHue", - "args": { - "stepMode": "int", - "stepSize": "int", - "transitionTime": "int", - "optionsMask": "int", - "optionsOverride": "int", - }, - }, - 0x00000043: { - "commandId": 0x00000043, - "commandName": "EnhancedMoveToHueAndSaturation", - "args": { - "enhancedHue": "int", - "saturation": "int", - "transitionTime": "int", - "optionsMask": "int", - "optionsOverride": "int", - }, - }, - 0x00000044: { - "commandId": 0x00000044, - "commandName": "ColorLoopSet", - "args": { - "updateFlags": "int", - "action": "int", - "direction": "int", - "time": "int", - "startHue": "int", - "optionsMask": "int", - "optionsOverride": "int", - }, - }, - 0x00000047: { - "commandId": 0x00000047, - "commandName": "StopMoveStep", - "args": { - "optionsMask": "int", - "optionsOverride": "int", - }, - }, - 0x0000004B: { - "commandId": 0x0000004B, - "commandName": "MoveColorTemperature", - "args": { - "moveMode": "int", - "rate": "int", - "colorTemperatureMinimumMireds": "int", - "colorTemperatureMaximumMireds": "int", - "optionsMask": "int", - "optionsOverride": "int", - }, - }, - 0x0000004C: { - "commandId": 0x0000004C, - "commandName": "StepColorTemperature", - "args": { - "stepMode": "int", - "stepSize": "int", - "transitionTime": "int", - "colorTemperatureMinimumMireds": "int", - "colorTemperatureMaximumMireds": "int", - "optionsMask": "int", - "optionsOverride": "int", - }, - }, - }, - "attributes": { - 0x00000000: { - "attributeName": "CurrentHue", - "attributeId": 0x00000000, - "type": "int", - "reportable": True, - }, - 0x00000001: { - "attributeName": "CurrentSaturation", - "attributeId": 0x00000001, - "type": "int", - "reportable": True, - }, - 0x00000002: { - "attributeName": "RemainingTime", - "attributeId": 0x00000002, - "type": "int", - "reportable": True, - }, - 0x00000003: { - "attributeName": "CurrentX", - "attributeId": 0x00000003, - "type": "int", - "reportable": True, - }, - 0x00000004: { - "attributeName": "CurrentY", - "attributeId": 0x00000004, - "type": "int", - "reportable": True, - }, - 0x00000005: { - "attributeName": "DriftCompensation", - "attributeId": 0x00000005, - "type": "int", - "reportable": True, - }, - 0x00000006: { - "attributeName": "CompensationText", - "attributeId": 0x00000006, - "type": "str", - "reportable": True, - }, - 0x00000007: { - "attributeName": "ColorTemperatureMireds", - "attributeId": 0x00000007, - "type": "int", - "reportable": True, - }, - 0x00000008: { - "attributeName": "ColorMode", - "attributeId": 0x00000008, - "type": "int", - "reportable": True, - }, - 0x0000000F: { - "attributeName": "Options", - "attributeId": 0x0000000F, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000010: { - "attributeName": "NumberOfPrimaries", - "attributeId": 0x00000010, - "type": "int", - "reportable": True, - }, - 0x00000011: { - "attributeName": "Primary1X", - "attributeId": 0x00000011, - "type": "int", - "reportable": True, - }, - 0x00000012: { - "attributeName": "Primary1Y", - "attributeId": 0x00000012, - "type": "int", - "reportable": True, - }, - 0x00000013: { - "attributeName": "Primary1Intensity", - "attributeId": 0x00000013, - "type": "int", - "reportable": True, - }, - 0x00000015: { - "attributeName": "Primary2X", - "attributeId": 0x00000015, - "type": "int", - "reportable": True, - }, - 0x00000016: { - "attributeName": "Primary2Y", - "attributeId": 0x00000016, - "type": "int", - "reportable": True, - }, - 0x00000017: { - "attributeName": "Primary2Intensity", - "attributeId": 0x00000017, - "type": "int", - "reportable": True, - }, - 0x00000019: { - "attributeName": "Primary3X", - "attributeId": 0x00000019, - "type": "int", - "reportable": True, - }, - 0x0000001A: { - "attributeName": "Primary3Y", - "attributeId": 0x0000001A, - "type": "int", - "reportable": True, - }, - 0x0000001B: { - "attributeName": "Primary3Intensity", - "attributeId": 0x0000001B, - "type": "int", - "reportable": True, - }, - 0x00000020: { - "attributeName": "Primary4X", - "attributeId": 0x00000020, - "type": "int", - "reportable": True, - }, - 0x00000021: { - "attributeName": "Primary4Y", - "attributeId": 0x00000021, - "type": "int", - "reportable": True, - }, - 0x00000022: { - "attributeName": "Primary4Intensity", - "attributeId": 0x00000022, - "type": "int", - "reportable": True, - }, - 0x00000024: { - "attributeName": "Primary5X", - "attributeId": 0x00000024, - "type": "int", - "reportable": True, - }, - 0x00000025: { - "attributeName": "Primary5Y", - "attributeId": 0x00000025, - "type": "int", - "reportable": True, - }, - 0x00000026: { - "attributeName": "Primary5Intensity", - "attributeId": 0x00000026, - "type": "int", - "reportable": True, - }, - 0x00000028: { - "attributeName": "Primary6X", - "attributeId": 0x00000028, - "type": "int", - "reportable": True, - }, - 0x00000029: { - "attributeName": "Primary6Y", - "attributeId": 0x00000029, - "type": "int", - "reportable": True, - }, - 0x0000002A: { - "attributeName": "Primary6Intensity", - "attributeId": 0x0000002A, - "type": "int", - "reportable": True, - }, - 0x00000030: { - "attributeName": "WhitePointX", - "attributeId": 0x00000030, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000031: { - "attributeName": "WhitePointY", - "attributeId": 0x00000031, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000032: { - "attributeName": "ColorPointRX", - "attributeId": 0x00000032, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000033: { - "attributeName": "ColorPointRY", - "attributeId": 0x00000033, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000034: { - "attributeName": "ColorPointRIntensity", - "attributeId": 0x00000034, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000036: { - "attributeName": "ColorPointGX", - "attributeId": 0x00000036, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000037: { - "attributeName": "ColorPointGY", - "attributeId": 0x00000037, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000038: { - "attributeName": "ColorPointGIntensity", - "attributeId": 0x00000038, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x0000003A: { - "attributeName": "ColorPointBX", - "attributeId": 0x0000003A, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x0000003B: { - "attributeName": "ColorPointBY", - "attributeId": 0x0000003B, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x0000003C: { - "attributeName": "ColorPointBIntensity", - "attributeId": 0x0000003C, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00004000: { - "attributeName": "EnhancedCurrentHue", - "attributeId": 0x00004000, - "type": "int", - "reportable": True, - }, - 0x00004001: { - "attributeName": "EnhancedColorMode", - "attributeId": 0x00004001, - "type": "int", - "reportable": True, - }, - 0x00004002: { - "attributeName": "ColorLoopActive", - "attributeId": 0x00004002, - "type": "int", - "reportable": True, - }, - 0x00004003: { - "attributeName": "ColorLoopDirection", - "attributeId": 0x00004003, - "type": "int", - "reportable": True, - }, - 0x00004004: { - "attributeName": "ColorLoopTime", - "attributeId": 0x00004004, - "type": "int", - "reportable": True, - }, - 0x00004005: { - "attributeName": "ColorLoopStartEnhancedHue", - "attributeId": 0x00004005, - "type": "int", - "reportable": True, - }, - 0x00004006: { - "attributeName": "ColorLoopStoredEnhancedHue", - "attributeId": 0x00004006, - "type": "int", - "reportable": True, - }, - 0x0000400A: { - "attributeName": "ColorCapabilities", - "attributeId": 0x0000400A, - "type": "int", - "reportable": True, - }, - 0x0000400B: { - "attributeName": "ColorTempPhysicalMinMireds", - "attributeId": 0x0000400B, - "type": "int", - "reportable": True, - }, - 0x0000400C: { - "attributeName": "ColorTempPhysicalMaxMireds", - "attributeId": 0x0000400C, - "type": "int", - "reportable": True, - }, - 0x0000400D: { - "attributeName": "CoupleColorTempToLevelMinMireds", - "attributeId": 0x0000400D, - "type": "int", - "reportable": True, - }, - 0x00004010: { - "attributeName": "StartUpColorTemperatureMireds", - "attributeId": 0x00004010, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, - }, + "attributeName": "Tolerance", + "attributeId": 0x00000003, + "type": "int", + "reportable": True, }, - } - _BALLAST_CONFIGURATION_CLUSTER_INFO = { - "clusterName": "BallastConfiguration", - "clusterId": 0x00000301, - "commands": { - }, - "attributes": { - 0x00000000: { - "attributeName": "PhysicalMinLevel", - "attributeId": 0x00000000, - "type": "int", - "reportable": True, - }, - 0x00000001: { - "attributeName": "PhysicalMaxLevel", - "attributeId": 0x00000001, - "type": "int", - "reportable": True, - }, - 0x00000002: { - "attributeName": "BallastStatus", - "attributeId": 0x00000002, - "type": "int", - "reportable": True, - }, - 0x00000010: { - "attributeName": "MinLevel", - "attributeId": 0x00000010, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000011: { - "attributeName": "MaxLevel", - "attributeId": 0x00000011, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000014: { - "attributeName": "IntrinsicBallastFactor", - "attributeId": 0x00000014, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000015: { - "attributeName": "BallastFactorAdjustment", - "attributeId": 0x00000015, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000020: { - "attributeName": "LampQuantity", - "attributeId": 0x00000020, - "type": "int", - "reportable": True, - }, - 0x00000030: { - "attributeName": "LampType", - "attributeId": 0x00000030, - "type": "str", - "reportable": True, - "writable": True, - }, - 0x00000031: { - "attributeName": "LampManufacturer", - "attributeId": 0x00000031, - "type": "str", - "reportable": True, - "writable": True, - }, - 0x00000032: { - "attributeName": "LampRatedHours", - "attributeId": 0x00000032, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000033: { - "attributeName": "LampBurnHours", - "attributeId": 0x00000033, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000034: { - "attributeName": "LampAlarmMode", - "attributeId": 0x00000034, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000035: { - "attributeName": "LampBurnHoursTripPoint", - "attributeId": 0x00000035, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, - }, + 0x00000010: { + "attributeName": "ScaledValue", + "attributeId": 0x00000010, + "type": "int", + "reportable": True, }, - } - _ILLUMINANCE_MEASUREMENT_CLUSTER_INFO = { - "clusterName": "IlluminanceMeasurement", - "clusterId": 0x00000400, - "commands": { - }, - "attributes": { - 0x00000000: { - "attributeName": "MeasuredValue", - "attributeId": 0x00000000, - "type": "int", - "reportable": True, - }, - 0x00000001: { - "attributeName": "MinMeasuredValue", - "attributeId": 0x00000001, - "type": "int", - "reportable": True, - }, - 0x00000002: { - "attributeName": "MaxMeasuredValue", - "attributeId": 0x00000002, - "type": "int", - "reportable": True, - }, - 0x00000003: { - "attributeName": "Tolerance", - "attributeId": 0x00000003, - "type": "int", - "reportable": True, - }, - 0x00000004: { - "attributeName": "LightSensorType", - "attributeId": 0x00000004, - "type": "int", - "reportable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, - }, + 0x00000011: { + "attributeName": "MinScaledValue", + "attributeId": 0x00000011, + "type": "int", + "reportable": True, }, - } - _TEMPERATURE_MEASUREMENT_CLUSTER_INFO = { - "clusterName": "TemperatureMeasurement", - "clusterId": 0x00000402, - "commands": { - }, - "attributes": { - 0x00000000: { - "attributeName": "MeasuredValue", - "attributeId": 0x00000000, - "type": "int", - "reportable": True, - }, - 0x00000001: { - "attributeName": "MinMeasuredValue", - "attributeId": 0x00000001, - "type": "int", - "reportable": True, - }, - 0x00000002: { - "attributeName": "MaxMeasuredValue", - "attributeId": 0x00000002, - "type": "int", - "reportable": True, - }, - 0x00000003: { - "attributeName": "Tolerance", - "attributeId": 0x00000003, - "type": "int", - "reportable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, - }, + 0x00000012: { + "attributeName": "MaxScaledValue", + "attributeId": 0x00000012, + "type": "int", + "reportable": True, }, - } - _PRESSURE_MEASUREMENT_CLUSTER_INFO = { - "clusterName": "PressureMeasurement", - "clusterId": 0x00000403, - "commands": { - }, - "attributes": { - 0x00000000: { - "attributeName": "MeasuredValue", - "attributeId": 0x00000000, - "type": "int", - "reportable": True, - }, - 0x00000001: { - "attributeName": "MinMeasuredValue", - "attributeId": 0x00000001, - "type": "int", - "reportable": True, - }, - 0x00000002: { - "attributeName": "MaxMeasuredValue", - "attributeId": 0x00000002, - "type": "int", - "reportable": True, - }, - 0x00000003: { - "attributeName": "Tolerance", - "attributeId": 0x00000003, - "type": "int", - "reportable": True, - }, - 0x00000010: { - "attributeName": "ScaledValue", - "attributeId": 0x00000010, - "type": "int", - "reportable": True, - }, - 0x00000011: { - "attributeName": "MinScaledValue", - "attributeId": 0x00000011, - "type": "int", - "reportable": True, - }, - 0x00000012: { - "attributeName": "MaxScaledValue", - "attributeId": 0x00000012, - "type": "int", - "reportable": True, - }, - 0x00000013: { - "attributeName": "ScaledTolerance", - "attributeId": 0x00000013, - "type": "int", - "reportable": True, - }, - 0x00000014: { - "attributeName": "Scale", - "attributeId": 0x00000014, - "type": "int", - "reportable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, - }, + 0x00000013: { + "attributeName": "ScaledTolerance", + "attributeId": 0x00000013, + "type": "int", + "reportable": True, }, + 0x00000014: { + "attributeName": "Scale", + "attributeId": 0x00000014, + "type": "int", + "reportable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } _FLOW_MEASUREMENT_CLUSTER_INFO = { - "clusterName": "FlowMeasurement", - "clusterId": 0x00000404, - "commands": { - }, - "attributes": { - 0x00000000: { - "attributeName": "MeasuredValue", - "attributeId": 0x00000000, - "type": "int", - "reportable": True, - }, - 0x00000001: { - "attributeName": "MinMeasuredValue", - "attributeId": 0x00000001, - "type": "int", - "reportable": True, - }, - 0x00000002: { - "attributeName": "MaxMeasuredValue", - "attributeId": 0x00000002, - "type": "int", - "reportable": True, - }, - 0x00000003: { - "attributeName": "Tolerance", - "attributeId": 0x00000003, - "type": "int", - "reportable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, - }, + "clusterName": "FlowMeasurement", + "clusterId": 0x00000404, + "commands": { + }, + "attributes": { + 0x00000000: { + "attributeName": "MeasuredValue", + "attributeId": 0x00000000, + "type": "int", + "reportable": True, }, + 0x00000001: { + "attributeName": "MinMeasuredValue", + "attributeId": 0x00000001, + "type": "int", + "reportable": True, + }, + 0x00000002: { + "attributeName": "MaxMeasuredValue", + "attributeId": 0x00000002, + "type": "int", + "reportable": True, + }, + 0x00000003: { + "attributeName": "Tolerance", + "attributeId": 0x00000003, + "type": "int", + "reportable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } _RELATIVE_HUMIDITY_MEASUREMENT_CLUSTER_INFO = { - "clusterName": "RelativeHumidityMeasurement", - "clusterId": 0x00000405, - "commands": { - }, - "attributes": { - 0x00000000: { - "attributeName": "MeasuredValue", - "attributeId": 0x00000000, - "type": "int", - "reportable": True, - }, - 0x00000001: { - "attributeName": "MinMeasuredValue", - "attributeId": 0x00000001, - "type": "int", - "reportable": True, - }, - 0x00000002: { - "attributeName": "MaxMeasuredValue", - "attributeId": 0x00000002, - "type": "int", - "reportable": True, - }, - 0x00000003: { - "attributeName": "Tolerance", - "attributeId": 0x00000003, - "type": "int", - "reportable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, - }, + "clusterName": "RelativeHumidityMeasurement", + "clusterId": 0x00000405, + "commands": { + }, + "attributes": { + 0x00000000: { + "attributeName": "MeasuredValue", + "attributeId": 0x00000000, + "type": "int", + "reportable": True, + }, + 0x00000001: { + "attributeName": "MinMeasuredValue", + "attributeId": 0x00000001, + "type": "int", + "reportable": True, + }, + 0x00000002: { + "attributeName": "MaxMeasuredValue", + "attributeId": 0x00000002, + "type": "int", + "reportable": True, }, + 0x00000003: { + "attributeName": "Tolerance", + "attributeId": 0x00000003, + "type": "int", + "reportable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } _OCCUPANCY_SENSING_CLUSTER_INFO = { - "clusterName": "OccupancySensing", - "clusterId": 0x00000406, - "commands": { - }, - "attributes": { - 0x00000000: { - "attributeName": "Occupancy", - "attributeId": 0x00000000, - "type": "int", - "reportable": True, - }, - 0x00000001: { - "attributeName": "OccupancySensorType", - "attributeId": 0x00000001, - "type": "int", - "reportable": True, - }, - 0x00000002: { - "attributeName": "OccupancySensorTypeBitmap", - "attributeId": 0x00000002, - "type": "int", - "reportable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, - }, + "clusterName": "OccupancySensing", + "clusterId": 0x00000406, + "commands": { + }, + "attributes": { + 0x00000000: { + "attributeName": "Occupancy", + "attributeId": 0x00000000, + "type": "int", + "reportable": True, + }, + 0x00000001: { + "attributeName": "OccupancySensorType", + "attributeId": 0x00000001, + "type": "int", + "reportable": True, }, + 0x00000002: { + "attributeName": "OccupancySensorTypeBitmap", + "attributeId": 0x00000002, + "type": "int", + "reportable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } _WAKE_ON_LAN_CLUSTER_INFO = { - "clusterName": "WakeOnLan", - "clusterId": 0x00000503, - "commands": { - }, - "attributes": { - 0x00000000: { - "attributeName": "MACAddress", - "attributeId": 0x00000000, - "type": "str", - "reportable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, - }, - }, + "clusterName": "WakeOnLan", + "clusterId": 0x00000503, + "commands": { + }, + "attributes": { + 0x00000000: { + "attributeName": "MACAddress", + "attributeId": 0x00000000, + "type": "str", + "reportable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } _CHANNEL_CLUSTER_INFO = { - "clusterName": "Channel", - "clusterId": 0x00000504, - "commands": { + "clusterName": "Channel", + "clusterId": 0x00000504, + "commands": { 0x00000000: { - "commandId": 0x00000000, - "commandName": "ChangeChannel", - "args": { - "match": "str", - }, + "commandId": 0x00000000, + "commandName": "ChangeChannel", + "args": { + "match": "str", }, + }, 0x00000002: { - "commandId": 0x00000002, - "commandName": "ChangeChannelByNumber", - "args": { - "majorNumber": "int", - "minorNumber": "int", - }, + "commandId": 0x00000002, + "commandName": "ChangeChannelByNumber", + "args": { + "majorNumber": "int", + "minorNumber": "int", }, + }, 0x00000003: { - "commandId": 0x00000003, - "commandName": "SkipChannel", - "args": { - "count": "int", - }, - }, - }, - "attributes": { - 0x00000000: { - "attributeName": "ChannelList", - "attributeId": 0x00000000, - "type": "", - "reportable": True, - }, - 0x00000001: { - "attributeName": "Lineup", - "attributeId": 0x00000001, - "type": "", - "reportable": True, - }, - 0x00000002: { - "attributeName": "CurrentChannel", - "attributeId": 0x00000002, - "type": "", - "reportable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, + "commandId": 0x00000003, + "commandName": "SkipChannel", + "args": { + "count": "int", }, }, + }, + "attributes": { + 0x00000000: { + "attributeName": "ChannelList", + "attributeId": 0x00000000, + "type": "", + "reportable": True, + }, + 0x00000001: { + "attributeName": "Lineup", + "attributeId": 0x00000001, + "type": "", + "reportable": True, + }, + 0x00000002: { + "attributeName": "CurrentChannel", + "attributeId": 0x00000002, + "type": "", + "reportable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } _TARGET_NAVIGATOR_CLUSTER_INFO = { - "clusterName": "TargetNavigator", - "clusterId": 0x00000505, - "commands": { + "clusterName": "TargetNavigator", + "clusterId": 0x00000505, + "commands": { 0x00000000: { - "commandId": 0x00000000, - "commandName": "NavigateTarget", - "args": { - "target": "int", - "data": "str", - }, - }, - }, - "attributes": { - 0x00000000: { - "attributeName": "TargetList", - "attributeId": 0x00000000, - "type": "", - "reportable": True, - }, - 0x00000001: { - "attributeName": "CurrentTarget", - "attributeId": 0x00000001, - "type": "int", - "reportable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, + "commandId": 0x00000000, + "commandName": "NavigateTarget", + "args": { + "target": "int", + "data": "str", }, }, + }, + "attributes": { + 0x00000000: { + "attributeName": "TargetList", + "attributeId": 0x00000000, + "type": "", + "reportable": True, + }, + 0x00000001: { + "attributeName": "CurrentTarget", + "attributeId": 0x00000001, + "type": "int", + "reportable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } _MEDIA_PLAYBACK_CLUSTER_INFO = { - "clusterName": "MediaPlayback", - "clusterId": 0x00000506, - "commands": { + "clusterName": "MediaPlayback", + "clusterId": 0x00000506, + "commands": { 0x00000000: { - "commandId": 0x00000000, - "commandName": "Play", - "args": { - }, + "commandId": 0x00000000, + "commandName": "Play", + "args": { }, + }, 0x00000001: { - "commandId": 0x00000001, - "commandName": "Pause", - "args": { - }, + "commandId": 0x00000001, + "commandName": "Pause", + "args": { }, + }, 0x00000002: { - "commandId": 0x00000002, - "commandName": "Stop", - "args": { - }, + "commandId": 0x00000002, + "commandName": "Stop", + "args": { }, + }, 0x00000003: { - "commandId": 0x00000003, - "commandName": "StartOver", - "args": { - }, + "commandId": 0x00000003, + "commandName": "StartOver", + "args": { }, + }, 0x00000004: { - "commandId": 0x00000004, - "commandName": "Previous", - "args": { - }, + "commandId": 0x00000004, + "commandName": "Previous", + "args": { }, + }, 0x00000005: { - "commandId": 0x00000005, - "commandName": "Next", - "args": { - }, + "commandId": 0x00000005, + "commandName": "Next", + "args": { }, + }, 0x00000006: { - "commandId": 0x00000006, - "commandName": "Rewind", - "args": { - }, + "commandId": 0x00000006, + "commandName": "Rewind", + "args": { }, + }, 0x00000007: { - "commandId": 0x00000007, - "commandName": "FastForward", - "args": { - }, + "commandId": 0x00000007, + "commandName": "FastForward", + "args": { }, + }, 0x00000008: { - "commandId": 0x00000008, - "commandName": "SkipForward", - "args": { - "deltaPositionMilliseconds": "int", - }, + "commandId": 0x00000008, + "commandName": "SkipForward", + "args": { + "deltaPositionMilliseconds": "int", }, + }, 0x00000009: { - "commandId": 0x00000009, - "commandName": "SkipBackward", - "args": { - "deltaPositionMilliseconds": "int", - }, + "commandId": 0x00000009, + "commandName": "SkipBackward", + "args": { + "deltaPositionMilliseconds": "int", }, + }, 0x0000000B: { - "commandId": 0x0000000B, - "commandName": "Seek", - "args": { - "position": "int", - }, - }, - }, - "attributes": { - 0x00000000: { - "attributeName": "CurrentState", - "attributeId": 0x00000000, - "type": "int", - "reportable": True, - }, - 0x00000001: { - "attributeName": "StartTime", - "attributeId": 0x00000001, - "type": "int", - "reportable": True, - }, - 0x00000002: { - "attributeName": "Duration", - "attributeId": 0x00000002, - "type": "int", - "reportable": True, - }, - 0x00000003: { - "attributeName": "SampledPosition", - "attributeId": 0x00000003, - "type": "", - "reportable": True, - }, - 0x00000004: { - "attributeName": "PlaybackSpeed", - "attributeId": 0x00000004, - "type": "", - "reportable": True, - }, - 0x00000005: { - "attributeName": "SeekRangeEnd", - "attributeId": 0x00000005, - "type": "int", - "reportable": True, - }, - 0x00000006: { - "attributeName": "SeekRangeStart", - "attributeId": 0x00000006, - "type": "int", - "reportable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, + "commandId": 0x0000000B, + "commandName": "Seek", + "args": { + "position": "int", }, }, + }, + "attributes": { + 0x00000000: { + "attributeName": "CurrentState", + "attributeId": 0x00000000, + "type": "int", + "reportable": True, + }, + 0x00000001: { + "attributeName": "StartTime", + "attributeId": 0x00000001, + "type": "int", + "reportable": True, + }, + 0x00000002: { + "attributeName": "Duration", + "attributeId": 0x00000002, + "type": "int", + "reportable": True, + }, + 0x00000003: { + "attributeName": "SampledPosition", + "attributeId": 0x00000003, + "type": "", + "reportable": True, + }, + 0x00000004: { + "attributeName": "PlaybackSpeed", + "attributeId": 0x00000004, + "type": "", + "reportable": True, + }, + 0x00000005: { + "attributeName": "SeekRangeEnd", + "attributeId": 0x00000005, + "type": "int", + "reportable": True, + }, + 0x00000006: { + "attributeName": "SeekRangeStart", + "attributeId": 0x00000006, + "type": "int", + "reportable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } _MEDIA_INPUT_CLUSTER_INFO = { - "clusterName": "MediaInput", - "clusterId": 0x00000507, - "commands": { + "clusterName": "MediaInput", + "clusterId": 0x00000507, + "commands": { 0x00000000: { - "commandId": 0x00000000, - "commandName": "SelectInput", - "args": { - "index": "int", - }, + "commandId": 0x00000000, + "commandName": "SelectInput", + "args": { + "index": "int", }, + }, 0x00000001: { - "commandId": 0x00000001, - "commandName": "ShowInputStatus", - "args": { - }, + "commandId": 0x00000001, + "commandName": "ShowInputStatus", + "args": { }, + }, 0x00000002: { - "commandId": 0x00000002, - "commandName": "HideInputStatus", - "args": { - }, + "commandId": 0x00000002, + "commandName": "HideInputStatus", + "args": { }, + }, 0x00000003: { - "commandId": 0x00000003, - "commandName": "RenameInput", - "args": { - "index": "int", - "name": "str", - }, - }, - }, - "attributes": { - 0x00000000: { - "attributeName": "InputList", - "attributeId": 0x00000000, - "type": "", - "reportable": True, - }, - 0x00000001: { - "attributeName": "CurrentInput", - "attributeId": 0x00000001, - "type": "int", - "reportable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, + "commandId": 0x00000003, + "commandName": "RenameInput", + "args": { + "index": "int", + "name": "str", }, }, + }, + "attributes": { + 0x00000000: { + "attributeName": "InputList", + "attributeId": 0x00000000, + "type": "", + "reportable": True, + }, + 0x00000001: { + "attributeName": "CurrentInput", + "attributeId": 0x00000001, + "type": "int", + "reportable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } _LOW_POWER_CLUSTER_INFO = { - "clusterName": "LowPower", - "clusterId": 0x00000508, - "commands": { + "clusterName": "LowPower", + "clusterId": 0x00000508, + "commands": { 0x00000000: { - "commandId": 0x00000000, - "commandName": "Sleep", - "args": { - }, - }, - }, - "attributes": { - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, - }, - }, + "commandId": 0x00000000, + "commandName": "Sleep", + "args": { + }, + }, + }, + "attributes": { + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } _KEYPAD_INPUT_CLUSTER_INFO = { - "clusterName": "KeypadInput", - "clusterId": 0x00000509, - "commands": { + "clusterName": "KeypadInput", + "clusterId": 0x00000509, + "commands": { 0x00000000: { - "commandId": 0x00000000, - "commandName": "SendKey", - "args": { - "keyCode": "int", - }, - }, - }, - "attributes": { - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, - }, - }, + "commandId": 0x00000000, + "commandName": "SendKey", + "args": { + "keyCode": "int", + }, + }, + }, + "attributes": { + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } _CONTENT_LAUNCHER_CLUSTER_INFO = { - "clusterName": "ContentLauncher", - "clusterId": 0x0000050A, - "commands": { + "clusterName": "ContentLauncher", + "clusterId": 0x0000050A, + "commands": { 0x00000000: { - "commandId": 0x00000000, - "commandName": "LaunchContent", - "args": { - "parameterList": "", - "autoPlay": "bool", - "data": "str", - }, + "commandId": 0x00000000, + "commandName": "LaunchContent", + "args": { + "parameterList": "", + "autoPlay": "bool", + "data": "str", }, + }, 0x00000001: { - "commandId": 0x00000001, - "commandName": "LaunchURL", - "args": { - "contentURL": "str", - "displayString": "str", - "providerName": "str", - "background": "", - "logo": "", - "progressBar": "", - "splash": "", - "waterMark": "", - }, - }, - }, - "attributes": { - 0x00000000: { - "attributeName": "AcceptHeader", - "attributeId": 0x00000000, - "type": "str", - "reportable": True, - }, - 0x00000001: { - "attributeName": "SupportedStreamingProtocols", - "attributeId": 0x00000001, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, - }, + "commandId": 0x00000001, + "commandName": "LaunchURL", + "args": { + "contentURL": "str", + "displayString": "str", + "providerName": "str", + "background": "", + "logo": "", + "progressBar": "", + "splash": "", + "waterMark": "", + }, + }, + }, + "attributes": { + 0x00000000: { + "attributeName": "AcceptHeader", + "attributeId": 0x00000000, + "type": "str", + "reportable": True, }, + 0x00000001: { + "attributeName": "SupportedStreamingProtocols", + "attributeId": 0x00000001, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } _AUDIO_OUTPUT_CLUSTER_INFO = { - "clusterName": "AudioOutput", - "clusterId": 0x0000050B, - "commands": { + "clusterName": "AudioOutput", + "clusterId": 0x0000050B, + "commands": { 0x00000000: { - "commandId": 0x00000000, - "commandName": "SelectOutput", - "args": { - "index": "int", - }, + "commandId": 0x00000000, + "commandName": "SelectOutput", + "args": { + "index": "int", }, + }, 0x00000001: { - "commandId": 0x00000001, - "commandName": "RenameOutput", - "args": { - "index": "int", - "name": "str", - }, - }, - }, - "attributes": { - 0x00000000: { - "attributeName": "OutputList", - "attributeId": 0x00000000, - "type": "", - "reportable": True, - }, - 0x00000001: { - "attributeName": "CurrentOutput", - "attributeId": 0x00000001, - "type": "int", - "reportable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, + "commandId": 0x00000001, + "commandName": "RenameOutput", + "args": { + "index": "int", + "name": "str", }, }, + }, + "attributes": { + 0x00000000: { + "attributeName": "OutputList", + "attributeId": 0x00000000, + "type": "", + "reportable": True, + }, + 0x00000001: { + "attributeName": "CurrentOutput", + "attributeId": 0x00000001, + "type": "int", + "reportable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } _APPLICATION_LAUNCHER_CLUSTER_INFO = { - "clusterName": "ApplicationLauncher", - "clusterId": 0x0000050C, - "commands": { + "clusterName": "ApplicationLauncher", + "clusterId": 0x0000050C, + "commands": { 0x00000000: { - "commandId": 0x00000000, - "commandName": "LaunchApp", - "args": { - "catalogVendorID": "int", - "applicationID": "str", - "data": "bytes", - }, + "commandId": 0x00000000, + "commandName": "LaunchApp", + "args": { + "catalogVendorID": "int", + "applicationID": "str", + "data": "bytes", }, + }, 0x00000001: { - "commandId": 0x00000001, - "commandName": "StopApp", - "args": { - "catalogVendorID": "int", - "applicationID": "str", - }, + "commandId": 0x00000001, + "commandName": "StopApp", + "args": { + "catalogVendorID": "int", + "applicationID": "str", }, + }, 0x00000002: { - "commandId": 0x00000002, - "commandName": "HideApp", - "args": { - "catalogVendorID": "int", - "applicationID": "str", - }, - }, - }, - "attributes": { - 0x00000000: { - "attributeName": "CatalogList", - "attributeId": 0x00000000, - "type": "int", - "reportable": True, - }, - 0x00000001: { - "attributeName": "CurrentApp", - "attributeId": 0x00000001, - "type": "", - "reportable": True, - "writable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, + "commandId": 0x00000002, + "commandName": "HideApp", + "args": { + "catalogVendorID": "int", + "applicationID": "str", }, }, + }, + "attributes": { + 0x00000000: { + "attributeName": "CatalogList", + "attributeId": 0x00000000, + "type": "int", + "reportable": True, + }, + 0x00000001: { + "attributeName": "CurrentApp", + "attributeId": 0x00000001, + "type": "", + "reportable": True, + "writable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } _APPLICATION_BASIC_CLUSTER_INFO = { - "clusterName": "ApplicationBasic", - "clusterId": 0x0000050D, - "commands": { - }, - "attributes": { - 0x00000000: { - "attributeName": "VendorName", - "attributeId": 0x00000000, - "type": "str", - "reportable": True, - }, - 0x00000001: { - "attributeName": "VendorID", - "attributeId": 0x00000001, - "type": "int", - "reportable": True, - }, - 0x00000002: { - "attributeName": "ApplicationName", - "attributeId": 0x00000002, - "type": "str", - "reportable": True, - }, - 0x00000003: { - "attributeName": "ProductID", - "attributeId": 0x00000003, - "type": "int", - "reportable": True, - }, - 0x00000004: { - "attributeName": "Application", - "attributeId": 0x00000004, - "type": "", - "reportable": True, - }, - 0x00000005: { - "attributeName": "Status", - "attributeId": 0x00000005, - "type": "int", - "reportable": True, - }, - 0x00000006: { - "attributeName": "ApplicationVersion", - "attributeId": 0x00000006, - "type": "str", - "reportable": True, - }, - 0x00000007: { - "attributeName": "AllowedVendorList", - "attributeId": 0x00000007, - "type": "int", - "reportable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, - }, + "clusterName": "ApplicationBasic", + "clusterId": 0x0000050D, + "commands": { + }, + "attributes": { + 0x00000000: { + "attributeName": "VendorName", + "attributeId": 0x00000000, + "type": "str", + "reportable": True, + }, + 0x00000001: { + "attributeName": "VendorID", + "attributeId": 0x00000001, + "type": "int", + "reportable": True, }, + 0x00000002: { + "attributeName": "ApplicationName", + "attributeId": 0x00000002, + "type": "str", + "reportable": True, + }, + 0x00000003: { + "attributeName": "ProductID", + "attributeId": 0x00000003, + "type": "int", + "reportable": True, + }, + 0x00000004: { + "attributeName": "Application", + "attributeId": 0x00000004, + "type": "", + "reportable": True, + }, + 0x00000005: { + "attributeName": "Status", + "attributeId": 0x00000005, + "type": "int", + "reportable": True, + }, + 0x00000006: { + "attributeName": "ApplicationVersion", + "attributeId": 0x00000006, + "type": "str", + "reportable": True, + }, + 0x00000007: { + "attributeName": "AllowedVendorList", + "attributeId": 0x00000007, + "type": "int", + "reportable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } _ACCOUNT_LOGIN_CLUSTER_INFO = { - "clusterName": "AccountLogin", - "clusterId": 0x0000050E, - "commands": { + "clusterName": "AccountLogin", + "clusterId": 0x0000050E, + "commands": { 0x00000000: { - "commandId": 0x00000000, - "commandName": "GetSetupPIN", - "args": { - "tempAccountIdentifier": "str", - }, + "commandId": 0x00000000, + "commandName": "GetSetupPIN", + "args": { + "tempAccountIdentifier": "str", }, + }, 0x00000002: { - "commandId": 0x00000002, - "commandName": "Login", - "args": { - "tempAccountIdentifier": "str", - "setupPIN": "str", - }, - }, - 0x00000003: { - "commandId": 0x00000003, - "commandName": "Logout", - "args": { - }, - }, - }, - "attributes": { - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, + "commandId": 0x00000002, + "commandName": "Login", + "args": { + "tempAccountIdentifier": "str", + "setupPIN": "str", }, }, + 0x00000003: { + "commandId": 0x00000003, + "commandName": "Logout", + "args": { + }, + }, + }, + "attributes": { + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } _ELECTRICAL_MEASUREMENT_CLUSTER_INFO = { - "clusterName": "ElectricalMeasurement", - "clusterId": 0x00000B04, - "commands": { - }, - "attributes": { - 0x00000000: { - "attributeName": "MeasurementType", - "attributeId": 0x00000000, - "type": "int", - "reportable": True, - }, - 0x00000304: { - "attributeName": "TotalActivePower", - "attributeId": 0x00000304, - "type": "int", - "reportable": True, - }, - 0x00000505: { - "attributeName": "RmsVoltage", - "attributeId": 0x00000505, - "type": "int", - "reportable": True, - }, - 0x00000506: { - "attributeName": "RmsVoltageMin", - "attributeId": 0x00000506, - "type": "int", - "reportable": True, - }, - 0x00000507: { - "attributeName": "RmsVoltageMax", - "attributeId": 0x00000507, - "type": "int", - "reportable": True, - }, - 0x00000508: { - "attributeName": "RmsCurrent", - "attributeId": 0x00000508, - "type": "int", - "reportable": True, - }, - 0x00000509: { - "attributeName": "RmsCurrentMin", - "attributeId": 0x00000509, - "type": "int", - "reportable": True, - }, - 0x0000050A: { - "attributeName": "RmsCurrentMax", - "attributeId": 0x0000050A, - "type": "int", - "reportable": True, - }, - 0x0000050B: { - "attributeName": "ActivePower", - "attributeId": 0x0000050B, - "type": "int", - "reportable": True, - }, - 0x0000050C: { - "attributeName": "ActivePowerMin", - "attributeId": 0x0000050C, - "type": "int", - "reportable": True, - }, - 0x0000050D: { - "attributeName": "ActivePowerMax", - "attributeId": 0x0000050D, - "type": "int", - "reportable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, - }, - }, + "clusterName": "ElectricalMeasurement", + "clusterId": 0x00000B04, + "commands": { + }, + "attributes": { + 0x00000000: { + "attributeName": "MeasurementType", + "attributeId": 0x00000000, + "type": "int", + "reportable": True, + }, + 0x00000304: { + "attributeName": "TotalActivePower", + "attributeId": 0x00000304, + "type": "int", + "reportable": True, + }, + 0x00000505: { + "attributeName": "RmsVoltage", + "attributeId": 0x00000505, + "type": "int", + "reportable": True, + }, + 0x00000506: { + "attributeName": "RmsVoltageMin", + "attributeId": 0x00000506, + "type": "int", + "reportable": True, + }, + 0x00000507: { + "attributeName": "RmsVoltageMax", + "attributeId": 0x00000507, + "type": "int", + "reportable": True, + }, + 0x00000508: { + "attributeName": "RmsCurrent", + "attributeId": 0x00000508, + "type": "int", + "reportable": True, + }, + 0x00000509: { + "attributeName": "RmsCurrentMin", + "attributeId": 0x00000509, + "type": "int", + "reportable": True, + }, + 0x0000050A: { + "attributeName": "RmsCurrentMax", + "attributeId": 0x0000050A, + "type": "int", + "reportable": True, + }, + 0x0000050B: { + "attributeName": "ActivePower", + "attributeId": 0x0000050B, + "type": "int", + "reportable": True, + }, + 0x0000050C: { + "attributeName": "ActivePowerMin", + "attributeId": 0x0000050C, + "type": "int", + "reportable": True, + }, + 0x0000050D: { + "attributeName": "ActivePowerMax", + "attributeId": 0x0000050D, + "type": "int", + "reportable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } _CLIENT_MONITORING_CLUSTER_INFO = { - "clusterName": "ClientMonitoring", - "clusterId": 0x00001046, - "commands": { + "clusterName": "ClientMonitoring", + "clusterId": 0x00001046, + "commands": { 0x00000000: { - "commandId": 0x00000000, - "commandName": "RegisterClientMonitoring", - "args": { - "clientNodeId": "int", - "ICid": "int", - }, + "commandId": 0x00000000, + "commandName": "RegisterClientMonitoring", + "args": { + "clientNodeId": "int", + "ICid": "int", }, + }, 0x00000001: { - "commandId": 0x00000001, - "commandName": "UnregisterClientMonitoring", - "args": { - "clientNodeId": "int", - "ICid": "int", - }, - }, - }, - "attributes": { - 0x00000000: { - "attributeName": "IdleModeInterval", - "attributeId": 0x00000000, - "type": "int", - "reportable": True, - }, - 0x00000001: { - "attributeName": "ActiveModeInterval", - "attributeId": 0x00000001, - "type": "int", - "reportable": True, - }, - 0x00000002: { - "attributeName": "ActiveModeThreshold", - "attributeId": 0x00000002, - "type": "int", - "reportable": True, - }, - 0x00000003: { - "attributeName": "ExpectedClients", - "attributeId": 0x00000003, - "type": "", - "reportable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, + "commandId": 0x00000001, + "commandName": "UnregisterClientMonitoring", + "args": { + "clientNodeId": "int", + "ICid": "int", }, }, + }, + "attributes": { + 0x00000000: { + "attributeName": "IdleModeInterval", + "attributeId": 0x00000000, + "type": "int", + "reportable": True, + }, + 0x00000001: { + "attributeName": "ActiveModeInterval", + "attributeId": 0x00000001, + "type": "int", + "reportable": True, + }, + 0x00000002: { + "attributeName": "ActiveModeThreshold", + "attributeId": 0x00000002, + "type": "int", + "reportable": True, + }, + 0x00000003: { + "attributeName": "ExpectedClients", + "attributeId": 0x00000003, + "type": "", + "reportable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } _UNIT_TESTING_CLUSTER_INFO = { - "clusterName": "UnitTesting", - "clusterId": 0xFFF1FC05, - "commands": { + "clusterName": "UnitTesting", + "clusterId": 0xFFF1FC05, + "commands": { 0x00000000: { - "commandId": 0x00000000, - "commandName": "Test", - "args": { - }, + "commandId": 0x00000000, + "commandName": "Test", + "args": { }, + }, 0x00000001: { - "commandId": 0x00000001, - "commandName": "TestNotHandled", - "args": { - }, + "commandId": 0x00000001, + "commandName": "TestNotHandled", + "args": { }, + }, 0x00000002: { - "commandId": 0x00000002, - "commandName": "TestSpecific", - "args": { - }, + "commandId": 0x00000002, + "commandName": "TestSpecific", + "args": { }, + }, 0x00000003: { - "commandId": 0x00000003, - "commandName": "TestUnknownCommand", - "args": { - }, + "commandId": 0x00000003, + "commandName": "TestUnknownCommand", + "args": { }, + }, 0x00000004: { - "commandId": 0x00000004, - "commandName": "TestAddArguments", - "args": { - "arg1": "int", - "arg2": "int", - }, + "commandId": 0x00000004, + "commandName": "TestAddArguments", + "args": { + "arg1": "int", + "arg2": "int", }, + }, 0x00000007: { - "commandId": 0x00000007, - "commandName": "TestStructArgumentRequest", - "args": { - "a": "int", - "b": "bool", - "c": "int", - "d": "bytes", - "e": "str", - "f": "int", - "g": "", - "h": "", - }, + "commandId": 0x00000007, + "commandName": "TestStructArgumentRequest", + "args": { + "a": "int", + "b": "bool", + "c": "int", + "d": "bytes", + "e": "str", + "f": "int", + "g": "", + "h": "", }, + }, 0x00000008: { - "commandId": 0x00000008, - "commandName": "TestNestedStructArgumentRequest", - "args": { - "a": "int", - "b": "bool", - "c": "", - }, + "commandId": 0x00000008, + "commandName": "TestNestedStructArgumentRequest", + "args": { + "a": "int", + "b": "bool", + "c": "", }, + }, 0x00000009: { - "commandId": 0x00000009, - "commandName": "TestListStructArgumentRequest", - "args": { - "a": "int", - "b": "bool", - "c": "int", - "d": "bytes", - "e": "str", - "f": "int", - "g": "", - "h": "", - }, + "commandId": 0x00000009, + "commandName": "TestListStructArgumentRequest", + "args": { + "a": "int", + "b": "bool", + "c": "int", + "d": "bytes", + "e": "str", + "f": "int", + "g": "", + "h": "", }, + }, 0x0000000A: { - "commandId": 0x0000000A, - "commandName": "TestListInt8UArgumentRequest", - "args": { - "arg1": "int", - }, + "commandId": 0x0000000A, + "commandName": "TestListInt8UArgumentRequest", + "args": { + "arg1": "int", }, + }, 0x0000000B: { - "commandId": 0x0000000B, - "commandName": "TestNestedStructListArgumentRequest", - "args": { - "a": "int", - "b": "bool", - "c": "", - "d": "", - "e": "int", - "f": "bytes", - "g": "int", - }, + "commandId": 0x0000000B, + "commandName": "TestNestedStructListArgumentRequest", + "args": { + "a": "int", + "b": "bool", + "c": "", + "d": "", + "e": "int", + "f": "bytes", + "g": "int", }, + }, 0x0000000C: { - "commandId": 0x0000000C, - "commandName": "TestListNestedStructListArgumentRequest", - "args": { - "a": "int", - "b": "bool", - "c": "", - "d": "", - "e": "int", - "f": "bytes", - "g": "int", - }, + "commandId": 0x0000000C, + "commandName": "TestListNestedStructListArgumentRequest", + "args": { + "a": "int", + "b": "bool", + "c": "", + "d": "", + "e": "int", + "f": "bytes", + "g": "int", }, + }, 0x0000000D: { - "commandId": 0x0000000D, - "commandName": "TestListInt8UReverseRequest", - "args": { - "arg1": "int", - }, + "commandId": 0x0000000D, + "commandName": "TestListInt8UReverseRequest", + "args": { + "arg1": "int", }, + }, 0x0000000E: { - "commandId": 0x0000000E, - "commandName": "TestEnumsRequest", - "args": { - "arg1": "int", - "arg2": "int", - }, + "commandId": 0x0000000E, + "commandName": "TestEnumsRequest", + "args": { + "arg1": "int", + "arg2": "int", }, + }, 0x0000000F: { - "commandId": 0x0000000F, - "commandName": "TestNullableOptionalRequest", - "args": { - "arg1": "int", - }, + "commandId": 0x0000000F, + "commandName": "TestNullableOptionalRequest", + "args": { + "arg1": "int", }, + }, 0x00000011: { - "commandId": 0x00000011, - "commandName": "SimpleStructEchoRequest", - "args": { - "a": "int", - "b": "bool", - "c": "int", - "d": "bytes", - "e": "str", - "f": "int", - "g": "", - "h": "", - }, + "commandId": 0x00000011, + "commandName": "SimpleStructEchoRequest", + "args": { + "a": "int", + "b": "bool", + "c": "int", + "d": "bytes", + "e": "str", + "f": "int", + "g": "", + "h": "", }, + }, 0x00000012: { - "commandId": 0x00000012, - "commandName": "TimedInvokeRequest", - "args": { - }, + "commandId": 0x00000012, + "commandName": "TimedInvokeRequest", + "args": { }, + }, 0x00000013: { - "commandId": 0x00000013, - "commandName": "TestSimpleOptionalArgumentRequest", - "args": { - "arg1": "bool", - }, + "commandId": 0x00000013, + "commandName": "TestSimpleOptionalArgumentRequest", + "args": { + "arg1": "bool", }, + }, 0x00000014: { - "commandId": 0x00000014, - "commandName": "TestEmitTestEventRequest", - "args": { - "arg1": "int", - "arg2": "int", - "arg3": "bool", - }, - }, - }, - "attributes": { - 0x00000000: { - "attributeName": "Boolean", - "attributeId": 0x00000000, - "type": "bool", - "reportable": True, - "writable": True, - }, - 0x00000001: { - "attributeName": "Bitmap8", - "attributeId": 0x00000001, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000002: { - "attributeName": "Bitmap16", - "attributeId": 0x00000002, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000003: { - "attributeName": "Bitmap32", - "attributeId": 0x00000003, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000004: { - "attributeName": "Bitmap64", - "attributeId": 0x00000004, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000005: { - "attributeName": "Int8u", - "attributeId": 0x00000005, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000006: { - "attributeName": "Int16u", - "attributeId": 0x00000006, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000007: { - "attributeName": "Int24u", - "attributeId": 0x00000007, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000008: { - "attributeName": "Int32u", - "attributeId": 0x00000008, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000009: { - "attributeName": "Int40u", - "attributeId": 0x00000009, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x0000000A: { - "attributeName": "Int48u", - "attributeId": 0x0000000A, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x0000000B: { - "attributeName": "Int56u", - "attributeId": 0x0000000B, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x0000000C: { - "attributeName": "Int64u", - "attributeId": 0x0000000C, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x0000000D: { - "attributeName": "Int8s", - "attributeId": 0x0000000D, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x0000000E: { - "attributeName": "Int16s", - "attributeId": 0x0000000E, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x0000000F: { - "attributeName": "Int24s", - "attributeId": 0x0000000F, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000010: { - "attributeName": "Int32s", - "attributeId": 0x00000010, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000011: { - "attributeName": "Int40s", - "attributeId": 0x00000011, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000012: { - "attributeName": "Int48s", - "attributeId": 0x00000012, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000013: { - "attributeName": "Int56s", - "attributeId": 0x00000013, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000014: { - "attributeName": "Int64s", - "attributeId": 0x00000014, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000015: { - "attributeName": "Enum8", - "attributeId": 0x00000015, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000016: { - "attributeName": "Enum16", - "attributeId": 0x00000016, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000017: { - "attributeName": "FloatSingle", - "attributeId": 0x00000017, - "type": "", - "reportable": True, - "writable": True, - }, - 0x00000018: { - "attributeName": "FloatDouble", - "attributeId": 0x00000018, - "type": "", - "reportable": True, - "writable": True, - }, - 0x00000019: { - "attributeName": "OctetString", - "attributeId": 0x00000019, - "type": "bytes", - "reportable": True, - "writable": True, - }, - 0x0000001A: { - "attributeName": "ListInt8u", - "attributeId": 0x0000001A, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x0000001B: { - "attributeName": "ListOctetString", - "attributeId": 0x0000001B, - "type": "bytes", - "reportable": True, - "writable": True, - }, - 0x0000001C: { - "attributeName": "ListStructOctetString", - "attributeId": 0x0000001C, - "type": "", - "reportable": True, - "writable": True, - }, - 0x0000001D: { - "attributeName": "LongOctetString", - "attributeId": 0x0000001D, - "type": "bytes", - "reportable": True, - "writable": True, - }, - 0x0000001E: { - "attributeName": "CharString", - "attributeId": 0x0000001E, - "type": "str", - "reportable": True, - "writable": True, - }, - 0x0000001F: { - "attributeName": "LongCharString", - "attributeId": 0x0000001F, - "type": "str", - "reportable": True, - "writable": True, - }, - 0x00000020: { - "attributeName": "EpochUs", - "attributeId": 0x00000020, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000021: { - "attributeName": "EpochS", - "attributeId": 0x00000021, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000022: { - "attributeName": "VendorId", - "attributeId": 0x00000022, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000023: { - "attributeName": "ListNullablesAndOptionalsStruct", - "attributeId": 0x00000023, - "type": "", - "reportable": True, - "writable": True, - }, - 0x00000024: { - "attributeName": "EnumAttr", - "attributeId": 0x00000024, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000025: { - "attributeName": "StructAttr", - "attributeId": 0x00000025, - "type": "", - "reportable": True, - "writable": True, - }, - 0x00000026: { - "attributeName": "RangeRestrictedInt8u", - "attributeId": 0x00000026, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000027: { - "attributeName": "RangeRestrictedInt8s", - "attributeId": 0x00000027, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000028: { - "attributeName": "RangeRestrictedInt16u", - "attributeId": 0x00000028, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00000029: { - "attributeName": "RangeRestrictedInt16s", - "attributeId": 0x00000029, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x0000002A: { - "attributeName": "ListLongOctetString", - "attributeId": 0x0000002A, - "type": "bytes", - "reportable": True, - "writable": True, - }, - 0x0000002B: { - "attributeName": "ListFabricScoped", - "attributeId": 0x0000002B, - "type": "", - "reportable": True, - "writable": True, - }, - 0x00000030: { - "attributeName": "TimedWriteBoolean", - "attributeId": 0x00000030, - "type": "bool", - "reportable": True, - "writable": True, - }, - 0x00000031: { - "attributeName": "GeneralErrorBoolean", - "attributeId": 0x00000031, - "type": "bool", - "reportable": True, - "writable": True, - }, - 0x00000032: { - "attributeName": "ClusterErrorBoolean", - "attributeId": 0x00000032, - "type": "bool", - "reportable": True, - "writable": True, - }, - 0x000000FF: { - "attributeName": "Unsupported", - "attributeId": 0x000000FF, - "type": "bool", - "reportable": True, - "writable": True, - }, - 0x00004000: { - "attributeName": "NullableBoolean", - "attributeId": 0x00004000, - "type": "bool", - "reportable": True, - "writable": True, - }, - 0x00004001: { - "attributeName": "NullableBitmap8", - "attributeId": 0x00004001, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00004002: { - "attributeName": "NullableBitmap16", - "attributeId": 0x00004002, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00004003: { - "attributeName": "NullableBitmap32", - "attributeId": 0x00004003, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00004004: { - "attributeName": "NullableBitmap64", - "attributeId": 0x00004004, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00004005: { - "attributeName": "NullableInt8u", - "attributeId": 0x00004005, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00004006: { - "attributeName": "NullableInt16u", - "attributeId": 0x00004006, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00004007: { - "attributeName": "NullableInt24u", - "attributeId": 0x00004007, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00004008: { - "attributeName": "NullableInt32u", - "attributeId": 0x00004008, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00004009: { - "attributeName": "NullableInt40u", - "attributeId": 0x00004009, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x0000400A: { - "attributeName": "NullableInt48u", - "attributeId": 0x0000400A, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x0000400B: { - "attributeName": "NullableInt56u", - "attributeId": 0x0000400B, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x0000400C: { - "attributeName": "NullableInt64u", - "attributeId": 0x0000400C, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x0000400D: { - "attributeName": "NullableInt8s", - "attributeId": 0x0000400D, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x0000400E: { - "attributeName": "NullableInt16s", - "attributeId": 0x0000400E, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x0000400F: { - "attributeName": "NullableInt24s", - "attributeId": 0x0000400F, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00004010: { - "attributeName": "NullableInt32s", - "attributeId": 0x00004010, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00004011: { - "attributeName": "NullableInt40s", - "attributeId": 0x00004011, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00004012: { - "attributeName": "NullableInt48s", - "attributeId": 0x00004012, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00004013: { - "attributeName": "NullableInt56s", - "attributeId": 0x00004013, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00004014: { - "attributeName": "NullableInt64s", - "attributeId": 0x00004014, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00004015: { - "attributeName": "NullableEnum8", - "attributeId": 0x00004015, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00004016: { - "attributeName": "NullableEnum16", - "attributeId": 0x00004016, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00004017: { - "attributeName": "NullableFloatSingle", - "attributeId": 0x00004017, - "type": "", - "reportable": True, - "writable": True, - }, - 0x00004018: { - "attributeName": "NullableFloatDouble", - "attributeId": 0x00004018, - "type": "", - "reportable": True, - "writable": True, - }, - 0x00004019: { - "attributeName": "NullableOctetString", - "attributeId": 0x00004019, - "type": "bytes", - "reportable": True, - "writable": True, - }, - 0x0000401E: { - "attributeName": "NullableCharString", - "attributeId": 0x0000401E, - "type": "str", - "reportable": True, - "writable": True, - }, - 0x00004024: { - "attributeName": "NullableEnumAttr", - "attributeId": 0x00004024, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00004025: { - "attributeName": "NullableStruct", - "attributeId": 0x00004025, - "type": "", - "reportable": True, - "writable": True, - }, - 0x00004026: { - "attributeName": "NullableRangeRestrictedInt8u", - "attributeId": 0x00004026, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00004027: { - "attributeName": "NullableRangeRestrictedInt8s", - "attributeId": 0x00004027, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00004028: { - "attributeName": "NullableRangeRestrictedInt16u", - "attributeId": 0x00004028, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x00004029: { - "attributeName": "NullableRangeRestrictedInt16s", - "attributeId": 0x00004029, - "type": "int", - "reportable": True, - "writable": True, - }, - 0x0000FFF8: { - "attributeName": "GeneratedCommandList", - "attributeId": 0x0000FFF8, - "type": "int", - "reportable": True, - }, - 0x0000FFF9: { - "attributeName": "AcceptedCommandList", - "attributeId": 0x0000FFF9, - "type": "int", - "reportable": True, - }, - 0x0000FFFA: { - "attributeName": "EventList", - "attributeId": 0x0000FFFA, - "type": "int", - "reportable": True, - }, - 0x0000FFFB: { - "attributeName": "AttributeList", - "attributeId": 0x0000FFFB, - "type": "int", - "reportable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - "reportable": True, + "commandId": 0x00000014, + "commandName": "TestEmitTestEventRequest", + "args": { + "arg1": "int", + "arg2": "int", + "arg3": "bool", }, }, + }, + "attributes": { + 0x00000000: { + "attributeName": "Boolean", + "attributeId": 0x00000000, + "type": "bool", + "reportable": True, + "writable": True, + }, + 0x00000001: { + "attributeName": "Bitmap8", + "attributeId": 0x00000001, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000002: { + "attributeName": "Bitmap16", + "attributeId": 0x00000002, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000003: { + "attributeName": "Bitmap32", + "attributeId": 0x00000003, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000004: { + "attributeName": "Bitmap64", + "attributeId": 0x00000004, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000005: { + "attributeName": "Int8u", + "attributeId": 0x00000005, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000006: { + "attributeName": "Int16u", + "attributeId": 0x00000006, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000007: { + "attributeName": "Int24u", + "attributeId": 0x00000007, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000008: { + "attributeName": "Int32u", + "attributeId": 0x00000008, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000009: { + "attributeName": "Int40u", + "attributeId": 0x00000009, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x0000000A: { + "attributeName": "Int48u", + "attributeId": 0x0000000A, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x0000000B: { + "attributeName": "Int56u", + "attributeId": 0x0000000B, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x0000000C: { + "attributeName": "Int64u", + "attributeId": 0x0000000C, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x0000000D: { + "attributeName": "Int8s", + "attributeId": 0x0000000D, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x0000000E: { + "attributeName": "Int16s", + "attributeId": 0x0000000E, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x0000000F: { + "attributeName": "Int24s", + "attributeId": 0x0000000F, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000010: { + "attributeName": "Int32s", + "attributeId": 0x00000010, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000011: { + "attributeName": "Int40s", + "attributeId": 0x00000011, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000012: { + "attributeName": "Int48s", + "attributeId": 0x00000012, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000013: { + "attributeName": "Int56s", + "attributeId": 0x00000013, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000014: { + "attributeName": "Int64s", + "attributeId": 0x00000014, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000015: { + "attributeName": "Enum8", + "attributeId": 0x00000015, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000016: { + "attributeName": "Enum16", + "attributeId": 0x00000016, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000017: { + "attributeName": "FloatSingle", + "attributeId": 0x00000017, + "type": "", + "reportable": True, + "writable": True, + }, + 0x00000018: { + "attributeName": "FloatDouble", + "attributeId": 0x00000018, + "type": "", + "reportable": True, + "writable": True, + }, + 0x00000019: { + "attributeName": "OctetString", + "attributeId": 0x00000019, + "type": "bytes", + "reportable": True, + "writable": True, + }, + 0x0000001A: { + "attributeName": "ListInt8u", + "attributeId": 0x0000001A, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x0000001B: { + "attributeName": "ListOctetString", + "attributeId": 0x0000001B, + "type": "bytes", + "reportable": True, + "writable": True, + }, + 0x0000001C: { + "attributeName": "ListStructOctetString", + "attributeId": 0x0000001C, + "type": "", + "reportable": True, + "writable": True, + }, + 0x0000001D: { + "attributeName": "LongOctetString", + "attributeId": 0x0000001D, + "type": "bytes", + "reportable": True, + "writable": True, + }, + 0x0000001E: { + "attributeName": "CharString", + "attributeId": 0x0000001E, + "type": "str", + "reportable": True, + "writable": True, + }, + 0x0000001F: { + "attributeName": "LongCharString", + "attributeId": 0x0000001F, + "type": "str", + "reportable": True, + "writable": True, + }, + 0x00000020: { + "attributeName": "EpochUs", + "attributeId": 0x00000020, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000021: { + "attributeName": "EpochS", + "attributeId": 0x00000021, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000022: { + "attributeName": "VendorId", + "attributeId": 0x00000022, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000023: { + "attributeName": "ListNullablesAndOptionalsStruct", + "attributeId": 0x00000023, + "type": "", + "reportable": True, + "writable": True, + }, + 0x00000024: { + "attributeName": "EnumAttr", + "attributeId": 0x00000024, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000025: { + "attributeName": "StructAttr", + "attributeId": 0x00000025, + "type": "", + "reportable": True, + "writable": True, + }, + 0x00000026: { + "attributeName": "RangeRestrictedInt8u", + "attributeId": 0x00000026, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000027: { + "attributeName": "RangeRestrictedInt8s", + "attributeId": 0x00000027, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000028: { + "attributeName": "RangeRestrictedInt16u", + "attributeId": 0x00000028, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00000029: { + "attributeName": "RangeRestrictedInt16s", + "attributeId": 0x00000029, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x0000002A: { + "attributeName": "ListLongOctetString", + "attributeId": 0x0000002A, + "type": "bytes", + "reportable": True, + "writable": True, + }, + 0x0000002B: { + "attributeName": "ListFabricScoped", + "attributeId": 0x0000002B, + "type": "", + "reportable": True, + "writable": True, + }, + 0x00000030: { + "attributeName": "TimedWriteBoolean", + "attributeId": 0x00000030, + "type": "bool", + "reportable": True, + "writable": True, + }, + 0x00000031: { + "attributeName": "GeneralErrorBoolean", + "attributeId": 0x00000031, + "type": "bool", + "reportable": True, + "writable": True, + }, + 0x00000032: { + "attributeName": "ClusterErrorBoolean", + "attributeId": 0x00000032, + "type": "bool", + "reportable": True, + "writable": True, + }, + 0x000000FF: { + "attributeName": "Unsupported", + "attributeId": 0x000000FF, + "type": "bool", + "reportable": True, + "writable": True, + }, + 0x00004000: { + "attributeName": "NullableBoolean", + "attributeId": 0x00004000, + "type": "bool", + "reportable": True, + "writable": True, + }, + 0x00004001: { + "attributeName": "NullableBitmap8", + "attributeId": 0x00004001, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00004002: { + "attributeName": "NullableBitmap16", + "attributeId": 0x00004002, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00004003: { + "attributeName": "NullableBitmap32", + "attributeId": 0x00004003, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00004004: { + "attributeName": "NullableBitmap64", + "attributeId": 0x00004004, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00004005: { + "attributeName": "NullableInt8u", + "attributeId": 0x00004005, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00004006: { + "attributeName": "NullableInt16u", + "attributeId": 0x00004006, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00004007: { + "attributeName": "NullableInt24u", + "attributeId": 0x00004007, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00004008: { + "attributeName": "NullableInt32u", + "attributeId": 0x00004008, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00004009: { + "attributeName": "NullableInt40u", + "attributeId": 0x00004009, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x0000400A: { + "attributeName": "NullableInt48u", + "attributeId": 0x0000400A, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x0000400B: { + "attributeName": "NullableInt56u", + "attributeId": 0x0000400B, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x0000400C: { + "attributeName": "NullableInt64u", + "attributeId": 0x0000400C, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x0000400D: { + "attributeName": "NullableInt8s", + "attributeId": 0x0000400D, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x0000400E: { + "attributeName": "NullableInt16s", + "attributeId": 0x0000400E, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x0000400F: { + "attributeName": "NullableInt24s", + "attributeId": 0x0000400F, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00004010: { + "attributeName": "NullableInt32s", + "attributeId": 0x00004010, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00004011: { + "attributeName": "NullableInt40s", + "attributeId": 0x00004011, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00004012: { + "attributeName": "NullableInt48s", + "attributeId": 0x00004012, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00004013: { + "attributeName": "NullableInt56s", + "attributeId": 0x00004013, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00004014: { + "attributeName": "NullableInt64s", + "attributeId": 0x00004014, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00004015: { + "attributeName": "NullableEnum8", + "attributeId": 0x00004015, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00004016: { + "attributeName": "NullableEnum16", + "attributeId": 0x00004016, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00004017: { + "attributeName": "NullableFloatSingle", + "attributeId": 0x00004017, + "type": "", + "reportable": True, + "writable": True, + }, + 0x00004018: { + "attributeName": "NullableFloatDouble", + "attributeId": 0x00004018, + "type": "", + "reportable": True, + "writable": True, + }, + 0x00004019: { + "attributeName": "NullableOctetString", + "attributeId": 0x00004019, + "type": "bytes", + "reportable": True, + "writable": True, + }, + 0x0000401E: { + "attributeName": "NullableCharString", + "attributeId": 0x0000401E, + "type": "str", + "reportable": True, + "writable": True, + }, + 0x00004024: { + "attributeName": "NullableEnumAttr", + "attributeId": 0x00004024, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00004025: { + "attributeName": "NullableStruct", + "attributeId": 0x00004025, + "type": "", + "reportable": True, + "writable": True, + }, + 0x00004026: { + "attributeName": "NullableRangeRestrictedInt8u", + "attributeId": 0x00004026, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00004027: { + "attributeName": "NullableRangeRestrictedInt8s", + "attributeId": 0x00004027, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00004028: { + "attributeName": "NullableRangeRestrictedInt16u", + "attributeId": 0x00004028, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x00004029: { + "attributeName": "NullableRangeRestrictedInt16s", + "attributeId": 0x00004029, + "type": "int", + "reportable": True, + "writable": True, + }, + 0x0000FFF8: { + "attributeName": "GeneratedCommandList", + "attributeId": 0x0000FFF8, + "type": "int", + "reportable": True, + }, + 0x0000FFF9: { + "attributeName": "AcceptedCommandList", + "attributeId": 0x0000FFF9, + "type": "int", + "reportable": True, + }, + 0x0000FFFA: { + "attributeName": "EventList", + "attributeId": 0x0000FFFA, + "type": "int", + "reportable": True, + }, + 0x0000FFFB: { + "attributeName": "AttributeList", + "attributeId": 0x0000FFFB, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + "reportable": True, + }, + }, } _CLUSTER_ID_DICT = { - 0x00000003: _IDENTIFY_CLUSTER_INFO, - 0x00000004: _GROUPS_CLUSTER_INFO, - 0x00000005: _SCENES_CLUSTER_INFO, - 0x00000006: _ON_OFF_CLUSTER_INFO, - 0x00000007: _ON_OFF_SWITCH_CONFIGURATION_CLUSTER_INFO, - 0x00000008: _LEVEL_CONTROL_CLUSTER_INFO, - 0x0000000F: _BINARY_INPUT_BASIC_CLUSTER_INFO, - 0x0000001D: _DESCRIPTOR_CLUSTER_INFO, - 0x0000001E: _BINDING_CLUSTER_INFO, - 0x0000001F: _ACCESS_CONTROL_CLUSTER_INFO, - 0x00000025: _ACTIONS_CLUSTER_INFO, - 0x00000028: _BASIC_INFORMATION_CLUSTER_INFO, - 0x00000029: _OTA_SOFTWARE_UPDATE_PROVIDER_CLUSTER_INFO, - 0x0000002A: _OTA_SOFTWARE_UPDATE_REQUESTOR_CLUSTER_INFO, - 0x0000002B: _LOCALIZATION_CONFIGURATION_CLUSTER_INFO, - 0x0000002C: _TIME_FORMAT_LOCALIZATION_CLUSTER_INFO, - 0x0000002D: _UNIT_LOCALIZATION_CLUSTER_INFO, - 0x0000002E: _POWER_SOURCE_CONFIGURATION_CLUSTER_INFO, - 0x0000002F: _POWER_SOURCE_CLUSTER_INFO, - 0x00000030: _GENERAL_COMMISSIONING_CLUSTER_INFO, - 0x00000031: _NETWORK_COMMISSIONING_CLUSTER_INFO, - 0x00000032: _DIAGNOSTIC_LOGS_CLUSTER_INFO, - 0x00000033: _GENERAL_DIAGNOSTICS_CLUSTER_INFO, - 0x00000034: _SOFTWARE_DIAGNOSTICS_CLUSTER_INFO, - 0x00000035: _THREAD_NETWORK_DIAGNOSTICS_CLUSTER_INFO, - 0x00000036: _WI_FI_NETWORK_DIAGNOSTICS_CLUSTER_INFO, - 0x00000037: _ETHERNET_NETWORK_DIAGNOSTICS_CLUSTER_INFO, - 0x00000039: _BRIDGED_DEVICE_BASIC_INFORMATION_CLUSTER_INFO, - 0x0000003B: _SWITCH_CLUSTER_INFO, - 0x0000003C: _ADMINISTRATOR_COMMISSIONING_CLUSTER_INFO, - 0x0000003E: _OPERATIONAL_CREDENTIALS_CLUSTER_INFO, - 0x0000003F: _GROUP_KEY_MANAGEMENT_CLUSTER_INFO, - 0x00000040: _FIXED_LABEL_CLUSTER_INFO, - 0x00000041: _USER_LABEL_CLUSTER_INFO, - 0x00000045: _BOOLEAN_STATE_CLUSTER_INFO, - 0x00000050: _MODE_SELECT_CLUSTER_INFO, - 0x00000101: _DOOR_LOCK_CLUSTER_INFO, - 0x00000102: _WINDOW_COVERING_CLUSTER_INFO, - 0x00000103: _BARRIER_CONTROL_CLUSTER_INFO, - 0x00000200: _PUMP_CONFIGURATION_AND_CONTROL_CLUSTER_INFO, - 0x00000201: _THERMOSTAT_CLUSTER_INFO, - 0x00000202: _FAN_CONTROL_CLUSTER_INFO, - 0x00000204: _THERMOSTAT_USER_INTERFACE_CONFIGURATION_CLUSTER_INFO, - 0x00000300: _COLOR_CONTROL_CLUSTER_INFO, - 0x00000301: _BALLAST_CONFIGURATION_CLUSTER_INFO, - 0x00000400: _ILLUMINANCE_MEASUREMENT_CLUSTER_INFO, - 0x00000402: _TEMPERATURE_MEASUREMENT_CLUSTER_INFO, - 0x00000403: _PRESSURE_MEASUREMENT_CLUSTER_INFO, - 0x00000404: _FLOW_MEASUREMENT_CLUSTER_INFO, - 0x00000405: _RELATIVE_HUMIDITY_MEASUREMENT_CLUSTER_INFO, - 0x00000406: _OCCUPANCY_SENSING_CLUSTER_INFO, - 0x00000503: _WAKE_ON_LAN_CLUSTER_INFO, - 0x00000504: _CHANNEL_CLUSTER_INFO, - 0x00000505: _TARGET_NAVIGATOR_CLUSTER_INFO, - 0x00000506: _MEDIA_PLAYBACK_CLUSTER_INFO, - 0x00000507: _MEDIA_INPUT_CLUSTER_INFO, - 0x00000508: _LOW_POWER_CLUSTER_INFO, - 0x00000509: _KEYPAD_INPUT_CLUSTER_INFO, - 0x0000050A: _CONTENT_LAUNCHER_CLUSTER_INFO, - 0x0000050B: _AUDIO_OUTPUT_CLUSTER_INFO, - 0x0000050C: _APPLICATION_LAUNCHER_CLUSTER_INFO, - 0x0000050D: _APPLICATION_BASIC_CLUSTER_INFO, - 0x0000050E: _ACCOUNT_LOGIN_CLUSTER_INFO, - 0x00000B04: _ELECTRICAL_MEASUREMENT_CLUSTER_INFO, - 0x00001046: _CLIENT_MONITORING_CLUSTER_INFO, - 0xFFF1FC05: _UNIT_TESTING_CLUSTER_INFO, + 0x00000003: _IDENTIFY_CLUSTER_INFO, + 0x00000004: _GROUPS_CLUSTER_INFO, + 0x00000005: _SCENES_CLUSTER_INFO, + 0x00000006: _ON_OFF_CLUSTER_INFO, + 0x00000007: _ON_OFF_SWITCH_CONFIGURATION_CLUSTER_INFO, + 0x00000008: _LEVEL_CONTROL_CLUSTER_INFO, + 0x0000000F: _BINARY_INPUT_BASIC_CLUSTER_INFO, + 0x0000001D: _DESCRIPTOR_CLUSTER_INFO, + 0x0000001E: _BINDING_CLUSTER_INFO, + 0x0000001F: _ACCESS_CONTROL_CLUSTER_INFO, + 0x00000025: _ACTIONS_CLUSTER_INFO, + 0x00000028: _BASIC_INFORMATION_CLUSTER_INFO, + 0x00000029: _OTA_SOFTWARE_UPDATE_PROVIDER_CLUSTER_INFO, + 0x0000002A: _OTA_SOFTWARE_UPDATE_REQUESTOR_CLUSTER_INFO, + 0x0000002B: _LOCALIZATION_CONFIGURATION_CLUSTER_INFO, + 0x0000002C: _TIME_FORMAT_LOCALIZATION_CLUSTER_INFO, + 0x0000002D: _UNIT_LOCALIZATION_CLUSTER_INFO, + 0x0000002E: _POWER_SOURCE_CONFIGURATION_CLUSTER_INFO, + 0x0000002F: _POWER_SOURCE_CLUSTER_INFO, + 0x00000030: _GENERAL_COMMISSIONING_CLUSTER_INFO, + 0x00000031: _NETWORK_COMMISSIONING_CLUSTER_INFO, + 0x00000032: _DIAGNOSTIC_LOGS_CLUSTER_INFO, + 0x00000033: _GENERAL_DIAGNOSTICS_CLUSTER_INFO, + 0x00000034: _SOFTWARE_DIAGNOSTICS_CLUSTER_INFO, + 0x00000035: _THREAD_NETWORK_DIAGNOSTICS_CLUSTER_INFO, + 0x00000036: _WI_FI_NETWORK_DIAGNOSTICS_CLUSTER_INFO, + 0x00000037: _ETHERNET_NETWORK_DIAGNOSTICS_CLUSTER_INFO, + 0x00000039: _BRIDGED_DEVICE_BASIC_INFORMATION_CLUSTER_INFO, + 0x0000003B: _SWITCH_CLUSTER_INFO, + 0x0000003C: _ADMINISTRATOR_COMMISSIONING_CLUSTER_INFO, + 0x0000003E: _OPERATIONAL_CREDENTIALS_CLUSTER_INFO, + 0x0000003F: _GROUP_KEY_MANAGEMENT_CLUSTER_INFO, + 0x00000040: _FIXED_LABEL_CLUSTER_INFO, + 0x00000041: _USER_LABEL_CLUSTER_INFO, + 0x00000045: _BOOLEAN_STATE_CLUSTER_INFO, + 0x00000050: _MODE_SELECT_CLUSTER_INFO, + 0x00000101: _DOOR_LOCK_CLUSTER_INFO, + 0x00000102: _WINDOW_COVERING_CLUSTER_INFO, + 0x00000103: _BARRIER_CONTROL_CLUSTER_INFO, + 0x00000200: _PUMP_CONFIGURATION_AND_CONTROL_CLUSTER_INFO, + 0x00000201: _THERMOSTAT_CLUSTER_INFO, + 0x00000202: _FAN_CONTROL_CLUSTER_INFO, + 0x00000204: _THERMOSTAT_USER_INTERFACE_CONFIGURATION_CLUSTER_INFO, + 0x00000300: _COLOR_CONTROL_CLUSTER_INFO, + 0x00000301: _BALLAST_CONFIGURATION_CLUSTER_INFO, + 0x00000400: _ILLUMINANCE_MEASUREMENT_CLUSTER_INFO, + 0x00000402: _TEMPERATURE_MEASUREMENT_CLUSTER_INFO, + 0x00000403: _PRESSURE_MEASUREMENT_CLUSTER_INFO, + 0x00000404: _FLOW_MEASUREMENT_CLUSTER_INFO, + 0x00000405: _RELATIVE_HUMIDITY_MEASUREMENT_CLUSTER_INFO, + 0x00000406: _OCCUPANCY_SENSING_CLUSTER_INFO, + 0x00000503: _WAKE_ON_LAN_CLUSTER_INFO, + 0x00000504: _CHANNEL_CLUSTER_INFO, + 0x00000505: _TARGET_NAVIGATOR_CLUSTER_INFO, + 0x00000506: _MEDIA_PLAYBACK_CLUSTER_INFO, + 0x00000507: _MEDIA_INPUT_CLUSTER_INFO, + 0x00000508: _LOW_POWER_CLUSTER_INFO, + 0x00000509: _KEYPAD_INPUT_CLUSTER_INFO, + 0x0000050A: _CONTENT_LAUNCHER_CLUSTER_INFO, + 0x0000050B: _AUDIO_OUTPUT_CLUSTER_INFO, + 0x0000050C: _APPLICATION_LAUNCHER_CLUSTER_INFO, + 0x0000050D: _APPLICATION_BASIC_CLUSTER_INFO, + 0x0000050E: _ACCOUNT_LOGIN_CLUSTER_INFO, + 0x00000B04: _ELECTRICAL_MEASUREMENT_CLUSTER_INFO, + 0x00001046: _CLIENT_MONITORING_CLUSTER_INFO, + 0xFFF1FC05: _UNIT_TESTING_CLUSTER_INFO, } _CLUSTER_NAME_DICT = { @@ -8217,21 +8220,21 @@ def __init__(self, chipstack): def GetClusterInfoById(self, cluster_id: int): data = ChipClusters._CLUSTER_ID_DICT.get(cluster_id, None) if not data: - raise UnknownCluster(cluster_id) + raise exceptions.UnknownCluster(cluster_id) return data def ListClusterInfo(self): return ChipClusters._CLUSTER_NAME_DICT def ListClusterCommands(self): - return { clusterName: { + return {clusterName: { command["commandName"]: command["args"] for command in clusterInfo["commands"].values() - } for clusterName, clusterInfo in ChipClusters._CLUSTER_NAME_DICT.items() } + } for clusterName, clusterInfo in ChipClusters._CLUSTER_NAME_DICT.items()} def ListClusterAttributes(self): - return { clusterName: { + return {clusterName: { attribute["attributeName"]: attribute for attribute in clusterInfo["attributes"].values() - } for clusterName, clusterInfo in ChipClusters._CLUSTER_NAME_DICT.items() } + } for clusterName, clusterInfo in ChipClusters._CLUSTER_NAME_DICT.items()} # Init native functions diff --git a/src/controller/python/chip/clusters/Objects.py b/src/controller/python/chip/clusters/Objects.py index 885154455c2e89..4ae7e97ecb9fc7 100644 --- a/src/controller/python/chip/clusters/Objects.py +++ b/src/controller/python/chip/clusters/Objects.py @@ -44,7 +44,7 @@ class Identify(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="identifyTime", Tag=0x00000000, Type=uint), ClusterObjectFieldDescriptor(Label="identifyType", Tag=0x00000001, Type=uint), ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), @@ -99,9 +99,6 @@ class IdentifyIdentifyType(MatterIntEnum): # enum value. This specific should never be transmitted. kUnknownEnumValue = 6, - - - class Commands: @dataclass class Identify(ClusterCommand): @@ -113,8 +110,8 @@ class Identify(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="identifyTime", Tag=0, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="identifyTime", Tag=0, Type=uint), ]) identifyTime: 'uint' = 0 @@ -129,15 +126,14 @@ class TriggerEffect(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="effectIdentifier", Tag=0, Type=Identify.Enums.IdentifyEffectIdentifier), - ClusterObjectFieldDescriptor(Label="effectVariant", Tag=1, Type=Identify.Enums.IdentifyEffectVariant), + Fields=[ + ClusterObjectFieldDescriptor(Label="effectIdentifier", Tag=0, Type=Identify.Enums.IdentifyEffectIdentifier), + ClusterObjectFieldDescriptor(Label="effectVariant", Tag=1, Type=Identify.Enums.IdentifyEffectVariant), ]) effectIdentifier: 'Identify.Enums.IdentifyEffectIdentifier' = 0 effectVariant: 'Identify.Enums.IdentifyEffectVariant' = 0 - class Attributes: @dataclass class IdentifyTime(ClusterAttributeDescriptor): @@ -268,7 +264,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - @dataclass class Groups(Cluster): id: typing.ClassVar[int] = 0x0004 @@ -276,7 +271,7 @@ class Groups(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="nameSupport", Tag=0x00000000, Type=uint), ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), @@ -294,13 +289,10 @@ def descriptor(cls) -> ClusterObjectDescriptor: featureMap: 'uint' = None clusterRevision: 'uint' = None - class Bitmaps: class GroupClusterFeature(IntFlag): kGroupNames = 0x1 - - class Commands: @dataclass class AddGroup(ClusterCommand): @@ -312,9 +304,9 @@ class AddGroup(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="groupID", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="groupName", Tag=1, Type=str), + Fields=[ + ClusterObjectFieldDescriptor(Label="groupID", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="groupName", Tag=1, Type=str), ]) groupID: 'uint' = 0 @@ -330,9 +322,9 @@ class AddGroupResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="groupID", Tag=1, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="groupID", Tag=1, Type=uint), ]) status: 'uint' = 0 @@ -348,8 +340,8 @@ class ViewGroup(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="groupID", Tag=0, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="groupID", Tag=0, Type=uint), ]) groupID: 'uint' = 0 @@ -364,10 +356,10 @@ class ViewGroupResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="groupID", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="groupName", Tag=2, Type=str), + Fields=[ + ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="groupID", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="groupName", Tag=2, Type=str), ]) status: 'uint' = 0 @@ -384,8 +376,8 @@ class GetGroupMembership(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="groupList", Tag=0, Type=typing.List[uint]), + Fields=[ + ClusterObjectFieldDescriptor(Label="groupList", Tag=0, Type=typing.List[uint]), ]) groupList: 'typing.List[uint]' = field(default_factory=lambda: []) @@ -400,9 +392,9 @@ class GetGroupMembershipResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="capacity", Tag=0, Type=typing.Union[Nullable, uint]), - ClusterObjectFieldDescriptor(Label="groupList", Tag=1, Type=typing.List[uint]), + Fields=[ + ClusterObjectFieldDescriptor(Label="capacity", Tag=0, Type=typing.Union[Nullable, uint]), + ClusterObjectFieldDescriptor(Label="groupList", Tag=1, Type=typing.List[uint]), ]) capacity: 'typing.Union[Nullable, uint]' = NullValue @@ -418,8 +410,8 @@ class RemoveGroup(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="groupID", Tag=0, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="groupID", Tag=0, Type=uint), ]) groupID: 'uint' = 0 @@ -434,9 +426,9 @@ class RemoveGroupResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="groupID", Tag=1, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="groupID", Tag=1, Type=uint), ]) status: 'uint' = 0 @@ -452,10 +444,9 @@ class RemoveAllGroups(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ]) - @dataclass class AddGroupIfIdentifying(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0004 @@ -466,15 +457,14 @@ class AddGroupIfIdentifying(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="groupID", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="groupName", Tag=1, Type=str), + Fields=[ + ClusterObjectFieldDescriptor(Label="groupID", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="groupName", Tag=1, Type=str), ]) groupID: 'uint' = 0 groupName: 'str' = "" - class Attributes: @dataclass class NameSupport(ClusterAttributeDescriptor): @@ -589,7 +579,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - @dataclass class Scenes(Cluster): id: typing.ClassVar[int] = 0x0005 @@ -597,7 +586,7 @@ class Scenes(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="sceneCount", Tag=0x00000000, Type=uint), ClusterObjectFieldDescriptor(Label="currentScene", Tag=0x00000001, Type=uint), ClusterObjectFieldDescriptor(Label="currentGroup", Tag=0x00000002, Type=uint), @@ -625,7 +614,6 @@ def descriptor(cls) -> ClusterObjectDescriptor: featureMap: 'uint' = None clusterRevision: 'uint' = None - class Bitmaps: class SceneFeatures(IntFlag): kSceneNames = 0x1 @@ -633,16 +621,15 @@ class SceneFeatures(IntFlag): class ScenesCopyMode(IntFlag): kCopyAllScenes = 0x1 - class Structs: @dataclass class AttributeValuePair(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="attributeID", Tag=0, Type=typing.Optional[uint]), - ClusterObjectFieldDescriptor(Label="attributeValue", Tag=1, Type=typing.List[uint]), + Fields=[ + ClusterObjectFieldDescriptor(Label="attributeID", Tag=0, Type=typing.Optional[uint]), + ClusterObjectFieldDescriptor(Label="attributeValue", Tag=1, Type=typing.List[uint]), ]) attributeID: 'typing.Optional[uint]' = None @@ -653,16 +640,14 @@ class ExtensionFieldSet(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="clusterID", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="attributeValueList", Tag=1, Type=typing.List[Scenes.Structs.AttributeValuePair]), + Fields=[ + ClusterObjectFieldDescriptor(Label="clusterID", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="attributeValueList", Tag=1, Type=typing.List[Scenes.Structs.AttributeValuePair]), ]) clusterID: 'uint' = 0 attributeValueList: 'typing.List[Scenes.Structs.AttributeValuePair]' = field(default_factory=lambda: []) - - class Commands: @dataclass class AddScene(ClusterCommand): @@ -674,12 +659,12 @@ class AddScene(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="groupID", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="sceneID", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint), - ClusterObjectFieldDescriptor(Label="sceneName", Tag=3, Type=str), - ClusterObjectFieldDescriptor(Label="extensionFieldSets", Tag=4, Type=typing.List[Scenes.Structs.ExtensionFieldSet]), + Fields=[ + ClusterObjectFieldDescriptor(Label="groupID", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="sceneID", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="sceneName", Tag=3, Type=str), + ClusterObjectFieldDescriptor(Label="extensionFieldSets", Tag=4, Type=typing.List[Scenes.Structs.ExtensionFieldSet]), ]) groupID: 'uint' = 0 @@ -698,10 +683,10 @@ class AddSceneResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="groupID", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="sceneID", Tag=2, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="groupID", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="sceneID", Tag=2, Type=uint), ]) status: 'uint' = 0 @@ -718,9 +703,9 @@ class ViewScene(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="groupID", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="sceneID", Tag=1, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="groupID", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="sceneID", Tag=1, Type=uint), ]) groupID: 'uint' = 0 @@ -736,13 +721,13 @@ class ViewSceneResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="groupID", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="sceneID", Tag=2, Type=uint), - ClusterObjectFieldDescriptor(Label="transitionTime", Tag=3, Type=typing.Optional[uint]), - ClusterObjectFieldDescriptor(Label="sceneName", Tag=4, Type=typing.Optional[str]), - ClusterObjectFieldDescriptor(Label="extensionFieldSets", Tag=5, Type=typing.Optional[typing.List[Scenes.Structs.ExtensionFieldSet]]), + Fields=[ + ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="groupID", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="sceneID", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="transitionTime", Tag=3, Type=typing.Optional[uint]), + ClusterObjectFieldDescriptor(Label="sceneName", Tag=4, Type=typing.Optional[str]), + ClusterObjectFieldDescriptor(Label="extensionFieldSets", Tag=5, Type=typing.Optional[typing.List[Scenes.Structs.ExtensionFieldSet]]), ]) status: 'uint' = 0 @@ -762,9 +747,9 @@ class RemoveScene(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="groupID", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="sceneID", Tag=1, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="groupID", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="sceneID", Tag=1, Type=uint), ]) groupID: 'uint' = 0 @@ -780,10 +765,10 @@ class RemoveSceneResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="groupID", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="sceneID", Tag=2, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="groupID", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="sceneID", Tag=2, Type=uint), ]) status: 'uint' = 0 @@ -800,8 +785,8 @@ class RemoveAllScenes(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="groupID", Tag=0, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="groupID", Tag=0, Type=uint), ]) groupID: 'uint' = 0 @@ -816,9 +801,9 @@ class RemoveAllScenesResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="groupID", Tag=1, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="groupID", Tag=1, Type=uint), ]) status: 'uint' = 0 @@ -834,9 +819,9 @@ class StoreScene(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="groupID", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="sceneID", Tag=1, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="groupID", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="sceneID", Tag=1, Type=uint), ]) groupID: 'uint' = 0 @@ -852,10 +837,10 @@ class StoreSceneResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="groupID", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="sceneID", Tag=2, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="groupID", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="sceneID", Tag=2, Type=uint), ]) status: 'uint' = 0 @@ -872,10 +857,10 @@ class RecallScene(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="groupID", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="sceneID", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=typing.Union[None, Nullable, uint]), + Fields=[ + ClusterObjectFieldDescriptor(Label="groupID", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="sceneID", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=typing.Union[None, Nullable, uint]), ]) groupID: 'uint' = 0 @@ -892,8 +877,8 @@ class GetSceneMembership(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="groupID", Tag=0, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="groupID", Tag=0, Type=uint), ]) groupID: 'uint' = 0 @@ -908,11 +893,11 @@ class GetSceneMembershipResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="capacity", Tag=1, Type=typing.Union[Nullable, uint]), - ClusterObjectFieldDescriptor(Label="groupID", Tag=2, Type=uint), - ClusterObjectFieldDescriptor(Label="sceneList", Tag=3, Type=typing.Optional[typing.List[uint]]), + Fields=[ + ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="capacity", Tag=1, Type=typing.Union[Nullable, uint]), + ClusterObjectFieldDescriptor(Label="groupID", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="sceneList", Tag=3, Type=typing.Optional[typing.List[uint]]), ]) status: 'uint' = 0 @@ -930,12 +915,12 @@ class EnhancedAddScene(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="groupID", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="sceneID", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint), - ClusterObjectFieldDescriptor(Label="sceneName", Tag=3, Type=str), - ClusterObjectFieldDescriptor(Label="extensionFieldSets", Tag=4, Type=typing.List[Scenes.Structs.ExtensionFieldSet]), + Fields=[ + ClusterObjectFieldDescriptor(Label="groupID", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="sceneID", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="sceneName", Tag=3, Type=str), + ClusterObjectFieldDescriptor(Label="extensionFieldSets", Tag=4, Type=typing.List[Scenes.Structs.ExtensionFieldSet]), ]) groupID: 'uint' = 0 @@ -954,10 +939,10 @@ class EnhancedAddSceneResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="groupID", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="sceneID", Tag=2, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="groupID", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="sceneID", Tag=2, Type=uint), ]) status: 'uint' = 0 @@ -974,9 +959,9 @@ class EnhancedViewScene(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="groupID", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="sceneID", Tag=1, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="groupID", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="sceneID", Tag=1, Type=uint), ]) groupID: 'uint' = 0 @@ -992,13 +977,13 @@ class EnhancedViewSceneResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="groupID", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="sceneID", Tag=2, Type=uint), - ClusterObjectFieldDescriptor(Label="transitionTime", Tag=3, Type=typing.Optional[uint]), - ClusterObjectFieldDescriptor(Label="sceneName", Tag=4, Type=typing.Optional[str]), - ClusterObjectFieldDescriptor(Label="extensionFieldSets", Tag=5, Type=typing.Optional[typing.List[Scenes.Structs.ExtensionFieldSet]]), + Fields=[ + ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="groupID", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="sceneID", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="transitionTime", Tag=3, Type=typing.Optional[uint]), + ClusterObjectFieldDescriptor(Label="sceneName", Tag=4, Type=typing.Optional[str]), + ClusterObjectFieldDescriptor(Label="extensionFieldSets", Tag=5, Type=typing.Optional[typing.List[Scenes.Structs.ExtensionFieldSet]]), ]) status: 'uint' = 0 @@ -1018,12 +1003,12 @@ class CopyScene(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="mode", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="groupIdentifierFrom", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="sceneIdentifierFrom", Tag=2, Type=uint), - ClusterObjectFieldDescriptor(Label="groupIdentifierTo", Tag=3, Type=uint), - ClusterObjectFieldDescriptor(Label="sceneIdentifierTo", Tag=4, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="mode", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="groupIdentifierFrom", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="sceneIdentifierFrom", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="groupIdentifierTo", Tag=3, Type=uint), + ClusterObjectFieldDescriptor(Label="sceneIdentifierTo", Tag=4, Type=uint), ]) mode: 'uint' = 0 @@ -1042,17 +1027,16 @@ class CopySceneResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="groupIdentifierFrom", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="sceneIdentifierFrom", Tag=2, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="groupIdentifierFrom", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="sceneIdentifierFrom", Tag=2, Type=uint), ]) status: 'uint' = 0 groupIdentifierFrom: 'uint' = 0 sceneIdentifierFrom: 'uint' = 0 - class Attributes: @dataclass class SceneCount(ClusterAttributeDescriptor): @@ -1247,7 +1231,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - @dataclass class OnOff(Cluster): id: typing.ClassVar[int] = 0x0006 @@ -1255,7 +1238,7 @@ class OnOff(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="onOff", Tag=0x00000000, Type=bool), ClusterObjectFieldDescriptor(Label="globalSceneControl", Tag=0x00004000, Type=typing.Optional[bool]), ClusterObjectFieldDescriptor(Label="onTime", Tag=0x00004001, Type=typing.Optional[uint]), @@ -1319,7 +1302,6 @@ class OnOffStartUpOnOff(MatterIntEnum): # enum value. This specific should never be transmitted. kUnknownEnumValue = 3, - class Bitmaps: class OnOffControl(IntFlag): kAcceptOnlyWhenOn = 0x1 @@ -1327,8 +1309,6 @@ class OnOffControl(IntFlag): class OnOffFeature(IntFlag): kLighting = 0x1 - - class Commands: @dataclass class Off(ClusterCommand): @@ -1340,10 +1320,9 @@ class Off(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ]) - @dataclass class On(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0006 @@ -1354,10 +1333,9 @@ class On(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ]) - @dataclass class Toggle(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0006 @@ -1368,10 +1346,9 @@ class Toggle(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ]) - @dataclass class OffWithEffect(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0006 @@ -1382,9 +1359,9 @@ class OffWithEffect(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="effectIdentifier", Tag=0, Type=OnOff.Enums.OnOffEffectIdentifier), - ClusterObjectFieldDescriptor(Label="effectVariant", Tag=1, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="effectIdentifier", Tag=0, Type=OnOff.Enums.OnOffEffectIdentifier), + ClusterObjectFieldDescriptor(Label="effectVariant", Tag=1, Type=uint), ]) effectIdentifier: 'OnOff.Enums.OnOffEffectIdentifier' = 0 @@ -1400,10 +1377,9 @@ class OnWithRecallGlobalScene(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ]) - @dataclass class OnWithTimedOff(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0006 @@ -1414,17 +1390,16 @@ class OnWithTimedOff(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="onOffControl", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="onTime", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="offWaitTime", Tag=2, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="onOffControl", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="onTime", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="offWaitTime", Tag=2, Type=uint), ]) onOffControl: 'uint' = 0 onTime: 'uint' = 0 offWaitTime: 'uint' = 0 - class Attributes: @dataclass class OnOff(ClusterAttributeDescriptor): @@ -1603,7 +1578,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - @dataclass class OnOffSwitchConfiguration(Cluster): id: typing.ClassVar[int] = 0x0007 @@ -1611,7 +1585,7 @@ class OnOffSwitchConfiguration(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="switchType", Tag=0x00000000, Type=uint), ClusterObjectFieldDescriptor(Label="switchActions", Tag=0x00000010, Type=uint), ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), @@ -1631,10 +1605,6 @@ def descriptor(cls) -> ClusterObjectDescriptor: featureMap: 'uint' = None clusterRevision: 'uint' = None - - - - class Attributes: @dataclass class SwitchType(ClusterAttributeDescriptor): @@ -1765,7 +1735,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - @dataclass class LevelControl(Cluster): id: typing.ClassVar[int] = 0x0008 @@ -1773,7 +1742,7 @@ class LevelControl(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="currentLevel", Tag=0x00000000, Type=typing.Union[Nullable, uint]), ClusterObjectFieldDescriptor(Label="remainingTime", Tag=0x00000001, Type=typing.Optional[uint]), ClusterObjectFieldDescriptor(Label="minLevel", Tag=0x00000002, Type=typing.Optional[uint]), @@ -1836,7 +1805,6 @@ class StepMode(MatterIntEnum): # enum value. This specific should never be transmitted. kUnknownEnumValue = 2, - class Bitmaps: class LevelControlFeature(IntFlag): kOnOff = 0x1 @@ -1847,8 +1815,6 @@ class LevelControlOptions(IntFlag): kExecuteIfOff = 0x1 kCoupleColorTempToLevel = 0x2 - - class Commands: @dataclass class MoveToLevel(ClusterCommand): @@ -1860,11 +1826,11 @@ class MoveToLevel(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="level", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="transitionTime", Tag=1, Type=typing.Union[Nullable, uint]), - ClusterObjectFieldDescriptor(Label="optionsMask", Tag=2, Type=uint), - ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=3, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="level", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="transitionTime", Tag=1, Type=typing.Union[Nullable, uint]), + ClusterObjectFieldDescriptor(Label="optionsMask", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=3, Type=uint), ]) level: 'uint' = 0 @@ -1882,11 +1848,11 @@ class Move(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="moveMode", Tag=0, Type=LevelControl.Enums.MoveMode), - ClusterObjectFieldDescriptor(Label="rate", Tag=1, Type=typing.Union[Nullable, uint]), - ClusterObjectFieldDescriptor(Label="optionsMask", Tag=2, Type=uint), - ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=3, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="moveMode", Tag=0, Type=LevelControl.Enums.MoveMode), + ClusterObjectFieldDescriptor(Label="rate", Tag=1, Type=typing.Union[Nullable, uint]), + ClusterObjectFieldDescriptor(Label="optionsMask", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=3, Type=uint), ]) moveMode: 'LevelControl.Enums.MoveMode' = 0 @@ -1904,12 +1870,12 @@ class Step(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="stepMode", Tag=0, Type=LevelControl.Enums.StepMode), - ClusterObjectFieldDescriptor(Label="stepSize", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=typing.Union[Nullable, uint]), - ClusterObjectFieldDescriptor(Label="optionsMask", Tag=3, Type=uint), - ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=4, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="stepMode", Tag=0, Type=LevelControl.Enums.StepMode), + ClusterObjectFieldDescriptor(Label="stepSize", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=typing.Union[Nullable, uint]), + ClusterObjectFieldDescriptor(Label="optionsMask", Tag=3, Type=uint), + ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=4, Type=uint), ]) stepMode: 'LevelControl.Enums.StepMode' = 0 @@ -1928,9 +1894,9 @@ class Stop(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="optionsMask", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=1, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="optionsMask", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=1, Type=uint), ]) optionsMask: 'uint' = 0 @@ -1946,11 +1912,11 @@ class MoveToLevelWithOnOff(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="level", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="transitionTime", Tag=1, Type=typing.Union[Nullable, uint]), - ClusterObjectFieldDescriptor(Label="optionsMask", Tag=2, Type=uint), - ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=3, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="level", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="transitionTime", Tag=1, Type=typing.Union[Nullable, uint]), + ClusterObjectFieldDescriptor(Label="optionsMask", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=3, Type=uint), ]) level: 'uint' = 0 @@ -1968,11 +1934,11 @@ class MoveWithOnOff(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="moveMode", Tag=0, Type=LevelControl.Enums.MoveMode), - ClusterObjectFieldDescriptor(Label="rate", Tag=1, Type=typing.Union[Nullable, uint]), - ClusterObjectFieldDescriptor(Label="optionsMask", Tag=2, Type=uint), - ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=3, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="moveMode", Tag=0, Type=LevelControl.Enums.MoveMode), + ClusterObjectFieldDescriptor(Label="rate", Tag=1, Type=typing.Union[Nullable, uint]), + ClusterObjectFieldDescriptor(Label="optionsMask", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=3, Type=uint), ]) moveMode: 'LevelControl.Enums.MoveMode' = 0 @@ -1990,12 +1956,12 @@ class StepWithOnOff(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="stepMode", Tag=0, Type=LevelControl.Enums.StepMode), - ClusterObjectFieldDescriptor(Label="stepSize", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=typing.Union[Nullable, uint]), - ClusterObjectFieldDescriptor(Label="optionsMask", Tag=3, Type=uint), - ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=4, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="stepMode", Tag=0, Type=LevelControl.Enums.StepMode), + ClusterObjectFieldDescriptor(Label="stepSize", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=typing.Union[Nullable, uint]), + ClusterObjectFieldDescriptor(Label="optionsMask", Tag=3, Type=uint), + ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=4, Type=uint), ]) stepMode: 'LevelControl.Enums.StepMode' = 0 @@ -2014,9 +1980,9 @@ class StopWithOnOff(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="optionsMask", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=1, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="optionsMask", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=1, Type=uint), ]) optionsMask: 'uint' = 0 @@ -2032,13 +1998,12 @@ class MoveToClosestFrequency(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="frequency", Tag=0, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="frequency", Tag=0, Type=uint), ]) frequency: 'uint' = 0 - class Attributes: @dataclass class CurrentLevel(ClusterAttributeDescriptor): @@ -2361,7 +2326,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - @dataclass class BinaryInputBasic(Cluster): id: typing.ClassVar[int] = 0x000F @@ -2369,7 +2333,7 @@ class BinaryInputBasic(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="activeText", Tag=0x00000004, Type=typing.Optional[str]), ClusterObjectFieldDescriptor(Label="description", Tag=0x0000001C, Type=typing.Optional[str]), ClusterObjectFieldDescriptor(Label="inactiveText", Tag=0x0000002E, Type=typing.Optional[str]), @@ -2403,10 +2367,6 @@ def descriptor(cls) -> ClusterObjectDescriptor: featureMap: 'uint' = None clusterRevision: 'uint' = None - - - - class Attributes: @dataclass class ActiveText(ClusterAttributeDescriptor): @@ -2649,7 +2609,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - @dataclass class PulseWidthModulation(Cluster): id: typing.ClassVar[int] = 0x001C @@ -2657,7 +2616,7 @@ class PulseWidthModulation(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), @@ -2673,10 +2632,6 @@ def descriptor(cls) -> ClusterObjectDescriptor: featureMap: 'uint' = None clusterRevision: 'uint' = None - - - - class Attributes: @dataclass class GeneratedCommandList(ClusterAttributeDescriptor): @@ -2775,7 +2730,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - @dataclass class Descriptor(Cluster): id: typing.ClassVar[int] = 0x001D @@ -2783,7 +2737,7 @@ class Descriptor(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="deviceTypeList", Tag=0x00000000, Type=typing.List[Descriptor.Structs.DeviceTypeStruct]), ClusterObjectFieldDescriptor(Label="serverList", Tag=0x00000001, Type=typing.List[uint]), ClusterObjectFieldDescriptor(Label="clientList", Tag=0x00000002, Type=typing.List[uint]), @@ -2807,25 +2761,20 @@ def descriptor(cls) -> ClusterObjectDescriptor: featureMap: 'uint' = None clusterRevision: 'uint' = None - - class Structs: @dataclass class DeviceTypeStruct(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="deviceType", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="revision", Tag=1, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="deviceType", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="revision", Tag=1, Type=uint), ]) deviceType: 'uint' = 0 revision: 'uint' = 0 - - - class Attributes: @dataclass class DeviceTypeList(ClusterAttributeDescriptor): @@ -2988,7 +2937,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - @dataclass class Binding(Cluster): id: typing.ClassVar[int] = 0x001E @@ -2996,7 +2944,7 @@ class Binding(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="binding", Tag=0x00000000, Type=typing.List[Binding.Structs.TargetStruct]), ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), @@ -3014,20 +2962,18 @@ def descriptor(cls) -> ClusterObjectDescriptor: featureMap: 'uint' = None clusterRevision: 'uint' = None - - class Structs: @dataclass class TargetStruct(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="node", Tag=1, Type=typing.Optional[uint]), - ClusterObjectFieldDescriptor(Label="group", Tag=2, Type=typing.Optional[uint]), - ClusterObjectFieldDescriptor(Label="endpoint", Tag=3, Type=typing.Optional[uint]), - ClusterObjectFieldDescriptor(Label="cluster", Tag=4, Type=typing.Optional[uint]), - ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="node", Tag=1, Type=typing.Optional[uint]), + ClusterObjectFieldDescriptor(Label="group", Tag=2, Type=typing.Optional[uint]), + ClusterObjectFieldDescriptor(Label="endpoint", Tag=3, Type=typing.Optional[uint]), + ClusterObjectFieldDescriptor(Label="cluster", Tag=4, Type=typing.Optional[uint]), + ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint), ]) node: 'typing.Optional[uint]' = None @@ -3036,9 +2982,6 @@ def descriptor(cls) -> ClusterObjectDescriptor: cluster: 'typing.Optional[uint]' = None fabricIndex: 'uint' = 0 - - - class Attributes: @dataclass class Binding(ClusterAttributeDescriptor): @@ -3153,7 +3096,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - @dataclass class AccessControl(Cluster): id: typing.ClassVar[int] = 0x001F @@ -3161,7 +3103,7 @@ class AccessControl(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="acl", Tag=0x00000000, Type=typing.List[AccessControl.Structs.AccessControlEntryStruct]), ClusterObjectFieldDescriptor(Label="extension", Tag=0x00000001, Type=typing.Optional[typing.List[AccessControl.Structs.AccessControlExtensionStruct]]), ClusterObjectFieldDescriptor(Label="subjectsPerAccessControlEntry", Tag=0x00000002, Type=uint), @@ -3220,18 +3162,16 @@ class ChangeTypeEnum(MatterIntEnum): # enum value. This specific should never be transmitted. kUnknownEnumValue = 3, - - class Structs: @dataclass class Target(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="cluster", Tag=0, Type=typing.Union[Nullable, uint]), - ClusterObjectFieldDescriptor(Label="endpoint", Tag=1, Type=typing.Union[Nullable, uint]), - ClusterObjectFieldDescriptor(Label="deviceType", Tag=2, Type=typing.Union[Nullable, uint]), + Fields=[ + ClusterObjectFieldDescriptor(Label="cluster", Tag=0, Type=typing.Union[Nullable, uint]), + ClusterObjectFieldDescriptor(Label="endpoint", Tag=1, Type=typing.Union[Nullable, uint]), + ClusterObjectFieldDescriptor(Label="deviceType", Tag=2, Type=typing.Union[Nullable, uint]), ]) cluster: 'typing.Union[Nullable, uint]' = NullValue @@ -3243,12 +3183,12 @@ class AccessControlEntryStruct(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="privilege", Tag=1, Type=AccessControl.Enums.AccessControlEntryPrivilegeEnum), - ClusterObjectFieldDescriptor(Label="authMode", Tag=2, Type=AccessControl.Enums.AccessControlEntryAuthModeEnum), - ClusterObjectFieldDescriptor(Label="subjects", Tag=3, Type=typing.Union[Nullable, typing.List[uint]]), - ClusterObjectFieldDescriptor(Label="targets", Tag=4, Type=typing.Union[Nullable, typing.List[AccessControl.Structs.Target]]), - ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="privilege", Tag=1, Type=AccessControl.Enums.AccessControlEntryPrivilegeEnum), + ClusterObjectFieldDescriptor(Label="authMode", Tag=2, Type=AccessControl.Enums.AccessControlEntryAuthModeEnum), + ClusterObjectFieldDescriptor(Label="subjects", Tag=3, Type=typing.Union[Nullable, typing.List[uint]]), + ClusterObjectFieldDescriptor(Label="targets", Tag=4, Type=typing.Union[Nullable, typing.List[AccessControl.Structs.Target]]), + ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint), ]) privilege: 'AccessControl.Enums.AccessControlEntryPrivilegeEnum' = 0 @@ -3262,17 +3202,14 @@ class AccessControlExtensionStruct(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=bytes), - ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=bytes), + ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint), ]) data: 'bytes' = b"" fabricIndex: 'uint' = 0 - - - class Attributes: @dataclass class Acl(ClusterAttributeDescriptor): @@ -3450,7 +3387,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - class Events: @dataclass class AccessControlEntryChanged(ClusterEvent): @@ -3465,12 +3401,12 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="adminNodeID", Tag=1, Type=typing.Union[Nullable, uint]), - ClusterObjectFieldDescriptor(Label="adminPasscodeID", Tag=2, Type=typing.Union[Nullable, uint]), - ClusterObjectFieldDescriptor(Label="changeType", Tag=3, Type=AccessControl.Enums.ChangeTypeEnum), - ClusterObjectFieldDescriptor(Label="latestValue", Tag=4, Type=typing.Union[Nullable, AccessControl.Structs.AccessControlEntryStruct]), - ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="adminNodeID", Tag=1, Type=typing.Union[Nullable, uint]), + ClusterObjectFieldDescriptor(Label="adminPasscodeID", Tag=2, Type=typing.Union[Nullable, uint]), + ClusterObjectFieldDescriptor(Label="changeType", Tag=3, Type=AccessControl.Enums.ChangeTypeEnum), + ClusterObjectFieldDescriptor(Label="latestValue", Tag=4, Type=typing.Union[Nullable, AccessControl.Structs.AccessControlEntryStruct]), + ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint), ]) adminNodeID: 'typing.Union[Nullable, uint]' = NullValue @@ -3492,12 +3428,12 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="adminNodeID", Tag=1, Type=typing.Union[Nullable, uint]), - ClusterObjectFieldDescriptor(Label="adminPasscodeID", Tag=2, Type=typing.Union[Nullable, uint]), - ClusterObjectFieldDescriptor(Label="changeType", Tag=3, Type=AccessControl.Enums.ChangeTypeEnum), - ClusterObjectFieldDescriptor(Label="latestValue", Tag=4, Type=typing.Union[Nullable, AccessControl.Structs.AccessControlExtensionStruct]), - ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="adminNodeID", Tag=1, Type=typing.Union[Nullable, uint]), + ClusterObjectFieldDescriptor(Label="adminPasscodeID", Tag=2, Type=typing.Union[Nullable, uint]), + ClusterObjectFieldDescriptor(Label="changeType", Tag=3, Type=AccessControl.Enums.ChangeTypeEnum), + ClusterObjectFieldDescriptor(Label="latestValue", Tag=4, Type=typing.Union[Nullable, AccessControl.Structs.AccessControlExtensionStruct]), + ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint), ]) adminNodeID: 'typing.Union[Nullable, uint]' = NullValue @@ -3514,7 +3450,7 @@ class Actions(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="actionList", Tag=0x00000000, Type=typing.List[Actions.Structs.ActionStruct]), ClusterObjectFieldDescriptor(Label="endpointLists", Tag=0x00000001, Type=typing.List[Actions.Structs.EndpointListStruct]), ClusterObjectFieldDescriptor(Label="setupURL", Tag=0x00000002, Type=typing.Optional[str]), @@ -3581,7 +3517,6 @@ class EndpointListTypeEnum(MatterIntEnum): # enum value. This specific should never be transmitted. kUnknownEnumValue = 3, - class Bitmaps: class CommandBits(IntFlag): kInstantAction = 0x1 @@ -3597,20 +3532,19 @@ class CommandBits(IntFlag): kDisableAction = 0x400 kDisableActionWithDuration = 0x800 - class Structs: @dataclass class ActionStruct(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="name", Tag=1, Type=str), - ClusterObjectFieldDescriptor(Label="type", Tag=2, Type=Actions.Enums.ActionTypeEnum), - ClusterObjectFieldDescriptor(Label="endpointListID", Tag=3, Type=uint), - ClusterObjectFieldDescriptor(Label="supportedCommands", Tag=4, Type=uint), - ClusterObjectFieldDescriptor(Label="state", Tag=5, Type=Actions.Enums.ActionStateEnum), + Fields=[ + ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="name", Tag=1, Type=str), + ClusterObjectFieldDescriptor(Label="type", Tag=2, Type=Actions.Enums.ActionTypeEnum), + ClusterObjectFieldDescriptor(Label="endpointListID", Tag=3, Type=uint), + ClusterObjectFieldDescriptor(Label="supportedCommands", Tag=4, Type=uint), + ClusterObjectFieldDescriptor(Label="state", Tag=5, Type=Actions.Enums.ActionStateEnum), ]) actionID: 'uint' = 0 @@ -3625,11 +3559,11 @@ class EndpointListStruct(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="endpointListID", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="name", Tag=1, Type=str), - ClusterObjectFieldDescriptor(Label="type", Tag=2, Type=Actions.Enums.EndpointListTypeEnum), - ClusterObjectFieldDescriptor(Label="endpoints", Tag=3, Type=typing.List[uint]), + Fields=[ + ClusterObjectFieldDescriptor(Label="endpointListID", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="name", Tag=1, Type=str), + ClusterObjectFieldDescriptor(Label="type", Tag=2, Type=Actions.Enums.EndpointListTypeEnum), + ClusterObjectFieldDescriptor(Label="endpoints", Tag=3, Type=typing.List[uint]), ]) endpointListID: 'uint' = 0 @@ -3637,8 +3571,6 @@ def descriptor(cls) -> ClusterObjectDescriptor: type: 'Actions.Enums.EndpointListTypeEnum' = 0 endpoints: 'typing.List[uint]' = field(default_factory=lambda: []) - - class Commands: @dataclass class InstantAction(ClusterCommand): @@ -3650,9 +3582,9 @@ class InstantAction(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]), + Fields=[ + ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]), ]) actionID: 'uint' = 0 @@ -3668,10 +3600,10 @@ class InstantActionWithTransition(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]), - ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]), + ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint), ]) actionID: 'uint' = 0 @@ -3688,9 +3620,9 @@ class StartAction(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]), + Fields=[ + ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]), ]) actionID: 'uint' = 0 @@ -3706,10 +3638,10 @@ class StartActionWithDuration(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]), - ClusterObjectFieldDescriptor(Label="duration", Tag=2, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]), + ClusterObjectFieldDescriptor(Label="duration", Tag=2, Type=uint), ]) actionID: 'uint' = 0 @@ -3726,9 +3658,9 @@ class StopAction(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]), + Fields=[ + ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]), ]) actionID: 'uint' = 0 @@ -3744,9 +3676,9 @@ class PauseAction(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]), + Fields=[ + ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]), ]) actionID: 'uint' = 0 @@ -3762,10 +3694,10 @@ class PauseActionWithDuration(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]), - ClusterObjectFieldDescriptor(Label="duration", Tag=2, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]), + ClusterObjectFieldDescriptor(Label="duration", Tag=2, Type=uint), ]) actionID: 'uint' = 0 @@ -3782,9 +3714,9 @@ class ResumeAction(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]), + Fields=[ + ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]), ]) actionID: 'uint' = 0 @@ -3800,9 +3732,9 @@ class EnableAction(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]), + Fields=[ + ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]), ]) actionID: 'uint' = 0 @@ -3818,10 +3750,10 @@ class EnableActionWithDuration(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]), - ClusterObjectFieldDescriptor(Label="duration", Tag=2, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]), + ClusterObjectFieldDescriptor(Label="duration", Tag=2, Type=uint), ]) actionID: 'uint' = 0 @@ -3838,9 +3770,9 @@ class DisableAction(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]), + Fields=[ + ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]), ]) actionID: 'uint' = 0 @@ -3856,17 +3788,16 @@ class DisableActionWithDuration(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]), - ClusterObjectFieldDescriptor(Label="duration", Tag=2, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]), + ClusterObjectFieldDescriptor(Label="duration", Tag=2, Type=uint), ]) actionID: 'uint' = 0 invokeID: 'typing.Optional[uint]' = None duration: 'uint' = 0 - class Attributes: @dataclass class ActionList(ClusterAttributeDescriptor): @@ -4012,7 +3943,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - class Events: @dataclass class StateChanged(ClusterEvent): @@ -4027,10 +3957,10 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="newState", Tag=2, Type=Actions.Enums.ActionStateEnum), + Fields=[ + ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="newState", Tag=2, Type=Actions.Enums.ActionStateEnum), ]) actionID: 'uint' = 0 @@ -4050,11 +3980,11 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="newState", Tag=2, Type=Actions.Enums.ActionStateEnum), - ClusterObjectFieldDescriptor(Label="error", Tag=3, Type=Actions.Enums.ActionErrorEnum), + Fields=[ + ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="newState", Tag=2, Type=Actions.Enums.ActionStateEnum), + ClusterObjectFieldDescriptor(Label="error", Tag=3, Type=Actions.Enums.ActionErrorEnum), ]) actionID: 'uint' = 0 @@ -4070,7 +4000,7 @@ class BasicInformation(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="dataModelRevision", Tag=0x00000000, Type=uint), ClusterObjectFieldDescriptor(Label="vendorName", Tag=0x00000001, Type=str), ClusterObjectFieldDescriptor(Label="vendorID", Tag=0x00000002, Type=uint), @@ -4126,24 +4056,20 @@ def descriptor(cls) -> ClusterObjectDescriptor: featureMap: 'uint' = None clusterRevision: 'uint' = None - - class Structs: @dataclass class CapabilityMinimaStruct(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="caseSessionsPerFabric", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="subscriptionsPerFabric", Tag=1, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="caseSessionsPerFabric", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="subscriptionsPerFabric", Tag=1, Type=uint), ]) caseSessionsPerFabric: 'uint' = 0 subscriptionsPerFabric: 'uint' = 0 - - class Commands: @dataclass class MfgSpecificPing(ClusterCommand): @@ -4155,11 +4081,9 @@ class MfgSpecificPing(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ]) - - class Attributes: @dataclass class DataModelRevision(ClusterAttributeDescriptor): @@ -4577,7 +4501,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - class Events: @dataclass class StartUp(ClusterEvent): @@ -4592,8 +4515,8 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="softwareVersion", Tag=0, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="softwareVersion", Tag=0, Type=uint), ]) softwareVersion: 'uint' = 0 @@ -4611,10 +4534,9 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ]) - @dataclass class Leave(ClusterEvent): @ChipUtility.classproperty @@ -4628,8 +4550,8 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=0, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=0, Type=uint), ]) fabricIndex: 'uint' = 0 @@ -4647,8 +4569,8 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="reachableNewValue", Tag=0, Type=bool), + Fields=[ + ClusterObjectFieldDescriptor(Label="reachableNewValue", Tag=0, Type=bool), ]) reachableNewValue: 'bool' = False @@ -4661,7 +4583,7 @@ class OtaSoftwareUpdateProvider(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), @@ -4710,9 +4632,6 @@ class OTAQueryStatus(MatterIntEnum): # enum value. This specific should never be transmitted. kUnknownEnumValue = 4, - - - class Commands: @dataclass class QueryImage(ClusterCommand): @@ -4724,15 +4643,15 @@ class QueryImage(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="vendorID", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="productID", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="softwareVersion", Tag=2, Type=uint), - ClusterObjectFieldDescriptor(Label="protocolsSupported", Tag=3, Type=typing.List[OtaSoftwareUpdateProvider.Enums.OTADownloadProtocol]), - ClusterObjectFieldDescriptor(Label="hardwareVersion", Tag=4, Type=typing.Optional[uint]), - ClusterObjectFieldDescriptor(Label="location", Tag=5, Type=typing.Optional[str]), - ClusterObjectFieldDescriptor(Label="requestorCanConsent", Tag=6, Type=typing.Optional[bool]), - ClusterObjectFieldDescriptor(Label="metadataForProvider", Tag=7, Type=typing.Optional[bytes]), + Fields=[ + ClusterObjectFieldDescriptor(Label="vendorID", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="productID", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="softwareVersion", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="protocolsSupported", Tag=3, Type=typing.List[OtaSoftwareUpdateProvider.Enums.OTADownloadProtocol]), + ClusterObjectFieldDescriptor(Label="hardwareVersion", Tag=4, Type=typing.Optional[uint]), + ClusterObjectFieldDescriptor(Label="location", Tag=5, Type=typing.Optional[str]), + ClusterObjectFieldDescriptor(Label="requestorCanConsent", Tag=6, Type=typing.Optional[bool]), + ClusterObjectFieldDescriptor(Label="metadataForProvider", Tag=7, Type=typing.Optional[bytes]), ]) vendorID: 'uint' = 0 @@ -4754,15 +4673,15 @@ class QueryImageResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=OtaSoftwareUpdateProvider.Enums.OTAQueryStatus), - ClusterObjectFieldDescriptor(Label="delayedActionTime", Tag=1, Type=typing.Optional[uint]), - ClusterObjectFieldDescriptor(Label="imageURI", Tag=2, Type=typing.Optional[str]), - ClusterObjectFieldDescriptor(Label="softwareVersion", Tag=3, Type=typing.Optional[uint]), - ClusterObjectFieldDescriptor(Label="softwareVersionString", Tag=4, Type=typing.Optional[str]), - ClusterObjectFieldDescriptor(Label="updateToken", Tag=5, Type=typing.Optional[bytes]), - ClusterObjectFieldDescriptor(Label="userConsentNeeded", Tag=6, Type=typing.Optional[bool]), - ClusterObjectFieldDescriptor(Label="metadataForRequestor", Tag=7, Type=typing.Optional[bytes]), + Fields=[ + ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=OtaSoftwareUpdateProvider.Enums.OTAQueryStatus), + ClusterObjectFieldDescriptor(Label="delayedActionTime", Tag=1, Type=typing.Optional[uint]), + ClusterObjectFieldDescriptor(Label="imageURI", Tag=2, Type=typing.Optional[str]), + ClusterObjectFieldDescriptor(Label="softwareVersion", Tag=3, Type=typing.Optional[uint]), + ClusterObjectFieldDescriptor(Label="softwareVersionString", Tag=4, Type=typing.Optional[str]), + ClusterObjectFieldDescriptor(Label="updateToken", Tag=5, Type=typing.Optional[bytes]), + ClusterObjectFieldDescriptor(Label="userConsentNeeded", Tag=6, Type=typing.Optional[bool]), + ClusterObjectFieldDescriptor(Label="metadataForRequestor", Tag=7, Type=typing.Optional[bytes]), ]) status: 'OtaSoftwareUpdateProvider.Enums.OTAQueryStatus' = 0 @@ -4784,9 +4703,9 @@ class ApplyUpdateRequest(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="updateToken", Tag=0, Type=bytes), - ClusterObjectFieldDescriptor(Label="newVersion", Tag=1, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="updateToken", Tag=0, Type=bytes), + ClusterObjectFieldDescriptor(Label="newVersion", Tag=1, Type=uint), ]) updateToken: 'bytes' = b"" @@ -4802,9 +4721,9 @@ class ApplyUpdateResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="action", Tag=0, Type=OtaSoftwareUpdateProvider.Enums.OTAApplyUpdateAction), - ClusterObjectFieldDescriptor(Label="delayedActionTime", Tag=1, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="action", Tag=0, Type=OtaSoftwareUpdateProvider.Enums.OTAApplyUpdateAction), + ClusterObjectFieldDescriptor(Label="delayedActionTime", Tag=1, Type=uint), ]) action: 'OtaSoftwareUpdateProvider.Enums.OTAApplyUpdateAction' = 0 @@ -4820,15 +4739,14 @@ class NotifyUpdateApplied(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="updateToken", Tag=0, Type=bytes), - ClusterObjectFieldDescriptor(Label="softwareVersion", Tag=1, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="updateToken", Tag=0, Type=bytes), + ClusterObjectFieldDescriptor(Label="softwareVersion", Tag=1, Type=uint), ]) updateToken: 'bytes' = b"" softwareVersion: 'uint' = 0 - class Attributes: @dataclass class GeneratedCommandList(ClusterAttributeDescriptor): @@ -4927,7 +4845,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - @dataclass class OtaSoftwareUpdateRequestor(Cluster): id: typing.ClassVar[int] = 0x002A @@ -4935,7 +4852,7 @@ class OtaSoftwareUpdateRequestor(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="defaultOTAProviders", Tag=0x00000000, Type=typing.List[OtaSoftwareUpdateRequestor.Structs.ProviderLocation]), ClusterObjectFieldDescriptor(Label="updatePossible", Tag=0x00000001, Type=bool), ClusterObjectFieldDescriptor(Label="updateState", Tag=0x00000002, Type=OtaSoftwareUpdateRequestor.Enums.OTAUpdateStateEnum), @@ -4998,26 +4915,22 @@ class OTAUpdateStateEnum(MatterIntEnum): # enum value. This specific should never be transmitted. kUnknownEnumValue = 9, - - class Structs: @dataclass class ProviderLocation(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="providerNodeID", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="endpoint", Tag=2, Type=uint), - ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="providerNodeID", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="endpoint", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint), ]) providerNodeID: 'uint' = 0 endpoint: 'uint' = 0 fabricIndex: 'uint' = 0 - - class Commands: @dataclass class AnnounceOTAProvider(ClusterCommand): @@ -5029,12 +4942,12 @@ class AnnounceOTAProvider(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="providerNodeID", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="vendorID", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="announcementReason", Tag=2, Type=OtaSoftwareUpdateRequestor.Enums.OTAAnnouncementReason), - ClusterObjectFieldDescriptor(Label="metadataForNode", Tag=3, Type=typing.Optional[bytes]), - ClusterObjectFieldDescriptor(Label="endpoint", Tag=4, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="providerNodeID", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="vendorID", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="announcementReason", Tag=2, Type=OtaSoftwareUpdateRequestor.Enums.OTAAnnouncementReason), + ClusterObjectFieldDescriptor(Label="metadataForNode", Tag=3, Type=typing.Optional[bytes]), + ClusterObjectFieldDescriptor(Label="endpoint", Tag=4, Type=uint), ]) providerNodeID: 'uint' = 0 @@ -5043,7 +4956,6 @@ def descriptor(cls) -> ClusterObjectDescriptor: metadataForNode: 'typing.Optional[bytes]' = None endpoint: 'uint' = 0 - class Attributes: @dataclass class DefaultOTAProviders(ClusterAttributeDescriptor): @@ -5205,7 +5117,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - class Events: @dataclass class StateTransition(ClusterEvent): @@ -5220,11 +5131,11 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="previousState", Tag=0, Type=OtaSoftwareUpdateRequestor.Enums.OTAUpdateStateEnum), - ClusterObjectFieldDescriptor(Label="newState", Tag=1, Type=OtaSoftwareUpdateRequestor.Enums.OTAUpdateStateEnum), - ClusterObjectFieldDescriptor(Label="reason", Tag=2, Type=OtaSoftwareUpdateRequestor.Enums.OTAChangeReasonEnum), - ClusterObjectFieldDescriptor(Label="targetSoftwareVersion", Tag=3, Type=typing.Union[Nullable, uint]), + Fields=[ + ClusterObjectFieldDescriptor(Label="previousState", Tag=0, Type=OtaSoftwareUpdateRequestor.Enums.OTAUpdateStateEnum), + ClusterObjectFieldDescriptor(Label="newState", Tag=1, Type=OtaSoftwareUpdateRequestor.Enums.OTAUpdateStateEnum), + ClusterObjectFieldDescriptor(Label="reason", Tag=2, Type=OtaSoftwareUpdateRequestor.Enums.OTAChangeReasonEnum), + ClusterObjectFieldDescriptor(Label="targetSoftwareVersion", Tag=3, Type=typing.Union[Nullable, uint]), ]) previousState: 'OtaSoftwareUpdateRequestor.Enums.OTAUpdateStateEnum' = 0 @@ -5245,9 +5156,9 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="softwareVersion", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="productID", Tag=1, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="softwareVersion", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="productID", Tag=1, Type=uint), ]) softwareVersion: 'uint' = 0 @@ -5266,11 +5177,11 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="softwareVersion", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="bytesDownloaded", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="progressPercent", Tag=2, Type=typing.Union[Nullable, uint]), - ClusterObjectFieldDescriptor(Label="platformCode", Tag=3, Type=typing.Union[Nullable, int]), + Fields=[ + ClusterObjectFieldDescriptor(Label="softwareVersion", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="bytesDownloaded", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="progressPercent", Tag=2, Type=typing.Union[Nullable, uint]), + ClusterObjectFieldDescriptor(Label="platformCode", Tag=3, Type=typing.Union[Nullable, int]), ]) softwareVersion: 'uint' = 0 @@ -5286,7 +5197,7 @@ class LocalizationConfiguration(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="activeLocale", Tag=0x00000000, Type=str), ClusterObjectFieldDescriptor(Label="supportedLocales", Tag=0x00000001, Type=typing.List[str]), ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), @@ -5306,10 +5217,6 @@ def descriptor(cls) -> ClusterObjectDescriptor: featureMap: 'uint' = None clusterRevision: 'uint' = None - - - - class Attributes: @dataclass class ActiveLocale(ClusterAttributeDescriptor): @@ -5440,7 +5347,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - @dataclass class TimeFormatLocalization(Cluster): id: typing.ClassVar[int] = 0x002C @@ -5448,7 +5354,7 @@ class TimeFormatLocalization(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="hourFormat", Tag=0x00000000, Type=TimeFormatLocalization.Enums.HourFormat), ClusterObjectFieldDescriptor(Label="activeCalendarType", Tag=0x00000001, Type=typing.Optional[TimeFormatLocalization.Enums.CalendarType]), ClusterObjectFieldDescriptor(Label="supportedCalendarTypes", Tag=0x00000002, Type=typing.Optional[typing.List[TimeFormatLocalization.Enums.CalendarType]]), @@ -5499,10 +5405,6 @@ class HourFormat(MatterIntEnum): # enum value. This specific should never be transmitted. kUnknownEnumValue = 2, - - - - class Attributes: @dataclass class HourFormat(ClusterAttributeDescriptor): @@ -5649,7 +5551,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - @dataclass class UnitLocalization(Cluster): id: typing.ClassVar[int] = 0x002D @@ -5657,7 +5558,7 @@ class UnitLocalization(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="temperatureUnit", Tag=0x00000000, Type=typing.Optional[UnitLocalization.Enums.TempUnitEnum]), ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), @@ -5686,14 +5587,10 @@ class TempUnitEnum(MatterIntEnum): # enum value. This specific should never be transmitted. kUnknownEnumValue = 3, - class Bitmaps: class UnitLocalizationFeature(IntFlag): kTemperatureUnit = 0x1 - - - class Attributes: @dataclass class TemperatureUnit(ClusterAttributeDescriptor): @@ -5808,7 +5705,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - @dataclass class PowerSourceConfiguration(Cluster): id: typing.ClassVar[int] = 0x002E @@ -5816,7 +5712,7 @@ class PowerSourceConfiguration(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="sources", Tag=0x00000000, Type=typing.List[uint]), ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), @@ -5834,10 +5730,6 @@ def descriptor(cls) -> ClusterObjectDescriptor: featureMap: 'uint' = None clusterRevision: 'uint' = None - - - - class Attributes: @dataclass class Sources(ClusterAttributeDescriptor): @@ -5952,7 +5844,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - @dataclass class PowerSource(Cluster): id: typing.ClassVar[int] = 0x002F @@ -5960,7 +5851,7 @@ class PowerSource(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="status", Tag=0x00000000, Type=PowerSource.Enums.PowerSourceStatusEnum), ClusterObjectFieldDescriptor(Label="order", Tag=0x00000001, Type=uint), ClusterObjectFieldDescriptor(Label="description", Tag=0x00000002, Type=str), @@ -6257,7 +6148,6 @@ class WiredFaultEnum(MatterIntEnum): # enum value. This specific should never be transmitted. kUnknownEnumValue = 3, - class Bitmaps: class PowerSourceFeature(IntFlag): kWired = 0x1 @@ -6265,16 +6155,15 @@ class PowerSourceFeature(IntFlag): kRechargeable = 0x4 kReplaceable = 0x8 - class Structs: @dataclass class BatChargeFaultChangeType(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="current", Tag=0, Type=typing.List[PowerSource.Enums.BatChargeFaultEnum]), - ClusterObjectFieldDescriptor(Label="previous", Tag=1, Type=typing.List[PowerSource.Enums.BatChargeFaultEnum]), + Fields=[ + ClusterObjectFieldDescriptor(Label="current", Tag=0, Type=typing.List[PowerSource.Enums.BatChargeFaultEnum]), + ClusterObjectFieldDescriptor(Label="previous", Tag=1, Type=typing.List[PowerSource.Enums.BatChargeFaultEnum]), ]) current: 'typing.List[PowerSource.Enums.BatChargeFaultEnum]' = field(default_factory=lambda: []) @@ -6285,9 +6174,9 @@ class BatFaultChangeType(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="current", Tag=0, Type=typing.List[PowerSource.Enums.BatFaultEnum]), - ClusterObjectFieldDescriptor(Label="previous", Tag=1, Type=typing.List[PowerSource.Enums.BatFaultEnum]), + Fields=[ + ClusterObjectFieldDescriptor(Label="current", Tag=0, Type=typing.List[PowerSource.Enums.BatFaultEnum]), + ClusterObjectFieldDescriptor(Label="previous", Tag=1, Type=typing.List[PowerSource.Enums.BatFaultEnum]), ]) current: 'typing.List[PowerSource.Enums.BatFaultEnum]' = field(default_factory=lambda: []) @@ -6298,17 +6187,14 @@ class WiredFaultChangeType(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="current", Tag=0, Type=typing.List[PowerSource.Enums.WiredFaultEnum]), - ClusterObjectFieldDescriptor(Label="previous", Tag=1, Type=typing.List[PowerSource.Enums.WiredFaultEnum]), + Fields=[ + ClusterObjectFieldDescriptor(Label="current", Tag=0, Type=typing.List[PowerSource.Enums.WiredFaultEnum]), + ClusterObjectFieldDescriptor(Label="previous", Tag=1, Type=typing.List[PowerSource.Enums.WiredFaultEnum]), ]) current: 'typing.List[PowerSource.Enums.WiredFaultEnum]' = field(default_factory=lambda: []) previous: 'typing.List[PowerSource.Enums.WiredFaultEnum]' = field(default_factory=lambda: []) - - - class Attributes: @dataclass class Status(ClusterAttributeDescriptor): @@ -6902,7 +6788,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - class Events: @dataclass class WiredFaultChange(ClusterEvent): @@ -6917,9 +6802,9 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="current", Tag=0, Type=typing.List[PowerSource.Enums.WiredFaultEnum]), - ClusterObjectFieldDescriptor(Label="previous", Tag=1, Type=typing.List[PowerSource.Enums.WiredFaultEnum]), + Fields=[ + ClusterObjectFieldDescriptor(Label="current", Tag=0, Type=typing.List[PowerSource.Enums.WiredFaultEnum]), + ClusterObjectFieldDescriptor(Label="previous", Tag=1, Type=typing.List[PowerSource.Enums.WiredFaultEnum]), ]) current: 'typing.List[PowerSource.Enums.WiredFaultEnum]' = field(default_factory=lambda: []) @@ -6938,9 +6823,9 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="current", Tag=0, Type=typing.List[PowerSource.Enums.BatFaultEnum]), - ClusterObjectFieldDescriptor(Label="previous", Tag=1, Type=typing.List[PowerSource.Enums.BatFaultEnum]), + Fields=[ + ClusterObjectFieldDescriptor(Label="current", Tag=0, Type=typing.List[PowerSource.Enums.BatFaultEnum]), + ClusterObjectFieldDescriptor(Label="previous", Tag=1, Type=typing.List[PowerSource.Enums.BatFaultEnum]), ]) current: 'typing.List[PowerSource.Enums.BatFaultEnum]' = field(default_factory=lambda: []) @@ -6959,9 +6844,9 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="current", Tag=0, Type=typing.List[PowerSource.Enums.BatChargeFaultEnum]), - ClusterObjectFieldDescriptor(Label="previous", Tag=1, Type=typing.List[PowerSource.Enums.BatChargeFaultEnum]), + Fields=[ + ClusterObjectFieldDescriptor(Label="current", Tag=0, Type=typing.List[PowerSource.Enums.BatChargeFaultEnum]), + ClusterObjectFieldDescriptor(Label="previous", Tag=1, Type=typing.List[PowerSource.Enums.BatChargeFaultEnum]), ]) current: 'typing.List[PowerSource.Enums.BatChargeFaultEnum]' = field(default_factory=lambda: []) @@ -6975,7 +6860,7 @@ class GeneralCommissioning(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=0x00000000, Type=uint), ClusterObjectFieldDescriptor(Label="basicCommissioningInfo", Tag=0x00000001, Type=GeneralCommissioning.Structs.BasicCommissioningInfo), ClusterObjectFieldDescriptor(Label="regulatoryConfig", Tag=0x00000002, Type=GeneralCommissioning.Enums.RegulatoryLocationType), @@ -7024,24 +6909,20 @@ class RegulatoryLocationType(MatterIntEnum): # enum value. This specific should never be transmitted. kUnknownEnumValue = 3, - - class Structs: @dataclass class BasicCommissioningInfo(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="failSafeExpiryLengthSeconds", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="maxCumulativeFailsafeSeconds", Tag=1, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="failSafeExpiryLengthSeconds", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="maxCumulativeFailsafeSeconds", Tag=1, Type=uint), ]) failSafeExpiryLengthSeconds: 'uint' = 0 maxCumulativeFailsafeSeconds: 'uint' = 0 - - class Commands: @dataclass class ArmFailSafe(ClusterCommand): @@ -7053,9 +6934,9 @@ class ArmFailSafe(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="expiryLengthSeconds", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=1, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="expiryLengthSeconds", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=1, Type=uint), ]) expiryLengthSeconds: 'uint' = 0 @@ -7071,9 +6952,9 @@ class ArmFailSafeResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="errorCode", Tag=0, Type=GeneralCommissioning.Enums.CommissioningError), - ClusterObjectFieldDescriptor(Label="debugText", Tag=1, Type=str), + Fields=[ + ClusterObjectFieldDescriptor(Label="errorCode", Tag=0, Type=GeneralCommissioning.Enums.CommissioningError), + ClusterObjectFieldDescriptor(Label="debugText", Tag=1, Type=str), ]) errorCode: 'GeneralCommissioning.Enums.CommissioningError' = 0 @@ -7089,10 +6970,10 @@ class SetRegulatoryConfig(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="newRegulatoryConfig", Tag=0, Type=GeneralCommissioning.Enums.RegulatoryLocationType), - ClusterObjectFieldDescriptor(Label="countryCode", Tag=1, Type=str), - ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=2, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="newRegulatoryConfig", Tag=0, Type=GeneralCommissioning.Enums.RegulatoryLocationType), + ClusterObjectFieldDescriptor(Label="countryCode", Tag=1, Type=str), + ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=2, Type=uint), ]) newRegulatoryConfig: 'GeneralCommissioning.Enums.RegulatoryLocationType' = 0 @@ -7109,9 +6990,9 @@ class SetRegulatoryConfigResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="errorCode", Tag=0, Type=GeneralCommissioning.Enums.CommissioningError), - ClusterObjectFieldDescriptor(Label="debugText", Tag=1, Type=str), + Fields=[ + ClusterObjectFieldDescriptor(Label="errorCode", Tag=0, Type=GeneralCommissioning.Enums.CommissioningError), + ClusterObjectFieldDescriptor(Label="debugText", Tag=1, Type=str), ]) errorCode: 'GeneralCommissioning.Enums.CommissioningError' = 0 @@ -7127,10 +7008,9 @@ class CommissioningComplete(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ]) - @dataclass class CommissioningCompleteResponse(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0030 @@ -7141,15 +7021,14 @@ class CommissioningCompleteResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="errorCode", Tag=0, Type=GeneralCommissioning.Enums.CommissioningError), - ClusterObjectFieldDescriptor(Label="debugText", Tag=1, Type=str), + Fields=[ + ClusterObjectFieldDescriptor(Label="errorCode", Tag=0, Type=GeneralCommissioning.Enums.CommissioningError), + ClusterObjectFieldDescriptor(Label="debugText", Tag=1, Type=str), ]) errorCode: 'GeneralCommissioning.Enums.CommissioningError' = 0 debugText: 'str' = "" - class Attributes: @dataclass class Breadcrumb(ClusterAttributeDescriptor): @@ -7328,7 +7207,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - @dataclass class NetworkCommissioning(Cluster): id: typing.ClassVar[int] = 0x0031 @@ -7336,7 +7214,7 @@ class NetworkCommissioning(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="maxNetworks", Tag=0x00000000, Type=uint), ClusterObjectFieldDescriptor(Label="networks", Tag=0x00000001, Type=typing.List[NetworkCommissioning.Structs.NetworkInfo]), ClusterObjectFieldDescriptor(Label="scanMaxTimeSeconds", Tag=0x00000002, Type=typing.Optional[uint]), @@ -7401,7 +7279,6 @@ class WiFiBand(MatterIntEnum): # enum value. This specific should never be transmitted. kUnknownEnumValue = 5, - class Bitmaps: class NetworkCommissioningFeature(IntFlag): kWiFiNetworkInterface = 0x1 @@ -7415,16 +7292,15 @@ class WiFiSecurity(IntFlag): kWpa2Personal = 0x8 kWpa3Personal = 0x10 - class Structs: @dataclass class NetworkInfo(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="networkID", Tag=0, Type=bytes), - ClusterObjectFieldDescriptor(Label="connected", Tag=1, Type=bool), + Fields=[ + ClusterObjectFieldDescriptor(Label="networkID", Tag=0, Type=bytes), + ClusterObjectFieldDescriptor(Label="connected", Tag=1, Type=bool), ]) networkID: 'bytes' = b"" @@ -7435,15 +7311,15 @@ class ThreadInterfaceScanResult(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="panId", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="extendedPanId", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="networkName", Tag=2, Type=str), - ClusterObjectFieldDescriptor(Label="channel", Tag=3, Type=uint), - ClusterObjectFieldDescriptor(Label="version", Tag=4, Type=uint), - ClusterObjectFieldDescriptor(Label="extendedAddress", Tag=5, Type=bytes), - ClusterObjectFieldDescriptor(Label="rssi", Tag=6, Type=int), - ClusterObjectFieldDescriptor(Label="lqi", Tag=7, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="panId", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="extendedPanId", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="networkName", Tag=2, Type=str), + ClusterObjectFieldDescriptor(Label="channel", Tag=3, Type=uint), + ClusterObjectFieldDescriptor(Label="version", Tag=4, Type=uint), + ClusterObjectFieldDescriptor(Label="extendedAddress", Tag=5, Type=bytes), + ClusterObjectFieldDescriptor(Label="rssi", Tag=6, Type=int), + ClusterObjectFieldDescriptor(Label="lqi", Tag=7, Type=uint), ]) panId: 'uint' = 0 @@ -7460,13 +7336,13 @@ class WiFiInterfaceScanResult(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="security", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="ssid", Tag=1, Type=bytes), - ClusterObjectFieldDescriptor(Label="bssid", Tag=2, Type=bytes), - ClusterObjectFieldDescriptor(Label="channel", Tag=3, Type=uint), - ClusterObjectFieldDescriptor(Label="wiFiBand", Tag=4, Type=NetworkCommissioning.Enums.WiFiBand), - ClusterObjectFieldDescriptor(Label="rssi", Tag=5, Type=int), + Fields=[ + ClusterObjectFieldDescriptor(Label="security", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="ssid", Tag=1, Type=bytes), + ClusterObjectFieldDescriptor(Label="bssid", Tag=2, Type=bytes), + ClusterObjectFieldDescriptor(Label="channel", Tag=3, Type=uint), + ClusterObjectFieldDescriptor(Label="wiFiBand", Tag=4, Type=NetworkCommissioning.Enums.WiFiBand), + ClusterObjectFieldDescriptor(Label="rssi", Tag=5, Type=int), ]) security: 'uint' = 0 @@ -7476,8 +7352,6 @@ def descriptor(cls) -> ClusterObjectDescriptor: wiFiBand: 'NetworkCommissioning.Enums.WiFiBand' = 0 rssi: 'int' = 0 - - class Commands: @dataclass class ScanNetworks(ClusterCommand): @@ -7489,9 +7363,9 @@ class ScanNetworks(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="ssid", Tag=0, Type=typing.Union[None, Nullable, bytes]), - ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=1, Type=typing.Optional[uint]), + Fields=[ + ClusterObjectFieldDescriptor(Label="ssid", Tag=0, Type=typing.Union[None, Nullable, bytes]), + ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=1, Type=typing.Optional[uint]), ]) ssid: 'typing.Union[None, Nullable, bytes]' = None @@ -7507,11 +7381,11 @@ class ScanNetworksResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="networkingStatus", Tag=0, Type=NetworkCommissioning.Enums.NetworkCommissioningStatus), - ClusterObjectFieldDescriptor(Label="debugText", Tag=1, Type=typing.Optional[str]), - ClusterObjectFieldDescriptor(Label="wiFiScanResults", Tag=2, Type=typing.Optional[typing.List[NetworkCommissioning.Structs.WiFiInterfaceScanResult]]), - ClusterObjectFieldDescriptor(Label="threadScanResults", Tag=3, Type=typing.Optional[typing.List[NetworkCommissioning.Structs.ThreadInterfaceScanResult]]), + Fields=[ + ClusterObjectFieldDescriptor(Label="networkingStatus", Tag=0, Type=NetworkCommissioning.Enums.NetworkCommissioningStatus), + ClusterObjectFieldDescriptor(Label="debugText", Tag=1, Type=typing.Optional[str]), + ClusterObjectFieldDescriptor(Label="wiFiScanResults", Tag=2, Type=typing.Optional[typing.List[NetworkCommissioning.Structs.WiFiInterfaceScanResult]]), + ClusterObjectFieldDescriptor(Label="threadScanResults", Tag=3, Type=typing.Optional[typing.List[NetworkCommissioning.Structs.ThreadInterfaceScanResult]]), ]) networkingStatus: 'NetworkCommissioning.Enums.NetworkCommissioningStatus' = 0 @@ -7529,10 +7403,10 @@ class AddOrUpdateWiFiNetwork(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="ssid", Tag=0, Type=bytes), - ClusterObjectFieldDescriptor(Label="credentials", Tag=1, Type=bytes), - ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=2, Type=typing.Optional[uint]), + Fields=[ + ClusterObjectFieldDescriptor(Label="ssid", Tag=0, Type=bytes), + ClusterObjectFieldDescriptor(Label="credentials", Tag=1, Type=bytes), + ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=2, Type=typing.Optional[uint]), ]) ssid: 'bytes' = b"" @@ -7549,9 +7423,9 @@ class AddOrUpdateThreadNetwork(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="operationalDataset", Tag=0, Type=bytes), - ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=1, Type=typing.Optional[uint]), + Fields=[ + ClusterObjectFieldDescriptor(Label="operationalDataset", Tag=0, Type=bytes), + ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=1, Type=typing.Optional[uint]), ]) operationalDataset: 'bytes' = b"" @@ -7567,9 +7441,9 @@ class RemoveNetwork(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="networkID", Tag=0, Type=bytes), - ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=1, Type=typing.Optional[uint]), + Fields=[ + ClusterObjectFieldDescriptor(Label="networkID", Tag=0, Type=bytes), + ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=1, Type=typing.Optional[uint]), ]) networkID: 'bytes' = b"" @@ -7585,10 +7459,10 @@ class NetworkConfigResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="networkingStatus", Tag=0, Type=NetworkCommissioning.Enums.NetworkCommissioningStatus), - ClusterObjectFieldDescriptor(Label="debugText", Tag=1, Type=typing.Optional[str]), - ClusterObjectFieldDescriptor(Label="networkIndex", Tag=2, Type=typing.Optional[uint]), + Fields=[ + ClusterObjectFieldDescriptor(Label="networkingStatus", Tag=0, Type=NetworkCommissioning.Enums.NetworkCommissioningStatus), + ClusterObjectFieldDescriptor(Label="debugText", Tag=1, Type=typing.Optional[str]), + ClusterObjectFieldDescriptor(Label="networkIndex", Tag=2, Type=typing.Optional[uint]), ]) networkingStatus: 'NetworkCommissioning.Enums.NetworkCommissioningStatus' = 0 @@ -7605,9 +7479,9 @@ class ConnectNetwork(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="networkID", Tag=0, Type=bytes), - ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=1, Type=typing.Optional[uint]), + Fields=[ + ClusterObjectFieldDescriptor(Label="networkID", Tag=0, Type=bytes), + ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=1, Type=typing.Optional[uint]), ]) networkID: 'bytes' = b"" @@ -7623,10 +7497,10 @@ class ConnectNetworkResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="networkingStatus", Tag=0, Type=NetworkCommissioning.Enums.NetworkCommissioningStatus), - ClusterObjectFieldDescriptor(Label="debugText", Tag=1, Type=typing.Optional[str]), - ClusterObjectFieldDescriptor(Label="errorValue", Tag=2, Type=typing.Union[Nullable, int]), + Fields=[ + ClusterObjectFieldDescriptor(Label="networkingStatus", Tag=0, Type=NetworkCommissioning.Enums.NetworkCommissioningStatus), + ClusterObjectFieldDescriptor(Label="debugText", Tag=1, Type=typing.Optional[str]), + ClusterObjectFieldDescriptor(Label="errorValue", Tag=2, Type=typing.Union[Nullable, int]), ]) networkingStatus: 'NetworkCommissioning.Enums.NetworkCommissioningStatus' = 0 @@ -7643,17 +7517,16 @@ class ReorderNetwork(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="networkID", Tag=0, Type=bytes), - ClusterObjectFieldDescriptor(Label="networkIndex", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=2, Type=typing.Optional[uint]), + Fields=[ + ClusterObjectFieldDescriptor(Label="networkID", Tag=0, Type=bytes), + ClusterObjectFieldDescriptor(Label="networkIndex", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=2, Type=typing.Optional[uint]), ]) networkID: 'bytes' = b"" networkIndex: 'uint' = 0 breadcrumb: 'typing.Optional[uint]' = None - class Attributes: @dataclass class MaxNetworks(ClusterAttributeDescriptor): @@ -7880,7 +7753,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - @dataclass class DiagnosticLogs(Cluster): id: typing.ClassVar[int] = 0x0032 @@ -7888,7 +7760,7 @@ class DiagnosticLogs(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), @@ -7936,9 +7808,6 @@ class TransferProtocolEnum(MatterIntEnum): # enum value. This specific should never be transmitted. kUnknownEnumValue = 2, - - - class Commands: @dataclass class RetrieveLogsRequest(ClusterCommand): @@ -7950,10 +7819,10 @@ class RetrieveLogsRequest(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="intent", Tag=0, Type=DiagnosticLogs.Enums.IntentEnum), - ClusterObjectFieldDescriptor(Label="requestedProtocol", Tag=1, Type=DiagnosticLogs.Enums.TransferProtocolEnum), - ClusterObjectFieldDescriptor(Label="transferFileDesignator", Tag=2, Type=typing.Optional[str]), + Fields=[ + ClusterObjectFieldDescriptor(Label="intent", Tag=0, Type=DiagnosticLogs.Enums.IntentEnum), + ClusterObjectFieldDescriptor(Label="requestedProtocol", Tag=1, Type=DiagnosticLogs.Enums.TransferProtocolEnum), + ClusterObjectFieldDescriptor(Label="transferFileDesignator", Tag=2, Type=typing.Optional[str]), ]) intent: 'DiagnosticLogs.Enums.IntentEnum' = 0 @@ -7970,11 +7839,11 @@ class RetrieveLogsResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=DiagnosticLogs.Enums.StatusEnum), - ClusterObjectFieldDescriptor(Label="logContent", Tag=1, Type=bytes), - ClusterObjectFieldDescriptor(Label="UTCTimeStamp", Tag=2, Type=typing.Optional[uint]), - ClusterObjectFieldDescriptor(Label="timeSinceBoot", Tag=3, Type=typing.Optional[uint]), + Fields=[ + ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=DiagnosticLogs.Enums.StatusEnum), + ClusterObjectFieldDescriptor(Label="logContent", Tag=1, Type=bytes), + ClusterObjectFieldDescriptor(Label="UTCTimeStamp", Tag=2, Type=typing.Optional[uint]), + ClusterObjectFieldDescriptor(Label="timeSinceBoot", Tag=3, Type=typing.Optional[uint]), ]) status: 'DiagnosticLogs.Enums.StatusEnum' = 0 @@ -7982,7 +7851,6 @@ def descriptor(cls) -> ClusterObjectDescriptor: UTCTimeStamp: 'typing.Optional[uint]' = None timeSinceBoot: 'typing.Optional[uint]' = None - class Attributes: @dataclass class GeneratedCommandList(ClusterAttributeDescriptor): @@ -8081,7 +7949,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - @dataclass class GeneralDiagnostics(Cluster): id: typing.ClassVar[int] = 0x0033 @@ -8089,7 +7956,7 @@ class GeneralDiagnostics(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="networkInterfaces", Tag=0x00000000, Type=typing.List[GeneralDiagnostics.Structs.NetworkInterface]), ClusterObjectFieldDescriptor(Label="rebootCount", Tag=0x00000001, Type=uint), ClusterObjectFieldDescriptor(Label="upTime", Tag=0x00000002, Type=typing.Optional[uint]), @@ -8193,23 +8060,21 @@ class RadioFaultEnum(MatterIntEnum): # enum value. This specific should never be transmitted. kUnknownEnumValue = 7, - - class Structs: @dataclass class NetworkInterface(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="name", Tag=0, Type=str), - ClusterObjectFieldDescriptor(Label="isOperational", Tag=1, Type=bool), - ClusterObjectFieldDescriptor(Label="offPremiseServicesReachableIPv4", Tag=2, Type=typing.Union[Nullable, bool]), - ClusterObjectFieldDescriptor(Label="offPremiseServicesReachableIPv6", Tag=3, Type=typing.Union[Nullable, bool]), - ClusterObjectFieldDescriptor(Label="hardwareAddress", Tag=4, Type=bytes), - ClusterObjectFieldDescriptor(Label="IPv4Addresses", Tag=5, Type=typing.List[bytes]), - ClusterObjectFieldDescriptor(Label="IPv6Addresses", Tag=6, Type=typing.List[bytes]), - ClusterObjectFieldDescriptor(Label="type", Tag=7, Type=GeneralDiagnostics.Enums.InterfaceTypeEnum), + Fields=[ + ClusterObjectFieldDescriptor(Label="name", Tag=0, Type=str), + ClusterObjectFieldDescriptor(Label="isOperational", Tag=1, Type=bool), + ClusterObjectFieldDescriptor(Label="offPremiseServicesReachableIPv4", Tag=2, Type=typing.Union[Nullable, bool]), + ClusterObjectFieldDescriptor(Label="offPremiseServicesReachableIPv6", Tag=3, Type=typing.Union[Nullable, bool]), + ClusterObjectFieldDescriptor(Label="hardwareAddress", Tag=4, Type=bytes), + ClusterObjectFieldDescriptor(Label="IPv4Addresses", Tag=5, Type=typing.List[bytes]), + ClusterObjectFieldDescriptor(Label="IPv6Addresses", Tag=6, Type=typing.List[bytes]), + ClusterObjectFieldDescriptor(Label="type", Tag=7, Type=GeneralDiagnostics.Enums.InterfaceTypeEnum), ]) name: 'str' = "" @@ -8221,8 +8086,6 @@ def descriptor(cls) -> ClusterObjectDescriptor: IPv6Addresses: 'typing.List[bytes]' = field(default_factory=lambda: []) type: 'GeneralDiagnostics.Enums.InterfaceTypeEnum' = 0 - - class Commands: @dataclass class TestEventTrigger(ClusterCommand): @@ -8234,15 +8097,14 @@ class TestEventTrigger(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="enableKey", Tag=0, Type=bytes), - ClusterObjectFieldDescriptor(Label="eventTrigger", Tag=1, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="enableKey", Tag=0, Type=bytes), + ClusterObjectFieldDescriptor(Label="eventTrigger", Tag=1, Type=uint), ]) enableKey: 'bytes' = b"" eventTrigger: 'uint' = 0 - class Attributes: @dataclass class NetworkInterfaces(ClusterAttributeDescriptor): @@ -8484,7 +8346,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - class Events: @dataclass class HardwareFaultChange(ClusterEvent): @@ -8499,9 +8360,9 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="current", Tag=0, Type=typing.List[GeneralDiagnostics.Enums.HardwareFaultEnum]), - ClusterObjectFieldDescriptor(Label="previous", Tag=1, Type=typing.List[GeneralDiagnostics.Enums.HardwareFaultEnum]), + Fields=[ + ClusterObjectFieldDescriptor(Label="current", Tag=0, Type=typing.List[GeneralDiagnostics.Enums.HardwareFaultEnum]), + ClusterObjectFieldDescriptor(Label="previous", Tag=1, Type=typing.List[GeneralDiagnostics.Enums.HardwareFaultEnum]), ]) current: 'typing.List[GeneralDiagnostics.Enums.HardwareFaultEnum]' = field(default_factory=lambda: []) @@ -8520,9 +8381,9 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="current", Tag=0, Type=typing.List[GeneralDiagnostics.Enums.RadioFaultEnum]), - ClusterObjectFieldDescriptor(Label="previous", Tag=1, Type=typing.List[GeneralDiagnostics.Enums.RadioFaultEnum]), + Fields=[ + ClusterObjectFieldDescriptor(Label="current", Tag=0, Type=typing.List[GeneralDiagnostics.Enums.RadioFaultEnum]), + ClusterObjectFieldDescriptor(Label="previous", Tag=1, Type=typing.List[GeneralDiagnostics.Enums.RadioFaultEnum]), ]) current: 'typing.List[GeneralDiagnostics.Enums.RadioFaultEnum]' = field(default_factory=lambda: []) @@ -8541,9 +8402,9 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="current", Tag=0, Type=typing.List[GeneralDiagnostics.Enums.NetworkFaultEnum]), - ClusterObjectFieldDescriptor(Label="previous", Tag=1, Type=typing.List[GeneralDiagnostics.Enums.NetworkFaultEnum]), + Fields=[ + ClusterObjectFieldDescriptor(Label="current", Tag=0, Type=typing.List[GeneralDiagnostics.Enums.NetworkFaultEnum]), + ClusterObjectFieldDescriptor(Label="previous", Tag=1, Type=typing.List[GeneralDiagnostics.Enums.NetworkFaultEnum]), ]) current: 'typing.List[GeneralDiagnostics.Enums.NetworkFaultEnum]' = field(default_factory=lambda: []) @@ -8562,8 +8423,8 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="bootReason", Tag=0, Type=GeneralDiagnostics.Enums.BootReasonEnum), + Fields=[ + ClusterObjectFieldDescriptor(Label="bootReason", Tag=0, Type=GeneralDiagnostics.Enums.BootReasonEnum), ]) bootReason: 'GeneralDiagnostics.Enums.BootReasonEnum' = 0 @@ -8576,7 +8437,7 @@ class SoftwareDiagnostics(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="threadMetrics", Tag=0x00000000, Type=typing.Optional[typing.List[SoftwareDiagnostics.Structs.ThreadMetricsStruct]]), ClusterObjectFieldDescriptor(Label="currentHeapFree", Tag=0x00000001, Type=typing.Optional[uint]), ClusterObjectFieldDescriptor(Label="currentHeapUsed", Tag=0x00000002, Type=typing.Optional[uint]), @@ -8600,24 +8461,22 @@ def descriptor(cls) -> ClusterObjectDescriptor: featureMap: 'uint' = None clusterRevision: 'uint' = None - class Bitmaps: class SoftwareDiagnosticsFeature(IntFlag): kWaterMarks = 0x1 - class Structs: @dataclass class ThreadMetricsStruct(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="id", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="name", Tag=1, Type=typing.Optional[str]), - ClusterObjectFieldDescriptor(Label="stackFreeCurrent", Tag=2, Type=typing.Optional[uint]), - ClusterObjectFieldDescriptor(Label="stackFreeMinimum", Tag=3, Type=typing.Optional[uint]), - ClusterObjectFieldDescriptor(Label="stackSize", Tag=4, Type=typing.Optional[uint]), + Fields=[ + ClusterObjectFieldDescriptor(Label="id", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="name", Tag=1, Type=typing.Optional[str]), + ClusterObjectFieldDescriptor(Label="stackFreeCurrent", Tag=2, Type=typing.Optional[uint]), + ClusterObjectFieldDescriptor(Label="stackFreeMinimum", Tag=3, Type=typing.Optional[uint]), + ClusterObjectFieldDescriptor(Label="stackSize", Tag=4, Type=typing.Optional[uint]), ]) id: 'uint' = 0 @@ -8626,8 +8485,6 @@ def descriptor(cls) -> ClusterObjectDescriptor: stackFreeMinimum: 'typing.Optional[uint]' = None stackSize: 'typing.Optional[uint]' = None - - class Commands: @dataclass class ResetWatermarks(ClusterCommand): @@ -8639,11 +8496,9 @@ class ResetWatermarks(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ]) - - class Attributes: @dataclass class ThreadMetrics(ClusterAttributeDescriptor): @@ -8805,7 +8660,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - class Events: @dataclass class SoftwareFault(ClusterEvent): @@ -8820,10 +8674,10 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="id", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="name", Tag=1, Type=typing.Optional[str]), - ClusterObjectFieldDescriptor(Label="faultRecording", Tag=2, Type=typing.Optional[bytes]), + Fields=[ + ClusterObjectFieldDescriptor(Label="id", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="name", Tag=1, Type=typing.Optional[str]), + ClusterObjectFieldDescriptor(Label="faultRecording", Tag=2, Type=typing.Optional[bytes]), ]) id: 'uint' = 0 @@ -8838,7 +8692,7 @@ class ThreadNetworkDiagnostics(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="channel", Tag=0x00000000, Type=typing.Union[Nullable, uint]), ClusterObjectFieldDescriptor(Label="routingRole", Tag=0x00000001, Type=typing.Union[Nullable, ThreadNetworkDiagnostics.Enums.RoutingRole]), ClusterObjectFieldDescriptor(Label="networkName", Tag=0x00000002, Type=typing.Union[Nullable, str]), @@ -9015,7 +8869,6 @@ class RoutingRole(MatterIntEnum): # enum value. This specific should never be transmitted. kUnknownEnumValue = 7, - class Bitmaps: class ThreadNetworkDiagnosticsFeature(IntFlag): kPacketCounts = 0x1 @@ -9023,28 +8876,27 @@ class ThreadNetworkDiagnosticsFeature(IntFlag): kMLECounts = 0x4 kMACCounts = 0x8 - class Structs: @dataclass class NeighborTable(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="extAddress", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="age", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="rloc16", Tag=2, Type=uint), - ClusterObjectFieldDescriptor(Label="linkFrameCounter", Tag=3, Type=uint), - ClusterObjectFieldDescriptor(Label="mleFrameCounter", Tag=4, Type=uint), - ClusterObjectFieldDescriptor(Label="lqi", Tag=5, Type=uint), - ClusterObjectFieldDescriptor(Label="averageRssi", Tag=6, Type=typing.Union[Nullable, int]), - ClusterObjectFieldDescriptor(Label="lastRssi", Tag=7, Type=typing.Union[Nullable, int]), - ClusterObjectFieldDescriptor(Label="frameErrorRate", Tag=8, Type=uint), - ClusterObjectFieldDescriptor(Label="messageErrorRate", Tag=9, Type=uint), - ClusterObjectFieldDescriptor(Label="rxOnWhenIdle", Tag=10, Type=bool), - ClusterObjectFieldDescriptor(Label="fullThreadDevice", Tag=11, Type=bool), - ClusterObjectFieldDescriptor(Label="fullNetworkData", Tag=12, Type=bool), - ClusterObjectFieldDescriptor(Label="isChild", Tag=13, Type=bool), + Fields=[ + ClusterObjectFieldDescriptor(Label="extAddress", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="age", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="rloc16", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="linkFrameCounter", Tag=3, Type=uint), + ClusterObjectFieldDescriptor(Label="mleFrameCounter", Tag=4, Type=uint), + ClusterObjectFieldDescriptor(Label="lqi", Tag=5, Type=uint), + ClusterObjectFieldDescriptor(Label="averageRssi", Tag=6, Type=typing.Union[Nullable, int]), + ClusterObjectFieldDescriptor(Label="lastRssi", Tag=7, Type=typing.Union[Nullable, int]), + ClusterObjectFieldDescriptor(Label="frameErrorRate", Tag=8, Type=uint), + ClusterObjectFieldDescriptor(Label="messageErrorRate", Tag=9, Type=uint), + ClusterObjectFieldDescriptor(Label="rxOnWhenIdle", Tag=10, Type=bool), + ClusterObjectFieldDescriptor(Label="fullThreadDevice", Tag=11, Type=bool), + ClusterObjectFieldDescriptor(Label="fullNetworkData", Tag=12, Type=bool), + ClusterObjectFieldDescriptor(Label="isChild", Tag=13, Type=bool), ]) extAddress: 'uint' = 0 @@ -9067,19 +8919,19 @@ class OperationalDatasetComponents(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="activeTimestampPresent", Tag=0, Type=bool), - ClusterObjectFieldDescriptor(Label="pendingTimestampPresent", Tag=1, Type=bool), - ClusterObjectFieldDescriptor(Label="masterKeyPresent", Tag=2, Type=bool), - ClusterObjectFieldDescriptor(Label="networkNamePresent", Tag=3, Type=bool), - ClusterObjectFieldDescriptor(Label="extendedPanIdPresent", Tag=4, Type=bool), - ClusterObjectFieldDescriptor(Label="meshLocalPrefixPresent", Tag=5, Type=bool), - ClusterObjectFieldDescriptor(Label="delayPresent", Tag=6, Type=bool), - ClusterObjectFieldDescriptor(Label="panIdPresent", Tag=7, Type=bool), - ClusterObjectFieldDescriptor(Label="channelPresent", Tag=8, Type=bool), - ClusterObjectFieldDescriptor(Label="pskcPresent", Tag=9, Type=bool), - ClusterObjectFieldDescriptor(Label="securityPolicyPresent", Tag=10, Type=bool), - ClusterObjectFieldDescriptor(Label="channelMaskPresent", Tag=11, Type=bool), + Fields=[ + ClusterObjectFieldDescriptor(Label="activeTimestampPresent", Tag=0, Type=bool), + ClusterObjectFieldDescriptor(Label="pendingTimestampPresent", Tag=1, Type=bool), + ClusterObjectFieldDescriptor(Label="masterKeyPresent", Tag=2, Type=bool), + ClusterObjectFieldDescriptor(Label="networkNamePresent", Tag=3, Type=bool), + ClusterObjectFieldDescriptor(Label="extendedPanIdPresent", Tag=4, Type=bool), + ClusterObjectFieldDescriptor(Label="meshLocalPrefixPresent", Tag=5, Type=bool), + ClusterObjectFieldDescriptor(Label="delayPresent", Tag=6, Type=bool), + ClusterObjectFieldDescriptor(Label="panIdPresent", Tag=7, Type=bool), + ClusterObjectFieldDescriptor(Label="channelPresent", Tag=8, Type=bool), + ClusterObjectFieldDescriptor(Label="pskcPresent", Tag=9, Type=bool), + ClusterObjectFieldDescriptor(Label="securityPolicyPresent", Tag=10, Type=bool), + ClusterObjectFieldDescriptor(Label="channelMaskPresent", Tag=11, Type=bool), ]) activeTimestampPresent: 'bool' = False @@ -9100,17 +8952,17 @@ class RouteTable(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="extAddress", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="rloc16", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="routerId", Tag=2, Type=uint), - ClusterObjectFieldDescriptor(Label="nextHop", Tag=3, Type=uint), - ClusterObjectFieldDescriptor(Label="pathCost", Tag=4, Type=uint), - ClusterObjectFieldDescriptor(Label="LQIIn", Tag=5, Type=uint), - ClusterObjectFieldDescriptor(Label="LQIOut", Tag=6, Type=uint), - ClusterObjectFieldDescriptor(Label="age", Tag=7, Type=uint), - ClusterObjectFieldDescriptor(Label="allocated", Tag=8, Type=bool), - ClusterObjectFieldDescriptor(Label="linkEstablished", Tag=9, Type=bool), + Fields=[ + ClusterObjectFieldDescriptor(Label="extAddress", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="rloc16", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="routerId", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="nextHop", Tag=3, Type=uint), + ClusterObjectFieldDescriptor(Label="pathCost", Tag=4, Type=uint), + ClusterObjectFieldDescriptor(Label="LQIIn", Tag=5, Type=uint), + ClusterObjectFieldDescriptor(Label="LQIOut", Tag=6, Type=uint), + ClusterObjectFieldDescriptor(Label="age", Tag=7, Type=uint), + ClusterObjectFieldDescriptor(Label="allocated", Tag=8, Type=bool), + ClusterObjectFieldDescriptor(Label="linkEstablished", Tag=9, Type=bool), ]) extAddress: 'uint' = 0 @@ -9129,16 +8981,14 @@ class SecurityPolicy(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="rotationTime", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="flags", Tag=1, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="rotationTime", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="flags", Tag=1, Type=uint), ]) rotationTime: 'uint' = 0 flags: 'uint' = 0 - - class Commands: @dataclass class ResetCounts(ClusterCommand): @@ -9150,11 +9000,9 @@ class ResetCounts(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ]) - - class Attributes: @dataclass class Channel(ClusterAttributeDescriptor): @@ -10260,7 +10108,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - class Events: @dataclass class ConnectionStatus(ClusterEvent): @@ -10275,8 +10122,8 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="connectionStatus", Tag=0, Type=ThreadNetworkDiagnostics.Enums.ConnectionStatusEnum), + Fields=[ + ClusterObjectFieldDescriptor(Label="connectionStatus", Tag=0, Type=ThreadNetworkDiagnostics.Enums.ConnectionStatusEnum), ]) connectionStatus: 'ThreadNetworkDiagnostics.Enums.ConnectionStatusEnum' = 0 @@ -10294,9 +10141,9 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="current", Tag=0, Type=typing.List[ThreadNetworkDiagnostics.Enums.NetworkFault]), - ClusterObjectFieldDescriptor(Label="previous", Tag=1, Type=typing.List[ThreadNetworkDiagnostics.Enums.NetworkFault]), + Fields=[ + ClusterObjectFieldDescriptor(Label="current", Tag=0, Type=typing.List[ThreadNetworkDiagnostics.Enums.NetworkFault]), + ClusterObjectFieldDescriptor(Label="previous", Tag=1, Type=typing.List[ThreadNetworkDiagnostics.Enums.NetworkFault]), ]) current: 'typing.List[ThreadNetworkDiagnostics.Enums.NetworkFault]' = field(default_factory=lambda: []) @@ -10310,7 +10157,7 @@ class WiFiNetworkDiagnostics(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="bssid", Tag=0x00000000, Type=typing.Union[Nullable, bytes]), ClusterObjectFieldDescriptor(Label="securityType", Tag=0x00000001, Type=typing.Union[Nullable, WiFiNetworkDiagnostics.Enums.SecurityTypeEnum]), ClusterObjectFieldDescriptor(Label="wiFiVersion", Tag=0x00000002, Type=typing.Union[Nullable, WiFiNetworkDiagnostics.Enums.WiFiVersionEnum]), @@ -10399,14 +10246,11 @@ class WiFiVersionEnum(MatterIntEnum): # enum value. This specific should never be transmitted. kUnknownEnumValue = 6, - class Bitmaps: class WiFiNetworkDiagnosticsFeature(IntFlag): kPacketCounts = 0x1 kErrorCounts = 0x2 - - class Commands: @dataclass class ResetCounts(ClusterCommand): @@ -10418,11 +10262,9 @@ class ResetCounts(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ]) - - class Attributes: @dataclass class Bssid(ClusterAttributeDescriptor): @@ -10728,7 +10570,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - class Events: @dataclass class Disconnection(ClusterEvent): @@ -10743,8 +10584,8 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="reasonCode", Tag=0, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="reasonCode", Tag=0, Type=uint), ]) reasonCode: 'uint' = 0 @@ -10762,9 +10603,9 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="associationFailure", Tag=0, Type=WiFiNetworkDiagnostics.Enums.AssociationFailureCauseEnum), - ClusterObjectFieldDescriptor(Label="status", Tag=1, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="associationFailure", Tag=0, Type=WiFiNetworkDiagnostics.Enums.AssociationFailureCauseEnum), + ClusterObjectFieldDescriptor(Label="status", Tag=1, Type=uint), ]) associationFailure: 'WiFiNetworkDiagnostics.Enums.AssociationFailureCauseEnum' = 0 @@ -10783,8 +10624,8 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="connectionStatus", Tag=0, Type=WiFiNetworkDiagnostics.Enums.ConnectionStatusEnum), + Fields=[ + ClusterObjectFieldDescriptor(Label="connectionStatus", Tag=0, Type=WiFiNetworkDiagnostics.Enums.ConnectionStatusEnum), ]) connectionStatus: 'WiFiNetworkDiagnostics.Enums.ConnectionStatusEnum' = 0 @@ -10797,7 +10638,7 @@ class EthernetNetworkDiagnostics(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="PHYRate", Tag=0x00000000, Type=typing.Union[None, Nullable, EthernetNetworkDiagnostics.Enums.PHYRateEnum]), ClusterObjectFieldDescriptor(Label="fullDuplex", Tag=0x00000001, Type=typing.Union[None, Nullable, bool]), ClusterObjectFieldDescriptor(Label="packetRxCount", Tag=0x00000002, Type=typing.Optional[uint]), @@ -10849,14 +10690,11 @@ class PHYRateEnum(MatterIntEnum): # enum value. This specific should never be transmitted. kUnknownEnumValue = 10, - class Bitmaps: class EthernetNetworkDiagnosticsFeature(IntFlag): kPacketCounts = 0x1 kErrorCounts = 0x2 - - class Commands: @dataclass class ResetCounts(ClusterCommand): @@ -10868,11 +10706,9 @@ class ResetCounts(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ]) - - class Attributes: @dataclass class PHYRate(ClusterAttributeDescriptor): @@ -11115,7 +10951,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - @dataclass class TimeSynchronization(Cluster): id: typing.ClassVar[int] = 0x0038 @@ -11123,7 +10958,7 @@ class TimeSynchronization(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="UTCTime", Tag=0x00000000, Type=typing.Union[Nullable, uint]), ClusterObjectFieldDescriptor(Label="granularity", Tag=0x00000001, Type=TimeSynchronization.Enums.GranularityEnum), ClusterObjectFieldDescriptor(Label="timeSource", Tag=0x00000002, Type=typing.Optional[TimeSynchronization.Enums.TimeSourceEnum]), @@ -11196,18 +11031,16 @@ class TimeSourceEnum(MatterIntEnum): # enum value. This specific should never be transmitted. kUnknownEnumValue = 17, - - class Structs: @dataclass class DSTOffsetStruct(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="offset", Tag=0, Type=int), - ClusterObjectFieldDescriptor(Label="validStarting", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="validUntil", Tag=2, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="offset", Tag=0, Type=int), + ClusterObjectFieldDescriptor(Label="validStarting", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="validUntil", Tag=2, Type=uint), ]) offset: 'int' = 0 @@ -11219,18 +11052,16 @@ class TimeZoneStruct(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="offset", Tag=0, Type=int), - ClusterObjectFieldDescriptor(Label="validAt", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="name", Tag=2, Type=typing.Optional[str]), + Fields=[ + ClusterObjectFieldDescriptor(Label="offset", Tag=0, Type=int), + ClusterObjectFieldDescriptor(Label="validAt", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="name", Tag=2, Type=typing.Optional[str]), ]) offset: 'int' = 0 validAt: 'uint' = 0 name: 'typing.Optional[str]' = None - - class Commands: @dataclass class SetUtcTime(ClusterCommand): @@ -11242,17 +11073,16 @@ class SetUtcTime(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="utcTime", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="granularity", Tag=1, Type=TimeSynchronization.Enums.GranularityEnum), - ClusterObjectFieldDescriptor(Label="timeSource", Tag=2, Type=typing.Optional[TimeSynchronization.Enums.TimeSourceEnum]), + Fields=[ + ClusterObjectFieldDescriptor(Label="utcTime", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="granularity", Tag=1, Type=TimeSynchronization.Enums.GranularityEnum), + ClusterObjectFieldDescriptor(Label="timeSource", Tag=2, Type=typing.Optional[TimeSynchronization.Enums.TimeSourceEnum]), ]) utcTime: 'uint' = 0 granularity: 'TimeSynchronization.Enums.GranularityEnum' = 0 timeSource: 'typing.Optional[TimeSynchronization.Enums.TimeSourceEnum]' = None - class Attributes: @dataclass class UTCTime(ClusterAttributeDescriptor): @@ -11511,7 +11341,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - @dataclass class BridgedDeviceBasicInformation(Cluster): id: typing.ClassVar[int] = 0x0039 @@ -11519,7 +11348,7 @@ class BridgedDeviceBasicInformation(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="vendorName", Tag=0x00000001, Type=typing.Optional[str]), ClusterObjectFieldDescriptor(Label="vendorID", Tag=0x00000002, Type=typing.Optional[uint]), ClusterObjectFieldDescriptor(Label="productName", Tag=0x00000003, Type=typing.Optional[str]), @@ -11565,10 +11394,6 @@ def descriptor(cls) -> ClusterObjectDescriptor: featureMap: 'uint' = None clusterRevision: 'uint' = None - - - - class Attributes: @dataclass class VendorName(ClusterAttributeDescriptor): @@ -11906,7 +11731,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - class Events: @dataclass class StartUp(ClusterEvent): @@ -11921,8 +11745,8 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="softwareVersion", Tag=0, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="softwareVersion", Tag=0, Type=uint), ]) softwareVersion: 'uint' = 0 @@ -11940,10 +11764,9 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ]) - @dataclass class Leave(ClusterEvent): @ChipUtility.classproperty @@ -11957,10 +11780,9 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ]) - @dataclass class ReachableChanged(ClusterEvent): @ChipUtility.classproperty @@ -11974,8 +11796,8 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="reachableNewValue", Tag=0, Type=bool), + Fields=[ + ClusterObjectFieldDescriptor(Label="reachableNewValue", Tag=0, Type=bool), ]) reachableNewValue: 'bool' = False @@ -11988,7 +11810,7 @@ class Switch(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="numberOfPositions", Tag=0x00000000, Type=uint), ClusterObjectFieldDescriptor(Label="currentPosition", Tag=0x00000001, Type=uint), ClusterObjectFieldDescriptor(Label="multiPressMax", Tag=0x00000002, Type=typing.Optional[uint]), @@ -12010,7 +11832,6 @@ def descriptor(cls) -> ClusterObjectDescriptor: featureMap: 'uint' = None clusterRevision: 'uint' = None - class Bitmaps: class SwitchFeature(IntFlag): kLatchingSwitch = 0x1 @@ -12019,9 +11840,6 @@ class SwitchFeature(IntFlag): kMomentarySwitchLongPress = 0x8 kMomentarySwitchMultiPress = 0x10 - - - class Attributes: @dataclass class NumberOfPositions(ClusterAttributeDescriptor): @@ -12167,7 +11985,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - class Events: @dataclass class SwitchLatched(ClusterEvent): @@ -12182,8 +11999,8 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="newPosition", Tag=0, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="newPosition", Tag=0, Type=uint), ]) newPosition: 'uint' = 0 @@ -12201,8 +12018,8 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="newPosition", Tag=0, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="newPosition", Tag=0, Type=uint), ]) newPosition: 'uint' = 0 @@ -12220,8 +12037,8 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="newPosition", Tag=0, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="newPosition", Tag=0, Type=uint), ]) newPosition: 'uint' = 0 @@ -12239,8 +12056,8 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="previousPosition", Tag=0, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="previousPosition", Tag=0, Type=uint), ]) previousPosition: 'uint' = 0 @@ -12258,8 +12075,8 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="previousPosition", Tag=0, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="previousPosition", Tag=0, Type=uint), ]) previousPosition: 'uint' = 0 @@ -12277,9 +12094,9 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="newPosition", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="currentNumberOfPressesCounted", Tag=1, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="newPosition", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="currentNumberOfPressesCounted", Tag=1, Type=uint), ]) newPosition: 'uint' = 0 @@ -12298,9 +12115,9 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="previousPosition", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="totalNumberOfPressesCounted", Tag=1, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="previousPosition", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="totalNumberOfPressesCounted", Tag=1, Type=uint), ]) previousPosition: 'uint' = 0 @@ -12314,7 +12131,7 @@ class AdministratorCommissioning(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="windowStatus", Tag=0x00000000, Type=AdministratorCommissioning.Enums.CommissioningWindowStatusEnum), ClusterObjectFieldDescriptor(Label="adminFabricIndex", Tag=0x00000001, Type=typing.Union[Nullable, uint]), ClusterObjectFieldDescriptor(Label="adminVendorId", Tag=0x00000002, Type=typing.Union[Nullable, uint]), @@ -12357,9 +12174,6 @@ class StatusCode(MatterIntEnum): # enum value. This specific should never be transmitted. kUnknownEnumValue = 0, - - - class Commands: @dataclass class OpenCommissioningWindow(ClusterCommand): @@ -12371,12 +12185,12 @@ class OpenCommissioningWindow(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="commissioningTimeout", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="PAKEPasscodeVerifier", Tag=1, Type=bytes), - ClusterObjectFieldDescriptor(Label="discriminator", Tag=2, Type=uint), - ClusterObjectFieldDescriptor(Label="iterations", Tag=3, Type=uint), - ClusterObjectFieldDescriptor(Label="salt", Tag=4, Type=bytes), + Fields=[ + ClusterObjectFieldDescriptor(Label="commissioningTimeout", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="PAKEPasscodeVerifier", Tag=1, Type=bytes), + ClusterObjectFieldDescriptor(Label="discriminator", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="iterations", Tag=3, Type=uint), + ClusterObjectFieldDescriptor(Label="salt", Tag=4, Type=bytes), ]) @ChipUtility.classproperty @@ -12399,8 +12213,8 @@ class OpenBasicCommissioningWindow(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="commissioningTimeout", Tag=0, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="commissioningTimeout", Tag=0, Type=uint), ]) @ChipUtility.classproperty @@ -12419,15 +12233,13 @@ class RevokeCommissioning(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ]) @ChipUtility.classproperty def must_use_timed_invoke(cls) -> bool: return True - - class Attributes: @dataclass class WindowStatus(ClusterAttributeDescriptor): @@ -12574,7 +12386,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - @dataclass class OperationalCredentials(Cluster): id: typing.ClassVar[int] = 0x003E @@ -12582,7 +12393,7 @@ class OperationalCredentials(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="NOCs", Tag=0x00000000, Type=typing.List[OperationalCredentials.Structs.NOCStruct]), ClusterObjectFieldDescriptor(Label="fabrics", Tag=0x00000001, Type=typing.List[OperationalCredentials.Structs.FabricDescriptorStruct]), ClusterObjectFieldDescriptor(Label="supportedFabrics", Tag=0x00000002, Type=uint), @@ -12637,21 +12448,19 @@ class NodeOperationalCertStatusEnum(MatterIntEnum): # enum value. This specific should never be transmitted. kUnknownEnumValue = 7, - - class Structs: @dataclass class FabricDescriptorStruct(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="rootPublicKey", Tag=1, Type=bytes), - ClusterObjectFieldDescriptor(Label="vendorID", Tag=2, Type=uint), - ClusterObjectFieldDescriptor(Label="fabricID", Tag=3, Type=uint), - ClusterObjectFieldDescriptor(Label="nodeID", Tag=4, Type=uint), - ClusterObjectFieldDescriptor(Label="label", Tag=5, Type=str), - ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="rootPublicKey", Tag=1, Type=bytes), + ClusterObjectFieldDescriptor(Label="vendorID", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="fabricID", Tag=3, Type=uint), + ClusterObjectFieldDescriptor(Label="nodeID", Tag=4, Type=uint), + ClusterObjectFieldDescriptor(Label="label", Tag=5, Type=str), + ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint), ]) rootPublicKey: 'bytes' = b"" @@ -12666,18 +12475,16 @@ class NOCStruct(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="noc", Tag=1, Type=bytes), - ClusterObjectFieldDescriptor(Label="icac", Tag=2, Type=typing.Union[Nullable, bytes]), - ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="noc", Tag=1, Type=bytes), + ClusterObjectFieldDescriptor(Label="icac", Tag=2, Type=typing.Union[Nullable, bytes]), + ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint), ]) noc: 'bytes' = b"" icac: 'typing.Union[Nullable, bytes]' = NullValue fabricIndex: 'uint' = 0 - - class Commands: @dataclass class AttestationRequest(ClusterCommand): @@ -12689,8 +12496,8 @@ class AttestationRequest(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="attestationNonce", Tag=0, Type=bytes), + Fields=[ + ClusterObjectFieldDescriptor(Label="attestationNonce", Tag=0, Type=bytes), ]) attestationNonce: 'bytes' = b"" @@ -12705,9 +12512,9 @@ class AttestationResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="attestationElements", Tag=0, Type=bytes), - ClusterObjectFieldDescriptor(Label="attestationSignature", Tag=1, Type=bytes), + Fields=[ + ClusterObjectFieldDescriptor(Label="attestationElements", Tag=0, Type=bytes), + ClusterObjectFieldDescriptor(Label="attestationSignature", Tag=1, Type=bytes), ]) attestationElements: 'bytes' = b"" @@ -12723,8 +12530,8 @@ class CertificateChainRequest(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="certificateType", Tag=0, Type=OperationalCredentials.Enums.CertificateChainTypeEnum), + Fields=[ + ClusterObjectFieldDescriptor(Label="certificateType", Tag=0, Type=OperationalCredentials.Enums.CertificateChainTypeEnum), ]) certificateType: 'OperationalCredentials.Enums.CertificateChainTypeEnum' = 0 @@ -12739,8 +12546,8 @@ class CertificateChainResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="certificate", Tag=0, Type=bytes), + Fields=[ + ClusterObjectFieldDescriptor(Label="certificate", Tag=0, Type=bytes), ]) certificate: 'bytes' = b"" @@ -12755,9 +12562,9 @@ class CSRRequest(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="CSRNonce", Tag=0, Type=bytes), - ClusterObjectFieldDescriptor(Label="isForUpdateNOC", Tag=1, Type=typing.Optional[bool]), + Fields=[ + ClusterObjectFieldDescriptor(Label="CSRNonce", Tag=0, Type=bytes), + ClusterObjectFieldDescriptor(Label="isForUpdateNOC", Tag=1, Type=typing.Optional[bool]), ]) CSRNonce: 'bytes' = b"" @@ -12773,9 +12580,9 @@ class CSRResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="NOCSRElements", Tag=0, Type=bytes), - ClusterObjectFieldDescriptor(Label="attestationSignature", Tag=1, Type=bytes), + Fields=[ + ClusterObjectFieldDescriptor(Label="NOCSRElements", Tag=0, Type=bytes), + ClusterObjectFieldDescriptor(Label="attestationSignature", Tag=1, Type=bytes), ]) NOCSRElements: 'bytes' = b"" @@ -12791,12 +12598,12 @@ class AddNOC(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="NOCValue", Tag=0, Type=bytes), - ClusterObjectFieldDescriptor(Label="ICACValue", Tag=1, Type=typing.Optional[bytes]), - ClusterObjectFieldDescriptor(Label="IPKValue", Tag=2, Type=bytes), - ClusterObjectFieldDescriptor(Label="caseAdminSubject", Tag=3, Type=uint), - ClusterObjectFieldDescriptor(Label="adminVendorId", Tag=4, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="NOCValue", Tag=0, Type=bytes), + ClusterObjectFieldDescriptor(Label="ICACValue", Tag=1, Type=typing.Optional[bytes]), + ClusterObjectFieldDescriptor(Label="IPKValue", Tag=2, Type=bytes), + ClusterObjectFieldDescriptor(Label="caseAdminSubject", Tag=3, Type=uint), + ClusterObjectFieldDescriptor(Label="adminVendorId", Tag=4, Type=uint), ]) NOCValue: 'bytes' = b"" @@ -12815,9 +12622,9 @@ class UpdateNOC(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="NOCValue", Tag=0, Type=bytes), - ClusterObjectFieldDescriptor(Label="ICACValue", Tag=1, Type=typing.Optional[bytes]), + Fields=[ + ClusterObjectFieldDescriptor(Label="NOCValue", Tag=0, Type=bytes), + ClusterObjectFieldDescriptor(Label="ICACValue", Tag=1, Type=typing.Optional[bytes]), ]) NOCValue: 'bytes' = b"" @@ -12833,10 +12640,10 @@ class NOCResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="statusCode", Tag=0, Type=OperationalCredentials.Enums.NodeOperationalCertStatusEnum), - ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=1, Type=typing.Optional[uint]), - ClusterObjectFieldDescriptor(Label="debugText", Tag=2, Type=typing.Optional[str]), + Fields=[ + ClusterObjectFieldDescriptor(Label="statusCode", Tag=0, Type=OperationalCredentials.Enums.NodeOperationalCertStatusEnum), + ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=1, Type=typing.Optional[uint]), + ClusterObjectFieldDescriptor(Label="debugText", Tag=2, Type=typing.Optional[str]), ]) statusCode: 'OperationalCredentials.Enums.NodeOperationalCertStatusEnum' = 0 @@ -12853,8 +12660,8 @@ class UpdateFabricLabel(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="label", Tag=0, Type=str), + Fields=[ + ClusterObjectFieldDescriptor(Label="label", Tag=0, Type=str), ]) label: 'str' = "" @@ -12869,8 +12676,8 @@ class RemoveFabric(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=0, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=0, Type=uint), ]) fabricIndex: 'uint' = 0 @@ -12885,13 +12692,12 @@ class AddTrustedRootCertificate(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="rootCACertificate", Tag=0, Type=bytes), + Fields=[ + ClusterObjectFieldDescriptor(Label="rootCACertificate", Tag=0, Type=bytes), ]) rootCACertificate: 'bytes' = b"" - class Attributes: @dataclass class NOCs(ClusterAttributeDescriptor): @@ -13086,7 +12892,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - @dataclass class GroupKeyManagement(Cluster): id: typing.ClassVar[int] = 0x003F @@ -13094,7 +12899,7 @@ class GroupKeyManagement(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="groupKeyMap", Tag=0x00000000, Type=typing.List[GroupKeyManagement.Structs.GroupKeyMapStruct]), ClusterObjectFieldDescriptor(Label="groupTable", Tag=0x00000001, Type=typing.List[GroupKeyManagement.Structs.GroupInfoMapStruct]), ClusterObjectFieldDescriptor(Label="maxGroupsPerFabric", Tag=0x00000002, Type=uint), @@ -13128,19 +12933,17 @@ class GroupKeySecurityPolicyEnum(MatterIntEnum): # enum value. This specific should never be transmitted. kUnknownEnumValue = 2, - - class Structs: @dataclass class GroupInfoMapStruct(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="groupId", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="endpoints", Tag=2, Type=typing.List[uint]), - ClusterObjectFieldDescriptor(Label="groupName", Tag=3, Type=typing.Optional[str]), - ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="groupId", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="endpoints", Tag=2, Type=typing.List[uint]), + ClusterObjectFieldDescriptor(Label="groupName", Tag=3, Type=typing.Optional[str]), + ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint), ]) groupId: 'uint' = 0 @@ -13153,10 +12956,10 @@ class GroupKeyMapStruct(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="groupId", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="groupKeySetID", Tag=2, Type=uint), - ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="groupId", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="groupKeySetID", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint), ]) groupId: 'uint' = 0 @@ -13168,15 +12971,15 @@ class GroupKeySetStruct(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="groupKeySetID", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="groupKeySecurityPolicy", Tag=1, Type=GroupKeyManagement.Enums.GroupKeySecurityPolicyEnum), - ClusterObjectFieldDescriptor(Label="epochKey0", Tag=2, Type=typing.Union[Nullable, bytes]), - ClusterObjectFieldDescriptor(Label="epochStartTime0", Tag=3, Type=typing.Union[Nullable, uint]), - ClusterObjectFieldDescriptor(Label="epochKey1", Tag=4, Type=typing.Union[Nullable, bytes]), - ClusterObjectFieldDescriptor(Label="epochStartTime1", Tag=5, Type=typing.Union[Nullable, uint]), - ClusterObjectFieldDescriptor(Label="epochKey2", Tag=6, Type=typing.Union[Nullable, bytes]), - ClusterObjectFieldDescriptor(Label="epochStartTime2", Tag=7, Type=typing.Union[Nullable, uint]), + Fields=[ + ClusterObjectFieldDescriptor(Label="groupKeySetID", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="groupKeySecurityPolicy", Tag=1, Type=GroupKeyManagement.Enums.GroupKeySecurityPolicyEnum), + ClusterObjectFieldDescriptor(Label="epochKey0", Tag=2, Type=typing.Union[Nullable, bytes]), + ClusterObjectFieldDescriptor(Label="epochStartTime0", Tag=3, Type=typing.Union[Nullable, uint]), + ClusterObjectFieldDescriptor(Label="epochKey1", Tag=4, Type=typing.Union[Nullable, bytes]), + ClusterObjectFieldDescriptor(Label="epochStartTime1", Tag=5, Type=typing.Union[Nullable, uint]), + ClusterObjectFieldDescriptor(Label="epochKey2", Tag=6, Type=typing.Union[Nullable, bytes]), + ClusterObjectFieldDescriptor(Label="epochStartTime2", Tag=7, Type=typing.Union[Nullable, uint]), ]) groupKeySetID: 'uint' = 0 @@ -13188,8 +12991,6 @@ def descriptor(cls) -> ClusterObjectDescriptor: epochKey2: 'typing.Union[Nullable, bytes]' = NullValue epochStartTime2: 'typing.Union[Nullable, uint]' = NullValue - - class Commands: @dataclass class KeySetWrite(ClusterCommand): @@ -13201,8 +13002,8 @@ class KeySetWrite(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="groupKeySet", Tag=0, Type=GroupKeyManagement.Structs.GroupKeySetStruct), + Fields=[ + ClusterObjectFieldDescriptor(Label="groupKeySet", Tag=0, Type=GroupKeyManagement.Structs.GroupKeySetStruct), ]) groupKeySet: 'GroupKeyManagement.Structs.GroupKeySetStruct' = field(default_factory=lambda: GroupKeyManagement.Structs.GroupKeySetStruct()) @@ -13217,8 +13018,8 @@ class KeySetRead(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="groupKeySetID", Tag=0, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="groupKeySetID", Tag=0, Type=uint), ]) groupKeySetID: 'uint' = 0 @@ -13233,8 +13034,8 @@ class KeySetReadResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="groupKeySet", Tag=0, Type=GroupKeyManagement.Structs.GroupKeySetStruct), + Fields=[ + ClusterObjectFieldDescriptor(Label="groupKeySet", Tag=0, Type=GroupKeyManagement.Structs.GroupKeySetStruct), ]) groupKeySet: 'GroupKeyManagement.Structs.GroupKeySetStruct' = field(default_factory=lambda: GroupKeyManagement.Structs.GroupKeySetStruct()) @@ -13249,8 +13050,8 @@ class KeySetRemove(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="groupKeySetID", Tag=0, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="groupKeySetID", Tag=0, Type=uint), ]) groupKeySetID: 'uint' = 0 @@ -13265,8 +13066,8 @@ class KeySetReadAllIndices(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="groupKeySetIDs", Tag=0, Type=typing.List[uint]), + Fields=[ + ClusterObjectFieldDescriptor(Label="groupKeySetIDs", Tag=0, Type=typing.List[uint]), ]) groupKeySetIDs: 'typing.List[uint]' = field(default_factory=lambda: []) @@ -13281,13 +13082,12 @@ class KeySetReadAllIndicesResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="groupKeySetIDs", Tag=0, Type=typing.List[uint]), + Fields=[ + ClusterObjectFieldDescriptor(Label="groupKeySetIDs", Tag=0, Type=typing.List[uint]), ]) groupKeySetIDs: 'typing.List[uint]' = field(default_factory=lambda: []) - class Attributes: @dataclass class GroupKeyMap(ClusterAttributeDescriptor): @@ -13450,7 +13250,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - @dataclass class FixedLabel(Cluster): id: typing.ClassVar[int] = 0x0040 @@ -13458,7 +13257,7 @@ class FixedLabel(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="labelList", Tag=0x00000000, Type=typing.List[FixedLabel.Structs.LabelStruct]), ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), @@ -13476,25 +13275,20 @@ def descriptor(cls) -> ClusterObjectDescriptor: featureMap: 'uint' = None clusterRevision: 'uint' = None - - class Structs: @dataclass class LabelStruct(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="label", Tag=0, Type=str), - ClusterObjectFieldDescriptor(Label="value", Tag=1, Type=str), + Fields=[ + ClusterObjectFieldDescriptor(Label="label", Tag=0, Type=str), + ClusterObjectFieldDescriptor(Label="value", Tag=1, Type=str), ]) label: 'str' = "" value: 'str' = "" - - - class Attributes: @dataclass class LabelList(ClusterAttributeDescriptor): @@ -13609,7 +13403,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - @dataclass class UserLabel(Cluster): id: typing.ClassVar[int] = 0x0041 @@ -13617,7 +13410,7 @@ class UserLabel(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="labelList", Tag=0x00000000, Type=typing.List[UserLabel.Structs.LabelStruct]), ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), @@ -13635,25 +13428,20 @@ def descriptor(cls) -> ClusterObjectDescriptor: featureMap: 'uint' = None clusterRevision: 'uint' = None - - class Structs: @dataclass class LabelStruct(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="label", Tag=0, Type=str), - ClusterObjectFieldDescriptor(Label="value", Tag=1, Type=str), + Fields=[ + ClusterObjectFieldDescriptor(Label="label", Tag=0, Type=str), + ClusterObjectFieldDescriptor(Label="value", Tag=1, Type=str), ]) label: 'str' = "" value: 'str' = "" - - - class Attributes: @dataclass class LabelList(ClusterAttributeDescriptor): @@ -13768,7 +13556,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - @dataclass class ProxyConfiguration(Cluster): id: typing.ClassVar[int] = 0x0042 @@ -13776,7 +13563,7 @@ class ProxyConfiguration(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), @@ -13792,10 +13579,6 @@ def descriptor(cls) -> ClusterObjectDescriptor: featureMap: 'uint' = None clusterRevision: 'uint' = None - - - - class Attributes: @dataclass class GeneratedCommandList(ClusterAttributeDescriptor): @@ -13894,7 +13677,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - @dataclass class ProxyDiscovery(Cluster): id: typing.ClassVar[int] = 0x0043 @@ -13902,7 +13684,7 @@ class ProxyDiscovery(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), @@ -13918,10 +13700,6 @@ def descriptor(cls) -> ClusterObjectDescriptor: featureMap: 'uint' = None clusterRevision: 'uint' = None - - - - class Attributes: @dataclass class GeneratedCommandList(ClusterAttributeDescriptor): @@ -14020,7 +13798,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - @dataclass class ProxyValid(Cluster): id: typing.ClassVar[int] = 0x0044 @@ -14028,7 +13805,7 @@ class ProxyValid(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), @@ -14044,10 +13821,6 @@ def descriptor(cls) -> ClusterObjectDescriptor: featureMap: 'uint' = None clusterRevision: 'uint' = None - - - - class Attributes: @dataclass class GeneratedCommandList(ClusterAttributeDescriptor): @@ -14146,7 +13919,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - @dataclass class BooleanState(Cluster): id: typing.ClassVar[int] = 0x0045 @@ -14154,7 +13926,7 @@ class BooleanState(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="stateValue", Tag=0x00000000, Type=bool), ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), @@ -14172,10 +13944,6 @@ def descriptor(cls) -> ClusterObjectDescriptor: featureMap: 'uint' = None clusterRevision: 'uint' = None - - - - class Attributes: @dataclass class StateValue(ClusterAttributeDescriptor): @@ -14289,7 +14057,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - class Events: @dataclass class StateChange(ClusterEvent): @@ -14304,8 +14071,8 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="stateValue", Tag=0, Type=bool), + Fields=[ + ClusterObjectFieldDescriptor(Label="stateValue", Tag=0, Type=bool), ]) stateValue: 'bool' = False @@ -14318,7 +14085,7 @@ class ModeSelect(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="description", Tag=0x00000000, Type=str), ClusterObjectFieldDescriptor(Label="standardNamespace", Tag=0x00000001, Type=typing.Union[Nullable, uint]), ClusterObjectFieldDescriptor(Label="supportedModes", Tag=0x00000002, Type=typing.List[ModeSelect.Structs.ModeOptionStruct]), @@ -14346,21 +14113,19 @@ def descriptor(cls) -> ClusterObjectDescriptor: featureMap: 'uint' = None clusterRevision: 'uint' = None - class Bitmaps: class ModeSelectFeature(IntFlag): kDeponoff = 0x1 - class Structs: @dataclass class SemanticTagStruct(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="mfgCode", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="value", Tag=1, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="mfgCode", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="value", Tag=1, Type=uint), ]) mfgCode: 'uint' = 0 @@ -14371,18 +14136,16 @@ class ModeOptionStruct(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="label", Tag=0, Type=str), - ClusterObjectFieldDescriptor(Label="mode", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="semanticTags", Tag=2, Type=typing.List[ModeSelect.Structs.SemanticTagStruct]), + Fields=[ + ClusterObjectFieldDescriptor(Label="label", Tag=0, Type=str), + ClusterObjectFieldDescriptor(Label="mode", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="semanticTags", Tag=2, Type=typing.List[ModeSelect.Structs.SemanticTagStruct]), ]) label: 'str' = "" mode: 'uint' = 0 semanticTags: 'typing.List[ModeSelect.Structs.SemanticTagStruct]' = field(default_factory=lambda: []) - - class Commands: @dataclass class ChangeToMode(ClusterCommand): @@ -14394,13 +14157,12 @@ class ChangeToMode(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="newMode", Tag=0, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="newMode", Tag=0, Type=uint), ]) newMode: 'uint' = 0 - class Attributes: @dataclass class Description(ClusterAttributeDescriptor): @@ -14595,7 +14357,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - @dataclass class DoorLock(Cluster): id: typing.ClassVar[int] = 0x0101 @@ -14603,7 +14364,7 @@ class DoorLock(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="lockState", Tag=0x00000000, Type=typing.Union[Nullable, DoorLock.Enums.DlLockState]), ClusterObjectFieldDescriptor(Label="lockType", Tag=0x00000001, Type=DoorLock.Enums.DlLockType), ClusterObjectFieldDescriptor(Label="actuatorEnabled", Tag=0x00000002, Type=bool), @@ -14963,7 +14724,6 @@ class UserTypeEnum(MatterIntEnum): # enum value. This specific should never be transmitted. kUnknownEnumValue = 10, - class Bitmaps: class DaysMaskMap(IntFlag): kSunday = 0x1 @@ -15090,23 +14850,20 @@ class DoorLockFeature(IntFlag): kYearDayAccessSchedules = 0x400 kHolidaySchedules = 0x800 - class Structs: @dataclass class CredentialStruct(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="credentialType", Tag=0, Type=DoorLock.Enums.CredentialTypeEnum), - ClusterObjectFieldDescriptor(Label="credentialIndex", Tag=1, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="credentialType", Tag=0, Type=DoorLock.Enums.CredentialTypeEnum), + ClusterObjectFieldDescriptor(Label="credentialIndex", Tag=1, Type=uint), ]) credentialType: 'DoorLock.Enums.CredentialTypeEnum' = 0 credentialIndex: 'uint' = 0 - - class Commands: @dataclass class LockDoor(ClusterCommand): @@ -15118,8 +14875,8 @@ class LockDoor(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="PINCode", Tag=0, Type=typing.Optional[bytes]), + Fields=[ + ClusterObjectFieldDescriptor(Label="PINCode", Tag=0, Type=typing.Optional[bytes]), ]) @ChipUtility.classproperty @@ -15138,8 +14895,8 @@ class UnlockDoor(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="PINCode", Tag=0, Type=typing.Optional[bytes]), + Fields=[ + ClusterObjectFieldDescriptor(Label="PINCode", Tag=0, Type=typing.Optional[bytes]), ]) @ChipUtility.classproperty @@ -15158,9 +14915,9 @@ class UnlockWithTimeout(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="timeout", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="PINCode", Tag=1, Type=typing.Optional[bytes]), + Fields=[ + ClusterObjectFieldDescriptor(Label="timeout", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="PINCode", Tag=1, Type=typing.Optional[bytes]), ]) @ChipUtility.classproperty @@ -15180,14 +14937,14 @@ class SetWeekDaySchedule(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="weekDayIndex", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="daysMask", Tag=2, Type=uint), - ClusterObjectFieldDescriptor(Label="startHour", Tag=3, Type=uint), - ClusterObjectFieldDescriptor(Label="startMinute", Tag=4, Type=uint), - ClusterObjectFieldDescriptor(Label="endHour", Tag=5, Type=uint), - ClusterObjectFieldDescriptor(Label="endMinute", Tag=6, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="weekDayIndex", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="daysMask", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="startHour", Tag=3, Type=uint), + ClusterObjectFieldDescriptor(Label="startMinute", Tag=4, Type=uint), + ClusterObjectFieldDescriptor(Label="endHour", Tag=5, Type=uint), + ClusterObjectFieldDescriptor(Label="endMinute", Tag=6, Type=uint), ]) weekDayIndex: 'uint' = 0 @@ -15208,9 +14965,9 @@ class GetWeekDaySchedule(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="weekDayIndex", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="weekDayIndex", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=uint), ]) weekDayIndex: 'uint' = 0 @@ -15226,15 +14983,15 @@ class GetWeekDayScheduleResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="weekDayIndex", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="status", Tag=2, Type=DoorLock.Enums.DlStatus), - ClusterObjectFieldDescriptor(Label="daysMask", Tag=3, Type=typing.Optional[uint]), - ClusterObjectFieldDescriptor(Label="startHour", Tag=4, Type=typing.Optional[uint]), - ClusterObjectFieldDescriptor(Label="startMinute", Tag=5, Type=typing.Optional[uint]), - ClusterObjectFieldDescriptor(Label="endHour", Tag=6, Type=typing.Optional[uint]), - ClusterObjectFieldDescriptor(Label="endMinute", Tag=7, Type=typing.Optional[uint]), + Fields=[ + ClusterObjectFieldDescriptor(Label="weekDayIndex", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="status", Tag=2, Type=DoorLock.Enums.DlStatus), + ClusterObjectFieldDescriptor(Label="daysMask", Tag=3, Type=typing.Optional[uint]), + ClusterObjectFieldDescriptor(Label="startHour", Tag=4, Type=typing.Optional[uint]), + ClusterObjectFieldDescriptor(Label="startMinute", Tag=5, Type=typing.Optional[uint]), + ClusterObjectFieldDescriptor(Label="endHour", Tag=6, Type=typing.Optional[uint]), + ClusterObjectFieldDescriptor(Label="endMinute", Tag=7, Type=typing.Optional[uint]), ]) weekDayIndex: 'uint' = 0 @@ -15256,9 +15013,9 @@ class ClearWeekDaySchedule(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="weekDayIndex", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="weekDayIndex", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=uint), ]) weekDayIndex: 'uint' = 0 @@ -15274,11 +15031,11 @@ class SetYearDaySchedule(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="yearDayIndex", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="localStartTime", Tag=2, Type=uint), - ClusterObjectFieldDescriptor(Label="localEndTime", Tag=3, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="yearDayIndex", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="localStartTime", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="localEndTime", Tag=3, Type=uint), ]) yearDayIndex: 'uint' = 0 @@ -15296,9 +15053,9 @@ class GetYearDaySchedule(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="yearDayIndex", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="yearDayIndex", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=uint), ]) yearDayIndex: 'uint' = 0 @@ -15314,12 +15071,12 @@ class GetYearDayScheduleResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="yearDayIndex", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="status", Tag=2, Type=DoorLock.Enums.DlStatus), - ClusterObjectFieldDescriptor(Label="localStartTime", Tag=3, Type=typing.Optional[uint]), - ClusterObjectFieldDescriptor(Label="localEndTime", Tag=4, Type=typing.Optional[uint]), + Fields=[ + ClusterObjectFieldDescriptor(Label="yearDayIndex", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="status", Tag=2, Type=DoorLock.Enums.DlStatus), + ClusterObjectFieldDescriptor(Label="localStartTime", Tag=3, Type=typing.Optional[uint]), + ClusterObjectFieldDescriptor(Label="localEndTime", Tag=4, Type=typing.Optional[uint]), ]) yearDayIndex: 'uint' = 0 @@ -15338,9 +15095,9 @@ class ClearYearDaySchedule(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="yearDayIndex", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="yearDayIndex", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=uint), ]) yearDayIndex: 'uint' = 0 @@ -15356,11 +15113,11 @@ class SetHolidaySchedule(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="holidayIndex", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="localStartTime", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="localEndTime", Tag=2, Type=uint), - ClusterObjectFieldDescriptor(Label="operatingMode", Tag=3, Type=DoorLock.Enums.OperatingModeEnum), + Fields=[ + ClusterObjectFieldDescriptor(Label="holidayIndex", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="localStartTime", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="localEndTime", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="operatingMode", Tag=3, Type=DoorLock.Enums.OperatingModeEnum), ]) holidayIndex: 'uint' = 0 @@ -15378,8 +15135,8 @@ class GetHolidaySchedule(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="holidayIndex", Tag=0, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="holidayIndex", Tag=0, Type=uint), ]) holidayIndex: 'uint' = 0 @@ -15394,12 +15151,12 @@ class GetHolidayScheduleResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="holidayIndex", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="status", Tag=1, Type=DoorLock.Enums.DlStatus), - ClusterObjectFieldDescriptor(Label="localStartTime", Tag=2, Type=typing.Optional[uint]), - ClusterObjectFieldDescriptor(Label="localEndTime", Tag=3, Type=typing.Optional[uint]), - ClusterObjectFieldDescriptor(Label="operatingMode", Tag=4, Type=typing.Optional[DoorLock.Enums.OperatingModeEnum]), + Fields=[ + ClusterObjectFieldDescriptor(Label="holidayIndex", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="status", Tag=1, Type=DoorLock.Enums.DlStatus), + ClusterObjectFieldDescriptor(Label="localStartTime", Tag=2, Type=typing.Optional[uint]), + ClusterObjectFieldDescriptor(Label="localEndTime", Tag=3, Type=typing.Optional[uint]), + ClusterObjectFieldDescriptor(Label="operatingMode", Tag=4, Type=typing.Optional[DoorLock.Enums.OperatingModeEnum]), ]) holidayIndex: 'uint' = 0 @@ -15418,8 +15175,8 @@ class ClearHolidaySchedule(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="holidayIndex", Tag=0, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="holidayIndex", Tag=0, Type=uint), ]) holidayIndex: 'uint' = 0 @@ -15434,14 +15191,14 @@ class SetUser(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="operationType", Tag=0, Type=DoorLock.Enums.DataOperationTypeEnum), - ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="userName", Tag=2, Type=typing.Union[Nullable, str]), - ClusterObjectFieldDescriptor(Label="userUniqueID", Tag=3, Type=typing.Union[Nullable, uint]), - ClusterObjectFieldDescriptor(Label="userStatus", Tag=4, Type=typing.Union[Nullable, DoorLock.Enums.UserStatusEnum]), - ClusterObjectFieldDescriptor(Label="userType", Tag=5, Type=typing.Union[Nullable, DoorLock.Enums.UserTypeEnum]), - ClusterObjectFieldDescriptor(Label="credentialRule", Tag=6, Type=typing.Union[Nullable, DoorLock.Enums.CredentialRuleEnum]), + Fields=[ + ClusterObjectFieldDescriptor(Label="operationType", Tag=0, Type=DoorLock.Enums.DataOperationTypeEnum), + ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="userName", Tag=2, Type=typing.Union[Nullable, str]), + ClusterObjectFieldDescriptor(Label="userUniqueID", Tag=3, Type=typing.Union[Nullable, uint]), + ClusterObjectFieldDescriptor(Label="userStatus", Tag=4, Type=typing.Union[Nullable, DoorLock.Enums.UserStatusEnum]), + ClusterObjectFieldDescriptor(Label="userType", Tag=5, Type=typing.Union[Nullable, DoorLock.Enums.UserTypeEnum]), + ClusterObjectFieldDescriptor(Label="credentialRule", Tag=6, Type=typing.Union[Nullable, DoorLock.Enums.CredentialRuleEnum]), ]) @ChipUtility.classproperty @@ -15466,8 +15223,8 @@ class GetUser(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="userIndex", Tag=0, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="userIndex", Tag=0, Type=uint), ]) userIndex: 'uint' = 0 @@ -15482,17 +15239,17 @@ class GetUserResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="userIndex", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="userName", Tag=1, Type=typing.Union[Nullable, str]), - ClusterObjectFieldDescriptor(Label="userUniqueID", Tag=2, Type=typing.Union[Nullable, uint]), - ClusterObjectFieldDescriptor(Label="userStatus", Tag=3, Type=typing.Union[Nullable, DoorLock.Enums.UserStatusEnum]), - ClusterObjectFieldDescriptor(Label="userType", Tag=4, Type=typing.Union[Nullable, DoorLock.Enums.UserTypeEnum]), - ClusterObjectFieldDescriptor(Label="credentialRule", Tag=5, Type=typing.Union[Nullable, DoorLock.Enums.CredentialRuleEnum]), - ClusterObjectFieldDescriptor(Label="credentials", Tag=6, Type=typing.Union[Nullable, typing.List[DoorLock.Structs.CredentialStruct]]), - ClusterObjectFieldDescriptor(Label="creatorFabricIndex", Tag=7, Type=typing.Union[Nullable, uint]), - ClusterObjectFieldDescriptor(Label="lastModifiedFabricIndex", Tag=8, Type=typing.Union[Nullable, uint]), - ClusterObjectFieldDescriptor(Label="nextUserIndex", Tag=9, Type=typing.Union[Nullable, uint]), + Fields=[ + ClusterObjectFieldDescriptor(Label="userIndex", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="userName", Tag=1, Type=typing.Union[Nullable, str]), + ClusterObjectFieldDescriptor(Label="userUniqueID", Tag=2, Type=typing.Union[Nullable, uint]), + ClusterObjectFieldDescriptor(Label="userStatus", Tag=3, Type=typing.Union[Nullable, DoorLock.Enums.UserStatusEnum]), + ClusterObjectFieldDescriptor(Label="userType", Tag=4, Type=typing.Union[Nullable, DoorLock.Enums.UserTypeEnum]), + ClusterObjectFieldDescriptor(Label="credentialRule", Tag=5, Type=typing.Union[Nullable, DoorLock.Enums.CredentialRuleEnum]), + ClusterObjectFieldDescriptor(Label="credentials", Tag=6, Type=typing.Union[Nullable, typing.List[DoorLock.Structs.CredentialStruct]]), + ClusterObjectFieldDescriptor(Label="creatorFabricIndex", Tag=7, Type=typing.Union[Nullable, uint]), + ClusterObjectFieldDescriptor(Label="lastModifiedFabricIndex", Tag=8, Type=typing.Union[Nullable, uint]), + ClusterObjectFieldDescriptor(Label="nextUserIndex", Tag=9, Type=typing.Union[Nullable, uint]), ]) userIndex: 'uint' = 0 @@ -15516,8 +15273,8 @@ class ClearUser(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="userIndex", Tag=0, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="userIndex", Tag=0, Type=uint), ]) @ChipUtility.classproperty @@ -15536,13 +15293,13 @@ class SetCredential(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="operationType", Tag=0, Type=DoorLock.Enums.DataOperationTypeEnum), - ClusterObjectFieldDescriptor(Label="credential", Tag=1, Type=DoorLock.Structs.CredentialStruct), - ClusterObjectFieldDescriptor(Label="credentialData", Tag=2, Type=bytes), - ClusterObjectFieldDescriptor(Label="userIndex", Tag=3, Type=typing.Union[Nullable, uint]), - ClusterObjectFieldDescriptor(Label="userStatus", Tag=4, Type=typing.Union[Nullable, DoorLock.Enums.UserStatusEnum]), - ClusterObjectFieldDescriptor(Label="userType", Tag=5, Type=typing.Union[Nullable, DoorLock.Enums.UserTypeEnum]), + Fields=[ + ClusterObjectFieldDescriptor(Label="operationType", Tag=0, Type=DoorLock.Enums.DataOperationTypeEnum), + ClusterObjectFieldDescriptor(Label="credential", Tag=1, Type=DoorLock.Structs.CredentialStruct), + ClusterObjectFieldDescriptor(Label="credentialData", Tag=2, Type=bytes), + ClusterObjectFieldDescriptor(Label="userIndex", Tag=3, Type=typing.Union[Nullable, uint]), + ClusterObjectFieldDescriptor(Label="userStatus", Tag=4, Type=typing.Union[Nullable, DoorLock.Enums.UserStatusEnum]), + ClusterObjectFieldDescriptor(Label="userType", Tag=5, Type=typing.Union[Nullable, DoorLock.Enums.UserTypeEnum]), ]) @ChipUtility.classproperty @@ -15566,10 +15323,10 @@ class SetCredentialResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=DoorLock.Enums.DlStatus), - ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=typing.Union[Nullable, uint]), - ClusterObjectFieldDescriptor(Label="nextCredentialIndex", Tag=2, Type=typing.Union[Nullable, uint]), + Fields=[ + ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=DoorLock.Enums.DlStatus), + ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=typing.Union[Nullable, uint]), + ClusterObjectFieldDescriptor(Label="nextCredentialIndex", Tag=2, Type=typing.Union[Nullable, uint]), ]) status: 'DoorLock.Enums.DlStatus' = 0 @@ -15586,8 +15343,8 @@ class GetCredentialStatus(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="credential", Tag=0, Type=DoorLock.Structs.CredentialStruct), + Fields=[ + ClusterObjectFieldDescriptor(Label="credential", Tag=0, Type=DoorLock.Structs.CredentialStruct), ]) credential: 'DoorLock.Structs.CredentialStruct' = field(default_factory=lambda: DoorLock.Structs.CredentialStruct()) @@ -15602,12 +15359,12 @@ class GetCredentialStatusResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="credentialExists", Tag=0, Type=bool), - ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=typing.Union[Nullable, uint]), - ClusterObjectFieldDescriptor(Label="creatorFabricIndex", Tag=2, Type=typing.Union[Nullable, uint]), - ClusterObjectFieldDescriptor(Label="lastModifiedFabricIndex", Tag=3, Type=typing.Union[Nullable, uint]), - ClusterObjectFieldDescriptor(Label="nextCredentialIndex", Tag=4, Type=typing.Union[Nullable, uint]), + Fields=[ + ClusterObjectFieldDescriptor(Label="credentialExists", Tag=0, Type=bool), + ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=typing.Union[Nullable, uint]), + ClusterObjectFieldDescriptor(Label="creatorFabricIndex", Tag=2, Type=typing.Union[Nullable, uint]), + ClusterObjectFieldDescriptor(Label="lastModifiedFabricIndex", Tag=3, Type=typing.Union[Nullable, uint]), + ClusterObjectFieldDescriptor(Label="nextCredentialIndex", Tag=4, Type=typing.Union[Nullable, uint]), ]) credentialExists: 'bool' = False @@ -15626,8 +15383,8 @@ class ClearCredential(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="credential", Tag=0, Type=typing.Union[Nullable, DoorLock.Structs.CredentialStruct]), + Fields=[ + ClusterObjectFieldDescriptor(Label="credential", Tag=0, Type=typing.Union[Nullable, DoorLock.Structs.CredentialStruct]), ]) @ChipUtility.classproperty @@ -15636,7 +15393,6 @@ def must_use_timed_invoke(cls) -> bool: credential: 'typing.Union[Nullable, DoorLock.Structs.CredentialStruct]' = NullValue - class Attributes: @dataclass class LockState(ClusterAttributeDescriptor): @@ -16310,7 +16066,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - class Events: @dataclass class DoorLockAlarm(ClusterEvent): @@ -16325,8 +16080,8 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="alarmCode", Tag=0, Type=DoorLock.Enums.AlarmCodeEnum), + Fields=[ + ClusterObjectFieldDescriptor(Label="alarmCode", Tag=0, Type=DoorLock.Enums.AlarmCodeEnum), ]) alarmCode: 'DoorLock.Enums.AlarmCodeEnum' = 0 @@ -16344,8 +16099,8 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="doorState", Tag=0, Type=DoorLock.Enums.DoorStateEnum), + Fields=[ + ClusterObjectFieldDescriptor(Label="doorState", Tag=0, Type=DoorLock.Enums.DoorStateEnum), ]) doorState: 'DoorLock.Enums.DoorStateEnum' = 0 @@ -16363,13 +16118,13 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="lockOperationType", Tag=0, Type=DoorLock.Enums.LockOperationTypeEnum), - ClusterObjectFieldDescriptor(Label="operationSource", Tag=1, Type=DoorLock.Enums.OperationSourceEnum), - ClusterObjectFieldDescriptor(Label="userIndex", Tag=2, Type=typing.Union[Nullable, uint]), - ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=3, Type=typing.Union[Nullable, uint]), - ClusterObjectFieldDescriptor(Label="sourceNode", Tag=4, Type=typing.Union[Nullable, uint]), - ClusterObjectFieldDescriptor(Label="credentials", Tag=5, Type=typing.Union[None, Nullable, typing.List[DoorLock.Structs.CredentialStruct]]), + Fields=[ + ClusterObjectFieldDescriptor(Label="lockOperationType", Tag=0, Type=DoorLock.Enums.LockOperationTypeEnum), + ClusterObjectFieldDescriptor(Label="operationSource", Tag=1, Type=DoorLock.Enums.OperationSourceEnum), + ClusterObjectFieldDescriptor(Label="userIndex", Tag=2, Type=typing.Union[Nullable, uint]), + ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=3, Type=typing.Union[Nullable, uint]), + ClusterObjectFieldDescriptor(Label="sourceNode", Tag=4, Type=typing.Union[Nullable, uint]), + ClusterObjectFieldDescriptor(Label="credentials", Tag=5, Type=typing.Union[None, Nullable, typing.List[DoorLock.Structs.CredentialStruct]]), ]) lockOperationType: 'DoorLock.Enums.LockOperationTypeEnum' = 0 @@ -16392,14 +16147,14 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="lockOperationType", Tag=0, Type=DoorLock.Enums.LockOperationTypeEnum), - ClusterObjectFieldDescriptor(Label="operationSource", Tag=1, Type=DoorLock.Enums.OperationSourceEnum), - ClusterObjectFieldDescriptor(Label="operationError", Tag=2, Type=DoorLock.Enums.OperationErrorEnum), - ClusterObjectFieldDescriptor(Label="userIndex", Tag=3, Type=typing.Union[Nullable, uint]), - ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=4, Type=typing.Union[Nullable, uint]), - ClusterObjectFieldDescriptor(Label="sourceNode", Tag=5, Type=typing.Union[Nullable, uint]), - ClusterObjectFieldDescriptor(Label="credentials", Tag=6, Type=typing.Union[None, Nullable, typing.List[DoorLock.Structs.CredentialStruct]]), + Fields=[ + ClusterObjectFieldDescriptor(Label="lockOperationType", Tag=0, Type=DoorLock.Enums.LockOperationTypeEnum), + ClusterObjectFieldDescriptor(Label="operationSource", Tag=1, Type=DoorLock.Enums.OperationSourceEnum), + ClusterObjectFieldDescriptor(Label="operationError", Tag=2, Type=DoorLock.Enums.OperationErrorEnum), + ClusterObjectFieldDescriptor(Label="userIndex", Tag=3, Type=typing.Union[Nullable, uint]), + ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=4, Type=typing.Union[Nullable, uint]), + ClusterObjectFieldDescriptor(Label="sourceNode", Tag=5, Type=typing.Union[Nullable, uint]), + ClusterObjectFieldDescriptor(Label="credentials", Tag=6, Type=typing.Union[None, Nullable, typing.List[DoorLock.Structs.CredentialStruct]]), ]) lockOperationType: 'DoorLock.Enums.LockOperationTypeEnum' = 0 @@ -16423,14 +16178,14 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="lockDataType", Tag=0, Type=DoorLock.Enums.LockDataTypeEnum), - ClusterObjectFieldDescriptor(Label="dataOperationType", Tag=1, Type=DoorLock.Enums.DataOperationTypeEnum), - ClusterObjectFieldDescriptor(Label="operationSource", Tag=2, Type=DoorLock.Enums.OperationSourceEnum), - ClusterObjectFieldDescriptor(Label="userIndex", Tag=3, Type=typing.Union[Nullable, uint]), - ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=4, Type=typing.Union[Nullable, uint]), - ClusterObjectFieldDescriptor(Label="sourceNode", Tag=5, Type=typing.Union[Nullable, uint]), - ClusterObjectFieldDescriptor(Label="dataIndex", Tag=6, Type=typing.Union[Nullable, uint]), + Fields=[ + ClusterObjectFieldDescriptor(Label="lockDataType", Tag=0, Type=DoorLock.Enums.LockDataTypeEnum), + ClusterObjectFieldDescriptor(Label="dataOperationType", Tag=1, Type=DoorLock.Enums.DataOperationTypeEnum), + ClusterObjectFieldDescriptor(Label="operationSource", Tag=2, Type=DoorLock.Enums.OperationSourceEnum), + ClusterObjectFieldDescriptor(Label="userIndex", Tag=3, Type=typing.Union[Nullable, uint]), + ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=4, Type=typing.Union[Nullable, uint]), + ClusterObjectFieldDescriptor(Label="sourceNode", Tag=5, Type=typing.Union[Nullable, uint]), + ClusterObjectFieldDescriptor(Label="dataIndex", Tag=6, Type=typing.Union[Nullable, uint]), ]) lockDataType: 'DoorLock.Enums.LockDataTypeEnum' = 0 @@ -16449,7 +16204,7 @@ class WindowCovering(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="type", Tag=0x00000000, Type=WindowCovering.Enums.Type), ClusterObjectFieldDescriptor(Label="physicalClosedLimitLift", Tag=0x00000001, Type=typing.Optional[uint]), ClusterObjectFieldDescriptor(Label="physicalClosedLimitTilt", Tag=0x00000002, Type=typing.Optional[uint]), @@ -16560,7 +16315,6 @@ class Type(MatterIntEnum): # enum value. This specific should never be transmitted. kUnknownEnumValue = 10, - class Bitmaps: class ConfigStatus(IntFlag): kOperational = 0x1 @@ -16603,8 +16357,6 @@ class SafetyStatus(IntFlag): kManualOperation = 0x400 kProtection = 0x800 - - class Commands: @dataclass class UpOrOpen(ClusterCommand): @@ -16616,10 +16368,9 @@ class UpOrOpen(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ]) - @dataclass class DownOrClose(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0102 @@ -16630,10 +16381,9 @@ class DownOrClose(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ]) - @dataclass class StopMotion(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0102 @@ -16644,10 +16394,9 @@ class StopMotion(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ]) - @dataclass class GoToLiftValue(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0102 @@ -16658,8 +16407,8 @@ class GoToLiftValue(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="liftValue", Tag=0, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="liftValue", Tag=0, Type=uint), ]) liftValue: 'uint' = 0 @@ -16674,8 +16423,8 @@ class GoToLiftPercentage(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="liftPercent100thsValue", Tag=0, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="liftPercent100thsValue", Tag=0, Type=uint), ]) liftPercent100thsValue: 'uint' = 0 @@ -16690,8 +16439,8 @@ class GoToTiltValue(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="tiltValue", Tag=0, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="tiltValue", Tag=0, Type=uint), ]) tiltValue: 'uint' = 0 @@ -16706,13 +16455,12 @@ class GoToTiltPercentage(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="tiltPercent100thsValue", Tag=0, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="tiltPercent100thsValue", Tag=0, Type=uint), ]) tiltPercent100thsValue: 'uint' = 0 - class Attributes: @dataclass class Type(ClusterAttributeDescriptor): @@ -17163,7 +16911,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - @dataclass class BarrierControl(Cluster): id: typing.ClassVar[int] = 0x0103 @@ -17171,7 +16918,7 @@ class BarrierControl(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="barrierMovingState", Tag=0x00000001, Type=uint), ClusterObjectFieldDescriptor(Label="barrierSafetyStatus", Tag=0x00000002, Type=uint), ClusterObjectFieldDescriptor(Label="barrierCapabilities", Tag=0x00000003, Type=uint), @@ -17207,9 +16954,6 @@ def descriptor(cls) -> ClusterObjectDescriptor: featureMap: 'uint' = None clusterRevision: 'uint' = None - - - class Commands: @dataclass class BarrierControlGoToPercent(ClusterCommand): @@ -17221,8 +16965,8 @@ class BarrierControlGoToPercent(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="percentOpen", Tag=0, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="percentOpen", Tag=0, Type=uint), ]) percentOpen: 'uint' = 0 @@ -17237,11 +16981,9 @@ class BarrierControlStop(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ]) - - class Attributes: @dataclass class BarrierMovingState(ClusterAttributeDescriptor): @@ -17500,7 +17242,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - @dataclass class PumpConfigurationAndControl(Cluster): id: typing.ClassVar[int] = 0x0200 @@ -17508,7 +17249,7 @@ class PumpConfigurationAndControl(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="maxPressure", Tag=0x00000000, Type=typing.Union[Nullable, int]), ClusterObjectFieldDescriptor(Label="maxSpeed", Tag=0x00000001, Type=typing.Union[Nullable, uint]), ClusterObjectFieldDescriptor(Label="maxFlow", Tag=0x00000002, Type=typing.Union[Nullable, uint]), @@ -17595,7 +17336,6 @@ class OperationModeEnum(MatterIntEnum): # enum value. This specific should never be transmitted. kUnknownEnumValue = 4, - class Bitmaps: class PumpFeature(IntFlag): kConstantPressure = 0x1 @@ -17617,9 +17357,6 @@ class PumpStatusBitmap(IntFlag): kRemoteFlow = 0x80 kRemoteTemperature = 0x100 - - - class Attributes: @dataclass class MaxPressure(ClusterAttributeDescriptor): @@ -18085,7 +17822,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - class Events: @dataclass class SupplyVoltageLow(ClusterEvent): @@ -18100,10 +17836,9 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ]) - @dataclass class SupplyVoltageHigh(ClusterEvent): @ChipUtility.classproperty @@ -18117,10 +17852,9 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ]) - @dataclass class PowerMissingPhase(ClusterEvent): @ChipUtility.classproperty @@ -18134,10 +17868,9 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ]) - @dataclass class SystemPressureLow(ClusterEvent): @ChipUtility.classproperty @@ -18151,10 +17884,9 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ]) - @dataclass class SystemPressureHigh(ClusterEvent): @ChipUtility.classproperty @@ -18168,10 +17900,9 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ]) - @dataclass class DryRunning(ClusterEvent): @ChipUtility.classproperty @@ -18185,10 +17916,9 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ]) - @dataclass class MotorTemperatureHigh(ClusterEvent): @ChipUtility.classproperty @@ -18202,10 +17932,9 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ]) - @dataclass class PumpMotorFatalFailure(ClusterEvent): @ChipUtility.classproperty @@ -18219,10 +17948,9 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ]) - @dataclass class ElectronicTemperatureHigh(ClusterEvent): @ChipUtility.classproperty @@ -18236,10 +17964,9 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ]) - @dataclass class PumpBlocked(ClusterEvent): @ChipUtility.classproperty @@ -18253,10 +17980,9 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ]) - @dataclass class SensorFailure(ClusterEvent): @ChipUtility.classproperty @@ -18270,10 +17996,9 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ]) - @dataclass class ElectronicNonFatalFailure(ClusterEvent): @ChipUtility.classproperty @@ -18287,10 +18012,9 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ]) - @dataclass class ElectronicFatalFailure(ClusterEvent): @ChipUtility.classproperty @@ -18304,10 +18028,9 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ]) - @dataclass class GeneralFault(ClusterEvent): @ChipUtility.classproperty @@ -18321,10 +18044,9 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ]) - @dataclass class Leakage(ClusterEvent): @ChipUtility.classproperty @@ -18338,10 +18060,9 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ]) - @dataclass class AirDetection(ClusterEvent): @ChipUtility.classproperty @@ -18355,10 +18076,9 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ]) - @dataclass class TurbineOperation(ClusterEvent): @ChipUtility.classproperty @@ -18372,11 +18092,10 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ]) - @dataclass class Thermostat(Cluster): id: typing.ClassVar[int] = 0x0201 @@ -18384,7 +18103,7 @@ class Thermostat(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="localTemperature", Tag=0x00000000, Type=typing.Union[Nullable, int]), ClusterObjectFieldDescriptor(Label="outdoorTemperature", Tag=0x00000001, Type=typing.Union[None, Nullable, int]), ClusterObjectFieldDescriptor(Label="occupancy", Tag=0x00000002, Type=typing.Optional[uint]), @@ -18548,7 +18267,6 @@ class ThermostatSystemMode(MatterIntEnum): # enum value. This specific should never be transmitted. kUnknownEnumValue = 2, - class Bitmaps: class DayOfWeek(IntFlag): kSunday = 0x1 @@ -18572,25 +18290,22 @@ class ThermostatFeature(IntFlag): kSetback = 0x10 kAutoMode = 0x20 - class Structs: @dataclass class ThermostatScheduleTransition(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="transitionTime", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="heatSetpoint", Tag=1, Type=typing.Union[Nullable, int]), - ClusterObjectFieldDescriptor(Label="coolSetpoint", Tag=2, Type=typing.Union[Nullable, int]), + Fields=[ + ClusterObjectFieldDescriptor(Label="transitionTime", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="heatSetpoint", Tag=1, Type=typing.Union[Nullable, int]), + ClusterObjectFieldDescriptor(Label="coolSetpoint", Tag=2, Type=typing.Union[Nullable, int]), ]) transitionTime: 'uint' = 0 heatSetpoint: 'typing.Union[Nullable, int]' = NullValue coolSetpoint: 'typing.Union[Nullable, int]' = NullValue - - class Commands: @dataclass class SetpointRaiseLower(ClusterCommand): @@ -18602,9 +18317,9 @@ class SetpointRaiseLower(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="mode", Tag=0, Type=Thermostat.Enums.SetpointAdjustMode), - ClusterObjectFieldDescriptor(Label="amount", Tag=1, Type=int), + Fields=[ + ClusterObjectFieldDescriptor(Label="mode", Tag=0, Type=Thermostat.Enums.SetpointAdjustMode), + ClusterObjectFieldDescriptor(Label="amount", Tag=1, Type=int), ]) mode: 'Thermostat.Enums.SetpointAdjustMode' = 0 @@ -18620,11 +18335,11 @@ class GetWeeklyScheduleResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="numberOfTransitionsForSequence", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="dayOfWeekForSequence", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="modeForSequence", Tag=2, Type=uint), - ClusterObjectFieldDescriptor(Label="transitions", Tag=3, Type=typing.List[Thermostat.Structs.ThermostatScheduleTransition]), + Fields=[ + ClusterObjectFieldDescriptor(Label="numberOfTransitionsForSequence", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="dayOfWeekForSequence", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="modeForSequence", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="transitions", Tag=3, Type=typing.List[Thermostat.Structs.ThermostatScheduleTransition]), ]) numberOfTransitionsForSequence: 'uint' = 0 @@ -18642,11 +18357,11 @@ class SetWeeklySchedule(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="numberOfTransitionsForSequence", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="dayOfWeekForSequence", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="modeForSequence", Tag=2, Type=uint), - ClusterObjectFieldDescriptor(Label="transitions", Tag=3, Type=typing.List[Thermostat.Structs.ThermostatScheduleTransition]), + Fields=[ + ClusterObjectFieldDescriptor(Label="numberOfTransitionsForSequence", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="dayOfWeekForSequence", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="modeForSequence", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="transitions", Tag=3, Type=typing.List[Thermostat.Structs.ThermostatScheduleTransition]), ]) numberOfTransitionsForSequence: 'uint' = 0 @@ -18664,9 +18379,9 @@ class GetWeeklySchedule(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="daysToReturn", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="modeToReturn", Tag=1, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="daysToReturn", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="modeToReturn", Tag=1, Type=uint), ]) daysToReturn: 'uint' = 0 @@ -18682,11 +18397,9 @@ class ClearWeeklySchedule(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ]) - - class Attributes: @dataclass class LocalTemperature(ClusterAttributeDescriptor): @@ -19569,7 +19282,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - @dataclass class FanControl(Cluster): id: typing.ClassVar[int] = 0x0202 @@ -19577,7 +19289,7 @@ class FanControl(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="fanMode", Tag=0x00000000, Type=FanControl.Enums.FanModeType), ClusterObjectFieldDescriptor(Label="fanModeSequence", Tag=0x00000001, Type=FanControl.Enums.FanModeSequenceType), ClusterObjectFieldDescriptor(Label="percentSetting", Tag=0x00000002, Type=typing.Union[Nullable, uint]), @@ -19643,7 +19355,6 @@ class FanModeType(MatterIntEnum): # enum value. This specific should never be transmitted. kUnknownEnumValue = 7, - class Bitmaps: class FanControlFeature(IntFlag): kMultiSpeed = 0x1 @@ -19664,9 +19375,6 @@ class WindSupportMask(IntFlag): kSleepWind = 0x1 kNaturalWind = 0x2 - - - class Attributes: @dataclass class FanMode(ClusterAttributeDescriptor): @@ -19941,7 +19649,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - @dataclass class ThermostatUserInterfaceConfiguration(Cluster): id: typing.ClassVar[int] = 0x0204 @@ -19949,7 +19656,7 @@ class ThermostatUserInterfaceConfiguration(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="temperatureDisplayMode", Tag=0x00000000, Type=uint), ClusterObjectFieldDescriptor(Label="keypadLockout", Tag=0x00000001, Type=uint), ClusterObjectFieldDescriptor(Label="scheduleProgrammingVisibility", Tag=0x00000002, Type=typing.Optional[uint]), @@ -19971,10 +19678,6 @@ def descriptor(cls) -> ClusterObjectDescriptor: featureMap: 'uint' = None clusterRevision: 'uint' = None - - - - class Attributes: @dataclass class TemperatureDisplayMode(ClusterAttributeDescriptor): @@ -20121,7 +19824,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - @dataclass class ColorControl(Cluster): id: typing.ClassVar[int] = 0x0300 @@ -20129,7 +19831,7 @@ class ColorControl(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="currentHue", Tag=0x00000000, Type=typing.Optional[uint]), ClusterObjectFieldDescriptor(Label="currentSaturation", Tag=0x00000001, Type=typing.Optional[uint]), ClusterObjectFieldDescriptor(Label="remainingTime", Tag=0x00000002, Type=typing.Optional[uint]), @@ -20328,7 +20030,6 @@ class SaturationStepMode(MatterIntEnum): # enum value. This specific should never be transmitted. kUnknownEnumValue = 0, - class Bitmaps: class ColorCapabilities(IntFlag): kHueSaturationSupported = 0x1 @@ -20350,8 +20051,6 @@ class ColorLoopUpdateFlags(IntFlag): kUpdateTime = 0x4 kUpdateStartHue = 0x8 - - class Commands: @dataclass class MoveToHue(ClusterCommand): @@ -20363,12 +20062,12 @@ class MoveToHue(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="hue", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="direction", Tag=1, Type=ColorControl.Enums.HueDirection), - ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint), - ClusterObjectFieldDescriptor(Label="optionsMask", Tag=3, Type=uint), - ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=4, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="hue", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="direction", Tag=1, Type=ColorControl.Enums.HueDirection), + ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="optionsMask", Tag=3, Type=uint), + ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=4, Type=uint), ]) hue: 'uint' = 0 @@ -20387,11 +20086,11 @@ class MoveHue(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="moveMode", Tag=0, Type=ColorControl.Enums.HueMoveMode), - ClusterObjectFieldDescriptor(Label="rate", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="optionsMask", Tag=2, Type=uint), - ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=3, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="moveMode", Tag=0, Type=ColorControl.Enums.HueMoveMode), + ClusterObjectFieldDescriptor(Label="rate", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="optionsMask", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=3, Type=uint), ]) moveMode: 'ColorControl.Enums.HueMoveMode' = 0 @@ -20409,12 +20108,12 @@ class StepHue(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="stepMode", Tag=0, Type=ColorControl.Enums.HueStepMode), - ClusterObjectFieldDescriptor(Label="stepSize", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint), - ClusterObjectFieldDescriptor(Label="optionsMask", Tag=3, Type=uint), - ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=4, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="stepMode", Tag=0, Type=ColorControl.Enums.HueStepMode), + ClusterObjectFieldDescriptor(Label="stepSize", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="optionsMask", Tag=3, Type=uint), + ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=4, Type=uint), ]) stepMode: 'ColorControl.Enums.HueStepMode' = 0 @@ -20433,11 +20132,11 @@ class MoveToSaturation(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="saturation", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="transitionTime", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="optionsMask", Tag=2, Type=uint), - ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=3, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="saturation", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="transitionTime", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="optionsMask", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=3, Type=uint), ]) saturation: 'uint' = 0 @@ -20455,11 +20154,11 @@ class MoveSaturation(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="moveMode", Tag=0, Type=ColorControl.Enums.SaturationMoveMode), - ClusterObjectFieldDescriptor(Label="rate", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="optionsMask", Tag=2, Type=uint), - ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=3, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="moveMode", Tag=0, Type=ColorControl.Enums.SaturationMoveMode), + ClusterObjectFieldDescriptor(Label="rate", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="optionsMask", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=3, Type=uint), ]) moveMode: 'ColorControl.Enums.SaturationMoveMode' = 0 @@ -20477,12 +20176,12 @@ class StepSaturation(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="stepMode", Tag=0, Type=ColorControl.Enums.SaturationStepMode), - ClusterObjectFieldDescriptor(Label="stepSize", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint), - ClusterObjectFieldDescriptor(Label="optionsMask", Tag=3, Type=uint), - ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=4, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="stepMode", Tag=0, Type=ColorControl.Enums.SaturationStepMode), + ClusterObjectFieldDescriptor(Label="stepSize", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="optionsMask", Tag=3, Type=uint), + ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=4, Type=uint), ]) stepMode: 'ColorControl.Enums.SaturationStepMode' = 0 @@ -20501,12 +20200,12 @@ class MoveToHueAndSaturation(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="hue", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="saturation", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint), - ClusterObjectFieldDescriptor(Label="optionsMask", Tag=3, Type=uint), - ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=4, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="hue", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="saturation", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="optionsMask", Tag=3, Type=uint), + ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=4, Type=uint), ]) hue: 'uint' = 0 @@ -20525,12 +20224,12 @@ class MoveToColor(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="colorX", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="colorY", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint), - ClusterObjectFieldDescriptor(Label="optionsMask", Tag=3, Type=uint), - ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=4, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="colorX", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="colorY", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="optionsMask", Tag=3, Type=uint), + ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=4, Type=uint), ]) colorX: 'uint' = 0 @@ -20549,11 +20248,11 @@ class MoveColor(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="rateX", Tag=0, Type=int), - ClusterObjectFieldDescriptor(Label="rateY", Tag=1, Type=int), - ClusterObjectFieldDescriptor(Label="optionsMask", Tag=2, Type=uint), - ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=3, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="rateX", Tag=0, Type=int), + ClusterObjectFieldDescriptor(Label="rateY", Tag=1, Type=int), + ClusterObjectFieldDescriptor(Label="optionsMask", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=3, Type=uint), ]) rateX: 'int' = 0 @@ -20571,12 +20270,12 @@ class StepColor(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="stepX", Tag=0, Type=int), - ClusterObjectFieldDescriptor(Label="stepY", Tag=1, Type=int), - ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint), - ClusterObjectFieldDescriptor(Label="optionsMask", Tag=3, Type=uint), - ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=4, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="stepX", Tag=0, Type=int), + ClusterObjectFieldDescriptor(Label="stepY", Tag=1, Type=int), + ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="optionsMask", Tag=3, Type=uint), + ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=4, Type=uint), ]) stepX: 'int' = 0 @@ -20595,11 +20294,11 @@ class MoveToColorTemperature(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="colorTemperatureMireds", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="transitionTime", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="optionsMask", Tag=2, Type=uint), - ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=3, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="colorTemperatureMireds", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="transitionTime", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="optionsMask", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=3, Type=uint), ]) colorTemperatureMireds: 'uint' = 0 @@ -20617,12 +20316,12 @@ class EnhancedMoveToHue(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="enhancedHue", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="direction", Tag=1, Type=ColorControl.Enums.HueDirection), - ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint), - ClusterObjectFieldDescriptor(Label="optionsMask", Tag=3, Type=uint), - ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=4, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="enhancedHue", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="direction", Tag=1, Type=ColorControl.Enums.HueDirection), + ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="optionsMask", Tag=3, Type=uint), + ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=4, Type=uint), ]) enhancedHue: 'uint' = 0 @@ -20641,11 +20340,11 @@ class EnhancedMoveHue(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="moveMode", Tag=0, Type=ColorControl.Enums.HueMoveMode), - ClusterObjectFieldDescriptor(Label="rate", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="optionsMask", Tag=2, Type=uint), - ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=3, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="moveMode", Tag=0, Type=ColorControl.Enums.HueMoveMode), + ClusterObjectFieldDescriptor(Label="rate", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="optionsMask", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=3, Type=uint), ]) moveMode: 'ColorControl.Enums.HueMoveMode' = 0 @@ -20663,12 +20362,12 @@ class EnhancedStepHue(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="stepMode", Tag=0, Type=ColorControl.Enums.HueStepMode), - ClusterObjectFieldDescriptor(Label="stepSize", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint), - ClusterObjectFieldDescriptor(Label="optionsMask", Tag=3, Type=uint), - ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=4, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="stepMode", Tag=0, Type=ColorControl.Enums.HueStepMode), + ClusterObjectFieldDescriptor(Label="stepSize", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="optionsMask", Tag=3, Type=uint), + ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=4, Type=uint), ]) stepMode: 'ColorControl.Enums.HueStepMode' = 0 @@ -20687,12 +20386,12 @@ class EnhancedMoveToHueAndSaturation(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="enhancedHue", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="saturation", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint), - ClusterObjectFieldDescriptor(Label="optionsMask", Tag=3, Type=uint), - ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=4, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="enhancedHue", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="saturation", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="optionsMask", Tag=3, Type=uint), + ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=4, Type=uint), ]) enhancedHue: 'uint' = 0 @@ -20711,14 +20410,14 @@ class ColorLoopSet(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="updateFlags", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="action", Tag=1, Type=ColorControl.Enums.ColorLoopAction), - ClusterObjectFieldDescriptor(Label="direction", Tag=2, Type=ColorControl.Enums.ColorLoopDirection), - ClusterObjectFieldDescriptor(Label="time", Tag=3, Type=uint), - ClusterObjectFieldDescriptor(Label="startHue", Tag=4, Type=uint), - ClusterObjectFieldDescriptor(Label="optionsMask", Tag=5, Type=uint), - ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=6, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="updateFlags", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="action", Tag=1, Type=ColorControl.Enums.ColorLoopAction), + ClusterObjectFieldDescriptor(Label="direction", Tag=2, Type=ColorControl.Enums.ColorLoopDirection), + ClusterObjectFieldDescriptor(Label="time", Tag=3, Type=uint), + ClusterObjectFieldDescriptor(Label="startHue", Tag=4, Type=uint), + ClusterObjectFieldDescriptor(Label="optionsMask", Tag=5, Type=uint), + ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=6, Type=uint), ]) updateFlags: 'uint' = 0 @@ -20739,9 +20438,9 @@ class StopMoveStep(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="optionsMask", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=1, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="optionsMask", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=1, Type=uint), ]) optionsMask: 'uint' = 0 @@ -20757,13 +20456,13 @@ class MoveColorTemperature(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="moveMode", Tag=0, Type=ColorControl.Enums.HueMoveMode), - ClusterObjectFieldDescriptor(Label="rate", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="colorTemperatureMinimumMireds", Tag=2, Type=uint), - ClusterObjectFieldDescriptor(Label="colorTemperatureMaximumMireds", Tag=3, Type=uint), - ClusterObjectFieldDescriptor(Label="optionsMask", Tag=4, Type=uint), - ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=5, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="moveMode", Tag=0, Type=ColorControl.Enums.HueMoveMode), + ClusterObjectFieldDescriptor(Label="rate", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="colorTemperatureMinimumMireds", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="colorTemperatureMaximumMireds", Tag=3, Type=uint), + ClusterObjectFieldDescriptor(Label="optionsMask", Tag=4, Type=uint), + ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=5, Type=uint), ]) moveMode: 'ColorControl.Enums.HueMoveMode' = 0 @@ -20783,14 +20482,14 @@ class StepColorTemperature(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="stepMode", Tag=0, Type=ColorControl.Enums.HueStepMode), - ClusterObjectFieldDescriptor(Label="stepSize", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint), - ClusterObjectFieldDescriptor(Label="colorTemperatureMinimumMireds", Tag=3, Type=uint), - ClusterObjectFieldDescriptor(Label="colorTemperatureMaximumMireds", Tag=4, Type=uint), - ClusterObjectFieldDescriptor(Label="optionsMask", Tag=5, Type=uint), - ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=6, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="stepMode", Tag=0, Type=ColorControl.Enums.HueStepMode), + ClusterObjectFieldDescriptor(Label="stepSize", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="colorTemperatureMinimumMireds", Tag=3, Type=uint), + ClusterObjectFieldDescriptor(Label="colorTemperatureMaximumMireds", Tag=4, Type=uint), + ClusterObjectFieldDescriptor(Label="optionsMask", Tag=5, Type=uint), + ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=6, Type=uint), ]) stepMode: 'ColorControl.Enums.HueStepMode' = 0 @@ -20801,7 +20500,6 @@ def descriptor(cls) -> ClusterObjectDescriptor: optionsMask: 'uint' = 0 optionsOverride: 'uint' = 0 - class Attributes: @dataclass class CurrentHue(ClusterAttributeDescriptor): @@ -21732,7 +21430,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - @dataclass class BallastConfiguration(Cluster): id: typing.ClassVar[int] = 0x0301 @@ -21740,7 +21437,7 @@ class BallastConfiguration(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="physicalMinLevel", Tag=0x00000000, Type=uint), ClusterObjectFieldDescriptor(Label="physicalMaxLevel", Tag=0x00000001, Type=uint), ClusterObjectFieldDescriptor(Label="ballastStatus", Tag=0x00000002, Type=typing.Optional[uint]), @@ -21784,10 +21481,6 @@ def descriptor(cls) -> ClusterObjectDescriptor: featureMap: 'uint' = None clusterRevision: 'uint' = None - - - - class Attributes: @dataclass class PhysicalMinLevel(ClusterAttributeDescriptor): @@ -22110,7 +21803,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - @dataclass class IlluminanceMeasurement(Cluster): id: typing.ClassVar[int] = 0x0400 @@ -22118,7 +21810,7 @@ class IlluminanceMeasurement(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=typing.Union[Nullable, uint]), ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=typing.Union[Nullable, uint]), ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=typing.Union[Nullable, uint]), @@ -22154,10 +21846,6 @@ class LightSensorType(MatterIntEnum): # enum value. This specific should never be transmitted. kUnknownEnumValue = 2, - - - - class Attributes: @dataclass class MeasuredValue(ClusterAttributeDescriptor): @@ -22336,7 +22024,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - @dataclass class TemperatureMeasurement(Cluster): id: typing.ClassVar[int] = 0x0402 @@ -22344,7 +22031,7 @@ class TemperatureMeasurement(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=typing.Union[Nullable, int]), ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=typing.Union[Nullable, int]), ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=typing.Union[Nullable, int]), @@ -22368,10 +22055,6 @@ def descriptor(cls) -> ClusterObjectDescriptor: featureMap: 'uint' = None clusterRevision: 'uint' = None - - - - class Attributes: @dataclass class MeasuredValue(ClusterAttributeDescriptor): @@ -22534,7 +22217,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - @dataclass class PressureMeasurement(Cluster): id: typing.ClassVar[int] = 0x0403 @@ -22542,7 +22224,7 @@ class PressureMeasurement(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=typing.Union[Nullable, int]), ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=typing.Union[Nullable, int]), ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=typing.Union[Nullable, int]), @@ -22576,14 +22258,10 @@ def descriptor(cls) -> ClusterObjectDescriptor: featureMap: 'uint' = None clusterRevision: 'uint' = None - class Bitmaps: class PressureFeature(IntFlag): kExtended = 0x1 - - - class Attributes: @dataclass class MeasuredValue(ClusterAttributeDescriptor): @@ -22826,7 +22504,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - @dataclass class FlowMeasurement(Cluster): id: typing.ClassVar[int] = 0x0404 @@ -22834,7 +22511,7 @@ class FlowMeasurement(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=typing.Union[Nullable, uint]), ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=typing.Union[Nullable, uint]), ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=typing.Union[Nullable, uint]), @@ -22858,10 +22535,6 @@ def descriptor(cls) -> ClusterObjectDescriptor: featureMap: 'uint' = None clusterRevision: 'uint' = None - - - - class Attributes: @dataclass class MeasuredValue(ClusterAttributeDescriptor): @@ -23024,7 +22697,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - @dataclass class RelativeHumidityMeasurement(Cluster): id: typing.ClassVar[int] = 0x0405 @@ -23032,7 +22704,7 @@ class RelativeHumidityMeasurement(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=typing.Union[Nullable, uint]), ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=typing.Union[Nullable, uint]), ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=typing.Union[Nullable, uint]), @@ -23056,10 +22728,6 @@ def descriptor(cls) -> ClusterObjectDescriptor: featureMap: 'uint' = None clusterRevision: 'uint' = None - - - - class Attributes: @dataclass class MeasuredValue(ClusterAttributeDescriptor): @@ -23222,7 +22890,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - @dataclass class OccupancySensing(Cluster): id: typing.ClassVar[int] = 0x0406 @@ -23230,7 +22897,7 @@ class OccupancySensing(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="occupancy", Tag=0x00000000, Type=uint), ClusterObjectFieldDescriptor(Label="occupancySensorType", Tag=0x00000001, Type=OccupancySensing.Enums.OccupancySensorTypeEnum), ClusterObjectFieldDescriptor(Label="occupancySensorTypeBitmap", Tag=0x00000002, Type=uint), @@ -23282,7 +22949,6 @@ class OccupancySensorTypeEnum(MatterIntEnum): # enum value. This specific should never be transmitted. kUnknownEnumValue = 4, - class Bitmaps: class OccupancyBitmap(IntFlag): kOccupied = 0x1 @@ -23292,9 +22958,6 @@ class OccupancySensorTypeBitmap(IntFlag): kUltrasonic = 0x2 kPhysicalContact = 0x4 - - - class Attributes: @dataclass class Occupancy(ClusterAttributeDescriptor): @@ -23585,7 +23248,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - @dataclass class WakeOnLan(Cluster): id: typing.ClassVar[int] = 0x0503 @@ -23593,7 +23255,7 @@ class WakeOnLan(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="MACAddress", Tag=0x00000000, Type=typing.Optional[str]), ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), @@ -23611,10 +23273,6 @@ def descriptor(cls) -> ClusterObjectDescriptor: featureMap: 'uint' = None clusterRevision: 'uint' = None - - - - class Attributes: @dataclass class MACAddress(ClusterAttributeDescriptor): @@ -23729,7 +23387,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - @dataclass class Channel(Cluster): id: typing.ClassVar[int] = 0x0504 @@ -23737,7 +23394,7 @@ class Channel(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="channelList", Tag=0x00000000, Type=typing.Optional[typing.List[Channel.Structs.ChannelInfoStruct]]), ClusterObjectFieldDescriptor(Label="lineup", Tag=0x00000001, Type=typing.Union[None, Nullable, Channel.Structs.LineupInfoStruct]), ClusterObjectFieldDescriptor(Label="currentChannel", Tag=0x00000002, Type=typing.Union[None, Nullable, Channel.Structs.ChannelInfoStruct]), @@ -23778,25 +23435,23 @@ class LineupInfoTypeEnum(MatterIntEnum): # enum value. This specific should never be transmitted. kUnknownEnumValue = 1, - class Bitmaps: class ChannelFeature(IntFlag): kChannelList = 0x1 kLineupInfo = 0x2 - class Structs: @dataclass class ChannelInfoStruct(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="majorNumber", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="minorNumber", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="name", Tag=2, Type=typing.Optional[str]), - ClusterObjectFieldDescriptor(Label="callSign", Tag=3, Type=typing.Optional[str]), - ClusterObjectFieldDescriptor(Label="affiliateCallSign", Tag=4, Type=typing.Optional[str]), + Fields=[ + ClusterObjectFieldDescriptor(Label="majorNumber", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="minorNumber", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="name", Tag=2, Type=typing.Optional[str]), + ClusterObjectFieldDescriptor(Label="callSign", Tag=3, Type=typing.Optional[str]), + ClusterObjectFieldDescriptor(Label="affiliateCallSign", Tag=4, Type=typing.Optional[str]), ]) majorNumber: 'uint' = 0 @@ -23810,11 +23465,11 @@ class LineupInfoStruct(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="operatorName", Tag=0, Type=str), - ClusterObjectFieldDescriptor(Label="lineupName", Tag=1, Type=typing.Optional[str]), - ClusterObjectFieldDescriptor(Label="postalCode", Tag=2, Type=typing.Optional[str]), - ClusterObjectFieldDescriptor(Label="lineupInfoType", Tag=3, Type=Channel.Enums.LineupInfoTypeEnum), + Fields=[ + ClusterObjectFieldDescriptor(Label="operatorName", Tag=0, Type=str), + ClusterObjectFieldDescriptor(Label="lineupName", Tag=1, Type=typing.Optional[str]), + ClusterObjectFieldDescriptor(Label="postalCode", Tag=2, Type=typing.Optional[str]), + ClusterObjectFieldDescriptor(Label="lineupInfoType", Tag=3, Type=Channel.Enums.LineupInfoTypeEnum), ]) operatorName: 'str' = "" @@ -23822,8 +23477,6 @@ def descriptor(cls) -> ClusterObjectDescriptor: postalCode: 'typing.Optional[str]' = None lineupInfoType: 'Channel.Enums.LineupInfoTypeEnum' = 0 - - class Commands: @dataclass class ChangeChannel(ClusterCommand): @@ -23835,8 +23488,8 @@ class ChangeChannel(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="match", Tag=0, Type=str), + Fields=[ + ClusterObjectFieldDescriptor(Label="match", Tag=0, Type=str), ]) match: 'str' = "" @@ -23851,9 +23504,9 @@ class ChangeChannelResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=Channel.Enums.ChannelStatusEnum), - ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=typing.Optional[str]), + Fields=[ + ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=Channel.Enums.ChannelStatusEnum), + ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=typing.Optional[str]), ]) status: 'Channel.Enums.ChannelStatusEnum' = 0 @@ -23869,9 +23522,9 @@ class ChangeChannelByNumber(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="majorNumber", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="minorNumber", Tag=1, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="majorNumber", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="minorNumber", Tag=1, Type=uint), ]) majorNumber: 'uint' = 0 @@ -23887,13 +23540,12 @@ class SkipChannel(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="count", Tag=0, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="count", Tag=0, Type=uint), ]) count: 'uint' = 0 - class Attributes: @dataclass class ChannelList(ClusterAttributeDescriptor): @@ -24040,7 +23692,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - @dataclass class TargetNavigator(Cluster): id: typing.ClassVar[int] = 0x0505 @@ -24048,7 +23699,7 @@ class TargetNavigator(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="targetList", Tag=0x00000000, Type=typing.List[TargetNavigator.Structs.TargetInfoStruct]), ClusterObjectFieldDescriptor(Label="currentTarget", Tag=0x00000001, Type=typing.Optional[uint]), ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), @@ -24079,24 +23730,20 @@ class TargetNavigatorStatusEnum(MatterIntEnum): # enum value. This specific should never be transmitted. kUnknownEnumValue = 3, - - class Structs: @dataclass class TargetInfoStruct(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="identifier", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="name", Tag=1, Type=str), + Fields=[ + ClusterObjectFieldDescriptor(Label="identifier", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="name", Tag=1, Type=str), ]) identifier: 'uint' = 0 name: 'str' = "" - - class Commands: @dataclass class NavigateTarget(ClusterCommand): @@ -24108,9 +23755,9 @@ class NavigateTarget(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="target", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=typing.Optional[str]), + Fields=[ + ClusterObjectFieldDescriptor(Label="target", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=typing.Optional[str]), ]) target: 'uint' = 0 @@ -24126,15 +23773,14 @@ class NavigateTargetResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=TargetNavigator.Enums.TargetNavigatorStatusEnum), - ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=typing.Optional[str]), + Fields=[ + ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=TargetNavigator.Enums.TargetNavigatorStatusEnum), + ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=typing.Optional[str]), ]) status: 'TargetNavigator.Enums.TargetNavigatorStatusEnum' = 0 data: 'typing.Optional[str]' = None - class Attributes: @dataclass class TargetList(ClusterAttributeDescriptor): @@ -24265,7 +23911,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - @dataclass class MediaPlayback(Cluster): id: typing.ClassVar[int] = 0x0506 @@ -24273,7 +23918,7 @@ class MediaPlayback(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="currentState", Tag=0x00000000, Type=MediaPlayback.Enums.PlaybackStateEnum), ClusterObjectFieldDescriptor(Label="startTime", Tag=0x00000001, Type=typing.Union[None, Nullable, uint]), ClusterObjectFieldDescriptor(Label="duration", Tag=0x00000002, Type=typing.Union[None, Nullable, uint]), @@ -24328,29 +23973,25 @@ class PlaybackStateEnum(MatterIntEnum): # enum value. This specific should never be transmitted. kUnknownEnumValue = 4, - class Bitmaps: class MediaPlaybackFeature(IntFlag): kAdvancedSeek = 0x1 kVariableSpeed = 0x2 - class Structs: @dataclass class PlaybackPositionStruct(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="updatedAt", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="position", Tag=1, Type=typing.Union[Nullable, uint]), + Fields=[ + ClusterObjectFieldDescriptor(Label="updatedAt", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="position", Tag=1, Type=typing.Union[Nullable, uint]), ]) updatedAt: 'uint' = 0 position: 'typing.Union[Nullable, uint]' = NullValue - - class Commands: @dataclass class Play(ClusterCommand): @@ -24362,10 +24003,9 @@ class Play(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ]) - @dataclass class Pause(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0506 @@ -24376,10 +24016,9 @@ class Pause(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ]) - @dataclass class Stop(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0506 @@ -24390,10 +24029,9 @@ class Stop(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ]) - @dataclass class StartOver(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0506 @@ -24404,10 +24042,9 @@ class StartOver(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ]) - @dataclass class Previous(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0506 @@ -24418,10 +24055,9 @@ class Previous(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ]) - @dataclass class Next(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0506 @@ -24432,10 +24068,9 @@ class Next(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ]) - @dataclass class Rewind(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0506 @@ -24446,10 +24081,9 @@ class Rewind(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ]) - @dataclass class FastForward(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0506 @@ -24460,10 +24094,9 @@ class FastForward(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ]) - @dataclass class SkipForward(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0506 @@ -24474,8 +24107,8 @@ class SkipForward(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="deltaPositionMilliseconds", Tag=0, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="deltaPositionMilliseconds", Tag=0, Type=uint), ]) deltaPositionMilliseconds: 'uint' = 0 @@ -24490,8 +24123,8 @@ class SkipBackward(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="deltaPositionMilliseconds", Tag=0, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="deltaPositionMilliseconds", Tag=0, Type=uint), ]) deltaPositionMilliseconds: 'uint' = 0 @@ -24506,9 +24139,9 @@ class PlaybackResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatusEnum), - ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=typing.Optional[str]), + Fields=[ + ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatusEnum), + ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=typing.Optional[str]), ]) status: 'MediaPlayback.Enums.MediaPlaybackStatusEnum' = 0 @@ -24524,13 +24157,12 @@ class Seek(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="position", Tag=0, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="position", Tag=0, Type=uint), ]) position: 'uint' = 0 - class Attributes: @dataclass class CurrentState(ClusterAttributeDescriptor): @@ -24741,7 +24373,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - @dataclass class MediaInput(Cluster): id: typing.ClassVar[int] = 0x0507 @@ -24749,7 +24380,7 @@ class MediaInput(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="inputList", Tag=0x00000000, Type=typing.List[MediaInput.Structs.InputInfoStruct]), ClusterObjectFieldDescriptor(Label="currentInput", Tag=0x00000001, Type=uint), ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), @@ -24789,23 +24420,21 @@ class InputTypeEnum(MatterIntEnum): # enum value. This specific should never be transmitted. kUnknownEnumValue = 12, - class Bitmaps: class MediaInputFeature(IntFlag): kNameUpdates = 0x1 - class Structs: @dataclass class InputInfoStruct(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="index", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="inputType", Tag=1, Type=MediaInput.Enums.InputTypeEnum), - ClusterObjectFieldDescriptor(Label="name", Tag=2, Type=str), - ClusterObjectFieldDescriptor(Label="description", Tag=3, Type=str), + Fields=[ + ClusterObjectFieldDescriptor(Label="index", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="inputType", Tag=1, Type=MediaInput.Enums.InputTypeEnum), + ClusterObjectFieldDescriptor(Label="name", Tag=2, Type=str), + ClusterObjectFieldDescriptor(Label="description", Tag=3, Type=str), ]) index: 'uint' = 0 @@ -24813,8 +24442,6 @@ def descriptor(cls) -> ClusterObjectDescriptor: name: 'str' = "" description: 'str' = "" - - class Commands: @dataclass class SelectInput(ClusterCommand): @@ -24826,8 +24453,8 @@ class SelectInput(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="index", Tag=0, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="index", Tag=0, Type=uint), ]) index: 'uint' = 0 @@ -24842,10 +24469,9 @@ class ShowInputStatus(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ]) - @dataclass class HideInputStatus(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0507 @@ -24856,10 +24482,9 @@ class HideInputStatus(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ]) - @dataclass class RenameInput(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0507 @@ -24870,15 +24495,14 @@ class RenameInput(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="index", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="name", Tag=1, Type=str), + Fields=[ + ClusterObjectFieldDescriptor(Label="index", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="name", Tag=1, Type=str), ]) index: 'uint' = 0 name: 'str' = "" - class Attributes: @dataclass class InputList(ClusterAttributeDescriptor): @@ -25009,7 +24633,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - @dataclass class LowPower(Cluster): id: typing.ClassVar[int] = 0x0508 @@ -25017,7 +24640,7 @@ class LowPower(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), @@ -25033,9 +24656,6 @@ def descriptor(cls) -> ClusterObjectDescriptor: featureMap: 'uint' = None clusterRevision: 'uint' = None - - - class Commands: @dataclass class Sleep(ClusterCommand): @@ -25047,11 +24667,9 @@ class Sleep(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ]) - - class Attributes: @dataclass class GeneratedCommandList(ClusterAttributeDescriptor): @@ -25150,7 +24768,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - @dataclass class KeypadInput(Cluster): id: typing.ClassVar[int] = 0x0509 @@ -25158,7 +24775,7 @@ class KeypadInput(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), @@ -25278,15 +24895,12 @@ class KeypadInputStatusEnum(MatterIntEnum): # enum value. This specific should never be transmitted. kUnknownEnumValue = 3, - class Bitmaps: class KeypadInputFeature(IntFlag): kNavigationKeyCodes = 0x1 kLocationKeys = 0x2 kNumberKeys = 0x4 - - class Commands: @dataclass class SendKey(ClusterCommand): @@ -25298,8 +24912,8 @@ class SendKey(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="keyCode", Tag=0, Type=KeypadInput.Enums.CecKeyCode), + Fields=[ + ClusterObjectFieldDescriptor(Label="keyCode", Tag=0, Type=KeypadInput.Enums.CecKeyCode), ]) keyCode: 'KeypadInput.Enums.CecKeyCode' = 0 @@ -25314,13 +24928,12 @@ class SendKeyResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=KeypadInput.Enums.KeypadInputStatusEnum), + Fields=[ + ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=KeypadInput.Enums.KeypadInputStatusEnum), ]) status: 'KeypadInput.Enums.KeypadInputStatusEnum' = 0 - class Attributes: @dataclass class GeneratedCommandList(ClusterAttributeDescriptor): @@ -25419,7 +25032,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - @dataclass class ContentLauncher(Cluster): id: typing.ClassVar[int] = 0x050A @@ -25427,7 +25039,7 @@ class ContentLauncher(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="acceptHeader", Tag=0x00000000, Type=typing.Optional[typing.List[str]]), ClusterObjectFieldDescriptor(Label="supportedStreamingProtocols", Tag=0x00000001, Type=typing.Optional[uint]), ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), @@ -25488,7 +25100,6 @@ class ParameterEnum(MatterIntEnum): # enum value. This specific should never be transmitted. kUnknownEnumValue = 14, - class Bitmaps: class ContentLauncherFeature(IntFlag): kContentSearch = 0x1 @@ -25498,17 +25109,16 @@ class SupportedStreamingProtocol(IntFlag): kDash = 0x1 kHls = 0x2 - class Structs: @dataclass class DimensionStruct(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="width", Tag=0, Type=float), - ClusterObjectFieldDescriptor(Label="height", Tag=1, Type=float), - ClusterObjectFieldDescriptor(Label="metric", Tag=2, Type=ContentLauncher.Enums.MetricTypeEnum), + Fields=[ + ClusterObjectFieldDescriptor(Label="width", Tag=0, Type=float), + ClusterObjectFieldDescriptor(Label="height", Tag=1, Type=float), + ClusterObjectFieldDescriptor(Label="metric", Tag=2, Type=ContentLauncher.Enums.MetricTypeEnum), ]) width: 'float' = 0.0 @@ -25520,9 +25130,9 @@ class AdditionalInfoStruct(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="name", Tag=0, Type=str), - ClusterObjectFieldDescriptor(Label="value", Tag=1, Type=str), + Fields=[ + ClusterObjectFieldDescriptor(Label="name", Tag=0, Type=str), + ClusterObjectFieldDescriptor(Label="value", Tag=1, Type=str), ]) name: 'str' = "" @@ -25533,10 +25143,10 @@ class ParameterStruct(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="type", Tag=0, Type=ContentLauncher.Enums.ParameterEnum), - ClusterObjectFieldDescriptor(Label="value", Tag=1, Type=str), - ClusterObjectFieldDescriptor(Label="externalIDList", Tag=2, Type=typing.Optional[typing.List[ContentLauncher.Structs.AdditionalInfoStruct]]), + Fields=[ + ClusterObjectFieldDescriptor(Label="type", Tag=0, Type=ContentLauncher.Enums.ParameterEnum), + ClusterObjectFieldDescriptor(Label="value", Tag=1, Type=str), + ClusterObjectFieldDescriptor(Label="externalIDList", Tag=2, Type=typing.Optional[typing.List[ContentLauncher.Structs.AdditionalInfoStruct]]), ]) type: 'ContentLauncher.Enums.ParameterEnum' = 0 @@ -25548,8 +25158,8 @@ class ContentSearchStruct(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="parameterList", Tag=0, Type=typing.List[ContentLauncher.Structs.ParameterStruct]), + Fields=[ + ClusterObjectFieldDescriptor(Label="parameterList", Tag=0, Type=typing.List[ContentLauncher.Structs.ParameterStruct]), ]) parameterList: 'typing.List[ContentLauncher.Structs.ParameterStruct]' = field(default_factory=lambda: []) @@ -25559,10 +25169,10 @@ class StyleInformationStruct(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="imageURL", Tag=0, Type=typing.Optional[str]), - ClusterObjectFieldDescriptor(Label="color", Tag=1, Type=typing.Optional[str]), - ClusterObjectFieldDescriptor(Label="size", Tag=2, Type=typing.Optional[ContentLauncher.Structs.DimensionStruct]), + Fields=[ + ClusterObjectFieldDescriptor(Label="imageURL", Tag=0, Type=typing.Optional[str]), + ClusterObjectFieldDescriptor(Label="color", Tag=1, Type=typing.Optional[str]), + ClusterObjectFieldDescriptor(Label="size", Tag=2, Type=typing.Optional[ContentLauncher.Structs.DimensionStruct]), ]) imageURL: 'typing.Optional[str]' = None @@ -25574,13 +25184,13 @@ class BrandingInformationStruct(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="providerName", Tag=0, Type=str), - ClusterObjectFieldDescriptor(Label="background", Tag=1, Type=typing.Optional[ContentLauncher.Structs.StyleInformationStruct]), - ClusterObjectFieldDescriptor(Label="logo", Tag=2, Type=typing.Optional[ContentLauncher.Structs.StyleInformationStruct]), - ClusterObjectFieldDescriptor(Label="progressBar", Tag=3, Type=typing.Optional[ContentLauncher.Structs.StyleInformationStruct]), - ClusterObjectFieldDescriptor(Label="splash", Tag=4, Type=typing.Optional[ContentLauncher.Structs.StyleInformationStruct]), - ClusterObjectFieldDescriptor(Label="waterMark", Tag=5, Type=typing.Optional[ContentLauncher.Structs.StyleInformationStruct]), + Fields=[ + ClusterObjectFieldDescriptor(Label="providerName", Tag=0, Type=str), + ClusterObjectFieldDescriptor(Label="background", Tag=1, Type=typing.Optional[ContentLauncher.Structs.StyleInformationStruct]), + ClusterObjectFieldDescriptor(Label="logo", Tag=2, Type=typing.Optional[ContentLauncher.Structs.StyleInformationStruct]), + ClusterObjectFieldDescriptor(Label="progressBar", Tag=3, Type=typing.Optional[ContentLauncher.Structs.StyleInformationStruct]), + ClusterObjectFieldDescriptor(Label="splash", Tag=4, Type=typing.Optional[ContentLauncher.Structs.StyleInformationStruct]), + ClusterObjectFieldDescriptor(Label="waterMark", Tag=5, Type=typing.Optional[ContentLauncher.Structs.StyleInformationStruct]), ]) providerName: 'str' = "" @@ -25590,8 +25200,6 @@ def descriptor(cls) -> ClusterObjectDescriptor: splash: 'typing.Optional[ContentLauncher.Structs.StyleInformationStruct]' = None waterMark: 'typing.Optional[ContentLauncher.Structs.StyleInformationStruct]' = None - - class Commands: @dataclass class LaunchContent(ClusterCommand): @@ -25603,10 +25211,10 @@ class LaunchContent(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="search", Tag=0, Type=ContentLauncher.Structs.ContentSearchStruct), - ClusterObjectFieldDescriptor(Label="autoPlay", Tag=1, Type=bool), - ClusterObjectFieldDescriptor(Label="data", Tag=2, Type=typing.Optional[str]), + Fields=[ + ClusterObjectFieldDescriptor(Label="search", Tag=0, Type=ContentLauncher.Structs.ContentSearchStruct), + ClusterObjectFieldDescriptor(Label="autoPlay", Tag=1, Type=bool), + ClusterObjectFieldDescriptor(Label="data", Tag=2, Type=typing.Optional[str]), ]) search: 'ContentLauncher.Structs.ContentSearchStruct' = field(default_factory=lambda: ContentLauncher.Structs.ContentSearchStruct()) @@ -25623,10 +25231,10 @@ class LaunchURL(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="contentURL", Tag=0, Type=str), - ClusterObjectFieldDescriptor(Label="displayString", Tag=1, Type=typing.Optional[str]), - ClusterObjectFieldDescriptor(Label="brandingInformation", Tag=2, Type=typing.Optional[ContentLauncher.Structs.BrandingInformationStruct]), + Fields=[ + ClusterObjectFieldDescriptor(Label="contentURL", Tag=0, Type=str), + ClusterObjectFieldDescriptor(Label="displayString", Tag=1, Type=typing.Optional[str]), + ClusterObjectFieldDescriptor(Label="brandingInformation", Tag=2, Type=typing.Optional[ContentLauncher.Structs.BrandingInformationStruct]), ]) contentURL: 'str' = "" @@ -25643,15 +25251,14 @@ class LauncherResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=ContentLauncher.Enums.ContentLaunchStatusEnum), - ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=typing.Optional[str]), + Fields=[ + ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=ContentLauncher.Enums.ContentLaunchStatusEnum), + ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=typing.Optional[str]), ]) status: 'ContentLauncher.Enums.ContentLaunchStatusEnum' = 0 data: 'typing.Optional[str]' = None - class Attributes: @dataclass class AcceptHeader(ClusterAttributeDescriptor): @@ -25782,7 +25389,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - @dataclass class AudioOutput(Cluster): id: typing.ClassVar[int] = 0x050B @@ -25790,7 +25396,7 @@ class AudioOutput(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="outputList", Tag=0x00000000, Type=typing.List[AudioOutput.Structs.OutputInfoStruct]), ClusterObjectFieldDescriptor(Label="currentOutput", Tag=0x00000001, Type=typing.Optional[uint]), ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), @@ -25824,30 +25430,26 @@ class OutputTypeEnum(MatterIntEnum): # enum value. This specific should never be transmitted. kUnknownEnumValue = 6, - class Bitmaps: class AudioOutputFeature(IntFlag): kNameUpdates = 0x1 - class Structs: @dataclass class OutputInfoStruct(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="index", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="outputType", Tag=1, Type=AudioOutput.Enums.OutputTypeEnum), - ClusterObjectFieldDescriptor(Label="name", Tag=2, Type=str), + Fields=[ + ClusterObjectFieldDescriptor(Label="index", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="outputType", Tag=1, Type=AudioOutput.Enums.OutputTypeEnum), + ClusterObjectFieldDescriptor(Label="name", Tag=2, Type=str), ]) index: 'uint' = 0 outputType: 'AudioOutput.Enums.OutputTypeEnum' = 0 name: 'str' = "" - - class Commands: @dataclass class SelectOutput(ClusterCommand): @@ -25859,8 +25461,8 @@ class SelectOutput(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="index", Tag=0, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="index", Tag=0, Type=uint), ]) index: 'uint' = 0 @@ -25875,15 +25477,14 @@ class RenameOutput(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="index", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="name", Tag=1, Type=str), + Fields=[ + ClusterObjectFieldDescriptor(Label="index", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="name", Tag=1, Type=str), ]) index: 'uint' = 0 name: 'str' = "" - class Attributes: @dataclass class OutputList(ClusterAttributeDescriptor): @@ -26014,7 +25615,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - @dataclass class ApplicationLauncher(Cluster): id: typing.ClassVar[int] = 0x050C @@ -26022,7 +25622,7 @@ class ApplicationLauncher(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="catalogList", Tag=0x00000000, Type=typing.Optional[typing.List[uint]]), ClusterObjectFieldDescriptor(Label="currentApp", Tag=0x00000001, Type=typing.Union[None, Nullable, ApplicationLauncher.Structs.ApplicationEPStruct]), ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), @@ -26053,21 +25653,19 @@ class ApplicationLauncherStatusEnum(MatterIntEnum): # enum value. This specific should never be transmitted. kUnknownEnumValue = 3, - class Bitmaps: class ApplicationLauncherFeature(IntFlag): kApplicationPlatform = 0x1 - class Structs: @dataclass class ApplicationStruct(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="catalogVendorID", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="applicationID", Tag=1, Type=str), + Fields=[ + ClusterObjectFieldDescriptor(Label="catalogVendorID", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="applicationID", Tag=1, Type=str), ]) catalogVendorID: 'uint' = 0 @@ -26078,16 +25676,14 @@ class ApplicationEPStruct(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="application", Tag=0, Type=ApplicationLauncher.Structs.ApplicationStruct), - ClusterObjectFieldDescriptor(Label="endpoint", Tag=1, Type=typing.Optional[uint]), + Fields=[ + ClusterObjectFieldDescriptor(Label="application", Tag=0, Type=ApplicationLauncher.Structs.ApplicationStruct), + ClusterObjectFieldDescriptor(Label="endpoint", Tag=1, Type=typing.Optional[uint]), ]) application: 'ApplicationLauncher.Structs.ApplicationStruct' = field(default_factory=lambda: ApplicationLauncher.Structs.ApplicationStruct()) endpoint: 'typing.Optional[uint]' = None - - class Commands: @dataclass class LaunchApp(ClusterCommand): @@ -26099,9 +25695,9 @@ class LaunchApp(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="application", Tag=0, Type=typing.Optional[ApplicationLauncher.Structs.ApplicationStruct]), - ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=typing.Optional[bytes]), + Fields=[ + ClusterObjectFieldDescriptor(Label="application", Tag=0, Type=typing.Optional[ApplicationLauncher.Structs.ApplicationStruct]), + ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=typing.Optional[bytes]), ]) application: 'typing.Optional[ApplicationLauncher.Structs.ApplicationStruct]' = None @@ -26117,8 +25713,8 @@ class StopApp(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="application", Tag=0, Type=typing.Optional[ApplicationLauncher.Structs.ApplicationStruct]), + Fields=[ + ClusterObjectFieldDescriptor(Label="application", Tag=0, Type=typing.Optional[ApplicationLauncher.Structs.ApplicationStruct]), ]) application: 'typing.Optional[ApplicationLauncher.Structs.ApplicationStruct]' = None @@ -26133,8 +25729,8 @@ class HideApp(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="application", Tag=0, Type=typing.Optional[ApplicationLauncher.Structs.ApplicationStruct]), + Fields=[ + ClusterObjectFieldDescriptor(Label="application", Tag=0, Type=typing.Optional[ApplicationLauncher.Structs.ApplicationStruct]), ]) application: 'typing.Optional[ApplicationLauncher.Structs.ApplicationStruct]' = None @@ -26149,15 +25745,14 @@ class LauncherResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=ApplicationLauncher.Enums.ApplicationLauncherStatusEnum), - ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=typing.Optional[bytes]), + Fields=[ + ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=ApplicationLauncher.Enums.ApplicationLauncherStatusEnum), + ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=typing.Optional[bytes]), ]) status: 'ApplicationLauncher.Enums.ApplicationLauncherStatusEnum' = 0 data: 'typing.Optional[bytes]' = None - class Attributes: @dataclass class CatalogList(ClusterAttributeDescriptor): @@ -26288,7 +25883,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - @dataclass class ApplicationBasic(Cluster): id: typing.ClassVar[int] = 0x050D @@ -26296,7 +25890,7 @@ class ApplicationBasic(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="vendorName", Tag=0x00000000, Type=typing.Optional[str]), ClusterObjectFieldDescriptor(Label="vendorID", Tag=0x00000001, Type=typing.Optional[uint]), ClusterObjectFieldDescriptor(Label="applicationName", Tag=0x00000002, Type=str), @@ -26340,25 +25934,20 @@ class ApplicationStatusEnum(MatterIntEnum): # enum value. This specific should never be transmitted. kUnknownEnumValue = 4, - - class Structs: @dataclass class ApplicationStruct(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="catalogVendorID", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="applicationID", Tag=1, Type=str), + Fields=[ + ClusterObjectFieldDescriptor(Label="catalogVendorID", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="applicationID", Tag=1, Type=str), ]) catalogVendorID: 'uint' = 0 applicationID: 'str' = "" - - - class Attributes: @dataclass class VendorName(ClusterAttributeDescriptor): @@ -26585,7 +26174,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - @dataclass class AccountLogin(Cluster): id: typing.ClassVar[int] = 0x050E @@ -26593,7 +26181,7 @@ class AccountLogin(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), @@ -26609,9 +26197,6 @@ def descriptor(cls) -> ClusterObjectDescriptor: featureMap: 'uint' = None clusterRevision: 'uint' = None - - - class Commands: @dataclass class GetSetupPIN(ClusterCommand): @@ -26623,8 +26208,8 @@ class GetSetupPIN(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="tempAccountIdentifier", Tag=0, Type=str), + Fields=[ + ClusterObjectFieldDescriptor(Label="tempAccountIdentifier", Tag=0, Type=str), ]) @ChipUtility.classproperty @@ -26643,8 +26228,8 @@ class GetSetupPINResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="setupPIN", Tag=0, Type=str), + Fields=[ + ClusterObjectFieldDescriptor(Label="setupPIN", Tag=0, Type=str), ]) setupPIN: 'str' = "" @@ -26659,9 +26244,9 @@ class Login(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="tempAccountIdentifier", Tag=0, Type=str), - ClusterObjectFieldDescriptor(Label="setupPIN", Tag=1, Type=str), + Fields=[ + ClusterObjectFieldDescriptor(Label="tempAccountIdentifier", Tag=0, Type=str), + ClusterObjectFieldDescriptor(Label="setupPIN", Tag=1, Type=str), ]) @ChipUtility.classproperty @@ -26681,15 +26266,13 @@ class Logout(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ]) @ChipUtility.classproperty def must_use_timed_invoke(cls) -> bool: return True - - class Attributes: @dataclass class GeneratedCommandList(ClusterAttributeDescriptor): @@ -26788,7 +26371,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - @dataclass class ElectricalMeasurement(Cluster): id: typing.ClassVar[int] = 0x0B04 @@ -26796,7 +26378,7 @@ class ElectricalMeasurement(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="measurementType", Tag=0x00000000, Type=typing.Optional[uint]), ClusterObjectFieldDescriptor(Label="dcVoltage", Tag=0x00000100, Type=typing.Optional[int]), ClusterObjectFieldDescriptor(Label="dcVoltageMin", Tag=0x00000101, Type=typing.Optional[int]), @@ -27068,9 +26650,6 @@ def descriptor(cls) -> ClusterObjectDescriptor: featureMap: 'uint' = None clusterRevision: 'uint' = None - - - class Commands: @dataclass class GetProfileInfoResponseCommand(ClusterCommand): @@ -27082,11 +26661,11 @@ class GetProfileInfoResponseCommand(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="profileCount", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="profileIntervalPeriod", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="maxNumberOfIntervals", Tag=2, Type=uint), - ClusterObjectFieldDescriptor(Label="listOfAttributes", Tag=3, Type=typing.List[uint]), + Fields=[ + ClusterObjectFieldDescriptor(Label="profileCount", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="profileIntervalPeriod", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="maxNumberOfIntervals", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="listOfAttributes", Tag=3, Type=typing.List[uint]), ]) profileCount: 'uint' = 0 @@ -27104,10 +26683,9 @@ class GetProfileInfoCommand(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ]) - @dataclass class GetMeasurementProfileResponseCommand(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0B04 @@ -27118,13 +26696,13 @@ class GetMeasurementProfileResponseCommand(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="startTime", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="status", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="profileIntervalPeriod", Tag=2, Type=uint), - ClusterObjectFieldDescriptor(Label="numberOfIntervalsDelivered", Tag=3, Type=uint), - ClusterObjectFieldDescriptor(Label="attributeId", Tag=4, Type=uint), - ClusterObjectFieldDescriptor(Label="intervals", Tag=5, Type=typing.List[uint]), + Fields=[ + ClusterObjectFieldDescriptor(Label="startTime", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="status", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="profileIntervalPeriod", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="numberOfIntervalsDelivered", Tag=3, Type=uint), + ClusterObjectFieldDescriptor(Label="attributeId", Tag=4, Type=uint), + ClusterObjectFieldDescriptor(Label="intervals", Tag=5, Type=typing.List[uint]), ]) startTime: 'uint' = 0 @@ -27144,17 +26722,16 @@ class GetMeasurementProfileCommand(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="attributeId", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="startTime", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="numberOfIntervals", Tag=2, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="attributeId", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="startTime", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="numberOfIntervals", Tag=2, Type=uint), ]) attributeId: 'uint' = 0 startTime: 'uint' = 0 numberOfIntervals: 'uint' = 0 - class Attributes: @dataclass class MeasurementType(ClusterAttributeDescriptor): @@ -29301,7 +28878,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - @dataclass class ClientMonitoring(Cluster): id: typing.ClassVar[int] = 0x1046 @@ -29309,7 +28885,7 @@ class ClientMonitoring(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="idleModeInterval", Tag=0x00000000, Type=uint), ClusterObjectFieldDescriptor(Label="activeModeInterval", Tag=0x00000001, Type=uint), ClusterObjectFieldDescriptor(Label="activeModeThreshold", Tag=0x00000002, Type=uint), @@ -29333,26 +28909,22 @@ def descriptor(cls) -> ClusterObjectDescriptor: featureMap: 'uint' = None clusterRevision: 'uint' = None - - class Structs: @dataclass class MonitoringRegistration(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="clientNodeId", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="ICid", Tag=2, Type=uint), - ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="clientNodeId", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="ICid", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint), ]) clientNodeId: 'uint' = 0 ICid: 'uint' = 0 fabricIndex: 'uint' = 0 - - class Commands: @dataclass class RegisterClientMonitoring(ClusterCommand): @@ -29364,9 +28936,9 @@ class RegisterClientMonitoring(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="clientNodeId", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="ICid", Tag=1, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="clientNodeId", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="ICid", Tag=1, Type=uint), ]) clientNodeId: 'uint' = 0 @@ -29382,9 +28954,9 @@ class UnregisterClientMonitoring(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="clientNodeId", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="ICid", Tag=1, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="clientNodeId", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="ICid", Tag=1, Type=uint), ]) clientNodeId: 'uint' = 0 @@ -29400,11 +28972,9 @@ class StayAwakeRequest(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ]) - - class Attributes: @dataclass class IdleModeInterval(ClusterAttributeDescriptor): @@ -29567,7 +29137,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - @dataclass class UnitTesting(Cluster): id: typing.ClassVar[int] = 0xFFF1FC05 @@ -29575,7 +29144,7 @@ class UnitTesting(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="boolean", Tag=0x00000000, Type=bool), ClusterObjectFieldDescriptor(Label="bitmap8", Tag=0x00000001, Type=uint), ClusterObjectFieldDescriptor(Label="bitmap16", Tag=0x00000002, Type=uint), @@ -29767,7 +29336,6 @@ class SimpleEnum(MatterIntEnum): # enum value. This specific should never be transmitted. kUnknownEnumValue = 4, - class Bitmaps: class Bitmap16MaskMap(IntFlag): kMaskVal1 = 0x1 @@ -29798,22 +29366,21 @@ class SimpleBitmap(IntFlag): kValueB = 0x2 kValueC = 0x4 - class Structs: @dataclass class SimpleStruct(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="a", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="b", Tag=1, Type=bool), - ClusterObjectFieldDescriptor(Label="c", Tag=2, Type=UnitTesting.Enums.SimpleEnum), - ClusterObjectFieldDescriptor(Label="d", Tag=3, Type=bytes), - ClusterObjectFieldDescriptor(Label="e", Tag=4, Type=str), - ClusterObjectFieldDescriptor(Label="f", Tag=5, Type=uint), - ClusterObjectFieldDescriptor(Label="g", Tag=6, Type=float32), - ClusterObjectFieldDescriptor(Label="h", Tag=7, Type=float), + Fields=[ + ClusterObjectFieldDescriptor(Label="a", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="b", Tag=1, Type=bool), + ClusterObjectFieldDescriptor(Label="c", Tag=2, Type=UnitTesting.Enums.SimpleEnum), + ClusterObjectFieldDescriptor(Label="d", Tag=3, Type=bytes), + ClusterObjectFieldDescriptor(Label="e", Tag=4, Type=str), + ClusterObjectFieldDescriptor(Label="f", Tag=5, Type=uint), + ClusterObjectFieldDescriptor(Label="g", Tag=6, Type=float32), + ClusterObjectFieldDescriptor(Label="h", Tag=7, Type=float), ]) a: 'uint' = 0 @@ -29830,15 +29397,15 @@ class TestFabricScoped(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="fabricSensitiveInt8u", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="optionalFabricSensitiveInt8u", Tag=2, Type=typing.Optional[uint]), - ClusterObjectFieldDescriptor(Label="nullableFabricSensitiveInt8u", Tag=3, Type=typing.Union[Nullable, uint]), - ClusterObjectFieldDescriptor(Label="nullableOptionalFabricSensitiveInt8u", Tag=4, Type=typing.Union[None, Nullable, uint]), - ClusterObjectFieldDescriptor(Label="fabricSensitiveCharString", Tag=5, Type=str), - ClusterObjectFieldDescriptor(Label="fabricSensitiveStruct", Tag=6, Type=UnitTesting.Structs.SimpleStruct), - ClusterObjectFieldDescriptor(Label="fabricSensitiveInt8uList", Tag=7, Type=typing.List[uint]), - ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="fabricSensitiveInt8u", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="optionalFabricSensitiveInt8u", Tag=2, Type=typing.Optional[uint]), + ClusterObjectFieldDescriptor(Label="nullableFabricSensitiveInt8u", Tag=3, Type=typing.Union[Nullable, uint]), + ClusterObjectFieldDescriptor(Label="nullableOptionalFabricSensitiveInt8u", Tag=4, Type=typing.Union[None, Nullable, uint]), + ClusterObjectFieldDescriptor(Label="fabricSensitiveCharString", Tag=5, Type=str), + ClusterObjectFieldDescriptor(Label="fabricSensitiveStruct", Tag=6, Type=UnitTesting.Structs.SimpleStruct), + ClusterObjectFieldDescriptor(Label="fabricSensitiveInt8uList", Tag=7, Type=typing.List[uint]), + ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint), ]) fabricSensitiveInt8u: 'uint' = 0 @@ -29855,19 +29422,19 @@ class NullablesAndOptionalsStruct(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="nullableInt", Tag=0, Type=typing.Union[Nullable, uint]), - ClusterObjectFieldDescriptor(Label="optionalInt", Tag=1, Type=typing.Optional[uint]), - ClusterObjectFieldDescriptor(Label="nullableOptionalInt", Tag=2, Type=typing.Union[None, Nullable, uint]), - ClusterObjectFieldDescriptor(Label="nullableString", Tag=3, Type=typing.Union[Nullable, str]), - ClusterObjectFieldDescriptor(Label="optionalString", Tag=4, Type=typing.Optional[str]), - ClusterObjectFieldDescriptor(Label="nullableOptionalString", Tag=5, Type=typing.Union[None, Nullable, str]), - ClusterObjectFieldDescriptor(Label="nullableStruct", Tag=6, Type=typing.Union[Nullable, UnitTesting.Structs.SimpleStruct]), - ClusterObjectFieldDescriptor(Label="optionalStruct", Tag=7, Type=typing.Optional[UnitTesting.Structs.SimpleStruct]), - ClusterObjectFieldDescriptor(Label="nullableOptionalStruct", Tag=8, Type=typing.Union[None, Nullable, UnitTesting.Structs.SimpleStruct]), - ClusterObjectFieldDescriptor(Label="nullableList", Tag=9, Type=typing.Union[Nullable, typing.List[UnitTesting.Enums.SimpleEnum]]), - ClusterObjectFieldDescriptor(Label="optionalList", Tag=10, Type=typing.Optional[typing.List[UnitTesting.Enums.SimpleEnum]]), - ClusterObjectFieldDescriptor(Label="nullableOptionalList", Tag=11, Type=typing.Union[None, Nullable, typing.List[UnitTesting.Enums.SimpleEnum]]), + Fields=[ + ClusterObjectFieldDescriptor(Label="nullableInt", Tag=0, Type=typing.Union[Nullable, uint]), + ClusterObjectFieldDescriptor(Label="optionalInt", Tag=1, Type=typing.Optional[uint]), + ClusterObjectFieldDescriptor(Label="nullableOptionalInt", Tag=2, Type=typing.Union[None, Nullable, uint]), + ClusterObjectFieldDescriptor(Label="nullableString", Tag=3, Type=typing.Union[Nullable, str]), + ClusterObjectFieldDescriptor(Label="optionalString", Tag=4, Type=typing.Optional[str]), + ClusterObjectFieldDescriptor(Label="nullableOptionalString", Tag=5, Type=typing.Union[None, Nullable, str]), + ClusterObjectFieldDescriptor(Label="nullableStruct", Tag=6, Type=typing.Union[Nullable, UnitTesting.Structs.SimpleStruct]), + ClusterObjectFieldDescriptor(Label="optionalStruct", Tag=7, Type=typing.Optional[UnitTesting.Structs.SimpleStruct]), + ClusterObjectFieldDescriptor(Label="nullableOptionalStruct", Tag=8, Type=typing.Union[None, Nullable, UnitTesting.Structs.SimpleStruct]), + ClusterObjectFieldDescriptor(Label="nullableList", Tag=9, Type=typing.Union[Nullable, typing.List[UnitTesting.Enums.SimpleEnum]]), + ClusterObjectFieldDescriptor(Label="optionalList", Tag=10, Type=typing.Optional[typing.List[UnitTesting.Enums.SimpleEnum]]), + ClusterObjectFieldDescriptor(Label="nullableOptionalList", Tag=11, Type=typing.Union[None, Nullable, typing.List[UnitTesting.Enums.SimpleEnum]]), ]) nullableInt: 'typing.Union[Nullable, uint]' = NullValue @@ -29888,10 +29455,10 @@ class NestedStruct(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="a", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="b", Tag=1, Type=bool), - ClusterObjectFieldDescriptor(Label="c", Tag=2, Type=UnitTesting.Structs.SimpleStruct), + Fields=[ + ClusterObjectFieldDescriptor(Label="a", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="b", Tag=1, Type=bool), + ClusterObjectFieldDescriptor(Label="c", Tag=2, Type=UnitTesting.Structs.SimpleStruct), ]) a: 'uint' = 0 @@ -29903,14 +29470,14 @@ class NestedStructList(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="a", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="b", Tag=1, Type=bool), - ClusterObjectFieldDescriptor(Label="c", Tag=2, Type=UnitTesting.Structs.SimpleStruct), - ClusterObjectFieldDescriptor(Label="d", Tag=3, Type=typing.List[UnitTesting.Structs.SimpleStruct]), - ClusterObjectFieldDescriptor(Label="e", Tag=4, Type=typing.List[uint]), - ClusterObjectFieldDescriptor(Label="f", Tag=5, Type=typing.List[bytes]), - ClusterObjectFieldDescriptor(Label="g", Tag=6, Type=typing.List[uint]), + Fields=[ + ClusterObjectFieldDescriptor(Label="a", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="b", Tag=1, Type=bool), + ClusterObjectFieldDescriptor(Label="c", Tag=2, Type=UnitTesting.Structs.SimpleStruct), + ClusterObjectFieldDescriptor(Label="d", Tag=3, Type=typing.List[UnitTesting.Structs.SimpleStruct]), + ClusterObjectFieldDescriptor(Label="e", Tag=4, Type=typing.List[uint]), + ClusterObjectFieldDescriptor(Label="f", Tag=5, Type=typing.List[bytes]), + ClusterObjectFieldDescriptor(Label="g", Tag=6, Type=typing.List[uint]), ]) a: 'uint' = 0 @@ -29926,8 +29493,8 @@ class DoubleNestedStructList(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="a", Tag=0, Type=typing.List[UnitTesting.Structs.NestedStructList]), + Fields=[ + ClusterObjectFieldDescriptor(Label="a", Tag=0, Type=typing.List[UnitTesting.Structs.NestedStructList]), ]) a: 'typing.List[UnitTesting.Structs.NestedStructList]' = field(default_factory=lambda: []) @@ -29937,16 +29504,14 @@ class TestListStructOctet(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="member1", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="member2", Tag=1, Type=bytes), + Fields=[ + ClusterObjectFieldDescriptor(Label="member1", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="member2", Tag=1, Type=bytes), ]) member1: 'uint' = 0 member2: 'bytes' = b"" - - class Commands: @dataclass class Test(ClusterCommand): @@ -29958,10 +29523,9 @@ class Test(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ]) - @dataclass class TestSpecificResponse(ClusterCommand): cluster_id: typing.ClassVar[int] = 0xFFF1FC05 @@ -29972,8 +29536,8 @@ class TestSpecificResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="returnValue", Tag=0, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="returnValue", Tag=0, Type=uint), ]) returnValue: 'uint' = 0 @@ -29988,10 +29552,9 @@ class TestNotHandled(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ]) - @dataclass class TestAddArgumentsResponse(ClusterCommand): cluster_id: typing.ClassVar[int] = 0xFFF1FC05 @@ -30002,8 +29565,8 @@ class TestAddArgumentsResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="returnValue", Tag=0, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="returnValue", Tag=0, Type=uint), ]) returnValue: 'uint' = 0 @@ -30018,10 +29581,9 @@ class TestSpecific(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ]) - @dataclass class TestSimpleArgumentResponse(ClusterCommand): cluster_id: typing.ClassVar[int] = 0xFFF1FC05 @@ -30032,8 +29594,8 @@ class TestSimpleArgumentResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="returnValue", Tag=0, Type=bool), + Fields=[ + ClusterObjectFieldDescriptor(Label="returnValue", Tag=0, Type=bool), ]) returnValue: 'bool' = False @@ -30048,10 +29610,9 @@ class TestUnknownCommand(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ]) - @dataclass class TestStructArrayArgumentResponse(ClusterCommand): cluster_id: typing.ClassVar[int] = 0xFFF1FC05 @@ -30062,13 +29623,13 @@ class TestStructArrayArgumentResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=typing.List[UnitTesting.Structs.NestedStructList]), - ClusterObjectFieldDescriptor(Label="arg2", Tag=1, Type=typing.List[UnitTesting.Structs.SimpleStruct]), - ClusterObjectFieldDescriptor(Label="arg3", Tag=2, Type=typing.List[UnitTesting.Enums.SimpleEnum]), - ClusterObjectFieldDescriptor(Label="arg4", Tag=3, Type=typing.List[bool]), - ClusterObjectFieldDescriptor(Label="arg5", Tag=4, Type=UnitTesting.Enums.SimpleEnum), - ClusterObjectFieldDescriptor(Label="arg6", Tag=5, Type=bool), + Fields=[ + ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=typing.List[UnitTesting.Structs.NestedStructList]), + ClusterObjectFieldDescriptor(Label="arg2", Tag=1, Type=typing.List[UnitTesting.Structs.SimpleStruct]), + ClusterObjectFieldDescriptor(Label="arg3", Tag=2, Type=typing.List[UnitTesting.Enums.SimpleEnum]), + ClusterObjectFieldDescriptor(Label="arg4", Tag=3, Type=typing.List[bool]), + ClusterObjectFieldDescriptor(Label="arg5", Tag=4, Type=UnitTesting.Enums.SimpleEnum), + ClusterObjectFieldDescriptor(Label="arg6", Tag=5, Type=bool), ]) arg1: 'typing.List[UnitTesting.Structs.NestedStructList]' = field(default_factory=lambda: []) @@ -30088,9 +29649,9 @@ class TestAddArguments(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="arg2", Tag=1, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="arg2", Tag=1, Type=uint), ]) arg1: 'uint' = 0 @@ -30106,8 +29667,8 @@ class TestListInt8UReverseResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=typing.List[uint]), + Fields=[ + ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=typing.List[uint]), ]) arg1: 'typing.List[uint]' = field(default_factory=lambda: []) @@ -30122,8 +29683,8 @@ class TestSimpleArgumentRequest(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=bool), + Fields=[ + ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=bool), ]) arg1: 'bool' = False @@ -30138,9 +29699,9 @@ class TestEnumsResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="arg2", Tag=1, Type=UnitTesting.Enums.SimpleEnum), + Fields=[ + ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="arg2", Tag=1, Type=UnitTesting.Enums.SimpleEnum), ]) arg1: 'uint' = 0 @@ -30156,13 +29717,13 @@ class TestStructArrayArgumentRequest(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=typing.List[UnitTesting.Structs.NestedStructList]), - ClusterObjectFieldDescriptor(Label="arg2", Tag=1, Type=typing.List[UnitTesting.Structs.SimpleStruct]), - ClusterObjectFieldDescriptor(Label="arg3", Tag=2, Type=typing.List[UnitTesting.Enums.SimpleEnum]), - ClusterObjectFieldDescriptor(Label="arg4", Tag=3, Type=typing.List[bool]), - ClusterObjectFieldDescriptor(Label="arg5", Tag=4, Type=UnitTesting.Enums.SimpleEnum), - ClusterObjectFieldDescriptor(Label="arg6", Tag=5, Type=bool), + Fields=[ + ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=typing.List[UnitTesting.Structs.NestedStructList]), + ClusterObjectFieldDescriptor(Label="arg2", Tag=1, Type=typing.List[UnitTesting.Structs.SimpleStruct]), + ClusterObjectFieldDescriptor(Label="arg3", Tag=2, Type=typing.List[UnitTesting.Enums.SimpleEnum]), + ClusterObjectFieldDescriptor(Label="arg4", Tag=3, Type=typing.List[bool]), + ClusterObjectFieldDescriptor(Label="arg5", Tag=4, Type=UnitTesting.Enums.SimpleEnum), + ClusterObjectFieldDescriptor(Label="arg6", Tag=5, Type=bool), ]) arg1: 'typing.List[UnitTesting.Structs.NestedStructList]' = field(default_factory=lambda: []) @@ -30182,11 +29743,11 @@ class TestNullableOptionalResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="wasPresent", Tag=0, Type=bool), - ClusterObjectFieldDescriptor(Label="wasNull", Tag=1, Type=typing.Optional[bool]), - ClusterObjectFieldDescriptor(Label="value", Tag=2, Type=typing.Optional[uint]), - ClusterObjectFieldDescriptor(Label="originalValue", Tag=3, Type=typing.Union[None, Nullable, uint]), + Fields=[ + ClusterObjectFieldDescriptor(Label="wasPresent", Tag=0, Type=bool), + ClusterObjectFieldDescriptor(Label="wasNull", Tag=1, Type=typing.Optional[bool]), + ClusterObjectFieldDescriptor(Label="value", Tag=2, Type=typing.Optional[uint]), + ClusterObjectFieldDescriptor(Label="originalValue", Tag=3, Type=typing.Union[None, Nullable, uint]), ]) wasPresent: 'bool' = False @@ -30204,8 +29765,8 @@ class TestStructArgumentRequest(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=UnitTesting.Structs.SimpleStruct), + Fields=[ + ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=UnitTesting.Structs.SimpleStruct), ]) arg1: 'UnitTesting.Structs.SimpleStruct' = field(default_factory=lambda: UnitTesting.Structs.SimpleStruct()) @@ -30220,35 +29781,35 @@ class TestComplexNullableOptionalResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="nullableIntWasNull", Tag=0, Type=bool), - ClusterObjectFieldDescriptor(Label="nullableIntValue", Tag=1, Type=typing.Optional[uint]), - ClusterObjectFieldDescriptor(Label="optionalIntWasPresent", Tag=2, Type=bool), - ClusterObjectFieldDescriptor(Label="optionalIntValue", Tag=3, Type=typing.Optional[uint]), - ClusterObjectFieldDescriptor(Label="nullableOptionalIntWasPresent", Tag=4, Type=bool), - ClusterObjectFieldDescriptor(Label="nullableOptionalIntWasNull", Tag=5, Type=typing.Optional[bool]), - ClusterObjectFieldDescriptor(Label="nullableOptionalIntValue", Tag=6, Type=typing.Optional[uint]), - ClusterObjectFieldDescriptor(Label="nullableStringWasNull", Tag=7, Type=bool), - ClusterObjectFieldDescriptor(Label="nullableStringValue", Tag=8, Type=typing.Optional[str]), - ClusterObjectFieldDescriptor(Label="optionalStringWasPresent", Tag=9, Type=bool), - ClusterObjectFieldDescriptor(Label="optionalStringValue", Tag=10, Type=typing.Optional[str]), - ClusterObjectFieldDescriptor(Label="nullableOptionalStringWasPresent", Tag=11, Type=bool), - ClusterObjectFieldDescriptor(Label="nullableOptionalStringWasNull", Tag=12, Type=typing.Optional[bool]), - ClusterObjectFieldDescriptor(Label="nullableOptionalStringValue", Tag=13, Type=typing.Optional[str]), - ClusterObjectFieldDescriptor(Label="nullableStructWasNull", Tag=14, Type=bool), - ClusterObjectFieldDescriptor(Label="nullableStructValue", Tag=15, Type=typing.Optional[UnitTesting.Structs.SimpleStruct]), - ClusterObjectFieldDescriptor(Label="optionalStructWasPresent", Tag=16, Type=bool), - ClusterObjectFieldDescriptor(Label="optionalStructValue", Tag=17, Type=typing.Optional[UnitTesting.Structs.SimpleStruct]), - ClusterObjectFieldDescriptor(Label="nullableOptionalStructWasPresent", Tag=18, Type=bool), - ClusterObjectFieldDescriptor(Label="nullableOptionalStructWasNull", Tag=19, Type=typing.Optional[bool]), - ClusterObjectFieldDescriptor(Label="nullableOptionalStructValue", Tag=20, Type=typing.Optional[UnitTesting.Structs.SimpleStruct]), - ClusterObjectFieldDescriptor(Label="nullableListWasNull", Tag=21, Type=bool), - ClusterObjectFieldDescriptor(Label="nullableListValue", Tag=22, Type=typing.Optional[typing.List[UnitTesting.Enums.SimpleEnum]]), - ClusterObjectFieldDescriptor(Label="optionalListWasPresent", Tag=23, Type=bool), - ClusterObjectFieldDescriptor(Label="optionalListValue", Tag=24, Type=typing.Optional[typing.List[UnitTesting.Enums.SimpleEnum]]), - ClusterObjectFieldDescriptor(Label="nullableOptionalListWasPresent", Tag=25, Type=bool), - ClusterObjectFieldDescriptor(Label="nullableOptionalListWasNull", Tag=26, Type=typing.Optional[bool]), - ClusterObjectFieldDescriptor(Label="nullableOptionalListValue", Tag=27, Type=typing.Optional[typing.List[UnitTesting.Enums.SimpleEnum]]), + Fields=[ + ClusterObjectFieldDescriptor(Label="nullableIntWasNull", Tag=0, Type=bool), + ClusterObjectFieldDescriptor(Label="nullableIntValue", Tag=1, Type=typing.Optional[uint]), + ClusterObjectFieldDescriptor(Label="optionalIntWasPresent", Tag=2, Type=bool), + ClusterObjectFieldDescriptor(Label="optionalIntValue", Tag=3, Type=typing.Optional[uint]), + ClusterObjectFieldDescriptor(Label="nullableOptionalIntWasPresent", Tag=4, Type=bool), + ClusterObjectFieldDescriptor(Label="nullableOptionalIntWasNull", Tag=5, Type=typing.Optional[bool]), + ClusterObjectFieldDescriptor(Label="nullableOptionalIntValue", Tag=6, Type=typing.Optional[uint]), + ClusterObjectFieldDescriptor(Label="nullableStringWasNull", Tag=7, Type=bool), + ClusterObjectFieldDescriptor(Label="nullableStringValue", Tag=8, Type=typing.Optional[str]), + ClusterObjectFieldDescriptor(Label="optionalStringWasPresent", Tag=9, Type=bool), + ClusterObjectFieldDescriptor(Label="optionalStringValue", Tag=10, Type=typing.Optional[str]), + ClusterObjectFieldDescriptor(Label="nullableOptionalStringWasPresent", Tag=11, Type=bool), + ClusterObjectFieldDescriptor(Label="nullableOptionalStringWasNull", Tag=12, Type=typing.Optional[bool]), + ClusterObjectFieldDescriptor(Label="nullableOptionalStringValue", Tag=13, Type=typing.Optional[str]), + ClusterObjectFieldDescriptor(Label="nullableStructWasNull", Tag=14, Type=bool), + ClusterObjectFieldDescriptor(Label="nullableStructValue", Tag=15, Type=typing.Optional[UnitTesting.Structs.SimpleStruct]), + ClusterObjectFieldDescriptor(Label="optionalStructWasPresent", Tag=16, Type=bool), + ClusterObjectFieldDescriptor(Label="optionalStructValue", Tag=17, Type=typing.Optional[UnitTesting.Structs.SimpleStruct]), + ClusterObjectFieldDescriptor(Label="nullableOptionalStructWasPresent", Tag=18, Type=bool), + ClusterObjectFieldDescriptor(Label="nullableOptionalStructWasNull", Tag=19, Type=typing.Optional[bool]), + ClusterObjectFieldDescriptor(Label="nullableOptionalStructValue", Tag=20, Type=typing.Optional[UnitTesting.Structs.SimpleStruct]), + ClusterObjectFieldDescriptor(Label="nullableListWasNull", Tag=21, Type=bool), + ClusterObjectFieldDescriptor(Label="nullableListValue", Tag=22, Type=typing.Optional[typing.List[UnitTesting.Enums.SimpleEnum]]), + ClusterObjectFieldDescriptor(Label="optionalListWasPresent", Tag=23, Type=bool), + ClusterObjectFieldDescriptor(Label="optionalListValue", Tag=24, Type=typing.Optional[typing.List[UnitTesting.Enums.SimpleEnum]]), + ClusterObjectFieldDescriptor(Label="nullableOptionalListWasPresent", Tag=25, Type=bool), + ClusterObjectFieldDescriptor(Label="nullableOptionalListWasNull", Tag=26, Type=typing.Optional[bool]), + ClusterObjectFieldDescriptor(Label="nullableOptionalListValue", Tag=27, Type=typing.Optional[typing.List[UnitTesting.Enums.SimpleEnum]]), ]) nullableIntWasNull: 'bool' = False @@ -30290,8 +29851,8 @@ class TestNestedStructArgumentRequest(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=UnitTesting.Structs.NestedStruct), + Fields=[ + ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=UnitTesting.Structs.NestedStruct), ]) arg1: 'UnitTesting.Structs.NestedStruct' = field(default_factory=lambda: UnitTesting.Structs.NestedStruct()) @@ -30306,8 +29867,8 @@ class BooleanResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="value", Tag=0, Type=bool), + Fields=[ + ClusterObjectFieldDescriptor(Label="value", Tag=0, Type=bool), ]) value: 'bool' = False @@ -30322,8 +29883,8 @@ class TestListStructArgumentRequest(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=typing.List[UnitTesting.Structs.SimpleStruct]), + Fields=[ + ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=typing.List[UnitTesting.Structs.SimpleStruct]), ]) arg1: 'typing.List[UnitTesting.Structs.SimpleStruct]' = field(default_factory=lambda: []) @@ -30338,8 +29899,8 @@ class SimpleStructResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=UnitTesting.Structs.SimpleStruct), + Fields=[ + ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=UnitTesting.Structs.SimpleStruct), ]) arg1: 'UnitTesting.Structs.SimpleStruct' = field(default_factory=lambda: UnitTesting.Structs.SimpleStruct()) @@ -30354,8 +29915,8 @@ class TestListInt8UArgumentRequest(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=typing.List[uint]), + Fields=[ + ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=typing.List[uint]), ]) arg1: 'typing.List[uint]' = field(default_factory=lambda: []) @@ -30370,8 +29931,8 @@ class TestEmitTestEventResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="value", Tag=0, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="value", Tag=0, Type=uint), ]) value: 'uint' = 0 @@ -30386,8 +29947,8 @@ class TestNestedStructListArgumentRequest(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=UnitTesting.Structs.NestedStructList), + Fields=[ + ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=UnitTesting.Structs.NestedStructList), ]) arg1: 'UnitTesting.Structs.NestedStructList' = field(default_factory=lambda: UnitTesting.Structs.NestedStructList()) @@ -30402,8 +29963,8 @@ class TestEmitTestFabricScopedEventResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="value", Tag=0, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="value", Tag=0, Type=uint), ]) value: 'uint' = 0 @@ -30418,8 +29979,8 @@ class TestListNestedStructListArgumentRequest(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=typing.List[UnitTesting.Structs.NestedStructList]), + Fields=[ + ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=typing.List[UnitTesting.Structs.NestedStructList]), ]) arg1: 'typing.List[UnitTesting.Structs.NestedStructList]' = field(default_factory=lambda: []) @@ -30434,8 +29995,8 @@ class TestListInt8UReverseRequest(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=typing.List[uint]), + Fields=[ + ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=typing.List[uint]), ]) arg1: 'typing.List[uint]' = field(default_factory=lambda: []) @@ -30450,9 +30011,9 @@ class TestEnumsRequest(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="arg2", Tag=1, Type=UnitTesting.Enums.SimpleEnum), + Fields=[ + ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="arg2", Tag=1, Type=UnitTesting.Enums.SimpleEnum), ]) arg1: 'uint' = 0 @@ -30468,8 +30029,8 @@ class TestNullableOptionalRequest(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=typing.Union[None, Nullable, uint]), + Fields=[ + ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=typing.Union[None, Nullable, uint]), ]) arg1: 'typing.Union[None, Nullable, uint]' = None @@ -30484,19 +30045,19 @@ class TestComplexNullableOptionalRequest(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="nullableInt", Tag=0, Type=typing.Union[Nullable, uint]), - ClusterObjectFieldDescriptor(Label="optionalInt", Tag=1, Type=typing.Optional[uint]), - ClusterObjectFieldDescriptor(Label="nullableOptionalInt", Tag=2, Type=typing.Union[None, Nullable, uint]), - ClusterObjectFieldDescriptor(Label="nullableString", Tag=3, Type=typing.Union[Nullable, str]), - ClusterObjectFieldDescriptor(Label="optionalString", Tag=4, Type=typing.Optional[str]), - ClusterObjectFieldDescriptor(Label="nullableOptionalString", Tag=5, Type=typing.Union[None, Nullable, str]), - ClusterObjectFieldDescriptor(Label="nullableStruct", Tag=6, Type=typing.Union[Nullable, UnitTesting.Structs.SimpleStruct]), - ClusterObjectFieldDescriptor(Label="optionalStruct", Tag=7, Type=typing.Optional[UnitTesting.Structs.SimpleStruct]), - ClusterObjectFieldDescriptor(Label="nullableOptionalStruct", Tag=8, Type=typing.Union[None, Nullable, UnitTesting.Structs.SimpleStruct]), - ClusterObjectFieldDescriptor(Label="nullableList", Tag=9, Type=typing.Union[Nullable, typing.List[UnitTesting.Enums.SimpleEnum]]), - ClusterObjectFieldDescriptor(Label="optionalList", Tag=10, Type=typing.Optional[typing.List[UnitTesting.Enums.SimpleEnum]]), - ClusterObjectFieldDescriptor(Label="nullableOptionalList", Tag=11, Type=typing.Union[None, Nullable, typing.List[UnitTesting.Enums.SimpleEnum]]), + Fields=[ + ClusterObjectFieldDescriptor(Label="nullableInt", Tag=0, Type=typing.Union[Nullable, uint]), + ClusterObjectFieldDescriptor(Label="optionalInt", Tag=1, Type=typing.Optional[uint]), + ClusterObjectFieldDescriptor(Label="nullableOptionalInt", Tag=2, Type=typing.Union[None, Nullable, uint]), + ClusterObjectFieldDescriptor(Label="nullableString", Tag=3, Type=typing.Union[Nullable, str]), + ClusterObjectFieldDescriptor(Label="optionalString", Tag=4, Type=typing.Optional[str]), + ClusterObjectFieldDescriptor(Label="nullableOptionalString", Tag=5, Type=typing.Union[None, Nullable, str]), + ClusterObjectFieldDescriptor(Label="nullableStruct", Tag=6, Type=typing.Union[Nullable, UnitTesting.Structs.SimpleStruct]), + ClusterObjectFieldDescriptor(Label="optionalStruct", Tag=7, Type=typing.Optional[UnitTesting.Structs.SimpleStruct]), + ClusterObjectFieldDescriptor(Label="nullableOptionalStruct", Tag=8, Type=typing.Union[None, Nullable, UnitTesting.Structs.SimpleStruct]), + ClusterObjectFieldDescriptor(Label="nullableList", Tag=9, Type=typing.Union[Nullable, typing.List[UnitTesting.Enums.SimpleEnum]]), + ClusterObjectFieldDescriptor(Label="optionalList", Tag=10, Type=typing.Optional[typing.List[UnitTesting.Enums.SimpleEnum]]), + ClusterObjectFieldDescriptor(Label="nullableOptionalList", Tag=11, Type=typing.Union[None, Nullable, typing.List[UnitTesting.Enums.SimpleEnum]]), ]) nullableInt: 'typing.Union[Nullable, uint]' = NullValue @@ -30522,8 +30083,8 @@ class SimpleStructEchoRequest(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=UnitTesting.Structs.SimpleStruct), + Fields=[ + ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=UnitTesting.Structs.SimpleStruct), ]) arg1: 'UnitTesting.Structs.SimpleStruct' = field(default_factory=lambda: UnitTesting.Structs.SimpleStruct()) @@ -30538,14 +30099,13 @@ class TimedInvokeRequest(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ]) @ChipUtility.classproperty def must_use_timed_invoke(cls) -> bool: return True - @dataclass class TestSimpleOptionalArgumentRequest(ClusterCommand): cluster_id: typing.ClassVar[int] = 0xFFF1FC05 @@ -30556,8 +30116,8 @@ class TestSimpleOptionalArgumentRequest(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=typing.Optional[bool]), + Fields=[ + ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=typing.Optional[bool]), ]) arg1: 'typing.Optional[bool]' = None @@ -30572,10 +30132,10 @@ class TestEmitTestEventRequest(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="arg2", Tag=1, Type=UnitTesting.Enums.SimpleEnum), - ClusterObjectFieldDescriptor(Label="arg3", Tag=2, Type=bool), + Fields=[ + ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="arg2", Tag=1, Type=UnitTesting.Enums.SimpleEnum), + ClusterObjectFieldDescriptor(Label="arg3", Tag=2, Type=bool), ]) arg1: 'uint' = 0 @@ -30592,13 +30152,12 @@ class TestEmitTestFabricScopedEventRequest(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=uint), ]) arg1: 'uint' = 0 - class Attributes: @dataclass class Boolean(ClusterAttributeDescriptor): @@ -32012,7 +31571,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - class Events: @dataclass class TestEvent(ClusterEvent): @@ -32027,13 +31585,13 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="arg1", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="arg2", Tag=2, Type=UnitTesting.Enums.SimpleEnum), - ClusterObjectFieldDescriptor(Label="arg3", Tag=3, Type=bool), - ClusterObjectFieldDescriptor(Label="arg4", Tag=4, Type=UnitTesting.Structs.SimpleStruct), - ClusterObjectFieldDescriptor(Label="arg5", Tag=5, Type=typing.List[UnitTesting.Structs.SimpleStruct]), - ClusterObjectFieldDescriptor(Label="arg6", Tag=6, Type=typing.List[UnitTesting.Enums.SimpleEnum]), + Fields=[ + ClusterObjectFieldDescriptor(Label="arg1", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="arg2", Tag=2, Type=UnitTesting.Enums.SimpleEnum), + ClusterObjectFieldDescriptor(Label="arg3", Tag=3, Type=bool), + ClusterObjectFieldDescriptor(Label="arg4", Tag=4, Type=UnitTesting.Structs.SimpleStruct), + ClusterObjectFieldDescriptor(Label="arg5", Tag=5, Type=typing.List[UnitTesting.Structs.SimpleStruct]), + ClusterObjectFieldDescriptor(Label="arg6", Tag=6, Type=typing.List[UnitTesting.Enums.SimpleEnum]), ]) arg1: 'uint' = 0 @@ -32056,8 +31614,8 @@ def event_id(cls) -> int: @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint), ]) fabricIndex: 'uint' = 0 @@ -32070,7 +31628,7 @@ class FaultInjection(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), @@ -32099,9 +31657,6 @@ class FaultType(MatterIntEnum): # enum value. This specific should never be transmitted. kUnknownEnumValue = 5, - - - class Commands: @dataclass class FailAtFault(ClusterCommand): @@ -32113,12 +31668,12 @@ class FailAtFault(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="type", Tag=0, Type=FaultInjection.Enums.FaultType), - ClusterObjectFieldDescriptor(Label="id", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="numCallsToSkip", Tag=2, Type=uint), - ClusterObjectFieldDescriptor(Label="numCallsToFail", Tag=3, Type=uint), - ClusterObjectFieldDescriptor(Label="takeMutex", Tag=4, Type=bool), + Fields=[ + ClusterObjectFieldDescriptor(Label="type", Tag=0, Type=FaultInjection.Enums.FaultType), + ClusterObjectFieldDescriptor(Label="id", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="numCallsToSkip", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="numCallsToFail", Tag=3, Type=uint), + ClusterObjectFieldDescriptor(Label="takeMutex", Tag=4, Type=bool), ]) type: 'FaultInjection.Enums.FaultType' = 0 @@ -32137,17 +31692,16 @@ class FailRandomlyAtFault(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - ClusterObjectFieldDescriptor(Label="type", Tag=0, Type=FaultInjection.Enums.FaultType), - ClusterObjectFieldDescriptor(Label="id", Tag=1, Type=uint), - ClusterObjectFieldDescriptor(Label="percentage", Tag=2, Type=uint), + Fields=[ + ClusterObjectFieldDescriptor(Label="type", Tag=0, Type=FaultInjection.Enums.FaultType), + ClusterObjectFieldDescriptor(Label="id", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="percentage", Tag=2, Type=uint), ]) type: 'FaultInjection.Enums.FaultType' = 0 id: 'uint' = 0 percentage: 'uint' = 0 - class Attributes: @dataclass class GeneratedCommandList(ClusterAttributeDescriptor): @@ -32245,5 +31799,3 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: 'uint' = 0 - - diff --git a/src/controller/python/templates/python-CHIPClusters-py.zapt b/src/controller/python/templates/python-CHIPClusters-py.zapt index 79dabca16eca69..bf6c6aace13531 100644 --- a/src/controller/python/templates/python-CHIPClusters-py.zapt +++ b/src/controller/python/templates/python-CHIPClusters-py.zapt @@ -4,50 +4,53 @@ import ctypes +from chip import exceptions + __all__ = ["ChipClusters"] + class ChipClusters: SUCCESS_DELEGATE = ctypes.CFUNCTYPE(None) FAILURE_DELEGATE = ctypes.CFUNCTYPE(None, ctypes.c_uint8) {{#chip_client_clusters}} _{{asDelimitedMacro name}}_CLUSTER_INFO = { - "clusterName": "{{asUpperCamelCase name}}", - "clusterId": {{asHex code 8}}, - "commands": { + "clusterName": "{{asUpperCamelCase name}}", + "clusterId": {{asHex code 8}}, + "commands": { {{#chip_cluster_commands}} {{asHex code 8}}: { - "commandId": {{asHex code 8}}, - "commandName": "{{asUpperCamelCase name}}", - "args": { + "commandId": {{asHex code 8}}, + "commandName": "{{asUpperCamelCase name}}", + "args": { {{#chip_cluster_command_arguments_with_structs_expanded}} - "{{asLowerCamelCase label}}": "{{#if (isCharString type)}}str{{else}}{{asPythonType chipType}}{{/if}}", + "{{asLowerCamelCase label}}": "{{#if (isCharString type)}}str{{else}}{{asPythonType chipType}}{{/if}}", {{/chip_cluster_command_arguments_with_structs_expanded}} - }, }, -{{/chip_cluster_commands}} }, - "attributes": { +{{/chip_cluster_commands}} + }, + "attributes": { {{#chip_server_cluster_attributes}} - {{asHex code 8}}: { - "attributeName": "{{asUpperCamelCase name}}", - "attributeId": {{asHex code 8}}, - "type": "{{#if (isCharString type)}}str{{else}}{{asPythonType chipType}}{{/if}}", - {{#if isReportableAttribute}} - "reportable": True, - {{/if}} - {{#if isWritableAttribute}} - "writable": True, - {{/if}} - }, -{{/chip_server_cluster_attributes}} + {{asHex code 8}}: { + "attributeName": "{{asUpperCamelCase name}}", + "attributeId": {{asHex code 8}}, + "type": "{{#if (isCharString type)}}str{{else}}{{asPythonType chipType}}{{/if}}", + {{#if isReportableAttribute}} + "reportable": True, + {{/if}} + {{#if isWritableAttribute}} + "writable": True, + {{/if}} }, +{{/chip_server_cluster_attributes}} + }, } {{/chip_client_clusters}} _CLUSTER_ID_DICT = { {{#chip_client_clusters}} - {{asHex code 8}}: _{{asDelimitedMacro name}}_CLUSTER_INFO, + {{asHex code 8}}: _{{asDelimitedMacro name}}_CLUSTER_INFO, {{/chip_client_clusters}} } @@ -63,21 +66,21 @@ class ChipClusters: def GetClusterInfoById(self, cluster_id: int): data = ChipClusters._CLUSTER_ID_DICT.get(cluster_id, None) if not data: - raise UnknownCluster(cluster_id) + raise exceptions.UnknownCluster(cluster_id) return data def ListClusterInfo(self): return ChipClusters._CLUSTER_NAME_DICT def ListClusterCommands(self): - return { clusterName: { + return {clusterName: { command["commandName"]: command["args"] for command in clusterInfo["commands"].values() - } for clusterName, clusterInfo in ChipClusters._CLUSTER_NAME_DICT.items() } + } for clusterName, clusterInfo in ChipClusters._CLUSTER_NAME_DICT.items()} def ListClusterAttributes(self): - return { clusterName: { + return {clusterName: { attribute["attributeName"]: attribute for attribute in clusterInfo["attributes"].values() - } for clusterName, clusterInfo in ChipClusters._CLUSTER_NAME_DICT.items() } + } for clusterName, clusterInfo in ChipClusters._CLUSTER_NAME_DICT.items()} # Init native functions diff --git a/src/controller/python/templates/python-cluster-Objects-py.zapt b/src/controller/python/templates/python-cluster-Objects-py.zapt index d8b8460f47f590..4acbb99d5f7143 100644 --- a/src/controller/python/templates/python-cluster-Objects-py.zapt +++ b/src/controller/python/templates/python-cluster-Objects-py.zapt @@ -19,8 +19,8 @@ from .ClusterObjects import (Cluster, ClusterAttributeDescriptor, ClusterCommand ClusterObjectDescriptor, ClusterObjectFieldDescriptor) from .Types import Nullable, NullValue - {{#zcl_clusters}} + @dataclass class {{asUpperCamelCase name}}(Cluster): id: typing.ClassVar[int] = {{asHex code 4}} @@ -28,7 +28,7 @@ class {{asUpperCamelCase name}}(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ + Fields=[ {{#zcl_attributes_server}} {{#if entryType}} ClusterObjectFieldDescriptor(Label="{{ asLowerCamelCase label }}", Tag={{asMEI manufacturerCode code}}, Type={{zapTypeToPythonClusterObjectType entryType ns=(asUpperCamelCase parent.name)}}), @@ -60,8 +60,9 @@ class {{asUpperCamelCase name}}(Cluster): # enum value. This specific should never be transmitted. kUnknownEnumValue = {{first_unused_enum_value mode="first_unused"}}, +{{#last}} +{{/last}} {{/zcl_enums}} - {{#zcl_bitmaps}} {{#first}} class Bitmaps: @@ -72,7 +73,6 @@ class {{asUpperCamelCase name}}(Cluster): {{/zcl_bitmap_items}} {{/zcl_bitmaps}} - {{#zcl_structs}} {{#first}} class Structs: @@ -82,21 +82,17 @@ class {{asUpperCamelCase name}}(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - {{#zcl_struct_items}} - ClusterObjectFieldDescriptor(Label="{{ asLowerCamelCase label }}", Tag={{ fieldIdentifier }}, Type={{zapTypeToPythonClusterObjectType type ns=(asUpperCamelCase parent.parent.name)}}), - {{/zcl_struct_items}} + Fields=[ + {{#zcl_struct_items}} + ClusterObjectFieldDescriptor(Label="{{ asLowerCamelCase label }}", Tag={{ fieldIdentifier }}, Type={{zapTypeToPythonClusterObjectType type ns=(asUpperCamelCase parent.parent.name)}}), + {{/zcl_struct_items}} ]) {{#zcl_struct_items}} {{ asLowerCamelCase label }}: '{{zapTypeToPythonClusterObjectType type ns=(asUpperCamelCase parent.parent.name)}}' = {{getPythonFieldDefault type ns=(asUpperCamelCase parent.parent.name)}} {{/zcl_struct_items}} -{{#last}} - -{{/last}} {{/zcl_structs}} - {{#zcl_commands}} {{#first}} class Commands: @@ -110,7 +106,6 @@ class {{asUpperCamelCase name}}(Cluster): {{else}} is_client: typing.ClassVar[bool] = True {{/if}} - {{~#if responseName}} response_type: typing.ClassVar[str] = '{{asUpperCamelCase responseName}}' {{else}} @@ -120,24 +115,25 @@ class {{asUpperCamelCase name}}(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - {{#zcl_command_arguments}} - ClusterObjectFieldDescriptor(Label="{{ asLowerCamelCase label }}", Tag={{ index }}, Type={{zapTypeToPythonClusterObjectType type ns=(asUpperCamelCase parent.parent.name)}}), - {{/zcl_command_arguments}} + Fields=[ + {{#zcl_command_arguments}} + ClusterObjectFieldDescriptor(Label="{{ asLowerCamelCase label }}", Tag={{ index }}, Type={{zapTypeToPythonClusterObjectType type ns=(asUpperCamelCase parent.parent.name)}}), + {{/zcl_command_arguments}} ]) - {{#if mustUseTimedInvoke}} + @ChipUtility.classproperty def must_use_timed_invoke(cls) -> bool: return True - {{/if}} {{#zcl_command_arguments}} + {{#first}} + + {{/first}} {{ asLowerCamelCase label }}: '{{zapTypeToPythonClusterObjectType type ns=(asUpperCamelCase parent.parent.name)}}' = {{getPythonFieldDefault type ns=(asUpperCamelCase parent.parent.name)}} {{/zcl_command_arguments}} {{/zcl_commands}} - {{#zcl_attributes_server}} {{#first}} class Attributes: @@ -173,7 +169,6 @@ class {{asUpperCamelCase name}}(Cluster): {{/if}} {{/zcl_attributes_server}} - {{#zcl_events}} {{#first}} class Events: @@ -191,16 +186,17 @@ class {{asUpperCamelCase name}}(Cluster): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields = [ - {{#zcl_event_fields}} - ClusterObjectFieldDescriptor(Label="{{ asLowerCamelCase name }}", Tag={{ fieldIdentifier }}, Type={{zapTypeToPythonClusterObjectType type ns=(asUpperCamelCase parent.parent.name)}}), - {{/zcl_event_fields}} + Fields=[ + {{#zcl_event_fields}} + ClusterObjectFieldDescriptor(Label="{{ asLowerCamelCase name }}", Tag={{ fieldIdentifier }}, Type={{zapTypeToPythonClusterObjectType type ns=(asUpperCamelCase parent.parent.name)}}), + {{/zcl_event_fields}} ]) - {{#zcl_event_fields}} + {{#first}} + + {{/first}} {{ asLowerCamelCase name }}: '{{zapTypeToPythonClusterObjectType type ns=(asUpperCamelCase parent.parent.name)}}' = {{getPythonFieldDefault type ns=(asUpperCamelCase parent.parent.name)}} {{/zcl_event_fields}} {{/zcl_events}} - {{/zcl_clusters}} From d50ad190ccecb1868112196e8b8b442ef6e9ad2c Mon Sep 17 00:00:00 2001 From: Alex Tsitsiura Date: Sat, 25 Feb 2023 01:01:31 +0200 Subject: [PATCH 2/5] [Telink] Add missed client side for THREAD_NETWORK_DIAGNOSTICS_CLUSTER (#25304) * [Telink] Add missed client side for THREAD_NETWORK_DIAGNOSTICS_CLUSTER * [Telink] Add ResetCounts --- .../thermostat-common/thermostat.matter | 2 ++ .../thermostat-common/thermostat.zap | 36 +++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/examples/thermostat/thermostat-common/thermostat.matter b/examples/thermostat/thermostat-common/thermostat.matter index bc9cf36ab4e6bb..314607a604a6f6 100644 --- a/examples/thermostat/thermostat-common/thermostat.matter +++ b/examples/thermostat/thermostat-common/thermostat.matter @@ -1161,6 +1161,8 @@ server cluster ThreadNetworkDiagnostics = 53 { readonly attribute attrib_id attributeList[] = 65531; readonly attribute bitmap32 featureMap = 65532; readonly attribute int16u clusterRevision = 65533; + + command ResetCounts(): DefaultSuccess = 0; } server cluster WiFiNetworkDiagnostics = 54 { diff --git a/examples/thermostat/thermostat-common/thermostat.zap b/examples/thermostat/thermostat-common/thermostat.zap index 22eae794f8cde7..692c3fb00cfc44 100644 --- a/examples/thermostat/thermostat-common/thermostat.zap +++ b/examples/thermostat/thermostat-common/thermostat.zap @@ -3025,6 +3025,42 @@ } ] }, + { + "name": "Thread Network Diagnostics", + "code": 53, + "mfgCode": null, + "define": "THREAD_NETWORK_DIAGNOSTICS_CLUSTER", + "side": "client", + "enabled": 0, + "commands": [ + { + "name": "ResetCounts", + "code": 0, + "mfgCode": null, + "source": "client", + "incoming": 1, + "outgoing": 0 + } + ], + "attributes": [ + { + "name": "ClusterRevision", + "code": 65533, + "mfgCode": null, + "side": "client", + "type": "int16u", + "included": 1, + "storageOption": "RAM", + "singleton": 0, + "bounded": 0, + "defaultValue": "1", + "reportable": 1, + "minInterval": 0, + "maxInterval": 65344, + "reportableChange": 0 + } + ] + }, { "name": "Thread Network Diagnostics", "code": 53, From 95772ae7b42d527117687100ee810357d99d8ff5 Mon Sep 17 00:00:00 2001 From: Vikram Bhat Date: Sat, 25 Feb 2023 05:14:39 +0530 Subject: [PATCH 3/5] Test Script Update - Test_TC_ACL_2_1 (#25309) * Update Test_TC_ACL_2_1.yaml Fixes Issues #711[https://github.com/CHIP-Specifications/chip-certification-tool/issues/711] * Updating auto gen files * undo formatting changes --- src/app/tests/suites/certification/Test_TC_ACL_2_1.yaml | 2 +- zzz_generated/chip-tool/zap-generated/test/Commands.h | 2 +- .../darwin-framework-tool/zap-generated/test/Commands.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/tests/suites/certification/Test_TC_ACL_2_1.yaml b/src/app/tests/suites/certification/Test_TC_ACL_2_1.yaml index 26cb3b4cb2fa61..cc5bf1e9c6f3e3 100644 --- a/src/app/tests/suites/certification/Test_TC_ACL_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_ACL_2_1.yaml @@ -53,7 +53,7 @@ tests: maxValue: 65535 - label: "TH reads AccessControlEntriesPerFabric attribute from DUT" - PICS: ACL.S.A0002 + PICS: ACL.S.A0004 command: "readAttribute" attribute: "AccessControlEntriesPerFabric" response: diff --git a/zzz_generated/chip-tool/zap-generated/test/Commands.h b/zzz_generated/chip-tool/zap-generated/test/Commands.h index f73c3c1e12f415..c032ca94cf15ef 100644 --- a/zzz_generated/chip-tool/zap-generated/test/Commands.h +++ b/zzz_generated/chip-tool/zap-generated/test/Commands.h @@ -2394,7 +2394,7 @@ class Test_TC_ACL_2_1Suite : public TestCommand } case 3: { LogStep(3, "TH reads AccessControlEntriesPerFabric attribute from DUT"); - VerifyOrDo(!ShouldSkip("ACL.S.A0002"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("ACL.S.A0004"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), AccessControl::Id, AccessControl::Attributes::AccessControlEntriesPerFabric::Id, true, chip::NullOptional); } diff --git a/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h b/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h index 43704931f9e4cb..a868d3de6c169e 100644 --- a/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h +++ b/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h @@ -2756,7 +2756,7 @@ class Test_TC_ACL_2_1 : public TestCommandBridge { break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : TH reads AccessControlEntriesPerFabric attribute from DUT\n"); - if (ShouldSkip("ACL.S.A0002")) { + if (ShouldSkip("ACL.S.A0004")) { NextTest(); return; } From 265d55cf01b8caafdbb0a0d43f2e02209c311a32 Mon Sep 17 00:00:00 2001 From: Nivi Sarkar <55898241+nivi-apple@users.noreply.github.com> Date: Fri, 24 Feb 2023 17:09:07 -0800 Subject: [PATCH 4/5] Clean up the code that sends the query image response from the provider (#24933) * Clean up the code that sends the query image response from the provider * Update src/darwin/Framework/CHIP/MTROTAProviderDelegateBridge.mm Co-authored-by: Boris Zbarsky * Update src/darwin/Framework/CHIP/MTROTAProviderDelegateBridge.mm Co-authored-by: Boris Zbarsky * Update src/darwin/Framework/CHIP/MTROTAProviderDelegateBridge.mm Co-authored-by: Boris Zbarsky * Update src/darwin/Framework/CHIP/MTROTAProviderDelegateBridge.mm Co-authored-by: Boris Zbarsky * Address review comments * Update src/darwin/Framework/CHIP/MTROTAProviderDelegateBridge.mm Co-authored-by: Boris Zbarsky * Add comments for why we do not reset state when we return busy from Configure State --------- Co-authored-by: Boris Zbarsky --- .../CHIP/MTROTAProviderDelegateBridge.h | 2 +- .../CHIP/MTROTAProviderDelegateBridge.mm | 115 ++++++++++-------- 2 files changed, 67 insertions(+), 50 deletions(-) diff --git a/src/darwin/Framework/CHIP/MTROTAProviderDelegateBridge.h b/src/darwin/Framework/CHIP/MTROTAProviderDelegateBridge.h index fe1554df4723bd..f502dbff081d26 100644 --- a/src/darwin/Framework/CHIP/MTROTAProviderDelegateBridge.h +++ b/src/darwin/Framework/CHIP/MTROTAProviderDelegateBridge.h @@ -53,7 +53,7 @@ class MTROTAProviderDelegateBridge : public chip::app::Clusters::OTAProviderDele static CHIP_ERROR ConvertToQueryImageParams( const chip::app::Clusters::OtaSoftwareUpdateProvider::Commands::QueryImage::DecodableType & commandData, MTROTASoftwareUpdateProviderClusterQueryImageParams * commandParams); - static void ConvertFromQueryImageResponseParms( + static void ConvertFromQueryImageResponseParams( const MTROTASoftwareUpdateProviderClusterQueryImageResponseParams * responseParams, chip::app::Clusters::OtaSoftwareUpdateProvider::Commands::QueryImageResponse::Type & response); static void ConvertToApplyUpdateRequestParams( diff --git a/src/darwin/Framework/CHIP/MTROTAProviderDelegateBridge.mm b/src/darwin/Framework/CHIP/MTROTAProviderDelegateBridge.mm index deb60eb4a00cb8..1824bbb44b49c1 100644 --- a/src/darwin/Framework/CHIP/MTROTAProviderDelegateBridge.mm +++ b/src/darwin/Framework/CHIP/MTROTAProviderDelegateBridge.mm @@ -461,9 +461,7 @@ CHIP_ERROR ConfigureState(chip::FabricIndex fabricIndex, chip::NodeId nodeId) CHIP_ERROR err = mSystemLayer->StartTimer(kBdxInitReceivedTimeout, HandleBdxInitReceivedTimeoutExpired, this); LogErrorOnFailure(err); - // The caller of this method maps CHIP_ERROR to specific BDX Status Codes (see GetBdxStatusCodeFromChipError) - // and those are used by the BDX session to prepare the status report. - VerifyOrReturnError(err == CHIP_NO_ERROR, CHIP_ERROR_INCORRECT_STATE); + ReturnErrorOnFailure(err); mFabricIndex.SetValue(fabricIndex); mNodeId.SetValue(nodeId); @@ -615,7 +613,7 @@ bool GetPeerNodeInfo(CommandHandler * commandHandler, const ConcreteCommandPath auto * commandParams = [[MTROTASoftwareUpdateProviderClusterQueryImageParams alloc] init]; CHIP_ERROR err = ConvertToQueryImageParams(commandData, commandParams); if (err != CHIP_NO_ERROR) { - commandObj->AddStatus(commandPath, Protocols::InteractionModel::Status::InvalidCommand); + commandObj->AddStatus(commandPath, StatusIB(err).mStatus); return; } @@ -635,64 +633,83 @@ bool GetPeerNodeInfo(CommandHandler * commandHandler, const ConcreteCommandPath ChipLogDetail(Controller, "QueryImage: application responded with: %s", [[data description] cStringUsingEncoding:NSUTF8StringEncoding]); - Commands::QueryImageResponse::Type response; - ConvertFromQueryImageResponseParms(data, response); - auto hasUpdate = [data.status isEqual:@(MTROtaSoftwareUpdateProviderOTAQueryStatusUpdateAvailable)]; auto isBDXProtocolSupported = [commandParams.protocolsSupported containsObject:@(MTROtaSoftwareUpdateProviderOTADownloadProtocolBDXSynchronous)]; - if (hasUpdate && isBDXProtocolSupported) { - auto fabricIndex = handler->GetSubjectDescriptor().fabricIndex; - auto nodeId = handler->GetSubjectDescriptor().subject; - CHIP_ERROR err = gOtaSender.PrepareForTransfer(fabricIndex, nodeId); - if (CHIP_NO_ERROR != err) { - LogErrorOnFailure(err); - if (err == CHIP_ERROR_BUSY) { - Commands::QueryImageResponse::Type busyResponse; - busyResponse.status = static_cast(MTROTASoftwareUpdateProviderOTAQueryStatusBusy); - busyResponse.delayedActionTime.SetValue(response.delayedActionTime.ValueOr(kDelayedActionTimeSeconds)); - handler->AddResponse(cachedCommandPath, busyResponse); - handle.Release(); - return; - } - handler->AddStatus(cachedCommandPath, Protocols::InteractionModel::Status::Failure); - handle.Release(); - gOtaSender.ResetState(); - return; - } - auto targetNodeId - = handler->GetExchangeContext()->GetSessionHandle()->AsSecureSession()->GetLocalScopedNodeId(); + // The logic we are following here is if none of the protocols supported by the requestor are supported by us, we + // can't transfer the image even if we had an image available and we would return a Protocol Not Supported status. + // Assumption here is the requestor would send us a list of all the protocols it supports. If one/more of the + // protocols supported by the requestor are supported by us, we check if an image is not available due to various + // reasons - image not available, delegate reporting busy, we will respond with the status in the delegate response. + // If update is available, we try to prepare for transfer and build the uri in the response with a status of Image + // Available + + // If the protocol requested is not supported, return status - Protocol Not Supported + if (!isBDXProtocolSupported) { + Commands::QueryImageResponse::Type response; + response.status + = static_cast(MTROTASoftwareUpdateProviderOTAQueryStatusDownloadProtocolNotSupported); + handler->AddResponse(cachedCommandPath, response); + handle.Release(); + return; + } - char uriBuffer[kMaxBDXURILen]; - MutableCharSpan uri(uriBuffer); - err = bdx::MakeURI(targetNodeId.GetNodeId(), AsCharSpan(data.imageURI), uri); - if (CHIP_NO_ERROR != err) { - LogErrorOnFailure(err); - handler->AddStatus(cachedCommandPath, Protocols::InteractionModel::Status::Failure); + Commands::QueryImageResponse::Type delegateResponse; + ConvertFromQueryImageResponseParams(data, delegateResponse); + + // If update is not available, return the delegate response + if (!hasUpdate) { + handler->AddResponse(cachedCommandPath, delegateResponse); + handle.Release(); + return; + } + + // If there is an update available, try to prepare for a transfer. + auto fabricIndex = handler->GetSubjectDescriptor().fabricIndex; + auto nodeId = handler->GetSubjectDescriptor().subject; + CHIP_ERROR err = gOtaSender.PrepareForTransfer(fabricIndex, nodeId); + if (CHIP_NO_ERROR != err) { + + // Handle busy error separately as we have a query image response status that maps to busy + if (err == CHIP_ERROR_BUSY) { + ChipLogError( + Controller, "Responding with Busy due to being in the middle of handling another BDX transfer"); + Commands::QueryImageResponse::Type response; + response.status = static_cast(MTROTASoftwareUpdateProviderOTAQueryStatusBusy); + response.delayedActionTime.SetValue(delegateResponse.delayedActionTime.ValueOr(kDelayedActionTimeSeconds)); + handler->AddResponse(cachedCommandPath, response); handle.Release(); - gOtaSender.ResetState(); + // We do not reset state when we get the busy error because that means we are locked in a BDX transfer + // session with another requestor when we get this query image request. We do not want to interrupt the + // ongoing transfer instead just respond to the second requestor with a busy status and a delayedActionTime + // in which the requestor can retry. return; } - - response.imageURI.SetValue(uri); - handler->AddResponse(cachedCommandPath, response); + LogErrorOnFailure(err); + handler->AddStatus(cachedCommandPath, StatusIB(err).mStatus); handle.Release(); + // We need to reset state here to clean up any initialization we might have done including starting the BDX + // timeout timer while preparing for transfer if any failure occurs afterwards. + gOtaSender.ResetState(); return; } - if (!hasUpdate) { - // Send whatever error response our delegate decided on. - handler->AddResponse(cachedCommandPath, response); - } else { - // We must have isBDXProtocolSupported false. Send the corresponding error status. - Commands::QueryImageResponse::Type protocolNotSupportedResponse; - protocolNotSupportedResponse.status - = static_cast(MTROTASoftwareUpdateProviderOTAQueryStatusDownloadProtocolNotSupported); - handler->AddResponse(cachedCommandPath, protocolNotSupportedResponse); + auto targetNodeId = handler->GetExchangeContext()->GetSessionHandle()->AsSecureSession()->GetLocalScopedNodeId(); + + char uriBuffer[kMaxBDXURILen]; + MutableCharSpan uri(uriBuffer); + err = bdx::MakeURI(targetNodeId.GetNodeId(), AsCharSpan(data.imageURI), uri); + if (CHIP_NO_ERROR != err) { + LogErrorOnFailure(err); + handler->AddStatus(cachedCommandPath, StatusIB(err).mStatus); + handle.Release(); + gOtaSender.ResetState(); + return; } + delegateResponse.imageURI.SetValue(uri); + handler->AddResponse(cachedCommandPath, delegateResponse); handle.Release(); } - errorHandler:^(NSError *) { // Not much we can do here }]; @@ -867,7 +884,7 @@ bool GetPeerNodeInfo(CommandHandler * commandHandler, const ConcreteCommandPath return CHIP_NO_ERROR; } -void MTROTAProviderDelegateBridge::ConvertFromQueryImageResponseParms( +void MTROTAProviderDelegateBridge::ConvertFromQueryImageResponseParams( const MTROTASoftwareUpdateProviderClusterQueryImageResponseParams * responseParams, Commands::QueryImageResponse::Type & response) { From b89e83be43dde7a79d90823f4bc1279eb53f76de Mon Sep 17 00:00:00 2001 From: Evgeny Margolis Date: Fri, 24 Feb 2023 18:20:02 -1000 Subject: [PATCH 5/5] Implemented Feature Flag to Enable/Disable Global EventList Attribute (#25294) * Implemented Feature Flag to Enable/Disable Global EventList Attribute * Added ifdefs to the TestAttributePathExpandIterator.cpp test * Updated YAML tests * ZAP REGEN --- src/app/BUILD.gn | 3 + src/app/GlobalAttributes.h | 2 + .../tests/TestAttributePathExpandIterator.cpp | 40 +++++++++++ .../tests/suites/TestBasicInformation.yaml | 1 - .../suites/certification/Test_TC_ACL_1_1.yaml | 2 +- .../suites/certification/Test_TC_ACT_1_1.yaml | 2 +- .../certification/Test_TC_ALOGIN_1_12.yaml | 2 +- .../certification/Test_TC_APBSC_1_10.yaml | 3 +- .../Test_TC_APPLAUNCHER_1_3.yaml | 2 +- .../Test_TC_AUDIOOUTPUT_1_8.yaml | 2 +- .../certification/Test_TC_BIND_1_1.yaml | 2 +- .../certification/Test_TC_BOOL_1_1.yaml | 2 +- .../certification/Test_TC_BRBINFO_1_1.yaml | 2 +- .../suites/certification/Test_TC_CC_1_1.yaml | 14 +--- .../certification/Test_TC_CGEN_1_1.yaml | 3 +- .../certification/Test_TC_CHANNEL_1_6.yaml | 2 +- .../certification/Test_TC_CNET_1_3.yaml | 2 +- .../Test_TC_CONTENTLAUNCHER_1_11.yaml | 2 +- .../certification/Test_TC_DESC_1_1.yaml | 2 +- .../certification/Test_TC_DGETH_1_1.yaml | 2 +- .../certification/Test_TC_DGGEN_1_1.yaml | 2 +- .../certification/Test_TC_DGSW_1_1.yaml | 2 +- .../certification/Test_TC_DGWIFI_1_1.yaml | 3 +- .../certification/Test_TC_DLOG_1_1.yaml | 2 +- .../certification/Test_TC_DRLK_1_1.yaml | 3 +- .../certification/Test_TC_FLABEL_1_1.yaml | 2 +- .../suites/certification/Test_TC_FLW_1_1.yaml | 2 +- .../suites/certification/Test_TC_G_1_1.yaml | 2 +- .../suites/certification/Test_TC_ILL_1_1.yaml | 2 +- .../suites/certification/Test_TC_I_1_1.yaml | 2 +- .../Test_TC_KEYPADINPUT_1_2.yaml | 2 +- .../certification/Test_TC_LCFG_1_1.yaml | 2 +- .../certification/Test_TC_LOWPOWER_1_1.yaml | 2 +- .../certification/Test_TC_LTIME_1_2.yaml | 2 +- .../certification/Test_TC_LUNIT_1_2.yaml | 2 +- .../suites/certification/Test_TC_LVL_1_1.yaml | 2 +- .../certification/Test_TC_MEDIAINPUT_1_4.yaml | 2 +- .../Test_TC_MEDIAPLAYBACK_1_7.yaml | 2 +- .../suites/certification/Test_TC_MOD_1_1.yaml | 2 +- .../suites/certification/Test_TC_OCC_1_1.yaml | 2 +- .../suites/certification/Test_TC_OO_1_1.yaml | 2 +- .../suites/certification/Test_TC_PCC_1_1.yaml | 16 +---- .../suites/certification/Test_TC_PRS_1_1.yaml | 2 +- .../certification/Test_TC_PSCFG_1_1.yaml | 2 +- .../suites/certification/Test_TC_PS_1_1.yaml | 2 +- .../suites/certification/Test_TC_RH_1_1.yaml | 2 +- .../certification/Test_TC_SWTCH_1_1.yaml | 4 +- .../certification/Test_TC_TGTNAV_1_9.yaml | 2 +- .../suites/certification/Test_TC_TMP_1_1.yaml | 2 +- .../certification/Test_TC_TSTAT_1_1.yaml | 2 +- .../certification/Test_TC_TSUIC_1_1.yaml | 2 +- .../certification/Test_TC_ULABEL_1_1.yaml | 2 +- .../certification/Test_TC_WAKEONLAN_1_5.yaml | 2 +- .../certification/Test_TC_WNCV_1_1.yaml | 3 +- .../util/ember-compatibility-functions.cpp | 11 ++- src/controller/tests/TestEventChunking.cpp | 10 +-- src/controller/tests/TestReadChunking.cpp | 23 +++--- .../chip-tool/zap-generated/test/Commands.h | 70 +++---------------- .../zap-generated/test/Commands.h | 68 +++--------------- 59 files changed, 140 insertions(+), 221 deletions(-) diff --git a/src/app/BUILD.gn b/src/app/BUILD.gn index 2067fd1acbdc26..71f6dac3921262 100644 --- a/src/app/BUILD.gn +++ b/src/app/BUILD.gn @@ -40,6 +40,8 @@ declare_args() { # By default, the resources used by each fabric is unlimited if they are allocated on heap. This flag is for checking the resource usage even when they are allocated on heap to increase code coverage in integration tests. chip_im_force_fabric_quota_check = false + + enable_eventlist_attribute = false } buildconfig_header("app_buildconfig") { @@ -52,6 +54,7 @@ buildconfig_header("app_buildconfig") { "CHIP_CONFIG_ENABLE_SESSION_RESUMPTION=${chip_enable_session_resumption}", "CHIP_CONFIG_ACCESS_CONTROL_POLICY_LOGGING_VERBOSITY=${chip_access_control_policy_logging_verbosity}", "CHIP_CONFIG_PERSIST_SUBSCRIPTIONS=${chip_persist_subscriptions}", + "CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE=${enable_eventlist_attribute}", ] } diff --git a/src/app/GlobalAttributes.h b/src/app/GlobalAttributes.h index 8f35d2e93e9ee1..d0b2a05a53f259 100644 --- a/src/app/GlobalAttributes.h +++ b/src/app/GlobalAttributes.h @@ -31,7 +31,9 @@ namespace app { constexpr AttributeId GlobalAttributesNotInMetadata[] = { Clusters::Globals::Attributes::GeneratedCommandList::Id, Clusters::Globals::Attributes::AcceptedCommandList::Id, +#if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE Clusters::Globals::Attributes::EventList::Id, +#endif // CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE Clusters::Globals::Attributes::AttributeList::Id, }; diff --git a/src/app/tests/TestAttributePathExpandIterator.cpp b/src/app/tests/TestAttributePathExpandIterator.cpp index fa2d5d62462028..d4da4fc95a2b8c 100644 --- a/src/app/tests/TestAttributePathExpandIterator.cpp +++ b/src/app/tests/TestAttributePathExpandIterator.cpp @@ -49,20 +49,26 @@ void TestAllWildcard(nlTestSuite * apSuite, void * apContext) { kMockEndpoint1, MockClusterId(1), Clusters::Globals::Attributes::FeatureMap::Id }, { kMockEndpoint1, MockClusterId(1), Clusters::Globals::Attributes::GeneratedCommandList::Id }, { kMockEndpoint1, MockClusterId(1), Clusters::Globals::Attributes::AcceptedCommandList::Id }, +#if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE { kMockEndpoint1, MockClusterId(1), Clusters::Globals::Attributes::EventList::Id }, +#endif { kMockEndpoint1, MockClusterId(1), Clusters::Globals::Attributes::AttributeList::Id }, { kMockEndpoint1, MockClusterId(2), Clusters::Globals::Attributes::ClusterRevision::Id }, { kMockEndpoint1, MockClusterId(2), Clusters::Globals::Attributes::FeatureMap::Id }, { kMockEndpoint1, MockClusterId(2), MockAttributeId(1) }, { kMockEndpoint1, MockClusterId(2), Clusters::Globals::Attributes::GeneratedCommandList::Id }, { kMockEndpoint1, MockClusterId(2), Clusters::Globals::Attributes::AcceptedCommandList::Id }, +#if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE { kMockEndpoint1, MockClusterId(2), Clusters::Globals::Attributes::EventList::Id }, +#endif { kMockEndpoint1, MockClusterId(2), Clusters::Globals::Attributes::AttributeList::Id }, { kMockEndpoint2, MockClusterId(1), Clusters::Globals::Attributes::ClusterRevision::Id }, { kMockEndpoint2, MockClusterId(1), Clusters::Globals::Attributes::FeatureMap::Id }, { kMockEndpoint2, MockClusterId(1), Clusters::Globals::Attributes::GeneratedCommandList::Id }, { kMockEndpoint2, MockClusterId(1), Clusters::Globals::Attributes::AcceptedCommandList::Id }, +#if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE { kMockEndpoint2, MockClusterId(1), Clusters::Globals::Attributes::EventList::Id }, +#endif { kMockEndpoint2, MockClusterId(1), Clusters::Globals::Attributes::AttributeList::Id }, { kMockEndpoint2, MockClusterId(2), Clusters::Globals::Attributes::ClusterRevision::Id }, { kMockEndpoint2, MockClusterId(2), Clusters::Globals::Attributes::FeatureMap::Id }, @@ -70,7 +76,9 @@ void TestAllWildcard(nlTestSuite * apSuite, void * apContext) { kMockEndpoint2, MockClusterId(2), MockAttributeId(2) }, { kMockEndpoint2, MockClusterId(2), Clusters::Globals::Attributes::GeneratedCommandList::Id }, { kMockEndpoint2, MockClusterId(2), Clusters::Globals::Attributes::AcceptedCommandList::Id }, +#if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE { kMockEndpoint2, MockClusterId(2), Clusters::Globals::Attributes::EventList::Id }, +#endif { kMockEndpoint2, MockClusterId(2), Clusters::Globals::Attributes::AttributeList::Id }, { kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::ClusterRevision::Id }, { kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::FeatureMap::Id }, @@ -79,14 +87,18 @@ void TestAllWildcard(nlTestSuite * apSuite, void * apContext) { kMockEndpoint2, MockClusterId(3), MockAttributeId(3) }, { kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::GeneratedCommandList::Id }, { kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::AcceptedCommandList::Id }, +#if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE { kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::EventList::Id }, +#endif { kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::AttributeList::Id }, { kMockEndpoint3, MockClusterId(1), Clusters::Globals::Attributes::ClusterRevision::Id }, { kMockEndpoint3, MockClusterId(1), Clusters::Globals::Attributes::FeatureMap::Id }, { kMockEndpoint3, MockClusterId(1), MockAttributeId(1) }, { kMockEndpoint3, MockClusterId(1), Clusters::Globals::Attributes::GeneratedCommandList::Id }, { kMockEndpoint3, MockClusterId(1), Clusters::Globals::Attributes::AcceptedCommandList::Id }, +#if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE { kMockEndpoint3, MockClusterId(1), Clusters::Globals::Attributes::EventList::Id }, +#endif { kMockEndpoint3, MockClusterId(1), Clusters::Globals::Attributes::AttributeList::Id }, { kMockEndpoint3, MockClusterId(2), Clusters::Globals::Attributes::ClusterRevision::Id }, { kMockEndpoint3, MockClusterId(2), Clusters::Globals::Attributes::FeatureMap::Id }, @@ -96,19 +108,25 @@ void TestAllWildcard(nlTestSuite * apSuite, void * apContext) { kMockEndpoint3, MockClusterId(2), MockAttributeId(4) }, { kMockEndpoint3, MockClusterId(2), Clusters::Globals::Attributes::GeneratedCommandList::Id }, { kMockEndpoint3, MockClusterId(2), Clusters::Globals::Attributes::AcceptedCommandList::Id }, +#if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE { kMockEndpoint3, MockClusterId(2), Clusters::Globals::Attributes::EventList::Id }, +#endif { kMockEndpoint3, MockClusterId(2), Clusters::Globals::Attributes::AttributeList::Id }, { kMockEndpoint3, MockClusterId(3), Clusters::Globals::Attributes::ClusterRevision::Id }, { kMockEndpoint3, MockClusterId(3), Clusters::Globals::Attributes::FeatureMap::Id }, { kMockEndpoint3, MockClusterId(3), Clusters::Globals::Attributes::GeneratedCommandList::Id }, { kMockEndpoint3, MockClusterId(3), Clusters::Globals::Attributes::AcceptedCommandList::Id }, +#if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE { kMockEndpoint3, MockClusterId(3), Clusters::Globals::Attributes::EventList::Id }, +#endif { kMockEndpoint3, MockClusterId(3), Clusters::Globals::Attributes::AttributeList::Id }, { kMockEndpoint3, MockClusterId(4), Clusters::Globals::Attributes::ClusterRevision::Id }, { kMockEndpoint3, MockClusterId(4), Clusters::Globals::Attributes::FeatureMap::Id }, { kMockEndpoint3, MockClusterId(4), Clusters::Globals::Attributes::GeneratedCommandList::Id }, { kMockEndpoint3, MockClusterId(4), Clusters::Globals::Attributes::AcceptedCommandList::Id }, +#if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE { kMockEndpoint3, MockClusterId(4), Clusters::Globals::Attributes::EventList::Id }, +#endif { kMockEndpoint3, MockClusterId(4), Clusters::Globals::Attributes::AttributeList::Id }, }; @@ -214,7 +232,9 @@ void TestWildcardAttribute(nlTestSuite * apSuite, void * apContext) { kMockEndpoint2, MockClusterId(3), MockAttributeId(3) }, { kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::GeneratedCommandList::Id }, { kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::AcceptedCommandList::Id }, +#if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE { kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::EventList::Id }, +#endif { kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::AttributeList::Id }, }; @@ -287,20 +307,26 @@ void TestMultipleClusInfo(nlTestSuite * apSuite, void * apContext) { kMockEndpoint1, MockClusterId(1), Clusters::Globals::Attributes::FeatureMap::Id }, { kMockEndpoint1, MockClusterId(1), Clusters::Globals::Attributes::GeneratedCommandList::Id }, { kMockEndpoint1, MockClusterId(1), Clusters::Globals::Attributes::AcceptedCommandList::Id }, +#if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE { kMockEndpoint1, MockClusterId(1), Clusters::Globals::Attributes::EventList::Id }, +#endif { kMockEndpoint1, MockClusterId(1), Clusters::Globals::Attributes::AttributeList::Id }, { kMockEndpoint1, MockClusterId(2), Clusters::Globals::Attributes::ClusterRevision::Id }, { kMockEndpoint1, MockClusterId(2), Clusters::Globals::Attributes::FeatureMap::Id }, { kMockEndpoint1, MockClusterId(2), MockAttributeId(1) }, { kMockEndpoint1, MockClusterId(2), Clusters::Globals::Attributes::GeneratedCommandList::Id }, { kMockEndpoint1, MockClusterId(2), Clusters::Globals::Attributes::AcceptedCommandList::Id }, +#if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE { kMockEndpoint1, MockClusterId(2), Clusters::Globals::Attributes::EventList::Id }, +#endif { kMockEndpoint1, MockClusterId(2), Clusters::Globals::Attributes::AttributeList::Id }, { kMockEndpoint2, MockClusterId(1), Clusters::Globals::Attributes::ClusterRevision::Id }, { kMockEndpoint2, MockClusterId(1), Clusters::Globals::Attributes::FeatureMap::Id }, { kMockEndpoint2, MockClusterId(1), Clusters::Globals::Attributes::GeneratedCommandList::Id }, { kMockEndpoint2, MockClusterId(1), Clusters::Globals::Attributes::AcceptedCommandList::Id }, +#if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE { kMockEndpoint2, MockClusterId(1), Clusters::Globals::Attributes::EventList::Id }, +#endif { kMockEndpoint2, MockClusterId(1), Clusters::Globals::Attributes::AttributeList::Id }, { kMockEndpoint2, MockClusterId(2), Clusters::Globals::Attributes::ClusterRevision::Id }, { kMockEndpoint2, MockClusterId(2), Clusters::Globals::Attributes::FeatureMap::Id }, @@ -308,7 +334,9 @@ void TestMultipleClusInfo(nlTestSuite * apSuite, void * apContext) { kMockEndpoint2, MockClusterId(2), MockAttributeId(2) }, { kMockEndpoint2, MockClusterId(2), Clusters::Globals::Attributes::GeneratedCommandList::Id }, { kMockEndpoint2, MockClusterId(2), Clusters::Globals::Attributes::AcceptedCommandList::Id }, +#if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE { kMockEndpoint2, MockClusterId(2), Clusters::Globals::Attributes::EventList::Id }, +#endif { kMockEndpoint2, MockClusterId(2), Clusters::Globals::Attributes::AttributeList::Id }, { kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::ClusterRevision::Id }, { kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::FeatureMap::Id }, @@ -317,14 +345,18 @@ void TestMultipleClusInfo(nlTestSuite * apSuite, void * apContext) { kMockEndpoint2, MockClusterId(3), MockAttributeId(3) }, { kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::GeneratedCommandList::Id }, { kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::AcceptedCommandList::Id }, +#if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE { kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::EventList::Id }, +#endif { kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::AttributeList::Id }, { kMockEndpoint3, MockClusterId(1), Clusters::Globals::Attributes::ClusterRevision::Id }, { kMockEndpoint3, MockClusterId(1), Clusters::Globals::Attributes::FeatureMap::Id }, { kMockEndpoint3, MockClusterId(1), MockAttributeId(1) }, { kMockEndpoint3, MockClusterId(1), Clusters::Globals::Attributes::GeneratedCommandList::Id }, { kMockEndpoint3, MockClusterId(1), Clusters::Globals::Attributes::AcceptedCommandList::Id }, +#if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE { kMockEndpoint3, MockClusterId(1), Clusters::Globals::Attributes::EventList::Id }, +#endif { kMockEndpoint3, MockClusterId(1), Clusters::Globals::Attributes::AttributeList::Id }, { kMockEndpoint3, MockClusterId(2), Clusters::Globals::Attributes::ClusterRevision::Id }, { kMockEndpoint3, MockClusterId(2), Clusters::Globals::Attributes::FeatureMap::Id }, @@ -334,19 +366,25 @@ void TestMultipleClusInfo(nlTestSuite * apSuite, void * apContext) { kMockEndpoint3, MockClusterId(2), MockAttributeId(4) }, { kMockEndpoint3, MockClusterId(2), Clusters::Globals::Attributes::GeneratedCommandList::Id }, { kMockEndpoint3, MockClusterId(2), Clusters::Globals::Attributes::AcceptedCommandList::Id }, +#if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE { kMockEndpoint3, MockClusterId(2), Clusters::Globals::Attributes::EventList::Id }, +#endif { kMockEndpoint3, MockClusterId(2), Clusters::Globals::Attributes::AttributeList::Id }, { kMockEndpoint3, MockClusterId(3), Clusters::Globals::Attributes::ClusterRevision::Id }, { kMockEndpoint3, MockClusterId(3), Clusters::Globals::Attributes::FeatureMap::Id }, { kMockEndpoint3, MockClusterId(3), Clusters::Globals::Attributes::GeneratedCommandList::Id }, { kMockEndpoint3, MockClusterId(3), Clusters::Globals::Attributes::AcceptedCommandList::Id }, +#if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE { kMockEndpoint3, MockClusterId(3), Clusters::Globals::Attributes::EventList::Id }, +#endif { kMockEndpoint3, MockClusterId(3), Clusters::Globals::Attributes::AttributeList::Id }, { kMockEndpoint3, MockClusterId(4), Clusters::Globals::Attributes::ClusterRevision::Id }, { kMockEndpoint3, MockClusterId(4), Clusters::Globals::Attributes::FeatureMap::Id }, { kMockEndpoint3, MockClusterId(4), Clusters::Globals::Attributes::GeneratedCommandList::Id }, { kMockEndpoint3, MockClusterId(4), Clusters::Globals::Attributes::AcceptedCommandList::Id }, +#if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE { kMockEndpoint3, MockClusterId(4), Clusters::Globals::Attributes::EventList::Id }, +#endif { kMockEndpoint3, MockClusterId(4), Clusters::Globals::Attributes::AttributeList::Id }, { kMockEndpoint2, MockClusterId(3), MockAttributeId(3) }, { kMockEndpoint3, MockClusterId(1), Clusters::Globals::Attributes::ClusterRevision::Id }, @@ -360,7 +398,9 @@ void TestMultipleClusInfo(nlTestSuite * apSuite, void * apContext) { kMockEndpoint2, MockClusterId(3), MockAttributeId(3) }, { kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::GeneratedCommandList::Id }, { kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::AcceptedCommandList::Id }, +#if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE { kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::EventList::Id }, +#endif { kMockEndpoint2, MockClusterId(3), Clusters::Globals::Attributes::AttributeList::Id }, { kMockEndpoint2, MockClusterId(3), MockAttributeId(3) }, }; diff --git a/src/app/tests/suites/TestBasicInformation.yaml b/src/app/tests/suites/TestBasicInformation.yaml index 9b38f7e69b2773..8dce39f49b6d89 100644 --- a/src/app/tests/suites/TestBasicInformation.yaml +++ b/src/app/tests/suites/TestBasicInformation.yaml @@ -79,7 +79,6 @@ tests: 19, 0xFFF8, # GeneratedCommandList 0xFFF9, # AcceptedCommandList - 0xFFFA, # EventList 0xFFFB, # AttributeList 0xFFFC, # FeatureMap 0xFFFD, # ClusterRevision diff --git a/src/app/tests/suites/certification/Test_TC_ACL_1_1.yaml b/src/app/tests/suites/certification/Test_TC_ACL_1_1.yaml index c8836e4620e4fa..ed79c6ef263ded 100644 --- a/src/app/tests/suites/certification/Test_TC_ACL_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_ACL_1_1.yaml @@ -53,7 +53,7 @@ tests: response: constraints: type: list - contains: [0, 2, 3, 4, 65528, 65529, 65530, 65531, 65532, 65533] + contains: [0, 2, 3, 4, 65528, 65529, 65531, 65532, 65533] - label: "TH reads optional attribute (Extension) in AttributeList" PICS: ACL.S.A0001 diff --git a/src/app/tests/suites/certification/Test_TC_ACT_1_1.yaml b/src/app/tests/suites/certification/Test_TC_ACT_1_1.yaml index cd0880cf1a5b3d..45f9364ace4ea5 100644 --- a/src/app/tests/suites/certification/Test_TC_ACT_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_ACT_1_1.yaml @@ -53,7 +53,7 @@ tests: response: constraints: type: list - contains: [0, 1, 65528, 65529, 65530, 65531, 65532, 65533] + contains: [0, 1, 65528, 65529, 65531, 65532, 65533] - label: "Read the optional attribute(SetupURL) in AttributeList" PICS: ACT.S.A0002 diff --git a/src/app/tests/suites/certification/Test_TC_ALOGIN_1_12.yaml b/src/app/tests/suites/certification/Test_TC_ALOGIN_1_12.yaml index 7440d2a8a9098d..b9db40f6d33ab9 100644 --- a/src/app/tests/suites/certification/Test_TC_ALOGIN_1_12.yaml +++ b/src/app/tests/suites/certification/Test_TC_ALOGIN_1_12.yaml @@ -55,7 +55,7 @@ tests: response: constraints: type: list - contains: [65528, 65529, 65530, 65531, 65532, 65533] + contains: [65528, 65529, 65531, 65532, 65533] - label: "Read the global attribute: AcceptedCommandList" command: "readAttribute" diff --git a/src/app/tests/suites/certification/Test_TC_APBSC_1_10.yaml b/src/app/tests/suites/certification/Test_TC_APBSC_1_10.yaml index 47970831c32c33..1eb85ffb059845 100644 --- a/src/app/tests/suites/certification/Test_TC_APBSC_1_10.yaml +++ b/src/app/tests/suites/certification/Test_TC_APBSC_1_10.yaml @@ -55,8 +55,7 @@ tests: response: constraints: type: list - contains: - [2, 4, 5, 6, 7, 65528, 65529, 65530, 65531, 65532, 65533] + contains: [2, 4, 5, 6, 7, 65528, 65529, 65531, 65532, 65533] - label: "Read the optional attribute(VendorName) in AttributeList" PICS: APBSC.S.A0000 diff --git a/src/app/tests/suites/certification/Test_TC_APPLAUNCHER_1_3.yaml b/src/app/tests/suites/certification/Test_TC_APPLAUNCHER_1_3.yaml index 566a735ad7fa5d..f0d4f63cd9fc45 100644 --- a/src/app/tests/suites/certification/Test_TC_APPLAUNCHER_1_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_APPLAUNCHER_1_3.yaml @@ -65,7 +65,7 @@ tests: response: constraints: type: list - contains: [65528, 65529, 65530, 65531, 65532, 65533] + contains: [65528, 65529, 65531, 65532, 65533] - label: "Read the optional attribute(CatalogList) in AttributeList" PICS: APPLAUNCHER.S.A0000 diff --git a/src/app/tests/suites/certification/Test_TC_AUDIOOUTPUT_1_8.yaml b/src/app/tests/suites/certification/Test_TC_AUDIOOUTPUT_1_8.yaml index 9543f3cc8cc298..24dd9c6273e427 100644 --- a/src/app/tests/suites/certification/Test_TC_AUDIOOUTPUT_1_8.yaml +++ b/src/app/tests/suites/certification/Test_TC_AUDIOOUTPUT_1_8.yaml @@ -56,7 +56,7 @@ tests: response: constraints: type: list - contains: [0, 1, 65528, 65529, 65530, 65531, 65532, 65533] + contains: [0, 1, 65528, 65529, 65531, 65532, 65533] - label: "Read the global attribute: AcceptedCommandList" command: "readAttribute" diff --git a/src/app/tests/suites/certification/Test_TC_BIND_1_1.yaml b/src/app/tests/suites/certification/Test_TC_BIND_1_1.yaml index 8dec6a7b04c437..b8370f8312d0a9 100644 --- a/src/app/tests/suites/certification/Test_TC_BIND_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_BIND_1_1.yaml @@ -53,7 +53,7 @@ tests: response: constraints: type: list - contains: [0, 65528, 65529, 65530, 65531, 65532, 65533] + contains: [0, 65528, 65529, 65531, 65532, 65533] - label: "TH reads AcceptedCommandList from DUT" command: "readAttribute" diff --git a/src/app/tests/suites/certification/Test_TC_BOOL_1_1.yaml b/src/app/tests/suites/certification/Test_TC_BOOL_1_1.yaml index 12261b41dc4d5d..0c4111d8f07561 100644 --- a/src/app/tests/suites/certification/Test_TC_BOOL_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_BOOL_1_1.yaml @@ -53,7 +53,7 @@ tests: response: constraints: type: list - contains: [0, 65528, 65529, 65530, 65531, 65532, 65533] + contains: [0, 65528, 65529, 65531, 65532, 65533] - label: "Read the global attribute: AcceptedCommandList" command: "readAttribute" diff --git a/src/app/tests/suites/certification/Test_TC_BRBINFO_1_1.yaml b/src/app/tests/suites/certification/Test_TC_BRBINFO_1_1.yaml index 1d8cbf43c4e39e..0ce8cfd2aa1e26 100644 --- a/src/app/tests/suites/certification/Test_TC_BRBINFO_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_BRBINFO_1_1.yaml @@ -56,7 +56,7 @@ tests: response: constraints: type: list - contains: [17, 65528, 65529, 65530, 65531, 65532, 65533] + contains: [17, 65528, 65529, 65531, 65532, 65533] - label: "TH reads optional attribute(VendorName) in AttributeList" PICS: BRBINFO.S.A0001 diff --git a/src/app/tests/suites/certification/Test_TC_CC_1_1.yaml b/src/app/tests/suites/certification/Test_TC_CC_1_1.yaml index 010aae36f29182..5c642d522257a0 100644 --- a/src/app/tests/suites/certification/Test_TC_CC_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_CC_1_1.yaml @@ -99,19 +99,7 @@ tests: response: constraints: type: list - contains: - [ - 8, - 15, - 16385, - 16394, - 65528, - 65529, - 65530, - 65531, - 65532, - 65533, - ] + contains: [8, 15, 16385, 16394, 65528, 65529, 65531, 65532, 65533] - label: "Read the optional attribute(CurrentHue) in AttributeList" PICS: CC.S.A0000 diff --git a/src/app/tests/suites/certification/Test_TC_CGEN_1_1.yaml b/src/app/tests/suites/certification/Test_TC_CGEN_1_1.yaml index 26c8b279b34f08..e73e45a1efcaad 100644 --- a/src/app/tests/suites/certification/Test_TC_CGEN_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_CGEN_1_1.yaml @@ -53,8 +53,7 @@ tests: response: constraints: type: list - contains: - [0, 1, 2, 3, 4, 65528, 65529, 65530, 65531, 65532, 65533] + contains: [0, 1, 2, 3, 4, 65528, 65529, 65531, 65532, 65533] - label: "Read the global attribute: AcceptedCommandList" command: "readAttribute" diff --git a/src/app/tests/suites/certification/Test_TC_CHANNEL_1_6.yaml b/src/app/tests/suites/certification/Test_TC_CHANNEL_1_6.yaml index 32ad56b3ccb316..f9bd3c06a3128f 100644 --- a/src/app/tests/suites/certification/Test_TC_CHANNEL_1_6.yaml +++ b/src/app/tests/suites/certification/Test_TC_CHANNEL_1_6.yaml @@ -73,7 +73,7 @@ tests: response: constraints: type: list - contains: [65528, 65529, 65530, 65531, 65532, 65533] + contains: [65528, 65529, 65531, 65532, 65533] - label: "Read the optional attribute(ChannelList): AttributeList" PICS: CHANNEL.S.A0000 diff --git a/src/app/tests/suites/certification/Test_TC_CNET_1_3.yaml b/src/app/tests/suites/certification/Test_TC_CNET_1_3.yaml index c27a40506f57b8..8e167b434b01b1 100644 --- a/src/app/tests/suites/certification/Test_TC_CNET_1_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_CNET_1_3.yaml @@ -75,7 +75,7 @@ tests: response: constraints: type: list - contains: [65528, 65529, 65530, 65531, 65532, 65533] + contains: [65528, 65529, 65531, 65532, 65533] - label: "Read mandatory attributes in AttributeList if diff --git a/src/app/tests/suites/certification/Test_TC_CONTENTLAUNCHER_1_11.yaml b/src/app/tests/suites/certification/Test_TC_CONTENTLAUNCHER_1_11.yaml index 2858274c4d1ba8..5de7f13e19c1e7 100644 --- a/src/app/tests/suites/certification/Test_TC_CONTENTLAUNCHER_1_11.yaml +++ b/src/app/tests/suites/certification/Test_TC_CONTENTLAUNCHER_1_11.yaml @@ -76,7 +76,7 @@ tests: response: constraints: type: list - contains: [65528, 65529, 65530, 65531, 65532, 65533] + contains: [65528, 65529, 65531, 65532, 65533] - label: "Read the optional attribute(AcceptHeader): AttributeList" PICS: CONTENTLAUNCHER.S.A0000 diff --git a/src/app/tests/suites/certification/Test_TC_DESC_1_1.yaml b/src/app/tests/suites/certification/Test_TC_DESC_1_1.yaml index 5f35602d0c5a80..17462b1eea9258 100644 --- a/src/app/tests/suites/certification/Test_TC_DESC_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DESC_1_1.yaml @@ -54,7 +54,7 @@ tests: response: constraints: type: list - contains: [0, 1, 2, 3, 65528, 65529, 65530, 65531, 65532, 65533] + contains: [0, 1, 2, 3, 65528, 65529, 65531, 65532, 65533] - label: "Read the global attribute: AcceptedCommandList" command: "readAttribute" diff --git a/src/app/tests/suites/certification/Test_TC_DGETH_1_1.yaml b/src/app/tests/suites/certification/Test_TC_DGETH_1_1.yaml index cf966979f6411d..99d74ea965b7de 100644 --- a/src/app/tests/suites/certification/Test_TC_DGETH_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGETH_1_1.yaml @@ -73,7 +73,7 @@ tests: response: constraints: type: list - contains: [65528, 65529, 65530, 65531, 65532, 65533] + contains: [65528, 65529, 65531, 65532, 65533] - label: "TH reads optional attribute(PHYRate) in AttributeList" PICS: DGETH.S.A0000 diff --git a/src/app/tests/suites/certification/Test_TC_DGGEN_1_1.yaml b/src/app/tests/suites/certification/Test_TC_DGGEN_1_1.yaml index 4a1ff09d284b30..805bdf4065ab20 100644 --- a/src/app/tests/suites/certification/Test_TC_DGGEN_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGGEN_1_1.yaml @@ -54,7 +54,7 @@ tests: response: constraints: type: list - contains: [0, 1, 8, 65528, 65529, 65530, 65531, 65532, 65533] + contains: [0, 1, 8, 65528, 65529, 65531, 65532, 65533] - label: "Read optional attribute(UpTime) in AttributeList" PICS: DGGEN.S.A0002 diff --git a/src/app/tests/suites/certification/Test_TC_DGSW_1_1.yaml b/src/app/tests/suites/certification/Test_TC_DGSW_1_1.yaml index a2b9949e88860b..50ea61770b6227 100644 --- a/src/app/tests/suites/certification/Test_TC_DGSW_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGSW_1_1.yaml @@ -66,7 +66,7 @@ tests: response: constraints: type: list - contains: [65528, 65529, 65530, 65531, 65532, 65533] + contains: [65528, 65529, 65531, 65532, 65533] - label: "TH reads optional attribute(ThreadMetrics) in AttributeList" PICS: DGSW.S.A0000 diff --git a/src/app/tests/suites/certification/Test_TC_DGWIFI_1_1.yaml b/src/app/tests/suites/certification/Test_TC_DGWIFI_1_1.yaml index 9c313ce9449e2d..a8e578cbbe51af 100644 --- a/src/app/tests/suites/certification/Test_TC_DGWIFI_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGWIFI_1_1.yaml @@ -76,8 +76,7 @@ tests: response: constraints: type: list - contains: - [0, 1, 2, 3, 4, 65528, 65529, 65530, 65531, 65532, 65533] + contains: [0, 1, 2, 3, 4, 65528, 65529, 65531, 65532, 65533] - label: "TH reads Feature dependent(DGWIFI.S.F00) attributes in attributeList diff --git a/src/app/tests/suites/certification/Test_TC_DLOG_1_1.yaml b/src/app/tests/suites/certification/Test_TC_DLOG_1_1.yaml index 6f8eddabf720c6..76dbc6c3572ba7 100644 --- a/src/app/tests/suites/certification/Test_TC_DLOG_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DLOG_1_1.yaml @@ -53,7 +53,7 @@ tests: response: constraints: type: list - contains: [65528, 65529, 65530, 65531, 65532, 65533] + contains: [65528, 65529, 65531, 65532, 65533] - label: "TH reads AcceptedCommandList from DUT" command: "readAttribute" diff --git a/src/app/tests/suites/certification/Test_TC_DRLK_1_1.yaml b/src/app/tests/suites/certification/Test_TC_DRLK_1_1.yaml index e71b55d128e863..f511e3e07b82d2 100644 --- a/src/app/tests/suites/certification/Test_TC_DRLK_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DRLK_1_1.yaml @@ -148,8 +148,7 @@ tests: response: constraints: type: list - contains: - [0, 1, 2, 37, 38, 65528, 65529, 65530, 65531, 65532, 65533] + contains: [0, 1, 2, 37, 38, 65528, 65529, 65531, 65532, 65533] - label: "TH reads Feature dependent(DRLK.S.F05) attributes in AttributeList" diff --git a/src/app/tests/suites/certification/Test_TC_FLABEL_1_1.yaml b/src/app/tests/suites/certification/Test_TC_FLABEL_1_1.yaml index 895cca8c2d460b..11a5dfb3d8af40 100644 --- a/src/app/tests/suites/certification/Test_TC_FLABEL_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_FLABEL_1_1.yaml @@ -53,7 +53,7 @@ tests: response: constraints: type: list - contains: [0, 65528, 65529, 65530, 65531, 65532, 65533] + contains: [0, 65528, 65529, 65531, 65532, 65533] - label: "TH reads AcceptedCommandList from DUT" command: "readAttribute" diff --git a/src/app/tests/suites/certification/Test_TC_FLW_1_1.yaml b/src/app/tests/suites/certification/Test_TC_FLW_1_1.yaml index be340de67be713..5b89e14c602d67 100644 --- a/src/app/tests/suites/certification/Test_TC_FLW_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_FLW_1_1.yaml @@ -53,7 +53,7 @@ tests: response: constraints: type: list - contains: [0, 1, 2, 65528, 65529, 65530, 65531, 65532, 65533] + contains: [0, 1, 2, 65528, 65529, 65531, 65532, 65533] - label: "Read the optional attribute(Tolerance) in AttributeList" PICS: FLW.S.A0003 diff --git a/src/app/tests/suites/certification/Test_TC_G_1_1.yaml b/src/app/tests/suites/certification/Test_TC_G_1_1.yaml index 1265a60c53cca8..8fa6363308a33d 100644 --- a/src/app/tests/suites/certification/Test_TC_G_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_G_1_1.yaml @@ -63,7 +63,7 @@ tests: response: constraints: type: list - contains: [0, 65528, 65529, 65530, 65531, 65532, 65533] + contains: [0, 65528, 65529, 65531, 65532, 65533] - label: "TH reads AcceptedCommandList from DUT" command: "readAttribute" diff --git a/src/app/tests/suites/certification/Test_TC_ILL_1_1.yaml b/src/app/tests/suites/certification/Test_TC_ILL_1_1.yaml index 5d471452e145ed..1a3061d7480f1d 100644 --- a/src/app/tests/suites/certification/Test_TC_ILL_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_ILL_1_1.yaml @@ -53,7 +53,7 @@ tests: response: constraints: type: list - contains: [0, 1, 2, 65528, 65529, 65530, 65531, 65532, 65533] + contains: [0, 1, 2, 65528, 65529, 65531, 65532, 65533] - label: "Read the optional attribute(Tolerance) in AttributeList" PICS: ILL.S.A0003 diff --git a/src/app/tests/suites/certification/Test_TC_I_1_1.yaml b/src/app/tests/suites/certification/Test_TC_I_1_1.yaml index f2905bdc2cd539..9bfd93eb98c13e 100644 --- a/src/app/tests/suites/certification/Test_TC_I_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_I_1_1.yaml @@ -63,7 +63,7 @@ tests: response: constraints: type: list - contains: [0, 1, 65528, 65529, 65530, 65531, 65532, 65533] + contains: [0, 1, 65528, 65529, 65531, 65532, 65533] - label: "Read the global attribute: AcceptedCommandList" command: "readAttribute" diff --git a/src/app/tests/suites/certification/Test_TC_KEYPADINPUT_1_2.yaml b/src/app/tests/suites/certification/Test_TC_KEYPADINPUT_1_2.yaml index d1227301f92061..e763745f1a8d63 100644 --- a/src/app/tests/suites/certification/Test_TC_KEYPADINPUT_1_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_KEYPADINPUT_1_2.yaml @@ -83,7 +83,7 @@ tests: response: constraints: type: list - contains: [65528, 65529, 65530, 65531, 65532, 65533] + contains: [65528, 65529, 65531, 65532, 65533] - label: "Read the global attribute: AcceptedCommandList" command: "readAttribute" diff --git a/src/app/tests/suites/certification/Test_TC_LCFG_1_1.yaml b/src/app/tests/suites/certification/Test_TC_LCFG_1_1.yaml index 91a3cb570fe151..3322dbbe613ffe 100644 --- a/src/app/tests/suites/certification/Test_TC_LCFG_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_LCFG_1_1.yaml @@ -53,7 +53,7 @@ tests: response: constraints: type: list - contains: [0, 1, 65528, 65529, 65530, 65531, 65532, 65533] + contains: [0, 1, 65528, 65529, 65531, 65532, 65533] - label: "TH reads AcceptedCommandList from DUT" command: "readAttribute" diff --git a/src/app/tests/suites/certification/Test_TC_LOWPOWER_1_1.yaml b/src/app/tests/suites/certification/Test_TC_LOWPOWER_1_1.yaml index 4db273ddbeda48..512da9be8ed091 100644 --- a/src/app/tests/suites/certification/Test_TC_LOWPOWER_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_LOWPOWER_1_1.yaml @@ -53,7 +53,7 @@ tests: command: "readAttribute" attribute: "AttributeList" response: - value: [65528, 65529, 65530, 65531, 65532, 65533] + value: [65528, 65529, 65531, 65532, 65533] constraints: type: list diff --git a/src/app/tests/suites/certification/Test_TC_LTIME_1_2.yaml b/src/app/tests/suites/certification/Test_TC_LTIME_1_2.yaml index 68d92701675d02..8e994af41e62d5 100644 --- a/src/app/tests/suites/certification/Test_TC_LTIME_1_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_LTIME_1_2.yaml @@ -57,7 +57,7 @@ tests: response: constraints: type: list - contains: [0, 65528, 65529, 65530, 65531, 65532, 65533] + contains: [0, 65528, 65529, 65531, 65532, 65533] - label: "TH reads optional attribute(ActiveCalendarType) in AttributeList from diff --git a/src/app/tests/suites/certification/Test_TC_LUNIT_1_2.yaml b/src/app/tests/suites/certification/Test_TC_LUNIT_1_2.yaml index 7b005bd8c195ef..d2711b06749927 100644 --- a/src/app/tests/suites/certification/Test_TC_LUNIT_1_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_LUNIT_1_2.yaml @@ -65,7 +65,7 @@ tests: response: constraints: type: list - contains: [65528, 65529, 65530, 65531, 65532, 65533] + contains: [65528, 65529, 65531, 65532, 65533] - label: "TH reads Feature dependent(LUNIT.S.F00) attribute in AttributeList" diff --git a/src/app/tests/suites/certification/Test_TC_LVL_1_1.yaml b/src/app/tests/suites/certification/Test_TC_LVL_1_1.yaml index 8a2de9aa8962d6..3d03e15942daab 100644 --- a/src/app/tests/suites/certification/Test_TC_LVL_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_LVL_1_1.yaml @@ -81,7 +81,7 @@ tests: response: constraints: type: list - contains: [0, 15, 17, 65528, 65529, 65530, 65531, 65532, 65533] + contains: [0, 15, 17, 65528, 65529, 65531, 65532, 65533] - label: "Read the optional attribute(StartUpCurrentLevel and RemainingTime) in diff --git a/src/app/tests/suites/certification/Test_TC_MEDIAINPUT_1_4.yaml b/src/app/tests/suites/certification/Test_TC_MEDIAINPUT_1_4.yaml index 8c40d2e7c92c59..797e74b9fb52a7 100644 --- a/src/app/tests/suites/certification/Test_TC_MEDIAINPUT_1_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_MEDIAINPUT_1_4.yaml @@ -65,7 +65,7 @@ tests: response: constraints: type: list - contains: [65528, 65529, 65530, 65531, 65532, 65533] + contains: [65528, 65529, 65531, 65532, 65533] - label: "Read the optional attribute(InputList) in AttributeList" PICS: MEDIAINPUT.S.A0000 diff --git a/src/app/tests/suites/certification/Test_TC_MEDIAPLAYBACK_1_7.yaml b/src/app/tests/suites/certification/Test_TC_MEDIAPLAYBACK_1_7.yaml index 3b115500088446..fbe1f6ea77fedc 100644 --- a/src/app/tests/suites/certification/Test_TC_MEDIAPLAYBACK_1_7.yaml +++ b/src/app/tests/suites/certification/Test_TC_MEDIAPLAYBACK_1_7.yaml @@ -76,7 +76,7 @@ tests: response: constraints: type: list - contains: [0, 65528, 65529, 65530, 65531, 65532, 65533] + contains: [0, 65528, 65529, 65531, 65532, 65533] - label: "Read the optional attribute(StartTime) in AttributeList" PICS: MEDIAPLAYBACK.S.A0001 diff --git a/src/app/tests/suites/certification/Test_TC_MOD_1_1.yaml b/src/app/tests/suites/certification/Test_TC_MOD_1_1.yaml index 974bdd021d0994..7d3ee7e38b1055 100644 --- a/src/app/tests/suites/certification/Test_TC_MOD_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_MOD_1_1.yaml @@ -63,7 +63,7 @@ tests: response: constraints: type: list - contains: [0, 1, 2, 3, 65528, 65529, 65530, 65531, 65532, 65533] + contains: [0, 1, 2, 3, 65528, 65529, 65531, 65532, 65533] - label: "TH reads the optional attribute(StartUpMode) in AttributeList from diff --git a/src/app/tests/suites/certification/Test_TC_OCC_1_1.yaml b/src/app/tests/suites/certification/Test_TC_OCC_1_1.yaml index 89d9e7e425d357..04faf9b7de593f 100644 --- a/src/app/tests/suites/certification/Test_TC_OCC_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_OCC_1_1.yaml @@ -53,7 +53,7 @@ tests: response: constraints: type: list - contains: [0, 1, 2, 65528, 65529, 65530, 65531, 65532, 65533] + contains: [0, 1, 2, 65528, 65529, 65531, 65532, 65533] - label: "Read the global attribute: AcceptedCommandList" command: "readAttribute" diff --git a/src/app/tests/suites/certification/Test_TC_OO_1_1.yaml b/src/app/tests/suites/certification/Test_TC_OO_1_1.yaml index 43682ed94c0925..b8973da1a275d5 100644 --- a/src/app/tests/suites/certification/Test_TC_OO_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_OO_1_1.yaml @@ -63,7 +63,7 @@ tests: response: constraints: type: list - contains: [0, 65528, 65529, 65530, 65531, 65532, 65533] + contains: [0, 65528, 65529, 65531, 65532, 65533] - label: "Read the feature dependent(OO.S.F00) attribute in AttributeList" PICS: OO.S.F00 diff --git a/src/app/tests/suites/certification/Test_TC_PCC_1_1.yaml b/src/app/tests/suites/certification/Test_TC_PCC_1_1.yaml index 76a25e562cddb8..d8805c991eee8c 100644 --- a/src/app/tests/suites/certification/Test_TC_PCC_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_PCC_1_1.yaml @@ -122,21 +122,7 @@ tests: constraints: type: list contains: - [ - 0, - 1, - 2, - 17, - 18, - 19, - 32, - 65528, - 65529, - 65530, - 65531, - 65532, - 65533, - ] + [0, 1, 2, 17, 18, 19, 32, 65528, 65529, 65531, 65532, 65533] - label: "TH reads optional attribute(MinConstPressure) attribute in diff --git a/src/app/tests/suites/certification/Test_TC_PRS_1_1.yaml b/src/app/tests/suites/certification/Test_TC_PRS_1_1.yaml index e1840300630698..1469e777eb197a 100644 --- a/src/app/tests/suites/certification/Test_TC_PRS_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_PRS_1_1.yaml @@ -63,7 +63,7 @@ tests: response: constraints: type: list - contains: [0, 1, 2, 65528, 65529, 65530, 65531, 65532, 65533] + contains: [0, 1, 2, 65528, 65529, 65531, 65532, 65533] - label: "Read the optional attribute(ScaledValue) in AttributeList" PICS: PRS.S.A0010 diff --git a/src/app/tests/suites/certification/Test_TC_PSCFG_1_1.yaml b/src/app/tests/suites/certification/Test_TC_PSCFG_1_1.yaml index 77370100b26906..0de2b658fba249 100644 --- a/src/app/tests/suites/certification/Test_TC_PSCFG_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_PSCFG_1_1.yaml @@ -53,7 +53,7 @@ tests: response: constraints: type: list - contains: [0, 65528, 65529, 65530, 65531, 65532, 65533] + contains: [0, 65528, 65529, 65531, 65532, 65533] - label: "TH reads the AcceptedCommandList attribute from the DUT" command: "readAttribute" diff --git a/src/app/tests/suites/certification/Test_TC_PS_1_1.yaml b/src/app/tests/suites/certification/Test_TC_PS_1_1.yaml index b5ca42104a5ed3..144b370114db90 100644 --- a/src/app/tests/suites/certification/Test_TC_PS_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_PS_1_1.yaml @@ -90,7 +90,7 @@ tests: response: constraints: type: list - contains: [0, 1, 2, 65528, 65529, 65530, 65531, 65532, 65533] + contains: [0, 1, 2, 65528, 65529, 65531, 65532, 65533] - label: "Read the Feature dependent(PS.S.F00-WIRED) attribute in AttributeList" diff --git a/src/app/tests/suites/certification/Test_TC_RH_1_1.yaml b/src/app/tests/suites/certification/Test_TC_RH_1_1.yaml index 3e79f5985a0662..3d7c44a987f486 100644 --- a/src/app/tests/suites/certification/Test_TC_RH_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_RH_1_1.yaml @@ -53,7 +53,7 @@ tests: response: constraints: type: list - contains: [0, 1, 2, 65528, 65529, 65530, 65531, 65532, 65533] + contains: [0, 1, 2, 65528, 65529, 65531, 65532, 65533] - label: "Read the optional attribute(Tolerance) in AttributeList" command: "readAttribute" diff --git a/src/app/tests/suites/certification/Test_TC_SWTCH_1_1.yaml b/src/app/tests/suites/certification/Test_TC_SWTCH_1_1.yaml index 96d7c64a476937..838dd800a7ee60 100644 --- a/src/app/tests/suites/certification/Test_TC_SWTCH_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_SWTCH_1_1.yaml @@ -109,7 +109,7 @@ tests: response: constraints: type: list - contains: [0, 1, 2, 65528, 65529, 65530, 65531, 65532, 65533] + contains: [0, 1, 2, 65528, 65529, 65531, 65532, 65533] - label: "Read the global attribute: AttributeList" PICS: "!SWTCH.S.F04" @@ -118,7 +118,7 @@ tests: response: constraints: type: list - contains: [0, 1, 65528, 65529, 65530, 65531, 65532, 65533] + contains: [0, 1, 65528, 65529, 65531, 65532, 65533] - label: "Read the global attribute: AcceptedCommandList" command: "readAttribute" diff --git a/src/app/tests/suites/certification/Test_TC_TGTNAV_1_9.yaml b/src/app/tests/suites/certification/Test_TC_TGTNAV_1_9.yaml index 18e83e529e5219..ce8925c828e004 100644 --- a/src/app/tests/suites/certification/Test_TC_TGTNAV_1_9.yaml +++ b/src/app/tests/suites/certification/Test_TC_TGTNAV_1_9.yaml @@ -55,7 +55,7 @@ tests: response: constraints: type: list - contains: [0, 65528, 65529, 65530, 65531, 65532, 65533] + contains: [0, 65528, 65529, 65531, 65532, 65533] - label: "Read the optional attribute(CurrentTarget) in AttributeList" PICS: TGTNAV.S.A0001 diff --git a/src/app/tests/suites/certification/Test_TC_TMP_1_1.yaml b/src/app/tests/suites/certification/Test_TC_TMP_1_1.yaml index 45a5ae525a243e..cfbc4c77511948 100644 --- a/src/app/tests/suites/certification/Test_TC_TMP_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_TMP_1_1.yaml @@ -53,7 +53,7 @@ tests: response: constraints: type: list - contains: [0, 1, 2, 65528, 65529, 65530, 65531, 65532, 65533] + contains: [0, 1, 2, 65528, 65529, 65531, 65532, 65533] - label: "Read the optional attribute(Tolerance) in AttributeList" PICS: TMP.S.A0003 diff --git a/src/app/tests/suites/certification/Test_TC_TSTAT_1_1.yaml b/src/app/tests/suites/certification/Test_TC_TSTAT_1_1.yaml index a71ef13b038c23..649a147f1ea291 100644 --- a/src/app/tests/suites/certification/Test_TC_TSTAT_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_TSTAT_1_1.yaml @@ -110,7 +110,7 @@ tests: response: constraints: type: list - contains: [0, 27, 28, 65528, 65529, 65530, 65531, 65532, 65533] + contains: [0, 27, 28, 65528, 65529, 65531, 65532, 65533] - label: "Read the Feature dependent(TSTAT.S.F00(HEAT)) attribute in diff --git a/src/app/tests/suites/certification/Test_TC_TSUIC_1_1.yaml b/src/app/tests/suites/certification/Test_TC_TSUIC_1_1.yaml index 44afa84031bdbe..179d9c7257ff6f 100644 --- a/src/app/tests/suites/certification/Test_TC_TSUIC_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_TSUIC_1_1.yaml @@ -53,7 +53,7 @@ tests: response: constraints: type: list - contains: [0, 1, 2, 65528, 65529, 65530, 65531, 65532, 65533] + contains: [0, 1, 2, 65528, 65529, 65531, 65532, 65533] - label: "Read the global attribute: AcceptedCommandList" command: "readAttribute" diff --git a/src/app/tests/suites/certification/Test_TC_ULABEL_1_1.yaml b/src/app/tests/suites/certification/Test_TC_ULABEL_1_1.yaml index 7e2382e9a0310c..71b8f58ae16a24 100644 --- a/src/app/tests/suites/certification/Test_TC_ULABEL_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_ULABEL_1_1.yaml @@ -53,7 +53,7 @@ tests: response: constraints: type: list - contains: [0, 65528, 65529, 65530, 65531, 65532, 65533] + contains: [0, 65528, 65529, 65531, 65532, 65533] - label: "Read the global attribute: AcceptedCommandList" command: "readAttribute" diff --git a/src/app/tests/suites/certification/Test_TC_WAKEONLAN_1_5.yaml b/src/app/tests/suites/certification/Test_TC_WAKEONLAN_1_5.yaml index d781600ddf35c4..827e6309c19ac5 100644 --- a/src/app/tests/suites/certification/Test_TC_WAKEONLAN_1_5.yaml +++ b/src/app/tests/suites/certification/Test_TC_WAKEONLAN_1_5.yaml @@ -55,7 +55,7 @@ tests: response: constraints: type: list - contains: [65528, 65529, 65530, 65531, 65531, 65533] + contains: [65528, 65529, 65531, 65531, 65533] - label: "Read the optional attribute(MACAddress) in AttributeList" PICS: WAKEONLAN.S.A0000 diff --git a/src/app/tests/suites/certification/Test_TC_WNCV_1_1.yaml b/src/app/tests/suites/certification/Test_TC_WNCV_1_1.yaml index de7108dea74454..bf080c6971aad8 100644 --- a/src/app/tests/suites/certification/Test_TC_WNCV_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_WNCV_1_1.yaml @@ -107,8 +107,7 @@ tests: response: constraints: type: list - contains: - [0, 7, 10, 13, 23, 65528, 65529, 65530, 65531, 65532, 65533] + contains: [0, 7, 10, 13, 23, 65528, 65529, 65531, 65532, 65533] - label: "TH reads optional attribute(SafetyStatus) in AttributeList" PICS: WNCV.S.Afffb && WNCV.S.A001a diff --git a/src/app/util/ember-compatibility-functions.cpp b/src/app/util/ember-compatibility-functions.cpp index 0d4c00d4c5fb4c..c11b1eaed846de 100644 --- a/src/app/util/ember-compatibility-functions.cpp +++ b/src/app/util/ember-compatibility-functions.cpp @@ -330,10 +330,15 @@ CHIP_ERROR GlobalAttributeReader::Read(const ConcreteReadAttributePath & aPath, { AttributeId id = mCluster->attributes[i].attributeId; constexpr auto lastGlobalId = GlobalAttributesNotInMetadata[ArraySize(GlobalAttributesNotInMetadata) - 1]; - // We are relying on GlobalAttributesNotInMetadata not having - // any gaps in their ids here. +#if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE + // The GlobalAttributesNotInMetadata shouldn't have any gaps in their ids here. static_assert(lastGlobalId - GlobalAttributesNotInMetadata[0] == ArraySize(GlobalAttributesNotInMetadata) - 1, "Ids in GlobalAttributesNotInMetadata not consecutive"); +#else + // If EventList is not supported. The GlobalAttributesNotInMetadata is missing one id here. + static_assert(lastGlobalId - GlobalAttributesNotInMetadata[0] == ArraySize(GlobalAttributesNotInMetadata), + "Ids in GlobalAttributesNotInMetadata not consecutive (except EventList)"); +#endif // CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE if (!addedExtraGlobals && id > lastGlobalId) { for (const auto & globalId : GlobalAttributesNotInMetadata) @@ -353,6 +358,7 @@ CHIP_ERROR GlobalAttributeReader::Read(const ConcreteReadAttributePath & aPath, } return CHIP_NO_ERROR; }); +#if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE case EventList::Id: return aEncoder.EncodeList([this](const auto & encoder) { for (size_t i = 0; i < mCluster->eventCount; ++i) @@ -361,6 +367,7 @@ CHIP_ERROR GlobalAttributeReader::Read(const ConcreteReadAttributePath & aPath, } return CHIP_NO_ERROR; }); +#endif // CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE case AcceptedCommandList::Id: return EncodeCommandList(aPath, aEncoder, &CommandHandlerInterface::EnumerateAcceptedCommands, mCluster->acceptedCommandList); diff --git a/src/controller/tests/TestEventChunking.cpp b/src/controller/tests/TestEventChunking.cpp index b00fdde1ba165d..35b709f6e08f3e 100644 --- a/src/controller/tests/TestEventChunking.cpp +++ b/src/controller/tests/TestEventChunking.cpp @@ -26,12 +26,14 @@ #include #include #include +#include #include #include #include #include #include #include +#include #include #include #include @@ -196,10 +198,12 @@ void TestReadCallback::OnAttributeData(const app::ConcreteDataAttributePath & aP NL_TEST_ASSERT(gSuite, v.ComputeSize(&arraySize) == CHIP_NO_ERROR); NL_TEST_ASSERT(gSuite, arraySize == 0); } +#if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE else if (aPath.mAttributeId == Globals::Attributes::EventList::Id) { // Nothing to check for this one; depends on the endpoint. } +#endif // CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE else if (aPath.mAttributeId == Globals::Attributes::AttributeList::Id) { // Nothing to check for this one; depends on the endpoint. @@ -428,12 +432,10 @@ void TestReadEvents::TestMixedEventsAndAttributesChunking(nlTestSuite * apSuite, ctx.DrainAndServiceIO(); // - // Always returns the same number of attributes read (5 + revision + - // AttributeList + ClientGeneratedCommandList + - // ServerGeneratedCommandList = 9). + // Always returns the same number of attributes read (5 + revision + GlobalAttributesNotInMetadata). // NL_TEST_ASSERT(apSuite, readCallback.mOnReportEnd); - NL_TEST_ASSERT(apSuite, readCallback.mAttributeCount == 10); + NL_TEST_ASSERT(apSuite, readCallback.mAttributeCount == 6 + ArraySize(GlobalAttributesNotInMetadata)); NL_TEST_ASSERT(apSuite, readCallback.mEventCount == static_cast(lastEventNumber - firstEventNumber + 1)); NL_TEST_ASSERT(apSuite, ctx.GetExchangeManager().GetNumActiveExchanges() == 0); diff --git a/src/controller/tests/TestReadChunking.cpp b/src/controller/tests/TestReadChunking.cpp index 43768bc4bf3bcd..03a6c85a6f7c92 100644 --- a/src/controller/tests/TestReadChunking.cpp +++ b/src/controller/tests/TestReadChunking.cpp @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include @@ -174,10 +175,12 @@ void TestReadCallback::OnAttributeData(const app::ConcreteDataAttributePath & aP NL_TEST_ASSERT(gSuite, v.ComputeSize(&arraySize) == CHIP_NO_ERROR); NL_TEST_ASSERT(gSuite, arraySize == 0); } +#if CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE else if (aPath.mAttributeId == Globals::Attributes::EventList::Id) { // Nothing to check for this one; depends on the endpoint. } +#endif // CHIP_CONFIG_ENABLE_EVENTLIST_ATTRIBUTE else if (aPath.mAttributeId == Globals::Attributes::AttributeList::Id) { // Nothing to check for this one; depends on the endpoint. @@ -407,11 +410,9 @@ void TestReadChunking::TestChunking(nlTestSuite * apSuite, void * apContext) NL_TEST_ASSERT(apSuite, readCallback.mOnReportEnd); // - // Always returns the same number of attributes read (5 + revision + - // AttributeList + EventList + AcceptedCommandList + - // GeneratedCommandList = 10). + // Always returns the same number of attributes read (5 + revision + GlobalAttributesNotInMetadata). // - NL_TEST_ASSERT(apSuite, readCallback.mAttributeCount == 10); + NL_TEST_ASSERT(apSuite, readCallback.mAttributeCount == 6 + ArraySize(GlobalAttributesNotInMetadata)); readCallback.mAttributeCount = 0; NL_TEST_ASSERT(apSuite, ctx.GetExchangeManager().GetNumActiveExchanges() == 0); @@ -585,9 +586,10 @@ void TestReadChunking::TestDynamicEndpoint(nlTestSuite * apSuite, void * apConte ctx.DrainAndServiceIO(); // Ensure we have received the report, we do not care about the initial report here. - // AcceptedCommandList / GeneratedCommandList / EventList / AttributeList attribute are not included in - // testClusterAttrsOnEndpoint4. - NL_TEST_ASSERT(apSuite, readCallback.mAttributeCount == ArraySize(testClusterAttrsOnEndpoint4) + 4); + // GlobalAttributesNotInMetadata attributes are not included in testClusterAttrsOnEndpoint4. + NL_TEST_ASSERT(apSuite, + readCallback.mAttributeCount == + ArraySize(testClusterAttrsOnEndpoint4) + ArraySize(GlobalAttributesNotInMetadata)); // We have received all report data. NL_TEST_ASSERT(apSuite, readCallback.mOnReportEnd); @@ -611,9 +613,10 @@ void TestReadChunking::TestDynamicEndpoint(nlTestSuite * apSuite, void * apConte ctx.DrainAndServiceIO(); // Ensure we have received the report, we do not care about the initial report here. - // AcceptedCommandList / GeneratedCommandList / EventList / AttributeList attribute are not included in - // testClusterAttrsOnEndpoint4. - NL_TEST_ASSERT(apSuite, readCallback.mAttributeCount == ArraySize(testClusterAttrsOnEndpoint4) + 4); + // GlobalAttributesNotInMetadata attributes are not included in testClusterAttrsOnEndpoint4. + NL_TEST_ASSERT(apSuite, + readCallback.mAttributeCount == + ArraySize(testClusterAttrsOnEndpoint4) + ArraySize(GlobalAttributesNotInMetadata)); // We have received all report data. NL_TEST_ASSERT(apSuite, readCallback.mOnReportEnd); diff --git a/zzz_generated/chip-tool/zap-generated/test/Commands.h b/zzz_generated/chip-tool/zap-generated/test/Commands.h index c032ca94cf15ef..4721a0107a5305 100644 --- a/zzz_generated/chip-tool/zap-generated/test/Commands.h +++ b/zzz_generated/chip-tool/zap-generated/test/Commands.h @@ -2191,7 +2191,6 @@ class Test_TC_ACL_1_1Suite : public TestCommand VerifyOrReturn(CheckConstraintContains("value", value, 4UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65533UL)); @@ -8844,7 +8843,6 @@ class Test_TC_BOOL_1_1Suite : public TestCommand VerifyOrReturn(CheckConstraintContains("value", value, 0UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65533UL)); @@ -9075,7 +9073,6 @@ class Test_TC_BRBINFO_1_1Suite : public TestCommand VerifyOrReturn(CheckConstraintContains("value", value, 17UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65533UL)); @@ -10360,7 +10357,6 @@ class Test_TC_ACT_1_1Suite : public TestCommand VerifyOrReturn(CheckConstraintContains("value", value, 1UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65533UL)); @@ -10521,7 +10517,6 @@ class Test_TC_BIND_1_1Suite : public TestCommand VerifyOrReturn(CheckConstraintContains("value", value, 0UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65533UL)); @@ -10718,7 +10713,6 @@ class Test_TC_CC_1_1Suite : public TestCommand VerifyOrReturn(CheckConstraintContains("value", value, 16394UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65533UL)); @@ -21454,7 +21448,6 @@ class Test_TC_CNET_1_3Suite : public TestCommand VerifyOrReturn(CheckConstraintType("value", "list", "list")); VerifyOrReturn(CheckConstraintContains("value", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65533UL)); @@ -21742,7 +21735,6 @@ class Test_TC_DESC_1_1Suite : public TestCommand VerifyOrReturn(CheckConstraintContains("value", value, 3UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65533UL)); @@ -21890,7 +21882,6 @@ class Test_TC_DLOG_1_1Suite : public TestCommand VerifyOrReturn(CheckConstraintType("value", "list", "list")); VerifyOrReturn(CheckConstraintContains("value", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65533UL)); @@ -22060,7 +22051,6 @@ class Test_TC_DGETH_1_1Suite : public TestCommand VerifyOrReturn(CheckConstraintType("value", "list", "list")); VerifyOrReturn(CheckConstraintContains("value", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65533UL)); @@ -23062,7 +23052,6 @@ class Test_TC_FLW_1_1Suite : public TestCommand VerifyOrReturn(CheckConstraintContains("value", value, 2UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65533UL)); @@ -23357,7 +23346,6 @@ class Test_TC_FLABEL_1_1Suite : public TestCommand VerifyOrReturn(CheckConstraintContains("value", value, 0UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65533UL)); @@ -23627,7 +23615,6 @@ class Test_TC_CGEN_1_1Suite : public TestCommand VerifyOrReturn(CheckConstraintContains("value", value, 4UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65533UL)); @@ -23942,7 +23929,6 @@ class Test_TC_DGGEN_1_1Suite : public TestCommand VerifyOrReturn(CheckConstraintContains("value", value, 8UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65533UL)); @@ -24480,7 +24466,6 @@ class Test_TC_I_1_1Suite : public TestCommand VerifyOrReturn(CheckConstraintContains("value", value, 1UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65533UL)); @@ -25324,7 +25309,6 @@ class Test_TC_ILL_1_1Suite : public TestCommand VerifyOrReturn(CheckConstraintContains("value", value, 2UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65533UL)); @@ -25859,7 +25843,6 @@ class Test_TC_LVL_1_1Suite : public TestCommand VerifyOrReturn(CheckConstraintContains("value", value, 17UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65533UL)); @@ -28780,7 +28763,6 @@ class Test_TC_LCFG_1_1Suite : public TestCommand VerifyOrReturn(CheckConstraintContains("value", value, 1UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65533UL)); @@ -28937,7 +28919,6 @@ class Test_TC_LUNIT_1_2Suite : public TestCommand VerifyOrReturn(CheckConstraintType("value", "list", "list")); VerifyOrReturn(CheckConstraintContains("value", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65533UL)); @@ -29284,7 +29265,6 @@ class Test_TC_LTIME_1_2Suite : public TestCommand VerifyOrReturn(CheckConstraintContains("value", value, 0UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65533UL)); @@ -29472,14 +29452,12 @@ class Test_TC_LOWPOWER_1_1Suite : public TestCommand VerifyOrReturn(CheckNextListItemDecodes("attributeList", iter_0, 1)); VerifyOrReturn(CheckValue("attributeList[1]", iter_0.GetValue(), 65529UL)); VerifyOrReturn(CheckNextListItemDecodes("attributeList", iter_0, 2)); - VerifyOrReturn(CheckValue("attributeList[2]", iter_0.GetValue(), 65530UL)); + VerifyOrReturn(CheckValue("attributeList[2]", iter_0.GetValue(), 65531UL)); VerifyOrReturn(CheckNextListItemDecodes("attributeList", iter_0, 3)); - VerifyOrReturn(CheckValue("attributeList[3]", iter_0.GetValue(), 65531UL)); + VerifyOrReturn(CheckValue("attributeList[3]", iter_0.GetValue(), 65532UL)); VerifyOrReturn(CheckNextListItemDecodes("attributeList", iter_0, 4)); - VerifyOrReturn(CheckValue("attributeList[4]", iter_0.GetValue(), 65532UL)); - VerifyOrReturn(CheckNextListItemDecodes("attributeList", iter_0, 5)); - VerifyOrReturn(CheckValue("attributeList[5]", iter_0.GetValue(), 65533UL)); - VerifyOrReturn(CheckNoMoreListItems("attributeList", iter_0, 6)); + VerifyOrReturn(CheckValue("attributeList[4]", iter_0.GetValue(), 65533UL)); + VerifyOrReturn(CheckNoMoreListItems("attributeList", iter_0, 5)); } VerifyOrReturn(CheckConstraintType("value", "list", "list")); } @@ -29656,7 +29634,6 @@ class Test_TC_KEYPADINPUT_1_2Suite : public TestCommand VerifyOrReturn(CheckConstraintType("value", "list", "list")); VerifyOrReturn(CheckConstraintContains("value", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65533UL)); @@ -29828,7 +29805,6 @@ class Test_TC_APPLAUNCHER_1_3Suite : public TestCommand VerifyOrReturn(CheckConstraintType("value", "list", "list")); VerifyOrReturn(CheckConstraintContains("value", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65533UL)); @@ -30019,7 +29995,6 @@ class Test_TC_MEDIAINPUT_1_4Suite : public TestCommand VerifyOrReturn(CheckConstraintType("value", "list", "list")); VerifyOrReturn(CheckConstraintContains("value", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65533UL)); @@ -30205,7 +30180,6 @@ class Test_TC_WAKEONLAN_1_5Suite : public TestCommand VerifyOrReturn(CheckConstraintType("value", "list", "list")); VerifyOrReturn(CheckConstraintContains("value", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65533UL)); @@ -30387,7 +30361,6 @@ class Test_TC_CHANNEL_1_6Suite : public TestCommand VerifyOrReturn(CheckConstraintType("value", "list", "list")); VerifyOrReturn(CheckConstraintContains("value", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65533UL)); @@ -30657,7 +30630,6 @@ class Test_TC_MEDIAPLAYBACK_1_7Suite : public TestCommand VerifyOrReturn(CheckConstraintContains("value", value, 0UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65533UL)); @@ -31028,7 +31000,6 @@ class Test_TC_AUDIOOUTPUT_1_8Suite : public TestCommand VerifyOrReturn(CheckConstraintContains("value", value, 1UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65533UL)); @@ -31174,7 +31145,6 @@ class Test_TC_TGTNAV_1_9Suite : public TestCommand VerifyOrReturn(CheckConstraintContains("value", value, 0UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65533UL)); @@ -31391,7 +31361,6 @@ class Test_TC_APBSC_1_10Suite : public TestCommand VerifyOrReturn(CheckConstraintContains("value", value, 7UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65533UL)); @@ -31603,7 +31572,6 @@ class Test_TC_CONTENTLAUNCHER_1_11Suite : public TestCommand VerifyOrReturn(CheckConstraintType("value", "list", "list")); VerifyOrReturn(CheckConstraintContains("value", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65533UL)); @@ -31806,7 +31774,6 @@ class Test_TC_ALOGIN_1_12Suite : public TestCommand VerifyOrReturn(CheckConstraintType("value", "list", "list")); VerifyOrReturn(CheckConstraintContains("value", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65533UL)); @@ -35876,7 +35843,6 @@ class Test_TC_MOD_1_1Suite : public TestCommand VerifyOrReturn(CheckConstraintContains("value", value, 3UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65533UL)); @@ -36328,7 +36294,6 @@ class Test_TC_OCC_1_1Suite : public TestCommand VerifyOrReturn(CheckConstraintContains("value", value, 2UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65533UL)); @@ -36848,7 +36813,6 @@ class Test_TC_OO_1_1Suite : public TestCommand VerifyOrReturn(CheckConstraintContains("value", value, 0UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65533UL)); @@ -38007,7 +37971,6 @@ class Test_TC_PS_1_1Suite : public TestCommand VerifyOrReturn(CheckConstraintContains("value", value, 2UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65533UL)); @@ -38803,7 +38766,6 @@ class Test_TC_PRS_1_1Suite : public TestCommand VerifyOrReturn(CheckConstraintContains("value", value, 2UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65533UL)); @@ -39451,7 +39413,6 @@ class Test_TC_PCC_1_1Suite : public TestCommand VerifyOrReturn(CheckConstraintContains("value", value, 32UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65533UL)); @@ -40992,7 +40953,6 @@ class Test_TC_PSCFG_1_1Suite : public TestCommand VerifyOrReturn(CheckConstraintContains("value", value, 0UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65533UL)); @@ -41224,7 +41184,6 @@ class Test_TC_RH_1_1Suite : public TestCommand VerifyOrReturn(CheckConstraintContains("value", value, 2UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65533UL)); @@ -42453,7 +42412,6 @@ class Test_TC_SWTCH_1_1Suite : public TestCommand VerifyOrReturn(CheckConstraintContains("value", value, 2UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65533UL)); @@ -42469,7 +42427,6 @@ class Test_TC_SWTCH_1_1Suite : public TestCommand VerifyOrReturn(CheckConstraintContains("value", value, 1UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65533UL)); @@ -42771,7 +42728,6 @@ class Test_TC_TMP_1_1Suite : public TestCommand VerifyOrReturn(CheckConstraintContains("value", value, 2UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65533UL)); @@ -43122,7 +43078,6 @@ class Test_TC_TSTAT_1_1Suite : public TestCommand VerifyOrReturn(CheckConstraintContains("value", value, 28UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65533UL)); @@ -46930,7 +46885,6 @@ class Test_TC_TSUIC_1_1Suite : public TestCommand VerifyOrReturn(CheckConstraintContains("value", value, 2UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65533UL)); @@ -49466,7 +49420,6 @@ class Test_TC_ULABEL_1_1Suite : public TestCommand VerifyOrReturn(CheckConstraintContains("value", value, 0UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65533UL)); @@ -50123,7 +50076,6 @@ class Test_TC_DGWIFI_1_1Suite : public TestCommand VerifyOrReturn(CheckConstraintContains("value", value, 4UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65533UL)); @@ -50851,7 +50803,6 @@ class Test_TC_WNCV_1_1Suite : public TestCommand VerifyOrReturn(CheckConstraintContains("value", value, 23UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65533UL)); @@ -68418,14 +68369,12 @@ class TestBasicInformationSuite : public TestCommand VerifyOrReturn(CheckNextListItemDecodes("attributeList", iter_0, 21)); VerifyOrReturn(CheckValue("attributeList[21]", iter_0.GetValue(), 65529UL)); VerifyOrReturn(CheckNextListItemDecodes("attributeList", iter_0, 22)); - VerifyOrReturn(CheckValue("attributeList[22]", iter_0.GetValue(), 65530UL)); + VerifyOrReturn(CheckValue("attributeList[22]", iter_0.GetValue(), 65531UL)); VerifyOrReturn(CheckNextListItemDecodes("attributeList", iter_0, 23)); - VerifyOrReturn(CheckValue("attributeList[23]", iter_0.GetValue(), 65531UL)); + VerifyOrReturn(CheckValue("attributeList[23]", iter_0.GetValue(), 65532UL)); VerifyOrReturn(CheckNextListItemDecodes("attributeList", iter_0, 24)); - VerifyOrReturn(CheckValue("attributeList[24]", iter_0.GetValue(), 65532UL)); - VerifyOrReturn(CheckNextListItemDecodes("attributeList", iter_0, 25)); - VerifyOrReturn(CheckValue("attributeList[25]", iter_0.GetValue(), 65533UL)); - VerifyOrReturn(CheckNoMoreListItems("attributeList", iter_0, 26)); + VerifyOrReturn(CheckValue("attributeList[24]", iter_0.GetValue(), 65533UL)); + VerifyOrReturn(CheckNoMoreListItems("attributeList", iter_0, 25)); } } break; @@ -74228,7 +74177,6 @@ class Test_TC_DGSW_1_1Suite : public TestCommand VerifyOrReturn(CheckConstraintType("value", "list", "list")); VerifyOrReturn(CheckConstraintContains("value", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65533UL)); @@ -81795,7 +81743,6 @@ class Test_TC_DRLK_1_1Suite : public TestCommand VerifyOrReturn(CheckConstraintContains("value", value, 38UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65533UL)); @@ -88191,7 +88138,6 @@ class Test_TC_G_1_1Suite : public TestCommand VerifyOrReturn(CheckConstraintContains("value", value, 0UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("value", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("value", value, 65533UL)); diff --git a/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h b/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h index a868d3de6c169e..14f02c16167c3e 100644 --- a/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h +++ b/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h @@ -2615,7 +2615,6 @@ class Test_TC_ACL_1_1 : public TestCommandBridge { VerifyOrReturn(CheckConstraintContains("attributeList", value, 4UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65533UL)); @@ -6323,7 +6322,6 @@ class Test_TC_BOOL_1_1 : public TestCommandBridge { VerifyOrReturn(CheckConstraintContains("attributeList", value, 0UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65533UL)); @@ -6842,7 +6840,6 @@ class Test_TC_BRBINFO_1_1 : public TestCommandBridge { VerifyOrReturn(CheckConstraintContains("attributeList", value, 17UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65533UL)); @@ -7423,7 +7420,6 @@ class Test_TC_ACT_1_1 : public TestCommandBridge { VerifyOrReturn(CheckConstraintContains("attributeList", value, 1UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65533UL)); @@ -7683,7 +7679,6 @@ class Test_TC_BIND_1_1 : public TestCommandBridge { VerifyOrReturn(CheckConstraintContains("attributeList", value, 0UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65533UL)); @@ -8496,7 +8491,6 @@ class Test_TC_CC_1_1 : public TestCommandBridge { VerifyOrReturn(CheckConstraintContains("attributeList", value, 16394UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65533UL)); @@ -22732,7 +22726,6 @@ class Test_TC_CNET_1_3 : public TestCommandBridge { VerifyOrReturn(CheckConstraintType("attributeList", "list", "list")); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65533UL)); @@ -23156,7 +23149,6 @@ class Test_TC_DESC_1_1 : public TestCommandBridge { VerifyOrReturn(CheckConstraintContains("attributeList", value, 3UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65533UL)); @@ -23398,7 +23390,6 @@ class Test_TC_DLOG_1_1 : public TestCommandBridge { VerifyOrReturn(CheckConstraintType("attributeList", "list", "list")); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65533UL)); @@ -23840,7 +23831,6 @@ class Test_TC_DGETH_1_1 : public TestCommandBridge { VerifyOrReturn(CheckConstraintType("attributeList", "list", "list")); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65533UL)); @@ -25709,7 +25699,6 @@ class Test_TC_FLW_1_1 : public TestCommandBridge { VerifyOrReturn(CheckConstraintContains("attributeList", value, 2UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65533UL)); @@ -26199,7 +26188,6 @@ class Test_TC_FLABEL_1_1 : public TestCommandBridge { VerifyOrReturn(CheckConstraintContains("attributeList", value, 0UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65533UL)); @@ -26452,7 +26440,6 @@ class Test_TC_CGEN_1_1 : public TestCommandBridge { VerifyOrReturn(CheckConstraintContains("attributeList", value, 4UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65533UL)); @@ -27097,7 +27084,6 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { VerifyOrReturn(CheckConstraintContains("attributeList", value, 8UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65533UL)); @@ -27982,7 +27968,6 @@ class Test_TC_I_1_1 : public TestCommandBridge { VerifyOrReturn(CheckConstraintContains("attributeList", value, 1UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65533UL)); @@ -29471,7 +29456,6 @@ class Test_TC_ILL_1_1 : public TestCommandBridge { VerifyOrReturn(CheckConstraintContains("attributeList", value, 2UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65533UL)); @@ -30546,7 +30530,6 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { VerifyOrReturn(CheckConstraintContains("attributeList", value, 17UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65533UL)); @@ -36355,7 +36338,6 @@ class Test_TC_LCFG_1_1 : public TestCommandBridge { VerifyOrReturn(CheckConstraintContains("attributeList", value, 1UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65533UL)); @@ -36662,7 +36644,6 @@ class Test_TC_LUNIT_1_2 : public TestCommandBridge { VerifyOrReturn(CheckConstraintType("attributeList", "list", "list")); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65533UL)); @@ -37323,7 +37304,6 @@ class Test_TC_LTIME_1_2 : public TestCommandBridge { VerifyOrReturn(CheckConstraintContains("attributeList", value, 0UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65533UL)); @@ -37614,13 +37594,12 @@ class Test_TC_LOWPOWER_1_1 : public TestCommandBridge { { id actualValue = value; - VerifyOrReturn(CheckValue("AttributeList", [actualValue count], static_cast(6))); + VerifyOrReturn(CheckValue("AttributeList", [actualValue count], static_cast(5))); VerifyOrReturn(CheckValue("", actualValue[0], 65528UL)); VerifyOrReturn(CheckValue("", actualValue[1], 65529UL)); - VerifyOrReturn(CheckValue("", actualValue[2], 65530UL)); - VerifyOrReturn(CheckValue("", actualValue[3], 65531UL)); - VerifyOrReturn(CheckValue("", actualValue[4], 65532UL)); - VerifyOrReturn(CheckValue("", actualValue[5], 65533UL)); + VerifyOrReturn(CheckValue("", actualValue[2], 65531UL)); + VerifyOrReturn(CheckValue("", actualValue[3], 65532UL)); + VerifyOrReturn(CheckValue("", actualValue[4], 65533UL)); } VerifyOrReturn(CheckConstraintType("attributeList", "list", "list")); @@ -37956,7 +37935,6 @@ class Test_TC_KEYPADINPUT_1_2 : public TestCommandBridge { VerifyOrReturn(CheckConstraintType("attributeList", "list", "list")); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65533UL)); @@ -38261,7 +38239,6 @@ class Test_TC_APPLAUNCHER_1_3 : public TestCommandBridge { VerifyOrReturn(CheckConstraintType("attributeList", "list", "list")); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65533UL)); @@ -38605,7 +38582,6 @@ class Test_TC_MEDIAINPUT_1_4 : public TestCommandBridge { VerifyOrReturn(CheckConstraintType("attributeList", "list", "list")); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65533UL)); @@ -38900,7 +38876,6 @@ class Test_TC_WAKEONLAN_1_5 : public TestCommandBridge { VerifyOrReturn(CheckConstraintType("attributeList", "list", "list")); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65533UL)); @@ -39302,7 +39277,6 @@ class Test_TC_CHANNEL_1_6 : public TestCommandBridge { VerifyOrReturn(CheckConstraintType("attributeList", "list", "list")); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65533UL)); @@ -39886,7 +39860,6 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { VerifyOrReturn(CheckConstraintContains("attributeList", value, 0UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65533UL)); @@ -40418,7 +40391,6 @@ class Test_TC_AUDIOOUTPUT_1_8 : public TestCommandBridge { VerifyOrReturn(CheckConstraintContains("attributeList", value, 1UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65533UL)); @@ -40669,7 +40641,6 @@ class Test_TC_TGTNAV_1_9 : public TestCommandBridge { VerifyOrReturn(CheckConstraintContains("attributeList", value, 0UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65533UL)); @@ -41034,7 +41005,6 @@ class Test_TC_APBSC_1_10 : public TestCommandBridge { VerifyOrReturn(CheckConstraintContains("attributeList", value, 7UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65533UL)); @@ -41445,7 +41415,6 @@ class Test_TC_CONTENTLAUNCHER_1_11 : public TestCommandBridge { VerifyOrReturn(CheckConstraintType("attributeList", "list", "list")); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65533UL)); @@ -41744,7 +41713,6 @@ class Test_TC_ALOGIN_1_12 : public TestCommandBridge { VerifyOrReturn(CheckConstraintType("attributeList", "list", "list")); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65533UL)); @@ -47880,7 +47848,6 @@ class Test_TC_MOD_1_1 : public TestCommandBridge { VerifyOrReturn(CheckConstraintContains("attributeList", value, 3UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65533UL)); @@ -48499,7 +48466,6 @@ class Test_TC_OCC_1_1 : public TestCommandBridge { VerifyOrReturn(CheckConstraintContains("attributeList", value, 2UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65533UL)); @@ -49454,7 +49420,6 @@ class Test_TC_OO_1_1 : public TestCommandBridge { VerifyOrReturn(CheckConstraintContains("attributeList", value, 0UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65533UL)); @@ -51695,7 +51660,6 @@ class Test_TC_PS_1_1 : public TestCommandBridge { VerifyOrReturn(CheckConstraintContains("attributeList", value, 2UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65533UL)); @@ -53248,7 +53212,6 @@ class Test_TC_PRS_1_1 : public TestCommandBridge { VerifyOrReturn(CheckConstraintContains("attributeList", value, 2UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65533UL)); @@ -54678,7 +54641,6 @@ class Test_TC_PCC_1_1 : public TestCommandBridge { VerifyOrReturn(CheckConstraintContains("attributeList", value, 32UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65533UL)); @@ -57700,7 +57662,6 @@ class Test_TC_PSCFG_1_1 : public TestCommandBridge { VerifyOrReturn(CheckConstraintContains("attributeList", value, 0UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65533UL)); @@ -58083,7 +58044,6 @@ class Test_TC_RH_1_1 : public TestCommandBridge { VerifyOrReturn(CheckConstraintContains("attributeList", value, 2UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65533UL)); @@ -59573,7 +59533,6 @@ class Test_TC_SWTCH_1_1 : public TestCommandBridge { VerifyOrReturn(CheckConstraintContains("attributeList", value, 2UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65533UL)); @@ -59601,7 +59560,6 @@ class Test_TC_SWTCH_1_1 : public TestCommandBridge { VerifyOrReturn(CheckConstraintContains("attributeList", value, 1UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65533UL)); @@ -59858,7 +59816,6 @@ class Test_TC_TMP_1_1 : public TestCommandBridge { VerifyOrReturn(CheckConstraintContains("attributeList", value, 2UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65533UL)); @@ -60671,7 +60628,6 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { VerifyOrReturn(CheckConstraintContains("attributeList", value, 28UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65533UL)); @@ -61135,7 +61091,6 @@ class Test_TC_TSUIC_1_1 : public TestCommandBridge { VerifyOrReturn(CheckConstraintContains("attributeList", value, 2UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65533UL)); @@ -63459,7 +63414,6 @@ class Test_TC_ULABEL_1_1 : public TestCommandBridge { VerifyOrReturn(CheckConstraintContains("attributeList", value, 0UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65533UL)); @@ -64545,7 +64499,6 @@ class Test_TC_DGWIFI_1_1 : public TestCommandBridge { VerifyOrReturn(CheckConstraintContains("attributeList", value, 4UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65533UL)); @@ -66078,7 +66031,6 @@ class Test_TC_WNCV_1_1 : public TestCommandBridge { VerifyOrReturn(CheckConstraintContains("attributeList", value, 23UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65533UL)); @@ -98776,7 +98728,7 @@ class TestBasicInformation : public TestCommandBridge { { id actualValue = value; - VerifyOrReturn(CheckValue("AttributeList", [actualValue count], static_cast(26))); + VerifyOrReturn(CheckValue("AttributeList", [actualValue count], static_cast(25))); VerifyOrReturn(CheckValue("", actualValue[0], 0UL)); VerifyOrReturn(CheckValue("", actualValue[1], 1UL)); VerifyOrReturn(CheckValue("", actualValue[2], 2UL)); @@ -98799,10 +98751,9 @@ class TestBasicInformation : public TestCommandBridge { VerifyOrReturn(CheckValue("", actualValue[19], 19UL)); VerifyOrReturn(CheckValue("", actualValue[20], 65528UL)); VerifyOrReturn(CheckValue("", actualValue[21], 65529UL)); - VerifyOrReturn(CheckValue("", actualValue[22], 65530UL)); - VerifyOrReturn(CheckValue("", actualValue[23], 65531UL)); - VerifyOrReturn(CheckValue("", actualValue[24], 65532UL)); - VerifyOrReturn(CheckValue("", actualValue[25], 65533UL)); + VerifyOrReturn(CheckValue("", actualValue[22], 65531UL)); + VerifyOrReturn(CheckValue("", actualValue[23], 65532UL)); + VerifyOrReturn(CheckValue("", actualValue[24], 65533UL)); } NextTest(); @@ -108494,7 +108445,6 @@ class Test_TC_DGSW_1_1 : public TestCommandBridge { VerifyOrReturn(CheckConstraintType("attributeList", "list", "list")); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65533UL)); @@ -123146,7 +123096,6 @@ class Test_TC_DRLK_1_1 : public TestCommandBridge { VerifyOrReturn(CheckConstraintContains("attributeList", value, 38UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65533UL)); @@ -133534,7 +133483,6 @@ class Test_TC_G_1_1 : public TestCommandBridge { VerifyOrReturn(CheckConstraintContains("attributeList", value, 0UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65528UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65529UL)); - VerifyOrReturn(CheckConstraintContains("attributeList", value, 65530UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65531UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65532UL)); VerifyOrReturn(CheckConstraintContains("attributeList", value, 65533UL));