From c3de94ecb4cdae90133492b06a8fe7739dadd892 Mon Sep 17 00:00:00 2001 From: Yunhan Wang Date: Mon, 1 Nov 2021 08:23:16 -0700 Subject: [PATCH] address comments --- src/app/MessageDef/ArrayBuilder.cpp | 4 +- src/app/MessageDef/ArrayBuilder.h | 4 +- src/app/MessageDef/ArrayParser.cpp | 4 +- src/app/MessageDef/ArrayParser.h | 4 +- src/app/MessageDef/Builder.cpp | 4 +- src/app/MessageDef/Builder.h | 4 +- src/app/MessageDef/ListBuilder.cpp | 4 +- src/app/MessageDef/ListBuilder.h | 6 +- src/app/MessageDef/ListParser.cpp | 4 +- src/app/MessageDef/ListParser.h | 4 +- src/app/MessageDef/Parser.cpp | 4 +- src/app/MessageDef/Parser.h | 4 +- src/app/MessageDef/StructBuilder.cpp | 4 +- src/app/MessageDef/StructBuilder.h | 6 +- src/app/MessageDef/StructParser.cpp | 4 +- src/app/MessageDef/StructParser.h | 4 +- .../python/chip/clusters/CHIPClusters.py | 11135 +++++++--------- .../python/chip/clusters/Objects.py | 5519 ++++---- 18 files changed, 7945 insertions(+), 8777 deletions(-) diff --git a/src/app/MessageDef/ArrayBuilder.cpp b/src/app/MessageDef/ArrayBuilder.cpp index 202adbe415b3d8..c1727e861fb954 100644 --- a/src/app/MessageDef/ArrayBuilder.cpp +++ b/src/app/MessageDef/ArrayBuilder.cpp @@ -37,5 +37,5 @@ CHIP_ERROR ArrayBuilder::Init(TLV::TLVWriter * const apWriter) return mError; } -}; // namespace app -}; // namespace chip +} // namespace app +} // namespace chip diff --git a/src/app/MessageDef/ArrayBuilder.h b/src/app/MessageDef/ArrayBuilder.h index 1b5b67efd7a957..d2d651efe5ac71 100644 --- a/src/app/MessageDef/ArrayBuilder.h +++ b/src/app/MessageDef/ArrayBuilder.h @@ -52,5 +52,5 @@ class ArrayBuilder : public Builder CHIP_ERROR Init(TLV::TLVWriter * const apWriter); }; -}; // namespace app -}; // namespace chip +} // namespace app +} // namespace chip diff --git a/src/app/MessageDef/ArrayParser.cpp b/src/app/MessageDef/ArrayParser.cpp index bd53d024386223..93bba53ec55886 100644 --- a/src/app/MessageDef/ArrayParser.cpp +++ b/src/app/MessageDef/ArrayParser.cpp @@ -27,5 +27,5 @@ CHIP_ERROR ArrayParser::Init(const TLV::TLVReader & aReader) ReturnLogErrorOnFailure(mReader.EnterContainer(mOuterContainerType)); return CHIP_NO_ERROR; } -}; // namespace app -}; // namespace chip +} // namespace app +} // namespace chip diff --git a/src/app/MessageDef/ArrayParser.h b/src/app/MessageDef/ArrayParser.h index 1cfa4900d46eed..9531c534fce453 100644 --- a/src/app/MessageDef/ArrayParser.h +++ b/src/app/MessageDef/ArrayParser.h @@ -34,5 +34,5 @@ class ArrayParser : public Parser */ CHIP_ERROR Init(const TLV::TLVReader & aReader); }; -}; // namespace app -}; // namespace chip +} // namespace app +} // namespace chip diff --git a/src/app/MessageDef/Builder.cpp b/src/app/MessageDef/Builder.cpp index 2367d231fe5253..fed0811a34b19c 100644 --- a/src/app/MessageDef/Builder.cpp +++ b/src/app/MessageDef/Builder.cpp @@ -74,5 +74,5 @@ CHIP_ERROR Builder::InitAnonymousStructure(chip::TLV::TLVWriter * const apWriter return mError; } -}; // namespace app -}; // namespace chip +} // namespace app +} // namespace chip diff --git a/src/app/MessageDef/Builder.h b/src/app/MessageDef/Builder.h index 3aaef32803ca7c..1ffbb3e78afdcf 100644 --- a/src/app/MessageDef/Builder.h +++ b/src/app/MessageDef/Builder.h @@ -95,5 +95,5 @@ class Builder Builder(); CHIP_ERROR InitAnonymousStructure(chip::TLV::TLVWriter * const apWriter); }; -}; // namespace app -}; // namespace chip +} // namespace app +} // namespace chip diff --git a/src/app/MessageDef/ListBuilder.cpp b/src/app/MessageDef/ListBuilder.cpp index c383747bc280e8..54114c00b9795b 100644 --- a/src/app/MessageDef/ListBuilder.cpp +++ b/src/app/MessageDef/ListBuilder.cpp @@ -39,5 +39,5 @@ CHIP_ERROR ListBuilder::Init(TLV::TLVWriter * const apWriter) return mError; } -}; // namespace app -}; // namespace chip +} // namespace app +} // namespace chip diff --git a/src/app/MessageDef/ListBuilder.h b/src/app/MessageDef/ListBuilder.h index deeeb0af3472aa..37b87b2974d289 100644 --- a/src/app/MessageDef/ListBuilder.h +++ b/src/app/MessageDef/ListBuilder.h @@ -51,7 +51,7 @@ class ListBuilder : public Builder * @return CHIP_ERROR codes returned by chip::TLV objects. */ CHIP_ERROR Init(TLV::TLVWriter * const apWriter); -}; +} -}; // namespace app -}; // namespace chip +} // namespace app +} // namespace chip diff --git a/src/app/MessageDef/ListParser.cpp b/src/app/MessageDef/ListParser.cpp index 21b6b7bff3e6b1..4d0b7fbdf6c42e 100644 --- a/src/app/MessageDef/ListParser.cpp +++ b/src/app/MessageDef/ListParser.cpp @@ -27,5 +27,5 @@ CHIP_ERROR ListParser::Init(const TLV::TLVReader & aReader) ReturnLogErrorOnFailure(mReader.EnterContainer(mOuterContainerType)); return CHIP_NO_ERROR; } -}; // namespace app -}; // namespace chip +} // namespace app +} // namespace chip diff --git a/src/app/MessageDef/ListParser.h b/src/app/MessageDef/ListParser.h index 0f0359faf9a8b7..e0632690524576 100644 --- a/src/app/MessageDef/ListParser.h +++ b/src/app/MessageDef/ListParser.h @@ -34,5 +34,5 @@ class ListParser : public Parser */ CHIP_ERROR Init(const TLV::TLVReader & aReader); }; -}; // namespace app -}; // namespace chip +} // namespace app +} // namespace chip diff --git a/src/app/MessageDef/Parser.cpp b/src/app/MessageDef/Parser.cpp index 1303a6ac440603..04aaea0f36b7e7 100644 --- a/src/app/MessageDef/Parser.cpp +++ b/src/app/MessageDef/Parser.cpp @@ -54,5 +54,5 @@ CHIP_ERROR Parser::Next() ChipLogIfFalse((CHIP_NO_ERROR == err) || (CHIP_END_OF_TLV == err)); return err; } -}; // namespace app -}; // namespace chip +} // namespace app +} // namespace chip diff --git a/src/app/MessageDef/Parser.h b/src/app/MessageDef/Parser.h index 7030a73e0b36a0..446703bf417ccf 100644 --- a/src/app/MessageDef/Parser.h +++ b/src/app/MessageDef/Parser.h @@ -102,5 +102,5 @@ class Parser return err; }; }; -}; // namespace app -}; // namespace chip +} // namespace app +} // namespace chip diff --git a/src/app/MessageDef/StructBuilder.cpp b/src/app/MessageDef/StructBuilder.cpp index b891db7316392d..261187e81889c6 100644 --- a/src/app/MessageDef/StructBuilder.cpp +++ b/src/app/MessageDef/StructBuilder.cpp @@ -35,5 +35,5 @@ CHIP_ERROR StructBuilder::Init(TLV::TLVWriter * const apWriter) mError = mpWriter->StartContainer(TLV::AnonymousTag, TLV::kTLVType_Structure, mOuterContainerType); return mError; } -}; // namespace app -}; // namespace chip +} // namespace app +} // namespace chip diff --git a/src/app/MessageDef/StructBuilder.h b/src/app/MessageDef/StructBuilder.h index 7851306e05b86e..06bcccbc39448d 100644 --- a/src/app/MessageDef/StructBuilder.h +++ b/src/app/MessageDef/StructBuilder.h @@ -50,7 +50,7 @@ class StructBuilder : public Builder * @return CHIP_ERROR codes returned by chip::TLV objects. */ CHIP_ERROR Init(TLV::TLVWriter * const apWriter); -}; +} -}; // namespace app -}; // namespace chip +} // namespace app +} // namespace chip diff --git a/src/app/MessageDef/StructParser.cpp b/src/app/MessageDef/StructParser.cpp index 58a265db520976..8b960b81e3e8da 100644 --- a/src/app/MessageDef/StructParser.cpp +++ b/src/app/MessageDef/StructParser.cpp @@ -25,5 +25,5 @@ CHIP_ERROR StructParser::Init(const TLV::TLVReader & aReader) ReturnLogErrorOnFailure(mReader.EnterContainer(mOuterContainerType)); return CHIP_NO_ERROR; } -}; // namespace app -}; // namespace chip +} // namespace app +} // namespace chip diff --git a/src/app/MessageDef/StructParser.h b/src/app/MessageDef/StructParser.h index fdf4ffa081ce8e..6206ec1bd29543 100644 --- a/src/app/MessageDef/StructParser.h +++ b/src/app/MessageDef/StructParser.h @@ -34,5 +34,5 @@ class StructParser : public Parser */ CHIP_ERROR Init(const TLV::TLVReader & aReader); }; -}; // namespace app -}; // namespace chip +} // namespace app +} // namespace chip diff --git a/src/controller/python/chip/clusters/CHIPClusters.py b/src/controller/python/chip/clusters/CHIPClusters.py index 2723ad8a489f40..6960a3fa73f3e5 100644 --- a/src/controller/python/chip/clusters/CHIPClusters.py +++ b/src/controller/python/chip/clusters/CHIPClusters.py @@ -25,4364 +25,4363 @@ __all__ = ["ChipClusters"] - class ChipClusters: SUCCESS_DELEGATE = ctypes.CFUNCTYPE(None) FAILURE_DELEGATE = ctypes.CFUNCTYPE(None, ctypes.c_uint8) _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", + }, }, - }, 0x00000001: { - "commandId": 0x00000001, - "commandName": "Login", - "args": { - "tempAccountIdentifier": "str", - "setupPIN": "str", + "commandId": 0x00000001, + "commandName": "Login", + "args": { + "tempAccountIdentifier": "str", + "setupPIN": "str", + }, }, }, - }, - "attributes": { - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", + "attributes": { + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + }, }, - }, } _ADMINISTRATOR_COMMISSIONING_CLUSTER_INFO = { - "clusterName": "AdministratorCommissioning", - "clusterId": 0x0000003C, - "commands": { + "clusterName": "AdministratorCommissioning", + "clusterId": 0x0000003C, + "commands": { 0x00000001: { - "commandId": 0x00000001, - "commandName": "OpenBasicCommissioningWindow", - "args": { - "commissioningTimeout": "int", + "commandId": 0x00000001, + "commandName": "OpenBasicCommissioningWindow", + "args": { + "commissioningTimeout": "int", + }, }, - }, 0x00000000: { - "commandId": 0x00000000, - "commandName": "OpenCommissioningWindow", - "args": { - "commissioningTimeout": "int", - "PAKEVerifier": "bytes", - "discriminator": "int", - "iterations": "int", - "salt": "bytes", - "passcodeID": "int", + "commandId": 0x00000000, + "commandName": "OpenCommissioningWindow", + "args": { + "commissioningTimeout": "int", + "PAKEVerifier": "bytes", + "discriminator": "int", + "iterations": "int", + "salt": "bytes", + "passcodeID": "int", + }, }, - }, 0x00000002: { - "commandId": 0x00000002, - "commandName": "RevokeCommissioning", - "args": { + "commandId": 0x00000002, + "commandName": "RevokeCommissioning", + "args": { + }, }, }, - }, - "attributes": { - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", + "attributes": { + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + }, }, - }, } _APPLICATION_BASIC_CLUSTER_INFO = { - "clusterName": "ApplicationBasic", - "clusterId": 0x0000050D, - "commands": { + "clusterName": "ApplicationBasic", + "clusterId": 0x0000050D, + "commands": { 0x00000000: { - "commandId": 0x00000000, - "commandName": "ChangeStatus", - "args": { - "status": "int", + "commandId": 0x00000000, + "commandName": "ChangeStatus", + "args": { + "status": "int", + }, + }, + }, + "attributes": { + 0x00000000: { + "attributeName": "VendorName", + "attributeId": 0x00000000, + "type": "str", + }, + 0x00000001: { + "attributeName": "VendorId", + "attributeId": 0x00000001, + "type": "int", + }, + 0x00000002: { + "attributeName": "ApplicationName", + "attributeId": 0x00000002, + "type": "str", + }, + 0x00000003: { + "attributeName": "ProductId", + "attributeId": 0x00000003, + "type": "int", + }, + 0x00000005: { + "attributeName": "ApplicationId", + "attributeId": 0x00000005, + "type": "str", + }, + 0x00000006: { + "attributeName": "CatalogVendorId", + "attributeId": 0x00000006, + "type": "int", + }, + 0x00000007: { + "attributeName": "ApplicationStatus", + "attributeId": 0x00000007, + "type": "int", + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", }, }, - }, - "attributes": { - 0x00000000: { - "attributeName": "VendorName", - "attributeId": 0x00000000, - "type": "str", - }, - 0x00000001: { - "attributeName": "VendorId", - "attributeId": 0x00000001, - "type": "int", - }, - 0x00000002: { - "attributeName": "ApplicationName", - "attributeId": 0x00000002, - "type": "str", - }, - 0x00000003: { - "attributeName": "ProductId", - "attributeId": 0x00000003, - "type": "int", - }, - 0x00000005: { - "attributeName": "ApplicationId", - "attributeId": 0x00000005, - "type": "str", - }, - 0x00000006: { - "attributeName": "CatalogVendorId", - "attributeId": 0x00000006, - "type": "int", - }, - 0x00000007: { - "attributeName": "ApplicationStatus", - "attributeId": 0x00000007, - "type": "int", - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - }, - }, } _APPLICATION_LAUNCHER_CLUSTER_INFO = { - "clusterName": "ApplicationLauncher", - "clusterId": 0x0000050C, - "commands": { + "clusterName": "ApplicationLauncher", + "clusterId": 0x0000050C, + "commands": { 0x00000000: { - "commandId": 0x00000000, - "commandName": "LaunchApp", - "args": { - "data": "str", - "catalogVendorId": "int", - "applicationId": "str", + "commandId": 0x00000000, + "commandName": "LaunchApp", + "args": { + "data": "str", + "catalogVendorId": "int", + "applicationId": "str", + }, }, }, - }, - "attributes": { - 0x00000000: { - "attributeName": "ApplicationLauncherList", - "attributeId": 0x00000000, - "type": "int", - }, - 0x00000001: { - "attributeName": "CatalogVendorId", - "attributeId": 0x00000001, - "type": "int", - }, - 0x00000002: { - "attributeName": "ApplicationId", - "attributeId": 0x00000002, - "type": "int", - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", + "attributes": { + 0x00000000: { + "attributeName": "ApplicationLauncherList", + "attributeId": 0x00000000, + "type": "int", + }, + 0x00000001: { + "attributeName": "CatalogVendorId", + "attributeId": 0x00000001, + "type": "int", + }, + 0x00000002: { + "attributeName": "ApplicationId", + "attributeId": 0x00000002, + "type": "int", + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + }, }, - }, } _AUDIO_OUTPUT_CLUSTER_INFO = { - "clusterName": "AudioOutput", - "clusterId": 0x0000050B, - "commands": { + "clusterName": "AudioOutput", + "clusterId": 0x0000050B, + "commands": { 0x00000001: { - "commandId": 0x00000001, - "commandName": "RenameOutput", - "args": { - "index": "int", - "name": "str", + "commandId": 0x00000001, + "commandName": "RenameOutput", + "args": { + "index": "int", + "name": "str", + }, }, - }, 0x00000000: { - "commandId": 0x00000000, - "commandName": "SelectOutput", - "args": { - "index": "int", + "commandId": 0x00000000, + "commandName": "SelectOutput", + "args": { + "index": "int", + }, }, }, - }, - "attributes": { - 0x00000000: { - "attributeName": "AudioOutputList", - "attributeId": 0x00000000, - "type": "", - }, - 0x00000001: { - "attributeName": "CurrentAudioOutput", - "attributeId": 0x00000001, - "type": "int", - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", + "attributes": { + 0x00000000: { + "attributeName": "AudioOutputList", + "attributeId": 0x00000000, + "type": "", + }, + 0x00000001: { + "attributeName": "CurrentAudioOutput", + "attributeId": 0x00000001, + "type": "int", + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + }, }, - }, } _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": { + "commandId": 0x00000001, + "commandName": "BarrierControlStop", + "args": { + }, }, }, - }, - "attributes": { - 0x00000001: { - "attributeName": "BarrierMovingState", - "attributeId": 0x00000001, - "type": "int", - }, - 0x00000002: { - "attributeName": "BarrierSafetyStatus", - "attributeId": 0x00000002, - "type": "int", - }, - 0x00000003: { - "attributeName": "BarrierCapabilities", - "attributeId": 0x00000003, - "type": "int", - }, - 0x0000000A: { - "attributeName": "BarrierPosition", - "attributeId": 0x0000000A, - "type": "int", - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", + "attributes": { + 0x00000001: { + "attributeName": "BarrierMovingState", + "attributeId": 0x00000001, + "type": "int", + }, + 0x00000002: { + "attributeName": "BarrierSafetyStatus", + "attributeId": 0x00000002, + "type": "int", + }, + 0x00000003: { + "attributeName": "BarrierCapabilities", + "attributeId": 0x00000003, + "type": "int", + }, + 0x0000000A: { + "attributeName": "BarrierPosition", + "attributeId": 0x0000000A, + "type": "int", + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + }, }, - }, } _BASIC_CLUSTER_INFO = { - "clusterName": "Basic", - "clusterId": 0x00000028, - "commands": { + "clusterName": "Basic", + "clusterId": 0x00000028, + "commands": { 0x00000000: { - "commandId": 0x00000000, - "commandName": "MfgSpecificPing", - "args": { + "commandId": 0x00000000, + "commandName": "MfgSpecificPing", + "args": { + }, + }, + }, + "attributes": { + 0x00000000: { + "attributeName": "InteractionModelVersion", + "attributeId": 0x00000000, + "type": "int", + }, + 0x00000001: { + "attributeName": "VendorName", + "attributeId": 0x00000001, + "type": "str", + }, + 0x00000002: { + "attributeName": "VendorID", + "attributeId": 0x00000002, + "type": "int", + }, + 0x00000003: { + "attributeName": "ProductName", + "attributeId": 0x00000003, + "type": "str", + }, + 0x00000004: { + "attributeName": "ProductID", + "attributeId": 0x00000004, + "type": "int", + }, + 0x00000005: { + "attributeName": "UserLabel", + "attributeId": 0x00000005, + "type": "str", + "writable": True, + }, + 0x00000006: { + "attributeName": "Location", + "attributeId": 0x00000006, + "type": "str", + "writable": True, + }, + 0x00000007: { + "attributeName": "HardwareVersion", + "attributeId": 0x00000007, + "type": "int", + }, + 0x00000008: { + "attributeName": "HardwareVersionString", + "attributeId": 0x00000008, + "type": "str", + }, + 0x00000009: { + "attributeName": "SoftwareVersion", + "attributeId": 0x00000009, + "type": "int", + }, + 0x0000000A: { + "attributeName": "SoftwareVersionString", + "attributeId": 0x0000000A, + "type": "str", + }, + 0x0000000B: { + "attributeName": "ManufacturingDate", + "attributeId": 0x0000000B, + "type": "str", + }, + 0x0000000C: { + "attributeName": "PartNumber", + "attributeId": 0x0000000C, + "type": "str", + }, + 0x0000000D: { + "attributeName": "ProductURL", + "attributeId": 0x0000000D, + "type": "str", + }, + 0x0000000E: { + "attributeName": "ProductLabel", + "attributeId": 0x0000000E, + "type": "str", + }, + 0x0000000F: { + "attributeName": "SerialNumber", + "attributeId": 0x0000000F, + "type": "str", + }, + 0x00000010: { + "attributeName": "LocalConfigDisabled", + "attributeId": 0x00000010, + "type": "bool", + "writable": True, + }, + 0x00000011: { + "attributeName": "Reachable", + "attributeId": 0x00000011, + "type": "bool", + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", }, }, - }, - "attributes": { - 0x00000000: { - "attributeName": "InteractionModelVersion", - "attributeId": 0x00000000, - "type": "int", - }, - 0x00000001: { - "attributeName": "VendorName", - "attributeId": 0x00000001, - "type": "str", - }, - 0x00000002: { - "attributeName": "VendorID", - "attributeId": 0x00000002, - "type": "int", - }, - 0x00000003: { - "attributeName": "ProductName", - "attributeId": 0x00000003, - "type": "str", - }, - 0x00000004: { - "attributeName": "ProductID", - "attributeId": 0x00000004, - "type": "int", - }, - 0x00000005: { - "attributeName": "UserLabel", - "attributeId": 0x00000005, - "type": "str", - "writable": True, - }, - 0x00000006: { - "attributeName": "Location", - "attributeId": 0x00000006, - "type": "str", - "writable": True, - }, - 0x00000007: { - "attributeName": "HardwareVersion", - "attributeId": 0x00000007, - "type": "int", - }, - 0x00000008: { - "attributeName": "HardwareVersionString", - "attributeId": 0x00000008, - "type": "str", - }, - 0x00000009: { - "attributeName": "SoftwareVersion", - "attributeId": 0x00000009, - "type": "int", - }, - 0x0000000A: { - "attributeName": "SoftwareVersionString", - "attributeId": 0x0000000A, - "type": "str", - }, - 0x0000000B: { - "attributeName": "ManufacturingDate", - "attributeId": 0x0000000B, - "type": "str", - }, - 0x0000000C: { - "attributeName": "PartNumber", - "attributeId": 0x0000000C, - "type": "str", - }, - 0x0000000D: { - "attributeName": "ProductURL", - "attributeId": 0x0000000D, - "type": "str", - }, - 0x0000000E: { - "attributeName": "ProductLabel", - "attributeId": 0x0000000E, - "type": "str", - }, - 0x0000000F: { - "attributeName": "SerialNumber", - "attributeId": 0x0000000F, - "type": "str", - }, - 0x00000010: { - "attributeName": "LocalConfigDisabled", - "attributeId": 0x00000010, - "type": "bool", - "writable": True, - }, - 0x00000011: { - "attributeName": "Reachable", - "attributeId": 0x00000011, - "type": "bool", - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - }, - }, } _BINARY_INPUT_BASIC_CLUSTER_INFO = { - "clusterName": "BinaryInputBasic", - "clusterId": 0x0000000F, - "commands": { - }, - "attributes": { - 0x00000051: { - "attributeName": "OutOfService", - "attributeId": 0x00000051, - "type": "bool", - "writable": True, - }, - 0x00000055: { - "attributeName": "PresentValue", - "attributeId": 0x00000055, - "type": "bool", - "reportable": True, - "writable": True, - }, - 0x0000006F: { - "attributeName": "StatusFlags", - "attributeId": 0x0000006F, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", + "clusterName": "BinaryInputBasic", + "clusterId": 0x0000000F, + "commands": { + }, + "attributes": { + 0x00000051: { + "attributeName": "OutOfService", + "attributeId": 0x00000051, + "type": "bool", + "writable": True, + }, + 0x00000055: { + "attributeName": "PresentValue", + "attributeId": 0x00000055, + "type": "bool", + "reportable": True, + "writable": True, + }, + 0x0000006F: { + "attributeName": "StatusFlags", + "attributeId": 0x0000006F, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + }, }, - }, } _BINDING_CLUSTER_INFO = { - "clusterName": "Binding", - "clusterId": 0x0000F000, - "commands": { + "clusterName": "Binding", + "clusterId": 0x0000F000, + "commands": { 0x00000000: { - "commandId": 0x00000000, - "commandName": "Bind", - "args": { - "nodeId": "int", - "groupId": "int", - "endpointId": "int", - "clusterId": "int", + "commandId": 0x00000000, + "commandName": "Bind", + "args": { + "nodeId": "int", + "groupId": "int", + "endpointId": "int", + "clusterId": "int", + }, }, - }, 0x00000001: { - "commandId": 0x00000001, - "commandName": "Unbind", - "args": { - "nodeId": "int", - "groupId": "int", - "endpointId": "int", - "clusterId": "int", + "commandId": 0x00000001, + "commandName": "Unbind", + "args": { + "nodeId": "int", + "groupId": "int", + "endpointId": "int", + "clusterId": "int", + }, }, }, - }, - "attributes": { - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", + "attributes": { + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + }, }, - }, } _BOOLEAN_STATE_CLUSTER_INFO = { - "clusterName": "BooleanState", - "clusterId": 0x00000045, - "commands": { - }, - "attributes": { - 0x00000000: { - "attributeName": "StateValue", - "attributeId": 0x00000000, - "type": "bool", - "reportable": True, + "clusterName": "BooleanState", + "clusterId": 0x00000045, + "commands": { }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", + "attributes": { + 0x00000000: { + "attributeName": "StateValue", + "attributeId": 0x00000000, + "type": "bool", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + }, }, - }, } _BRIDGED_ACTIONS_CLUSTER_INFO = { - "clusterName": "BridgedActions", - "clusterId": 0x00000025, - "commands": { + "clusterName": "BridgedActions", + "clusterId": 0x00000025, + "commands": { 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", + "commandId": 0x0000000B, + "commandName": "DisableActionWithDuration", + "args": { + "actionID": "int", + "invokeID": "int", + "duration": "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", + }, }, - }, 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", + }, }, - }, 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", + }, }, - }, 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", + }, }, }, - }, - "attributes": { - 0x00000000: { - "attributeName": "ActionList", - "attributeId": 0x00000000, - "type": "", - }, - 0x00000001: { - "attributeName": "EndpointList", - "attributeId": 0x00000001, - "type": "", - }, - 0x00000002: { - "attributeName": "SetupUrl", - "attributeId": 0x00000002, - "type": "str", - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", + "attributes": { + 0x00000000: { + "attributeName": "ActionList", + "attributeId": 0x00000000, + "type": "", + }, + 0x00000001: { + "attributeName": "EndpointList", + "attributeId": 0x00000001, + "type": "", + }, + 0x00000002: { + "attributeName": "SetupUrl", + "attributeId": 0x00000002, + "type": "str", + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + }, }, - }, } _BRIDGED_DEVICE_BASIC_CLUSTER_INFO = { - "clusterName": "BridgedDeviceBasic", - "clusterId": 0x00000039, - "commands": { - }, - "attributes": { - 0x00000001: { - "attributeName": "VendorName", - "attributeId": 0x00000001, - "type": "str", - }, - 0x00000002: { - "attributeName": "VendorID", - "attributeId": 0x00000002, - "type": "int", - }, - 0x00000003: { - "attributeName": "ProductName", - "attributeId": 0x00000003, - "type": "str", - }, - 0x00000005: { - "attributeName": "UserLabel", - "attributeId": 0x00000005, - "type": "str", - "writable": True, - }, - 0x00000007: { - "attributeName": "HardwareVersion", - "attributeId": 0x00000007, - "type": "int", - }, - 0x00000008: { - "attributeName": "HardwareVersionString", - "attributeId": 0x00000008, - "type": "str", - }, - 0x00000009: { - "attributeName": "SoftwareVersion", - "attributeId": 0x00000009, - "type": "int", - }, - 0x0000000A: { - "attributeName": "SoftwareVersionString", - "attributeId": 0x0000000A, - "type": "str", - }, - 0x0000000B: { - "attributeName": "ManufacturingDate", - "attributeId": 0x0000000B, - "type": "str", - }, - 0x0000000C: { - "attributeName": "PartNumber", - "attributeId": 0x0000000C, - "type": "str", - }, - 0x0000000D: { - "attributeName": "ProductURL", - "attributeId": 0x0000000D, - "type": "str", - }, - 0x0000000E: { - "attributeName": "ProductLabel", - "attributeId": 0x0000000E, - "type": "str", - }, - 0x0000000F: { - "attributeName": "SerialNumber", - "attributeId": 0x0000000F, - "type": "str", - }, - 0x00000011: { - "attributeName": "Reachable", - "attributeId": 0x00000011, - "type": "bool", - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", + "clusterName": "BridgedDeviceBasic", + "clusterId": 0x00000039, + "commands": { + }, + "attributes": { + 0x00000001: { + "attributeName": "VendorName", + "attributeId": 0x00000001, + "type": "str", + }, + 0x00000002: { + "attributeName": "VendorID", + "attributeId": 0x00000002, + "type": "int", + }, + 0x00000003: { + "attributeName": "ProductName", + "attributeId": 0x00000003, + "type": "str", + }, + 0x00000005: { + "attributeName": "UserLabel", + "attributeId": 0x00000005, + "type": "str", + "writable": True, + }, + 0x00000007: { + "attributeName": "HardwareVersion", + "attributeId": 0x00000007, + "type": "int", + }, + 0x00000008: { + "attributeName": "HardwareVersionString", + "attributeId": 0x00000008, + "type": "str", + }, + 0x00000009: { + "attributeName": "SoftwareVersion", + "attributeId": 0x00000009, + "type": "int", + }, + 0x0000000A: { + "attributeName": "SoftwareVersionString", + "attributeId": 0x0000000A, + "type": "str", + }, + 0x0000000B: { + "attributeName": "ManufacturingDate", + "attributeId": 0x0000000B, + "type": "str", + }, + 0x0000000C: { + "attributeName": "PartNumber", + "attributeId": 0x0000000C, + "type": "str", + }, + 0x0000000D: { + "attributeName": "ProductURL", + "attributeId": 0x0000000D, + "type": "str", + }, + 0x0000000E: { + "attributeName": "ProductLabel", + "attributeId": 0x0000000E, + "type": "str", + }, + 0x0000000F: { + "attributeName": "SerialNumber", + "attributeId": 0x0000000F, + "type": "str", + }, + 0x00000011: { + "attributeName": "Reachable", + "attributeId": 0x00000011, + "type": "bool", + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + }, }, - }, } _COLOR_CONTROL_CLUSTER_INFO = { - "clusterName": "ColorControl", - "clusterId": 0x00000300, - "commands": { + "clusterName": "ColorControl", + "clusterId": 0x00000300, + "commands": { 0x00000044: { - "commandId": 0x00000044, - "commandName": "ColorLoopSet", - "args": { - "updateFlags": "int", - "action": "int", - "direction": "int", - "time": "int", - "startHue": "int", - "optionsMask": "int", - "optionsOverride": "int", + "commandId": 0x00000044, + "commandName": "ColorLoopSet", + "args": { + "updateFlags": "int", + "action": "int", + "direction": "int", + "time": "int", + "startHue": "int", + "optionsMask": "int", + "optionsOverride": "int", + }, }, - }, 0x00000041: { - "commandId": 0x00000041, - "commandName": "EnhancedMoveHue", - "args": { - "moveMode": "int", - "rate": "int", - "optionsMask": "int", - "optionsOverride": "int", + "commandId": 0x00000041, + "commandName": "EnhancedMoveHue", + "args": { + "moveMode": "int", + "rate": "int", + "optionsMask": "int", + "optionsOverride": "int", + }, }, - }, 0x00000040: { - "commandId": 0x00000040, - "commandName": "EnhancedMoveToHue", - "args": { - "enhancedHue": "int", - "direction": "int", - "transitionTime": "int", - "optionsMask": "int", - "optionsOverride": "int", + "commandId": 0x00000040, + "commandName": "EnhancedMoveToHue", + "args": { + "enhancedHue": "int", + "direction": "int", + "transitionTime": "int", + "optionsMask": "int", + "optionsOverride": "int", + }, }, - }, 0x00000043: { - "commandId": 0x00000043, - "commandName": "EnhancedMoveToHueAndSaturation", - "args": { - "enhancedHue": "int", - "saturation": "int", - "transitionTime": "int", - "optionsMask": "int", - "optionsOverride": "int", + "commandId": 0x00000043, + "commandName": "EnhancedMoveToHueAndSaturation", + "args": { + "enhancedHue": "int", + "saturation": "int", + "transitionTime": "int", + "optionsMask": "int", + "optionsOverride": "int", + }, }, - }, 0x00000042: { - "commandId": 0x00000042, - "commandName": "EnhancedStepHue", - "args": { - "stepMode": "int", - "stepSize": "int", - "transitionTime": "int", - "optionsMask": "int", - "optionsOverride": "int", + "commandId": 0x00000042, + "commandName": "EnhancedStepHue", + "args": { + "stepMode": "int", + "stepSize": "int", + "transitionTime": "int", + "optionsMask": "int", + "optionsOverride": "int", + }, }, - }, 0x00000008: { - "commandId": 0x00000008, - "commandName": "MoveColor", - "args": { - "rateX": "int", - "rateY": "int", - "optionsMask": "int", - "optionsOverride": "int", + "commandId": 0x00000008, + "commandName": "MoveColor", + "args": { + "rateX": "int", + "rateY": "int", + "optionsMask": "int", + "optionsOverride": "int", + }, }, - }, 0x0000004B: { - "commandId": 0x0000004B, - "commandName": "MoveColorTemperature", - "args": { - "moveMode": "int", - "rate": "int", - "colorTemperatureMinimum": "int", - "colorTemperatureMaximum": "int", - "optionsMask": "int", - "optionsOverride": "int", + "commandId": 0x0000004B, + "commandName": "MoveColorTemperature", + "args": { + "moveMode": "int", + "rate": "int", + "colorTemperatureMinimum": "int", + "colorTemperatureMaximum": "int", + "optionsMask": "int", + "optionsOverride": "int", + }, }, - }, 0x00000001: { - "commandId": 0x00000001, - "commandName": "MoveHue", - "args": { - "moveMode": "int", - "rate": "int", - "optionsMask": "int", - "optionsOverride": "int", + "commandId": 0x00000001, + "commandName": "MoveHue", + "args": { + "moveMode": "int", + "rate": "int", + "optionsMask": "int", + "optionsOverride": "int", + }, }, - }, 0x00000004: { - "commandId": 0x00000004, - "commandName": "MoveSaturation", - "args": { - "moveMode": "int", - "rate": "int", - "optionsMask": "int", - "optionsOverride": "int", + "commandId": 0x00000004, + "commandName": "MoveSaturation", + "args": { + "moveMode": "int", + "rate": "int", + "optionsMask": "int", + "optionsOverride": "int", + }, }, - }, 0x00000007: { - "commandId": 0x00000007, - "commandName": "MoveToColor", - "args": { - "colorX": "int", - "colorY": "int", - "transitionTime": "int", - "optionsMask": "int", - "optionsOverride": "int", + "commandId": 0x00000007, + "commandName": "MoveToColor", + "args": { + "colorX": "int", + "colorY": "int", + "transitionTime": "int", + "optionsMask": "int", + "optionsOverride": "int", + }, }, - }, 0x0000000A: { - "commandId": 0x0000000A, - "commandName": "MoveToColorTemperature", - "args": { - "colorTemperature": "int", - "transitionTime": "int", - "optionsMask": "int", - "optionsOverride": "int", + "commandId": 0x0000000A, + "commandName": "MoveToColorTemperature", + "args": { + "colorTemperature": "int", + "transitionTime": "int", + "optionsMask": "int", + "optionsOverride": "int", + }, }, - }, 0x00000000: { - "commandId": 0x00000000, - "commandName": "MoveToHue", - "args": { - "hue": "int", - "direction": "int", - "transitionTime": "int", - "optionsMask": "int", - "optionsOverride": "int", + "commandId": 0x00000000, + "commandName": "MoveToHue", + "args": { + "hue": "int", + "direction": "int", + "transitionTime": "int", + "optionsMask": "int", + "optionsOverride": "int", + }, }, - }, 0x00000006: { - "commandId": 0x00000006, - "commandName": "MoveToHueAndSaturation", - "args": { - "hue": "int", - "saturation": "int", - "transitionTime": "int", - "optionsMask": "int", - "optionsOverride": "int", + "commandId": 0x00000006, + "commandName": "MoveToHueAndSaturation", + "args": { + "hue": "int", + "saturation": "int", + "transitionTime": "int", + "optionsMask": "int", + "optionsOverride": "int", + }, }, - }, 0x00000003: { - "commandId": 0x00000003, - "commandName": "MoveToSaturation", - "args": { - "saturation": "int", - "transitionTime": "int", - "optionsMask": "int", - "optionsOverride": "int", + "commandId": 0x00000003, + "commandName": "MoveToSaturation", + "args": { + "saturation": "int", + "transitionTime": "int", + "optionsMask": "int", + "optionsOverride": "int", + }, }, - }, 0x00000009: { - "commandId": 0x00000009, - "commandName": "StepColor", - "args": { - "stepX": "int", - "stepY": "int", - "transitionTime": "int", - "optionsMask": "int", - "optionsOverride": "int", + "commandId": 0x00000009, + "commandName": "StepColor", + "args": { + "stepX": "int", + "stepY": "int", + "transitionTime": "int", + "optionsMask": "int", + "optionsOverride": "int", + }, }, - }, 0x0000004C: { - "commandId": 0x0000004C, - "commandName": "StepColorTemperature", - "args": { - "stepMode": "int", - "stepSize": "int", - "transitionTime": "int", - "colorTemperatureMinimum": "int", - "colorTemperatureMaximum": "int", - "optionsMask": "int", - "optionsOverride": "int", + "commandId": 0x0000004C, + "commandName": "StepColorTemperature", + "args": { + "stepMode": "int", + "stepSize": "int", + "transitionTime": "int", + "colorTemperatureMinimum": "int", + "colorTemperatureMaximum": "int", + "optionsMask": "int", + "optionsOverride": "int", + }, }, - }, 0x00000002: { - "commandId": 0x00000002, - "commandName": "StepHue", - "args": { - "stepMode": "int", - "stepSize": "int", - "transitionTime": "int", - "optionsMask": "int", - "optionsOverride": "int", + "commandId": 0x00000002, + "commandName": "StepHue", + "args": { + "stepMode": "int", + "stepSize": "int", + "transitionTime": "int", + "optionsMask": "int", + "optionsOverride": "int", + }, }, - }, 0x00000005: { - "commandId": 0x00000005, - "commandName": "StepSaturation", - "args": { - "stepMode": "int", - "stepSize": "int", - "transitionTime": "int", - "optionsMask": "int", - "optionsOverride": "int", + "commandId": 0x00000005, + "commandName": "StepSaturation", + "args": { + "stepMode": "int", + "stepSize": "int", + "transitionTime": "int", + "optionsMask": "int", + "optionsOverride": "int", + }, }, - }, 0x00000047: { - "commandId": 0x00000047, - "commandName": "StopMoveStep", - "args": { - "optionsMask": "int", - "optionsOverride": "int", + "commandId": 0x00000047, + "commandName": "StopMoveStep", + "args": { + "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", + }, + 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", + }, + 0x00000006: { + "attributeName": "CompensationText", + "attributeId": 0x00000006, + "type": "str", + }, + 0x00000007: { + "attributeName": "ColorTemperature", + "attributeId": 0x00000007, + "type": "int", + "reportable": True, + }, + 0x00000008: { + "attributeName": "ColorMode", + "attributeId": 0x00000008, + "type": "int", + }, + 0x0000000F: { + "attributeName": "ColorControlOptions", + "attributeId": 0x0000000F, + "type": "int", + "writable": True, + }, + 0x00000010: { + "attributeName": "NumberOfPrimaries", + "attributeId": 0x00000010, + "type": "int", + }, + 0x00000011: { + "attributeName": "Primary1X", + "attributeId": 0x00000011, + "type": "int", + }, + 0x00000012: { + "attributeName": "Primary1Y", + "attributeId": 0x00000012, + "type": "int", + }, + 0x00000013: { + "attributeName": "Primary1Intensity", + "attributeId": 0x00000013, + "type": "int", + }, + 0x00000015: { + "attributeName": "Primary2X", + "attributeId": 0x00000015, + "type": "int", + }, + 0x00000016: { + "attributeName": "Primary2Y", + "attributeId": 0x00000016, + "type": "int", + }, + 0x00000017: { + "attributeName": "Primary2Intensity", + "attributeId": 0x00000017, + "type": "int", + }, + 0x00000019: { + "attributeName": "Primary3X", + "attributeId": 0x00000019, + "type": "int", + }, + 0x0000001A: { + "attributeName": "Primary3Y", + "attributeId": 0x0000001A, + "type": "int", + }, + 0x0000001B: { + "attributeName": "Primary3Intensity", + "attributeId": 0x0000001B, + "type": "int", + }, + 0x00000020: { + "attributeName": "Primary4X", + "attributeId": 0x00000020, + "type": "int", + }, + 0x00000021: { + "attributeName": "Primary4Y", + "attributeId": 0x00000021, + "type": "int", + }, + 0x00000022: { + "attributeName": "Primary4Intensity", + "attributeId": 0x00000022, + "type": "int", + }, + 0x00000024: { + "attributeName": "Primary5X", + "attributeId": 0x00000024, + "type": "int", + }, + 0x00000025: { + "attributeName": "Primary5Y", + "attributeId": 0x00000025, + "type": "int", + }, + 0x00000026: { + "attributeName": "Primary5Intensity", + "attributeId": 0x00000026, + "type": "int", + }, + 0x00000028: { + "attributeName": "Primary6X", + "attributeId": 0x00000028, + "type": "int", + }, + 0x00000029: { + "attributeName": "Primary6Y", + "attributeId": 0x00000029, + "type": "int", + }, + 0x0000002A: { + "attributeName": "Primary6Intensity", + "attributeId": 0x0000002A, + "type": "int", + }, + 0x00000030: { + "attributeName": "WhitePointX", + "attributeId": 0x00000030, + "type": "int", + "writable": True, + }, + 0x00000031: { + "attributeName": "WhitePointY", + "attributeId": 0x00000031, + "type": "int", + "writable": True, + }, + 0x00000032: { + "attributeName": "ColorPointRX", + "attributeId": 0x00000032, + "type": "int", + "writable": True, + }, + 0x00000033: { + "attributeName": "ColorPointRY", + "attributeId": 0x00000033, + "type": "int", + "writable": True, + }, + 0x00000034: { + "attributeName": "ColorPointRIntensity", + "attributeId": 0x00000034, + "type": "int", + "writable": True, + }, + 0x00000036: { + "attributeName": "ColorPointGX", + "attributeId": 0x00000036, + "type": "int", + "writable": True, + }, + 0x00000037: { + "attributeName": "ColorPointGY", + "attributeId": 0x00000037, + "type": "int", + "writable": True, + }, + 0x00000038: { + "attributeName": "ColorPointGIntensity", + "attributeId": 0x00000038, + "type": "int", + "writable": True, + }, + 0x0000003A: { + "attributeName": "ColorPointBX", + "attributeId": 0x0000003A, + "type": "int", + "writable": True, + }, + 0x0000003B: { + "attributeName": "ColorPointBY", + "attributeId": 0x0000003B, + "type": "int", + "writable": True, + }, + 0x0000003C: { + "attributeName": "ColorPointBIntensity", + "attributeId": 0x0000003C, + "type": "int", + "writable": True, + }, + 0x00004000: { + "attributeName": "EnhancedCurrentHue", + "attributeId": 0x00004000, + "type": "int", + }, + 0x00004001: { + "attributeName": "EnhancedColorMode", + "attributeId": 0x00004001, + "type": "int", + }, + 0x00004002: { + "attributeName": "ColorLoopActive", + "attributeId": 0x00004002, + "type": "int", + }, + 0x00004003: { + "attributeName": "ColorLoopDirection", + "attributeId": 0x00004003, + "type": "int", + }, + 0x00004004: { + "attributeName": "ColorLoopTime", + "attributeId": 0x00004004, + "type": "int", + }, + 0x00004005: { + "attributeName": "ColorLoopStartEnhancedHue", + "attributeId": 0x00004005, + "type": "int", + }, + 0x00004006: { + "attributeName": "ColorLoopStoredEnhancedHue", + "attributeId": 0x00004006, + "type": "int", + }, + 0x0000400A: { + "attributeName": "ColorCapabilities", + "attributeId": 0x0000400A, + "type": "int", + }, + 0x0000400B: { + "attributeName": "ColorTempPhysicalMin", + "attributeId": 0x0000400B, + "type": "int", + }, + 0x0000400C: { + "attributeName": "ColorTempPhysicalMax", + "attributeId": 0x0000400C, + "type": "int", + }, + 0x0000400D: { + "attributeName": "CoupleColorTempToLevelMinMireds", + "attributeId": 0x0000400D, + "type": "int", + }, + 0x00004010: { + "attributeName": "StartUpColorTemperatureMireds", + "attributeId": 0x00004010, + "type": "int", + "writable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", }, }, - }, - "attributes": { + } + _CONTENT_LAUNCHER_CLUSTER_INFO = { + "clusterName": "ContentLauncher", + "clusterId": 0x0000050A, + "commands": { 0x00000000: { - "attributeName": "CurrentHue", - "attributeId": 0x00000000, - "type": "int", - "reportable": True, - }, + "commandId": 0x00000000, + "commandName": "LaunchContent", + "args": { + "autoPlay": "bool", + "data": "str", + }, + }, 0x00000001: { - "attributeName": "CurrentSaturation", - "attributeId": 0x00000001, - "type": "int", - "reportable": True, - }, - 0x00000002: { - "attributeName": "RemainingTime", - "attributeId": 0x00000002, - "type": "int", + "commandId": 0x00000001, + "commandName": "LaunchURL", + "args": { + "contentURL": "str", + "displayString": "str", + }, + }, }, - 0x00000003: { - "attributeName": "CurrentX", - "attributeId": 0x00000003, - "type": "int", - "reportable": True, + "attributes": { + 0x00000000: { + "attributeName": "AcceptsHeaderList", + "attributeId": 0x00000000, + "type": "bytes", + }, + 0x00000001: { + "attributeName": "SupportedStreamingTypes", + "attributeId": 0x00000001, + "type": "int", + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + }, }, - 0x00000004: { - "attributeName": "CurrentY", - "attributeId": 0x00000004, - "type": "int", - "reportable": True, + } + _DESCRIPTOR_CLUSTER_INFO = { + "clusterName": "Descriptor", + "clusterId": 0x0000001D, + "commands": { }, - 0x00000005: { - "attributeName": "DriftCompensation", - "attributeId": 0x00000005, - "type": "int", + "attributes": { + 0x00000000: { + "attributeName": "DeviceList", + "attributeId": 0x00000000, + "type": "", + }, + 0x00000001: { + "attributeName": "ServerList", + "attributeId": 0x00000001, + "type": "int", + }, + 0x00000002: { + "attributeName": "ClientList", + "attributeId": 0x00000002, + "type": "int", + }, + 0x00000003: { + "attributeName": "PartsList", + "attributeId": 0x00000003, + "type": "int", + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + }, }, - 0x00000006: { - "attributeName": "CompensationText", - "attributeId": 0x00000006, - "type": "str", + } + _DIAGNOSTIC_LOGS_CLUSTER_INFO = { + "clusterName": "DiagnosticLogs", + "clusterId": 0x00000032, + "commands": { + 0x00000000: { + "commandId": 0x00000000, + "commandName": "RetrieveLogsRequest", + "args": { + "intent": "int", + "requestedProtocol": "int", + "transferFileDesignator": "bytes", + }, + }, }, - 0x00000007: { - "attributeName": "ColorTemperature", - "attributeId": 0x00000007, - "type": "int", - "reportable": True, + "attributes": { }, + } + _DOOR_LOCK_CLUSTER_INFO = { + "clusterName": "DoorLock", + "clusterId": 0x00000101, + "commands": { 0x00000008: { - "attributeName": "ColorMode", - "attributeId": 0x00000008, - "type": "int", - }, - 0x0000000F: { - "attributeName": "ColorControlOptions", - "attributeId": 0x0000000F, - "type": "int", - "writable": True, - }, + "commandId": 0x00000008, + "commandName": "ClearAllPins", + "args": { + }, + }, + 0x00000019: { + "commandId": 0x00000019, + "commandName": "ClearAllRfids", + "args": { + }, + }, + 0x00000013: { + "commandId": 0x00000013, + "commandName": "ClearHolidaySchedule", + "args": { + "scheduleId": "int", + }, + }, + 0x00000007: { + "commandId": 0x00000007, + "commandName": "ClearPin", + "args": { + "userId": "int", + }, + }, + 0x00000018: { + "commandId": 0x00000018, + "commandName": "ClearRfid", + "args": { + "userId": "int", + }, + }, + 0x0000000D: { + "commandId": 0x0000000D, + "commandName": "ClearWeekdaySchedule", + "args": { + "scheduleId": "int", + "userId": "int", + }, + }, 0x00000010: { - "attributeName": "NumberOfPrimaries", - "attributeId": 0x00000010, - "type": "int", - }, - 0x00000011: { - "attributeName": "Primary1X", - "attributeId": 0x00000011, - "type": "int", - }, + "commandId": 0x00000010, + "commandName": "ClearYeardaySchedule", + "args": { + "scheduleId": "int", + "userId": "int", + }, + }, 0x00000012: { - "attributeName": "Primary1Y", - "attributeId": 0x00000012, - "type": "int", - }, - 0x00000013: { - "attributeName": "Primary1Intensity", - "attributeId": 0x00000013, - "type": "int", - }, + "commandId": 0x00000012, + "commandName": "GetHolidaySchedule", + "args": { + "scheduleId": "int", + }, + }, + 0x00000004: { + "commandId": 0x00000004, + "commandName": "GetLogRecord", + "args": { + "logIndex": "int", + }, + }, + 0x00000006: { + "commandId": 0x00000006, + "commandName": "GetPin", + "args": { + "userId": "int", + }, + }, + 0x00000017: { + "commandId": 0x00000017, + "commandName": "GetRfid", + "args": { + "userId": "int", + }, + }, 0x00000015: { - "attributeName": "Primary2X", - "attributeId": 0x00000015, - "type": "int", - }, + "commandId": 0x00000015, + "commandName": "GetUserType", + "args": { + "userId": "int", + }, + }, + 0x0000000C: { + "commandId": 0x0000000C, + "commandName": "GetWeekdaySchedule", + "args": { + "scheduleId": "int", + "userId": "int", + }, + }, + 0x0000000F: { + "commandId": 0x0000000F, + "commandName": "GetYeardaySchedule", + "args": { + "scheduleId": "int", + "userId": "int", + }, + }, + 0x00000000: { + "commandId": 0x00000000, + "commandName": "LockDoor", + "args": { + "pin": "bytes", + }, + }, + 0x00000011: { + "commandId": 0x00000011, + "commandName": "SetHolidaySchedule", + "args": { + "scheduleId": "int", + "localStartTime": "int", + "localEndTime": "int", + "operatingModeDuringHoliday": "int", + }, + }, + 0x00000005: { + "commandId": 0x00000005, + "commandName": "SetPin", + "args": { + "userId": "int", + "userStatus": "int", + "userType": "int", + "pin": "bytes", + }, + }, 0x00000016: { - "attributeName": "Primary2Y", - "attributeId": 0x00000016, - "type": "int", - }, - 0x00000017: { - "attributeName": "Primary2Intensity", - "attributeId": 0x00000017, - "type": "int", + "commandId": 0x00000016, + "commandName": "SetRfid", + "args": { + "userId": "int", + "userStatus": "int", + "userType": "int", + "id": "bytes", + }, + }, + 0x00000014: { + "commandId": 0x00000014, + "commandName": "SetUserType", + "args": { + "userId": "int", + "userType": "int", + }, + }, + 0x0000000B: { + "commandId": 0x0000000B, + "commandName": "SetWeekdaySchedule", + "args": { + "scheduleId": "int", + "userId": "int", + "daysMask": "int", + "startHour": "int", + "startMinute": "int", + "endHour": "int", + "endMinute": "int", + }, + }, + 0x0000000E: { + "commandId": 0x0000000E, + "commandName": "SetYeardaySchedule", + "args": { + "scheduleId": "int", + "userId": "int", + "localStartTime": "int", + "localEndTime": "int", + }, + }, + 0x00000001: { + "commandId": 0x00000001, + "commandName": "UnlockDoor", + "args": { + "pin": "bytes", + }, + }, + 0x00000003: { + "commandId": 0x00000003, + "commandName": "UnlockWithTimeout", + "args": { + "timeoutInSeconds": "int", + "pin": "bytes", + }, + }, }, - 0x00000019: { - "attributeName": "Primary3X", - "attributeId": 0x00000019, - "type": "int", + "attributes": { + 0x00000000: { + "attributeName": "LockState", + "attributeId": 0x00000000, + "type": "int", + "reportable": True, + }, + 0x00000001: { + "attributeName": "LockType", + "attributeId": 0x00000001, + "type": "int", + }, + 0x00000002: { + "attributeName": "ActuatorEnabled", + "attributeId": 0x00000002, + "type": "bool", + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + }, }, - 0x0000001A: { - "attributeName": "Primary3Y", - "attributeId": 0x0000001A, - "type": "int", + } + _ELECTRICAL_MEASUREMENT_CLUSTER_INFO = { + "clusterName": "ElectricalMeasurement", + "clusterId": 0x00000B04, + "commands": { + }, + "attributes": { + 0x00000000: { + "attributeName": "MeasurementType", + "attributeId": 0x00000000, + "type": "int", + }, + 0x00000304: { + "attributeName": "TotalActivePower", + "attributeId": 0x00000304, + "type": "int", + }, + 0x00000505: { + "attributeName": "RmsVoltage", + "attributeId": 0x00000505, + "type": "int", + }, + 0x00000506: { + "attributeName": "RmsVoltageMin", + "attributeId": 0x00000506, + "type": "int", + }, + 0x00000507: { + "attributeName": "RmsVoltageMax", + "attributeId": 0x00000507, + "type": "int", + }, + 0x00000508: { + "attributeName": "RmsCurrent", + "attributeId": 0x00000508, + "type": "int", + }, + 0x00000509: { + "attributeName": "RmsCurrentMin", + "attributeId": 0x00000509, + "type": "int", + }, + 0x0000050A: { + "attributeName": "RmsCurrentMax", + "attributeId": 0x0000050A, + "type": "int", + }, + 0x0000050B: { + "attributeName": "ActivePower", + "attributeId": 0x0000050B, + "type": "int", + }, + 0x0000050C: { + "attributeName": "ActivePowerMin", + "attributeId": 0x0000050C, + "type": "int", + }, + 0x0000050D: { + "attributeName": "ActivePowerMax", + "attributeId": 0x0000050D, + "type": "int", + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + }, }, - 0x0000001B: { - "attributeName": "Primary3Intensity", - "attributeId": 0x0000001B, - "type": "int", - }, - 0x00000020: { - "attributeName": "Primary4X", - "attributeId": 0x00000020, - "type": "int", - }, - 0x00000021: { - "attributeName": "Primary4Y", - "attributeId": 0x00000021, - "type": "int", - }, - 0x00000022: { - "attributeName": "Primary4Intensity", - "attributeId": 0x00000022, - "type": "int", - }, - 0x00000024: { - "attributeName": "Primary5X", - "attributeId": 0x00000024, - "type": "int", - }, - 0x00000025: { - "attributeName": "Primary5Y", - "attributeId": 0x00000025, - "type": "int", - }, - 0x00000026: { - "attributeName": "Primary5Intensity", - "attributeId": 0x00000026, - "type": "int", - }, - 0x00000028: { - "attributeName": "Primary6X", - "attributeId": 0x00000028, - "type": "int", - }, - 0x00000029: { - "attributeName": "Primary6Y", - "attributeId": 0x00000029, - "type": "int", - }, - 0x0000002A: { - "attributeName": "Primary6Intensity", - "attributeId": 0x0000002A, - "type": "int", - }, - 0x00000030: { - "attributeName": "WhitePointX", - "attributeId": 0x00000030, - "type": "int", - "writable": True, - }, - 0x00000031: { - "attributeName": "WhitePointY", - "attributeId": 0x00000031, - "type": "int", - "writable": True, - }, - 0x00000032: { - "attributeName": "ColorPointRX", - "attributeId": 0x00000032, - "type": "int", - "writable": True, - }, - 0x00000033: { - "attributeName": "ColorPointRY", - "attributeId": 0x00000033, - "type": "int", - "writable": True, - }, - 0x00000034: { - "attributeName": "ColorPointRIntensity", - "attributeId": 0x00000034, - "type": "int", - "writable": True, - }, - 0x00000036: { - "attributeName": "ColorPointGX", - "attributeId": 0x00000036, - "type": "int", - "writable": True, - }, - 0x00000037: { - "attributeName": "ColorPointGY", - "attributeId": 0x00000037, - "type": "int", - "writable": True, - }, - 0x00000038: { - "attributeName": "ColorPointGIntensity", - "attributeId": 0x00000038, - "type": "int", - "writable": True, - }, - 0x0000003A: { - "attributeName": "ColorPointBX", - "attributeId": 0x0000003A, - "type": "int", - "writable": True, - }, - 0x0000003B: { - "attributeName": "ColorPointBY", - "attributeId": 0x0000003B, - "type": "int", - "writable": True, - }, - 0x0000003C: { - "attributeName": "ColorPointBIntensity", - "attributeId": 0x0000003C, - "type": "int", - "writable": True, - }, - 0x00004000: { - "attributeName": "EnhancedCurrentHue", - "attributeId": 0x00004000, - "type": "int", - }, - 0x00004001: { - "attributeName": "EnhancedColorMode", - "attributeId": 0x00004001, - "type": "int", - }, - 0x00004002: { - "attributeName": "ColorLoopActive", - "attributeId": 0x00004002, - "type": "int", - }, - 0x00004003: { - "attributeName": "ColorLoopDirection", - "attributeId": 0x00004003, - "type": "int", - }, - 0x00004004: { - "attributeName": "ColorLoopTime", - "attributeId": 0x00004004, - "type": "int", - }, - 0x00004005: { - "attributeName": "ColorLoopStartEnhancedHue", - "attributeId": 0x00004005, - "type": "int", - }, - 0x00004006: { - "attributeName": "ColorLoopStoredEnhancedHue", - "attributeId": 0x00004006, - "type": "int", - }, - 0x0000400A: { - "attributeName": "ColorCapabilities", - "attributeId": 0x0000400A, - "type": "int", - }, - 0x0000400B: { - "attributeName": "ColorTempPhysicalMin", - "attributeId": 0x0000400B, - "type": "int", - }, - 0x0000400C: { - "attributeName": "ColorTempPhysicalMax", - "attributeId": 0x0000400C, - "type": "int", - }, - 0x0000400D: { - "attributeName": "CoupleColorTempToLevelMinMireds", - "attributeId": 0x0000400D, - "type": "int", - }, - 0x00004010: { - "attributeName": "StartUpColorTemperatureMireds", - "attributeId": 0x00004010, - "type": "int", - "writable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - }, - }, - } - _CONTENT_LAUNCHER_CLUSTER_INFO = { - "clusterName": "ContentLauncher", - "clusterId": 0x0000050A, - "commands": { - 0x00000000: { - "commandId": 0x00000000, - "commandName": "LaunchContent", - "args": { - "autoPlay": "bool", - "data": "str", - }, - }, - 0x00000001: { - "commandId": 0x00000001, - "commandName": "LaunchURL", - "args": { - "contentURL": "str", - "displayString": "str", - }, - }, - }, - "attributes": { - 0x00000000: { - "attributeName": "AcceptsHeaderList", - "attributeId": 0x00000000, - "type": "bytes", - }, - 0x00000001: { - "attributeName": "SupportedStreamingTypes", - "attributeId": 0x00000001, - "type": "int", - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - }, - }, - } - _DESCRIPTOR_CLUSTER_INFO = { - "clusterName": "Descriptor", - "clusterId": 0x0000001D, - "commands": { - }, - "attributes": { - 0x00000000: { - "attributeName": "DeviceList", - "attributeId": 0x00000000, - "type": "", - }, - 0x00000001: { - "attributeName": "ServerList", - "attributeId": 0x00000001, - "type": "int", - }, - 0x00000002: { - "attributeName": "ClientList", - "attributeId": 0x00000002, - "type": "int", - }, - 0x00000003: { - "attributeName": "PartsList", - "attributeId": 0x00000003, - "type": "int", - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - }, - }, } - _DIAGNOSTIC_LOGS_CLUSTER_INFO = { - "clusterName": "DiagnosticLogs", - "clusterId": 0x00000032, - "commands": { + _ETHERNET_NETWORK_DIAGNOSTICS_CLUSTER_INFO = { + "clusterName": "EthernetNetworkDiagnostics", + "clusterId": 0x00000037, + "commands": { 0x00000000: { - "commandId": 0x00000000, - "commandName": "RetrieveLogsRequest", - "args": { - "intent": "int", - "requestedProtocol": "int", - "transferFileDesignator": "bytes", + "commandId": 0x00000000, + "commandName": "ResetCounts", + "args": { + }, + }, + }, + "attributes": { + 0x00000000: { + "attributeName": "PHYRate", + "attributeId": 0x00000000, + "type": "int", + }, + 0x00000001: { + "attributeName": "FullDuplex", + "attributeId": 0x00000001, + "type": "bool", + }, + 0x00000002: { + "attributeName": "PacketRxCount", + "attributeId": 0x00000002, + "type": "int", + }, + 0x00000003: { + "attributeName": "PacketTxCount", + "attributeId": 0x00000003, + "type": "int", + }, + 0x00000004: { + "attributeName": "TxErrCount", + "attributeId": 0x00000004, + "type": "int", + }, + 0x00000005: { + "attributeName": "CollisionCount", + "attributeId": 0x00000005, + "type": "int", + }, + 0x00000006: { + "attributeName": "OverrunCount", + "attributeId": 0x00000006, + "type": "int", + }, + 0x00000007: { + "attributeName": "CarrierDetect", + "attributeId": 0x00000007, + "type": "bool", + }, + 0x00000008: { + "attributeName": "TimeSinceReset", + "attributeId": 0x00000008, + "type": "int", + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", }, }, - }, - "attributes": { - }, } - _DOOR_LOCK_CLUSTER_INFO = { - "clusterName": "DoorLock", - "clusterId": 0x00000101, - "commands": { - 0x00000008: { - "commandId": 0x00000008, - "commandName": "ClearAllPins", - "args": { - }, - }, - 0x00000019: { - "commandId": 0x00000019, - "commandName": "ClearAllRfids", - "args": { - }, - }, - 0x00000013: { - "commandId": 0x00000013, - "commandName": "ClearHolidaySchedule", - "args": { - "scheduleId": "int", - }, - }, - 0x00000007: { - "commandId": 0x00000007, - "commandName": "ClearPin", - "args": { - "userId": "int", - }, - }, - 0x00000018: { - "commandId": 0x00000018, - "commandName": "ClearRfid", - "args": { - "userId": "int", - }, - }, - 0x0000000D: { - "commandId": 0x0000000D, - "commandName": "ClearWeekdaySchedule", - "args": { - "scheduleId": "int", - "userId": "int", - }, - }, - 0x00000010: { - "commandId": 0x00000010, - "commandName": "ClearYeardaySchedule", - "args": { - "scheduleId": "int", - "userId": "int", - }, - }, - 0x00000012: { - "commandId": 0x00000012, - "commandName": "GetHolidaySchedule", - "args": { - "scheduleId": "int", - }, - }, - 0x00000004: { - "commandId": 0x00000004, - "commandName": "GetLogRecord", - "args": { - "logIndex": "int", - }, - }, - 0x00000006: { - "commandId": 0x00000006, - "commandName": "GetPin", - "args": { - "userId": "int", - }, - }, - 0x00000017: { - "commandId": 0x00000017, - "commandName": "GetRfid", - "args": { - "userId": "int", - }, - }, - 0x00000015: { - "commandId": 0x00000015, - "commandName": "GetUserType", - "args": { - "userId": "int", - }, - }, - 0x0000000C: { - "commandId": 0x0000000C, - "commandName": "GetWeekdaySchedule", - "args": { - "scheduleId": "int", - "userId": "int", - }, - }, - 0x0000000F: { - "commandId": 0x0000000F, - "commandName": "GetYeardaySchedule", - "args": { - "scheduleId": "int", - "userId": "int", - }, - }, - 0x00000000: { - "commandId": 0x00000000, - "commandName": "LockDoor", - "args": { - "pin": "bytes", - }, - }, - 0x00000011: { - "commandId": 0x00000011, - "commandName": "SetHolidaySchedule", - "args": { - "scheduleId": "int", - "localStartTime": "int", - "localEndTime": "int", - "operatingModeDuringHoliday": "int", - }, + _FIXED_LABEL_CLUSTER_INFO = { + "clusterName": "FixedLabel", + "clusterId": 0x00000040, + "commands": { }, - 0x00000005: { - "commandId": 0x00000005, - "commandName": "SetPin", - "args": { - "userId": "int", - "userStatus": "int", - "userType": "int", - "pin": "bytes", + "attributes": { + 0x00000000: { + "attributeName": "LabelList", + "attributeId": 0x00000000, + "type": "", }, - }, - 0x00000016: { - "commandId": 0x00000016, - "commandName": "SetRfid", - "args": { - "userId": "int", - "userStatus": "int", - "userType": "int", - "id": "bytes", + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", }, }, - 0x00000014: { - "commandId": 0x00000014, - "commandName": "SetUserType", - "args": { - "userId": "int", - "userType": "int", - }, + } + _FLOW_MEASUREMENT_CLUSTER_INFO = { + "clusterName": "FlowMeasurement", + "clusterId": 0x00000404, + "commands": { }, - 0x0000000B: { - "commandId": 0x0000000B, - "commandName": "SetWeekdaySchedule", - "args": { - "scheduleId": "int", - "userId": "int", - "daysMask": "int", - "startHour": "int", - "startMinute": "int", - "endHour": "int", - "endMinute": "int", + "attributes": { + 0x00000000: { + "attributeName": "MeasuredValue", + "attributeId": 0x00000000, + "type": "int", }, - }, - 0x0000000E: { - "commandId": 0x0000000E, - "commandName": "SetYeardaySchedule", - "args": { - "scheduleId": "int", - "userId": "int", - "localStartTime": "int", - "localEndTime": "int", + 0x00000001: { + "attributeName": "MinMeasuredValue", + "attributeId": 0x00000001, + "type": "int", }, - }, - 0x00000001: { - "commandId": 0x00000001, - "commandName": "UnlockDoor", - "args": { - "pin": "bytes", + 0x00000002: { + "attributeName": "MaxMeasuredValue", + "attributeId": 0x00000002, + "type": "int", }, - }, - 0x00000003: { - "commandId": 0x00000003, - "commandName": "UnlockWithTimeout", - "args": { - "timeoutInSeconds": "int", - "pin": "bytes", + 0x00000003: { + "attributeName": "Tolerance", + "attributeId": 0x00000003, + "type": "int", }, - }, - }, - "attributes": { - 0x00000000: { - "attributeName": "LockState", - "attributeId": 0x00000000, - "type": "int", - "reportable": True, - }, - 0x00000001: { - "attributeName": "LockType", - "attributeId": 0x00000001, - "type": "int", - }, - 0x00000002: { - "attributeName": "ActuatorEnabled", - "attributeId": 0x00000002, - "type": "bool", - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - }, - }, - } - _ELECTRICAL_MEASUREMENT_CLUSTER_INFO = { - "clusterName": "ElectricalMeasurement", - "clusterId": 0x00000B04, - "commands": { - }, - "attributes": { - 0x00000000: { - "attributeName": "MeasurementType", - "attributeId": 0x00000000, - "type": "int", - }, - 0x00000304: { - "attributeName": "TotalActivePower", - "attributeId": 0x00000304, - "type": "int", - }, - 0x00000505: { - "attributeName": "RmsVoltage", - "attributeId": 0x00000505, - "type": "int", - }, - 0x00000506: { - "attributeName": "RmsVoltageMin", - "attributeId": 0x00000506, - "type": "int", - }, - 0x00000507: { - "attributeName": "RmsVoltageMax", - "attributeId": 0x00000507, - "type": "int", - }, - 0x00000508: { - "attributeName": "RmsCurrent", - "attributeId": 0x00000508, - "type": "int", - }, - 0x00000509: { - "attributeName": "RmsCurrentMin", - "attributeId": 0x00000509, - "type": "int", - }, - 0x0000050A: { - "attributeName": "RmsCurrentMax", - "attributeId": 0x0000050A, - "type": "int", - }, - 0x0000050B: { - "attributeName": "ActivePower", - "attributeId": 0x0000050B, - "type": "int", - }, - 0x0000050C: { - "attributeName": "ActivePowerMin", - "attributeId": 0x0000050C, - "type": "int", - }, - 0x0000050D: { - "attributeName": "ActivePowerMax", - "attributeId": 0x0000050D, - "type": "int", - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - }, - }, - } - _ETHERNET_NETWORK_DIAGNOSTICS_CLUSTER_INFO = { - "clusterName": "EthernetNetworkDiagnostics", - "clusterId": 0x00000037, - "commands": { - 0x00000000: { - "commandId": 0x00000000, - "commandName": "ResetCounts", - "args": { + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", }, }, - }, - "attributes": { - 0x00000000: { - "attributeName": "PHYRate", - "attributeId": 0x00000000, - "type": "int", - }, - 0x00000001: { - "attributeName": "FullDuplex", - "attributeId": 0x00000001, - "type": "bool", - }, - 0x00000002: { - "attributeName": "PacketRxCount", - "attributeId": 0x00000002, - "type": "int", - }, - 0x00000003: { - "attributeName": "PacketTxCount", - "attributeId": 0x00000003, - "type": "int", - }, - 0x00000004: { - "attributeName": "TxErrCount", - "attributeId": 0x00000004, - "type": "int", - }, - 0x00000005: { - "attributeName": "CollisionCount", - "attributeId": 0x00000005, - "type": "int", - }, - 0x00000006: { - "attributeName": "OverrunCount", - "attributeId": 0x00000006, - "type": "int", - }, - 0x00000007: { - "attributeName": "CarrierDetect", - "attributeId": 0x00000007, - "type": "bool", - }, - 0x00000008: { - "attributeName": "TimeSinceReset", - "attributeId": 0x00000008, - "type": "int", - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - }, - }, - } - _FIXED_LABEL_CLUSTER_INFO = { - "clusterName": "FixedLabel", - "clusterId": 0x00000040, - "commands": { - }, - "attributes": { - 0x00000000: { - "attributeName": "LabelList", - "attributeId": 0x00000000, - "type": "", - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - }, - }, - } - _FLOW_MEASUREMENT_CLUSTER_INFO = { - "clusterName": "FlowMeasurement", - "clusterId": 0x00000404, - "commands": { - }, - "attributes": { - 0x00000000: { - "attributeName": "MeasuredValue", - "attributeId": 0x00000000, - "type": "int", - }, - 0x00000001: { - "attributeName": "MinMeasuredValue", - "attributeId": 0x00000001, - "type": "int", - }, - 0x00000002: { - "attributeName": "MaxMeasuredValue", - "attributeId": 0x00000002, - "type": "int", - }, - 0x00000003: { - "attributeName": "Tolerance", - "attributeId": 0x00000003, - "type": "int", - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - }, - }, } _GENERAL_COMMISSIONING_CLUSTER_INFO = { - "clusterName": "GeneralCommissioning", - "clusterId": 0x00000030, - "commands": { + "clusterName": "GeneralCommissioning", + "clusterId": 0x00000030, + "commands": { 0x00000000: { - "commandId": 0x00000000, - "commandName": "ArmFailSafe", - "args": { - "expiryLengthSeconds": "int", - "breadcrumb": "int", - "timeoutMs": "int", + "commandId": 0x00000000, + "commandName": "ArmFailSafe", + "args": { + "expiryLengthSeconds": "int", + "breadcrumb": "int", + "timeoutMs": "int", + }, }, - }, 0x00000004: { - "commandId": 0x00000004, - "commandName": "CommissioningComplete", - "args": { + "commandId": 0x00000004, + "commandName": "CommissioningComplete", + "args": { + }, }, - }, 0x00000002: { - "commandId": 0x00000002, - "commandName": "SetRegulatoryConfig", - "args": { - "location": "int", - "countryCode": "str", - "breadcrumb": "int", - "timeoutMs": "int", + "commandId": 0x00000002, + "commandName": "SetRegulatoryConfig", + "args": { + "location": "int", + "countryCode": "str", + "breadcrumb": "int", + "timeoutMs": "int", + }, + }, + }, + "attributes": { + 0x00000000: { + "attributeName": "Breadcrumb", + "attributeId": 0x00000000, + "type": "int", + "writable": True, + }, + 0x00000001: { + "attributeName": "BasicCommissioningInfoList", + "attributeId": 0x00000001, + "type": "", + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", }, }, - }, - "attributes": { - 0x00000000: { - "attributeName": "Breadcrumb", - "attributeId": 0x00000000, - "type": "int", - "writable": True, - }, - 0x00000001: { - "attributeName": "BasicCommissioningInfoList", - "attributeId": 0x00000001, - "type": "", - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - }, - }, } _GENERAL_DIAGNOSTICS_CLUSTER_INFO = { - "clusterName": "GeneralDiagnostics", - "clusterId": 0x00000033, - "commands": { - }, - "attributes": { - 0x00000000: { - "attributeName": "NetworkInterfaces", - "attributeId": 0x00000000, - "type": "", - }, - 0x00000001: { - "attributeName": "RebootCount", - "attributeId": 0x00000001, - "type": "int", - }, - 0x00000002: { - "attributeName": "UpTime", - "attributeId": 0x00000002, - "type": "int", - }, - 0x00000003: { - "attributeName": "TotalOperationalHours", - "attributeId": 0x00000003, - "type": "int", - }, - 0x00000004: { - "attributeName": "BootReasons", - "attributeId": 0x00000004, - "type": "int", - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", + "clusterName": "GeneralDiagnostics", + "clusterId": 0x00000033, + "commands": { + }, + "attributes": { + 0x00000000: { + "attributeName": "NetworkInterfaces", + "attributeId": 0x00000000, + "type": "", + }, + 0x00000001: { + "attributeName": "RebootCount", + "attributeId": 0x00000001, + "type": "int", + }, + 0x00000002: { + "attributeName": "UpTime", + "attributeId": 0x00000002, + "type": "int", + }, + 0x00000003: { + "attributeName": "TotalOperationalHours", + "attributeId": 0x00000003, + "type": "int", + }, + 0x00000004: { + "attributeName": "BootReasons", + "attributeId": 0x00000004, + "type": "int", + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + }, }, - }, } _GROUP_KEY_MANAGEMENT_CLUSTER_INFO = { - "clusterName": "GroupKeyManagement", - "clusterId": 0x0000F004, - "commands": { - }, - "attributes": { - 0x00000000: { - "attributeName": "Groups", - "attributeId": 0x00000000, - "type": "", - }, - 0x00000001: { - "attributeName": "GroupKeys", - "attributeId": 0x00000001, - "type": "", + "clusterName": "GroupKeyManagement", + "clusterId": 0x0000F004, + "commands": { }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", + "attributes": { + 0x00000000: { + "attributeName": "Groups", + "attributeId": 0x00000000, + "type": "", + }, + 0x00000001: { + "attributeName": "GroupKeys", + "attributeId": 0x00000001, + "type": "", + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + }, }, - }, } _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", + }, }, - }, 0x00000005: { - "commandId": 0x00000005, - "commandName": "AddGroupIfIdentifying", - "args": { - "groupId": "int", - "groupName": "str", + "commandId": 0x00000005, + "commandName": "AddGroupIfIdentifying", + "args": { + "groupId": "int", + "groupName": "str", + }, }, - }, 0x00000002: { - "commandId": 0x00000002, - "commandName": "GetGroupMembership", - "args": { - "groupCount": "int", - "groupList": "int", + "commandId": 0x00000002, + "commandName": "GetGroupMembership", + "args": { + "groupCount": "int", + "groupList": "int", + }, }, - }, 0x00000004: { - "commandId": 0x00000004, - "commandName": "RemoveAllGroups", - "args": { + "commandId": 0x00000004, + "commandName": "RemoveAllGroups", + "args": { + }, }, - }, 0x00000003: { - "commandId": 0x00000003, - "commandName": "RemoveGroup", - "args": { - "groupId": "int", + "commandId": 0x00000003, + "commandName": "RemoveGroup", + "args": { + "groupId": "int", + }, }, - }, 0x00000001: { - "commandId": 0x00000001, - "commandName": "ViewGroup", - "args": { - "groupId": "int", + "commandId": 0x00000001, + "commandName": "ViewGroup", + "args": { + "groupId": "int", + }, }, }, - }, - "attributes": { - 0x00000000: { - "attributeName": "NameSupport", - "attributeId": 0x00000000, - "type": "int", - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", + "attributes": { + 0x00000000: { + "attributeName": "NameSupport", + "attributeId": 0x00000000, + "type": "int", + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + }, }, - }, } _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", + }, }, - }, 0x00000001: { - "commandId": 0x00000001, - "commandName": "IdentifyQuery", - "args": { + "commandId": 0x00000001, + "commandName": "IdentifyQuery", + "args": { + }, }, - }, 0x00000040: { - "commandId": 0x00000040, - "commandName": "TriggerEffect", - "args": { - "effectIdentifier": "int", - "effectVariant": "int", + "commandId": 0x00000040, + "commandName": "TriggerEffect", + "args": { + "effectIdentifier": "int", + "effectVariant": "int", + }, }, }, - }, - "attributes": { - 0x00000000: { - "attributeName": "IdentifyTime", - "attributeId": 0x00000000, - "type": "int", - "writable": True, - }, - 0x00000001: { - "attributeName": "IdentifyType", - "attributeId": 0x00000001, - "type": "int", - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", + "attributes": { + 0x00000000: { + "attributeName": "IdentifyTime", + "attributeId": 0x00000000, + "type": "int", + "writable": True, + }, + 0x00000001: { + "attributeName": "IdentifyType", + "attributeId": 0x00000001, + "type": "int", + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + }, }, - }, } _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", - }, - 0x00000002: { - "attributeName": "MaxMeasuredValue", - "attributeId": 0x00000002, - "type": "int", - }, - 0x00000003: { - "attributeName": "Tolerance", - "attributeId": 0x00000003, - "type": "int", - }, - 0x00000004: { - "attributeName": "LightSensorType", - "attributeId": 0x00000004, - "type": "int", - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", + "clusterName": "IlluminanceMeasurement", + "clusterId": 0x00000400, + "commands": { + }, + "attributes": { + 0x00000000: { + "attributeName": "MeasuredValue", + "attributeId": 0x00000000, + "type": "int", + "reportable": True, + }, + 0x00000001: { + "attributeName": "MinMeasuredValue", + "attributeId": 0x00000001, + "type": "int", + }, + 0x00000002: { + "attributeName": "MaxMeasuredValue", + "attributeId": 0x00000002, + "type": "int", + }, + 0x00000003: { + "attributeName": "Tolerance", + "attributeId": 0x00000003, + "type": "int", + }, + 0x00000004: { + "attributeName": "LightSensorType", + "attributeId": 0x00000004, + "type": "int", + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + }, }, - }, } _KEYPAD_INPUT_CLUSTER_INFO = { - "clusterName": "KeypadInput", - "clusterId": 0x00000509, - "commands": { + "clusterName": "KeypadInput", + "clusterId": 0x00000509, + "commands": { 0x00000000: { - "commandId": 0x00000000, - "commandName": "SendKey", - "args": { - "keyCode": "int", + "commandId": 0x00000000, + "commandName": "SendKey", + "args": { + "keyCode": "int", + }, }, }, - }, - "attributes": { - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", + "attributes": { + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + }, }, - }, } _LEVEL_CONTROL_CLUSTER_INFO = { - "clusterName": "LevelControl", - "clusterId": 0x00000008, - "commands": { + "clusterName": "LevelControl", + "clusterId": 0x00000008, + "commands": { 0x00000001: { - "commandId": 0x00000001, - "commandName": "Move", - "args": { - "moveMode": "int", - "rate": "int", - "optionMask": "int", - "optionOverride": "int", + "commandId": 0x00000001, + "commandName": "Move", + "args": { + "moveMode": "int", + "rate": "int", + "optionMask": "int", + "optionOverride": "int", + }, }, - }, 0x00000000: { - "commandId": 0x00000000, - "commandName": "MoveToLevel", - "args": { - "level": "int", - "transitionTime": "int", - "optionMask": "int", - "optionOverride": "int", + "commandId": 0x00000000, + "commandName": "MoveToLevel", + "args": { + "level": "int", + "transitionTime": "int", + "optionMask": "int", + "optionOverride": "int", + }, }, - }, 0x00000004: { - "commandId": 0x00000004, - "commandName": "MoveToLevelWithOnOff", - "args": { - "level": "int", - "transitionTime": "int", + "commandId": 0x00000004, + "commandName": "MoveToLevelWithOnOff", + "args": { + "level": "int", + "transitionTime": "int", + }, }, - }, 0x00000005: { - "commandId": 0x00000005, - "commandName": "MoveWithOnOff", - "args": { - "moveMode": "int", - "rate": "int", + "commandId": 0x00000005, + "commandName": "MoveWithOnOff", + "args": { + "moveMode": "int", + "rate": "int", + }, }, - }, 0x00000002: { - "commandId": 0x00000002, - "commandName": "Step", - "args": { - "stepMode": "int", - "stepSize": "int", - "transitionTime": "int", - "optionMask": "int", - "optionOverride": "int", + "commandId": 0x00000002, + "commandName": "Step", + "args": { + "stepMode": "int", + "stepSize": "int", + "transitionTime": "int", + "optionMask": "int", + "optionOverride": "int", + }, }, - }, 0x00000006: { - "commandId": 0x00000006, - "commandName": "StepWithOnOff", - "args": { - "stepMode": "int", - "stepSize": "int", - "transitionTime": "int", + "commandId": 0x00000006, + "commandName": "StepWithOnOff", + "args": { + "stepMode": "int", + "stepSize": "int", + "transitionTime": "int", + }, }, - }, 0x00000003: { - "commandId": 0x00000003, - "commandName": "Stop", - "args": { - "optionMask": "int", - "optionOverride": "int", + "commandId": 0x00000003, + "commandName": "Stop", + "args": { + "optionMask": "int", + "optionOverride": "int", + }, }, - }, 0x00000007: { - "commandId": 0x00000007, - "commandName": "StopWithOnOff", - "args": { + "commandId": 0x00000007, + "commandName": "StopWithOnOff", + "args": { + }, + }, + }, + "attributes": { + 0x00000000: { + "attributeName": "CurrentLevel", + "attributeId": 0x00000000, + "type": "int", + "reportable": True, + }, + 0x00000001: { + "attributeName": "RemainingTime", + "attributeId": 0x00000001, + "type": "int", + }, + 0x00000002: { + "attributeName": "MinLevel", + "attributeId": 0x00000002, + "type": "int", + }, + 0x00000003: { + "attributeName": "MaxLevel", + "attributeId": 0x00000003, + "type": "int", + }, + 0x00000004: { + "attributeName": "CurrentFrequency", + "attributeId": 0x00000004, + "type": "int", + }, + 0x00000005: { + "attributeName": "MinFrequency", + "attributeId": 0x00000005, + "type": "int", + }, + 0x00000006: { + "attributeName": "MaxFrequency", + "attributeId": 0x00000006, + "type": "int", + }, + 0x0000000F: { + "attributeName": "Options", + "attributeId": 0x0000000F, + "type": "int", + "writable": True, + }, + 0x00000010: { + "attributeName": "OnOffTransitionTime", + "attributeId": 0x00000010, + "type": "int", + "writable": True, + }, + 0x00000011: { + "attributeName": "OnLevel", + "attributeId": 0x00000011, + "type": "int", + "writable": True, + }, + 0x00000012: { + "attributeName": "OnTransitionTime", + "attributeId": 0x00000012, + "type": "int", + "writable": True, + }, + 0x00000013: { + "attributeName": "OffTransitionTime", + "attributeId": 0x00000013, + "type": "int", + "writable": True, + }, + 0x00000014: { + "attributeName": "DefaultMoveRate", + "attributeId": 0x00000014, + "type": "int", + "writable": True, + }, + 0x00004000: { + "attributeName": "StartUpCurrentLevel", + "attributeId": 0x00004000, + "type": "int", + "writable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", }, }, - }, - "attributes": { + } + _LOW_POWER_CLUSTER_INFO = { + "clusterName": "LowPower", + "clusterId": 0x00000508, + "commands": { 0x00000000: { - "attributeName": "CurrentLevel", - "attributeId": 0x00000000, - "type": "int", - "reportable": True, + "commandId": 0x00000000, + "commandName": "Sleep", + "args": { + }, + }, }, - 0x00000001: { - "attributeName": "RemainingTime", - "attributeId": 0x00000001, - "type": "int", + "attributes": { + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + }, }, + } + _MEDIA_INPUT_CLUSTER_INFO = { + "clusterName": "MediaInput", + "clusterId": 0x00000507, + "commands": { 0x00000002: { - "attributeName": "MinLevel", - "attributeId": 0x00000002, - "type": "int", - }, + "commandId": 0x00000002, + "commandName": "HideInputStatus", + "args": { + }, + }, 0x00000003: { - "attributeName": "MaxLevel", - "attributeId": 0x00000003, - "type": "int", - }, - 0x00000004: { - "attributeName": "CurrentFrequency", - "attributeId": 0x00000004, - "type": "int", - }, - 0x00000005: { - "attributeName": "MinFrequency", - "attributeId": 0x00000005, - "type": "int", - }, - 0x00000006: { - "attributeName": "MaxFrequency", - "attributeId": 0x00000006, - "type": "int", - }, - 0x0000000F: { - "attributeName": "Options", - "attributeId": 0x0000000F, - "type": "int", - "writable": True, - }, - 0x00000010: { - "attributeName": "OnOffTransitionTime", - "attributeId": 0x00000010, - "type": "int", - "writable": True, - }, - 0x00000011: { - "attributeName": "OnLevel", - "attributeId": 0x00000011, - "type": "int", - "writable": True, - }, - 0x00000012: { - "attributeName": "OnTransitionTime", - "attributeId": 0x00000012, - "type": "int", - "writable": True, - }, - 0x00000013: { - "attributeName": "OffTransitionTime", - "attributeId": 0x00000013, - "type": "int", - "writable": True, - }, - 0x00000014: { - "attributeName": "DefaultMoveRate", - "attributeId": 0x00000014, - "type": "int", - "writable": True, - }, - 0x00004000: { - "attributeName": "StartUpCurrentLevel", - "attributeId": 0x00004000, - "type": "int", - "writable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - }, - }, - } - _LOW_POWER_CLUSTER_INFO = { - "clusterName": "LowPower", - "clusterId": 0x00000508, - "commands": { + "commandId": 0x00000003, + "commandName": "RenameInput", + "args": { + "index": "int", + "name": "str", + }, + }, 0x00000000: { - "commandId": 0x00000000, - "commandName": "Sleep", - "args": { + "commandId": 0x00000000, + "commandName": "SelectInput", + "args": { + "index": "int", + }, }, - }, - }, - "attributes": { - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - }, - }, - } - _MEDIA_INPUT_CLUSTER_INFO = { - "clusterName": "MediaInput", - "clusterId": 0x00000507, - "commands": { - 0x00000002: { - "commandId": 0x00000002, - "commandName": "HideInputStatus", - "args": { + 0x00000001: { + "commandId": 0x00000001, + "commandName": "ShowInputStatus", + "args": { + }, }, }, - 0x00000003: { - "commandId": 0x00000003, - "commandName": "RenameInput", - "args": { - "index": "int", - "name": "str", + "attributes": { + 0x00000000: { + "attributeName": "MediaInputList", + "attributeId": 0x00000000, + "type": "", }, - }, - 0x00000000: { - "commandId": 0x00000000, - "commandName": "SelectInput", - "args": { - "index": "int", + 0x00000001: { + "attributeName": "CurrentMediaInput", + "attributeId": 0x00000001, + "type": "int", }, - }, - 0x00000001: { - "commandId": 0x00000001, - "commandName": "ShowInputStatus", - "args": { + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", }, }, - }, - "attributes": { - 0x00000000: { - "attributeName": "MediaInputList", - "attributeId": 0x00000000, - "type": "", - }, - 0x00000001: { - "attributeName": "CurrentMediaInput", - "attributeId": 0x00000001, - "type": "int", - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - }, - }, } _MEDIA_PLAYBACK_CLUSTER_INFO = { - "clusterName": "MediaPlayback", - "clusterId": 0x00000506, - "commands": { + "clusterName": "MediaPlayback", + "clusterId": 0x00000506, + "commands": { 0x00000007: { - "commandId": 0x00000007, - "commandName": "MediaFastForward", - "args": { + "commandId": 0x00000007, + "commandName": "MediaFastForward", + "args": { + }, }, - }, 0x00000005: { - "commandId": 0x00000005, - "commandName": "MediaNext", - "args": { + "commandId": 0x00000005, + "commandName": "MediaNext", + "args": { + }, }, - }, 0x00000001: { - "commandId": 0x00000001, - "commandName": "MediaPause", - "args": { + "commandId": 0x00000001, + "commandName": "MediaPause", + "args": { + }, }, - }, 0x00000000: { - "commandId": 0x00000000, - "commandName": "MediaPlay", - "args": { + "commandId": 0x00000000, + "commandName": "MediaPlay", + "args": { + }, }, - }, 0x00000004: { - "commandId": 0x00000004, - "commandName": "MediaPrevious", - "args": { + "commandId": 0x00000004, + "commandName": "MediaPrevious", + "args": { + }, }, - }, 0x00000006: { - "commandId": 0x00000006, - "commandName": "MediaRewind", - "args": { + "commandId": 0x00000006, + "commandName": "MediaRewind", + "args": { + }, }, - }, 0x0000000A: { - "commandId": 0x0000000A, - "commandName": "MediaSeek", - "args": { - "position": "int", + "commandId": 0x0000000A, + "commandName": "MediaSeek", + "args": { + "position": "int", + }, }, - }, 0x00000009: { - "commandId": 0x00000009, - "commandName": "MediaSkipBackward", - "args": { - "deltaPositionMilliseconds": "int", + "commandId": 0x00000009, + "commandName": "MediaSkipBackward", + "args": { + "deltaPositionMilliseconds": "int", + }, }, - }, 0x00000008: { - "commandId": 0x00000008, - "commandName": "MediaSkipForward", - "args": { - "deltaPositionMilliseconds": "int", + "commandId": 0x00000008, + "commandName": "MediaSkipForward", + "args": { + "deltaPositionMilliseconds": "int", + }, }, - }, 0x00000003: { - "commandId": 0x00000003, - "commandName": "MediaStartOver", - "args": { + "commandId": 0x00000003, + "commandName": "MediaStartOver", + "args": { + }, }, - }, 0x00000002: { - "commandId": 0x00000002, - "commandName": "MediaStop", - "args": { + "commandId": 0x00000002, + "commandName": "MediaStop", + "args": { + }, + }, + }, + "attributes": { + 0x00000000: { + "attributeName": "PlaybackState", + "attributeId": 0x00000000, + "type": "int", + }, + 0x00000001: { + "attributeName": "StartTime", + "attributeId": 0x00000001, + "type": "int", + }, + 0x00000002: { + "attributeName": "Duration", + "attributeId": 0x00000002, + "type": "int", + }, + 0x00000003: { + "attributeName": "PositionUpdatedAt", + "attributeId": 0x00000003, + "type": "int", + }, + 0x00000004: { + "attributeName": "Position", + "attributeId": 0x00000004, + "type": "int", + }, + 0x00000005: { + "attributeName": "PlaybackSpeed", + "attributeId": 0x00000005, + "type": "int", + }, + 0x00000006: { + "attributeName": "SeekRangeEnd", + "attributeId": 0x00000006, + "type": "int", + }, + 0x00000007: { + "attributeName": "SeekRangeStart", + "attributeId": 0x00000007, + "type": "int", + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", }, }, - }, - "attributes": { - 0x00000000: { - "attributeName": "PlaybackState", - "attributeId": 0x00000000, - "type": "int", - }, - 0x00000001: { - "attributeName": "StartTime", - "attributeId": 0x00000001, - "type": "int", - }, - 0x00000002: { - "attributeName": "Duration", - "attributeId": 0x00000002, - "type": "int", - }, - 0x00000003: { - "attributeName": "PositionUpdatedAt", - "attributeId": 0x00000003, - "type": "int", - }, - 0x00000004: { - "attributeName": "Position", - "attributeId": 0x00000004, - "type": "int", - }, - 0x00000005: { - "attributeName": "PlaybackSpeed", - "attributeId": 0x00000005, - "type": "int", - }, - 0x00000006: { - "attributeName": "SeekRangeEnd", - "attributeId": 0x00000006, - "type": "int", - }, - 0x00000007: { - "attributeName": "SeekRangeStart", - "attributeId": 0x00000007, - "type": "int", - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - }, - }, } _MODE_SELECT_CLUSTER_INFO = { - "clusterName": "ModeSelect", - "clusterId": 0x00000050, - "commands": { + "clusterName": "ModeSelect", + "clusterId": 0x00000050, + "commands": { 0x00000000: { - "commandId": 0x00000000, - "commandName": "ChangeToMode", - "args": { - "newMode": "int", + "commandId": 0x00000000, + "commandName": "ChangeToMode", + "args": { + "newMode": "int", + }, + }, + }, + "attributes": { + 0x00000000: { + "attributeName": "CurrentMode", + "attributeId": 0x00000000, + "type": "int", + "reportable": True, + }, + 0x00000001: { + "attributeName": "SupportedModes", + "attributeId": 0x00000001, + "type": "", + }, + 0x00000002: { + "attributeName": "OnMode", + "attributeId": 0x00000002, + "type": "int", + "writable": True, + }, + 0x00000003: { + "attributeName": "StartUpMode", + "attributeId": 0x00000003, + "type": "int", + }, + 0x00000004: { + "attributeName": "Description", + "attributeId": 0x00000004, + "type": "str", + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", }, }, - }, - "attributes": { - 0x00000000: { - "attributeName": "CurrentMode", - "attributeId": 0x00000000, - "type": "int", - "reportable": True, - }, - 0x00000001: { - "attributeName": "SupportedModes", - "attributeId": 0x00000001, - "type": "", - }, - 0x00000002: { - "attributeName": "OnMode", - "attributeId": 0x00000002, - "type": "int", - "writable": True, - }, - 0x00000003: { - "attributeName": "StartUpMode", - "attributeId": 0x00000003, - "type": "int", - }, - 0x00000004: { - "attributeName": "Description", - "attributeId": 0x00000004, - "type": "str", - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - }, - }, } _NETWORK_COMMISSIONING_CLUSTER_INFO = { - "clusterName": "NetworkCommissioning", - "clusterId": 0x00000031, - "commands": { + "clusterName": "NetworkCommissioning", + "clusterId": 0x00000031, + "commands": { 0x00000006: { - "commandId": 0x00000006, - "commandName": "AddThreadNetwork", - "args": { - "operationalDataset": "bytes", - "breadcrumb": "int", - "timeoutMs": "int", + "commandId": 0x00000006, + "commandName": "AddThreadNetwork", + "args": { + "operationalDataset": "bytes", + "breadcrumb": "int", + "timeoutMs": "int", + }, }, - }, 0x00000002: { - "commandId": 0x00000002, - "commandName": "AddWiFiNetwork", - "args": { - "ssid": "bytes", - "credentials": "bytes", - "breadcrumb": "int", - "timeoutMs": "int", + "commandId": 0x00000002, + "commandName": "AddWiFiNetwork", + "args": { + "ssid": "bytes", + "credentials": "bytes", + "breadcrumb": "int", + "timeoutMs": "int", + }, }, - }, 0x0000000E: { - "commandId": 0x0000000E, - "commandName": "DisableNetwork", - "args": { - "networkID": "bytes", - "breadcrumb": "int", - "timeoutMs": "int", + "commandId": 0x0000000E, + "commandName": "DisableNetwork", + "args": { + "networkID": "bytes", + "breadcrumb": "int", + "timeoutMs": "int", + }, }, - }, 0x0000000C: { - "commandId": 0x0000000C, - "commandName": "EnableNetwork", - "args": { - "networkID": "bytes", - "breadcrumb": "int", - "timeoutMs": "int", + "commandId": 0x0000000C, + "commandName": "EnableNetwork", + "args": { + "networkID": "bytes", + "breadcrumb": "int", + "timeoutMs": "int", + }, }, - }, 0x00000010: { - "commandId": 0x00000010, - "commandName": "GetLastNetworkCommissioningResult", - "args": { - "timeoutMs": "int", + "commandId": 0x00000010, + "commandName": "GetLastNetworkCommissioningResult", + "args": { + "timeoutMs": "int", + }, }, - }, 0x0000000A: { - "commandId": 0x0000000A, - "commandName": "RemoveNetwork", - "args": { - "networkID": "bytes", - "breadcrumb": "int", - "timeoutMs": "int", + "commandId": 0x0000000A, + "commandName": "RemoveNetwork", + "args": { + "networkID": "bytes", + "breadcrumb": "int", + "timeoutMs": "int", + }, }, - }, 0x00000000: { - "commandId": 0x00000000, - "commandName": "ScanNetworks", - "args": { - "ssid": "bytes", - "breadcrumb": "int", - "timeoutMs": "int", + "commandId": 0x00000000, + "commandName": "ScanNetworks", + "args": { + "ssid": "bytes", + "breadcrumb": "int", + "timeoutMs": "int", + }, }, - }, 0x00000008: { - "commandId": 0x00000008, - "commandName": "UpdateThreadNetwork", - "args": { - "operationalDataset": "bytes", - "breadcrumb": "int", - "timeoutMs": "int", + "commandId": 0x00000008, + "commandName": "UpdateThreadNetwork", + "args": { + "operationalDataset": "bytes", + "breadcrumb": "int", + "timeoutMs": "int", + }, }, - }, 0x00000004: { - "commandId": 0x00000004, - "commandName": "UpdateWiFiNetwork", - "args": { - "ssid": "bytes", - "credentials": "bytes", - "breadcrumb": "int", - "timeoutMs": "int", + "commandId": 0x00000004, + "commandName": "UpdateWiFiNetwork", + "args": { + "ssid": "bytes", + "credentials": "bytes", + "breadcrumb": "int", + "timeoutMs": "int", + }, }, }, - }, - "attributes": { - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", + "attributes": { + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + }, }, - }, } _OTA_SOFTWARE_UPDATE_PROVIDER_CLUSTER_INFO = { - "clusterName": "OtaSoftwareUpdateProvider", - "clusterId": 0x00000029, - "commands": { + "clusterName": "OtaSoftwareUpdateProvider", + "clusterId": 0x00000029, + "commands": { 0x00000001: { - "commandId": 0x00000001, - "commandName": "ApplyUpdateRequest", - "args": { - "updateToken": "bytes", - "newVersion": "int", + "commandId": 0x00000001, + "commandName": "ApplyUpdateRequest", + "args": { + "updateToken": "bytes", + "newVersion": "int", + }, }, - }, 0x00000002: { - "commandId": 0x00000002, - "commandName": "NotifyUpdateApplied", - "args": { - "updateToken": "bytes", - "softwareVersion": "int", + "commandId": 0x00000002, + "commandName": "NotifyUpdateApplied", + "args": { + "updateToken": "bytes", + "softwareVersion": "int", + }, }, - }, 0x00000000: { - "commandId": 0x00000000, - "commandName": "QueryImage", - "args": { - "vendorId": "int", - "productId": "int", - "hardwareVersion": "int", - "softwareVersion": "int", - "protocolsSupported": "int", - "location": "str", - "requestorCanConsent": "bool", - "metadataForProvider": "bytes", + "commandId": 0x00000000, + "commandName": "QueryImage", + "args": { + "vendorId": "int", + "productId": "int", + "hardwareVersion": "int", + "softwareVersion": "int", + "protocolsSupported": "int", + "location": "str", + "requestorCanConsent": "bool", + "metadataForProvider": "bytes", + }, + }, + }, + "attributes": { + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", }, }, - }, - "attributes": { - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - }, - }, } _OTA_SOFTWARE_UPDATE_REQUESTOR_CLUSTER_INFO = { - "clusterName": "OtaSoftwareUpdateRequestor", - "clusterId": 0x0000002A, - "commands": { + "clusterName": "OtaSoftwareUpdateRequestor", + "clusterId": 0x0000002A, + "commands": { 0x00000000: { - "commandId": 0x00000000, - "commandName": "AnnounceOtaProvider", - "args": { - "providerLocation": "int", - "vendorId": "int", - "announcementReason": "int", - "metadataForNode": "bytes", + "commandId": 0x00000000, + "commandName": "AnnounceOtaProvider", + "args": { + "providerLocation": "int", + "vendorId": "int", + "announcementReason": "int", + "metadataForNode": "bytes", + }, + }, + }, + "attributes": { + 0x00000001: { + "attributeName": "DefaultOtaProvider", + "attributeId": 0x00000001, + "type": "bytes", + "writable": True, + }, + 0x00000002: { + "attributeName": "UpdatePossible", + "attributeId": 0x00000002, + "type": "bool", + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", }, }, - }, - "attributes": { - 0x00000001: { - "attributeName": "DefaultOtaProvider", - "attributeId": 0x00000001, - "type": "bytes", - "writable": True, - }, - 0x00000002: { - "attributeName": "UpdatePossible", - "attributeId": 0x00000002, - "type": "bool", - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - }, - }, } _OCCUPANCY_SENSING_CLUSTER_INFO = { - "clusterName": "OccupancySensing", - "clusterId": 0x00000406, - "commands": { - }, - "attributes": { - 0x00000000: { - "attributeName": "Occupancy", - "attributeId": 0x00000000, - "type": "int", - "reportable": True, + "clusterName": "OccupancySensing", + "clusterId": 0x00000406, + "commands": { }, - 0x00000001: { - "attributeName": "OccupancySensorType", - "attributeId": 0x00000001, - "type": "int", - }, - 0x00000002: { - "attributeName": "OccupancySensorTypeBitmap", - "attributeId": 0x00000002, - "type": "int", - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", + "attributes": { + 0x00000000: { + "attributeName": "Occupancy", + "attributeId": 0x00000000, + "type": "int", + "reportable": True, + }, + 0x00000001: { + "attributeName": "OccupancySensorType", + "attributeId": 0x00000001, + "type": "int", + }, + 0x00000002: { + "attributeName": "OccupancySensorTypeBitmap", + "attributeId": 0x00000002, + "type": "int", + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + }, }, - }, } _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": { + }, }, - }, 0x00000040: { - "commandId": 0x00000040, - "commandName": "OffWithEffect", - "args": { - "effectId": "int", - "effectVariant": "int", + "commandId": 0x00000040, + "commandName": "OffWithEffect", + "args": { + "effectId": "int", + "effectVariant": "int", + }, }, - }, 0x00000001: { - "commandId": 0x00000001, - "commandName": "On", - "args": { + "commandId": 0x00000001, + "commandName": "On", + "args": { + }, }, - }, 0x00000041: { - "commandId": 0x00000041, - "commandName": "OnWithRecallGlobalScene", - "args": { + "commandId": 0x00000041, + "commandName": "OnWithRecallGlobalScene", + "args": { + }, }, - }, 0x00000042: { - "commandId": 0x00000042, - "commandName": "OnWithTimedOff", - "args": { - "onOffControl": "int", - "onTime": "int", - "offWaitTime": "int", + "commandId": 0x00000042, + "commandName": "OnWithTimedOff", + "args": { + "onOffControl": "int", + "onTime": "int", + "offWaitTime": "int", + }, }, - }, 0x00000002: { - "commandId": 0x00000002, - "commandName": "Toggle", - "args": { + "commandId": 0x00000002, + "commandName": "Toggle", + "args": { + }, + }, + }, + "attributes": { + 0x00000000: { + "attributeName": "OnOff", + "attributeId": 0x00000000, + "type": "bool", + "reportable": True, + }, + 0x00004000: { + "attributeName": "GlobalSceneControl", + "attributeId": 0x00004000, + "type": "bool", + }, + 0x00004001: { + "attributeName": "OnTime", + "attributeId": 0x00004001, + "type": "int", + "writable": True, + }, + 0x00004002: { + "attributeName": "OffWaitTime", + "attributeId": 0x00004002, + "type": "int", + "writable": True, + }, + 0x00004003: { + "attributeName": "StartUpOnOff", + "attributeId": 0x00004003, + "type": "int", + "writable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", }, }, - }, - "attributes": { - 0x00000000: { - "attributeName": "OnOff", - "attributeId": 0x00000000, - "type": "bool", - "reportable": True, - }, - 0x00004000: { - "attributeName": "GlobalSceneControl", - "attributeId": 0x00004000, - "type": "bool", - }, - 0x00004001: { - "attributeName": "OnTime", - "attributeId": 0x00004001, - "type": "int", - "writable": True, - }, - 0x00004002: { - "attributeName": "OffWaitTime", - "attributeId": 0x00004002, - "type": "int", - "writable": True, - }, - 0x00004003: { - "attributeName": "StartUpOnOff", - "attributeId": 0x00004003, - "type": "int", - "writable": True, - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - }, - }, } _ON_OFF_SWITCH_CONFIGURATION_CLUSTER_INFO = { - "clusterName": "OnOffSwitchConfiguration", - "clusterId": 0x00000007, - "commands": { - }, - "attributes": { - 0x00000000: { - "attributeName": "SwitchType", - "attributeId": 0x00000000, - "type": "int", - }, - 0x00000010: { - "attributeName": "SwitchActions", - "attributeId": 0x00000010, - "type": "int", - "writable": True, + "clusterName": "OnOffSwitchConfiguration", + "clusterId": 0x00000007, + "commands": { }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", + "attributes": { + 0x00000000: { + "attributeName": "SwitchType", + "attributeId": 0x00000000, + "type": "int", + }, + 0x00000010: { + "attributeName": "SwitchActions", + "attributeId": 0x00000010, + "type": "int", + "writable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + }, }, - }, } _OPERATIONAL_CREDENTIALS_CLUSTER_INFO = { - "clusterName": "OperationalCredentials", - "clusterId": 0x0000003E, - "commands": { + "clusterName": "OperationalCredentials", + "clusterId": 0x0000003E, + "commands": { 0x00000006: { - "commandId": 0x00000006, - "commandName": "AddNOC", - "args": { - "NOCValue": "bytes", - "ICACValue": "bytes", - "IPKValue": "bytes", - "caseAdminNode": "int", - "adminVendorId": "int", + "commandId": 0x00000006, + "commandName": "AddNOC", + "args": { + "NOCValue": "bytes", + "ICACValue": "bytes", + "IPKValue": "bytes", + "caseAdminNode": "int", + "adminVendorId": "int", + }, }, - }, 0x0000000B: { - "commandId": 0x0000000B, - "commandName": "AddTrustedRootCertificate", - "args": { - "rootCertificate": "bytes", + "commandId": 0x0000000B, + "commandName": "AddTrustedRootCertificate", + "args": { + "rootCertificate": "bytes", + }, }, - }, 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": "OpCSRRequest", - "args": { - "CSRNonce": "bytes", + "commandId": 0x00000004, + "commandName": "OpCSRRequest", + "args": { + "CSRNonce": "bytes", + }, }, - }, 0x0000000A: { - "commandId": 0x0000000A, - "commandName": "RemoveFabric", - "args": { - "fabricIndex": "int", + "commandId": 0x0000000A, + "commandName": "RemoveFabric", + "args": { + "fabricIndex": "int", + }, }, - }, 0x0000000C: { - "commandId": 0x0000000C, - "commandName": "RemoveTrustedRootCertificate", - "args": { - "trustedRootIdentifier": "bytes", + "commandId": 0x0000000C, + "commandName": "RemoveTrustedRootCertificate", + "args": { + "trustedRootIdentifier": "bytes", + }, }, - }, 0x00000009: { - "commandId": 0x00000009, - "commandName": "UpdateFabricLabel", - "args": { - "label": "str", + "commandId": 0x00000009, + "commandName": "UpdateFabricLabel", + "args": { + "label": "str", + }, }, - }, 0x00000007: { - "commandId": 0x00000007, - "commandName": "UpdateNOC", - "args": { - "NOCValue": "bytes", - "ICACValue": "bytes", + "commandId": 0x00000007, + "commandName": "UpdateNOC", + "args": { + "NOCValue": "bytes", + "ICACValue": "bytes", + }, + }, + }, + "attributes": { + 0x00000001: { + "attributeName": "FabricsList", + "attributeId": 0x00000001, + "type": "", + }, + 0x00000002: { + "attributeName": "SupportedFabrics", + "attributeId": 0x00000002, + "type": "int", + }, + 0x00000003: { + "attributeName": "CommissionedFabrics", + "attributeId": 0x00000003, + "type": "int", + }, + 0x00000004: { + "attributeName": "TrustedRootCertificates", + "attributeId": 0x00000004, + "type": "bytes", + }, + 0x00000005: { + "attributeName": "CurrentFabricIndex", + "attributeId": 0x00000005, + "type": "int", + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", }, }, - }, - "attributes": { - 0x00000001: { - "attributeName": "FabricsList", - "attributeId": 0x00000001, - "type": "", - }, - 0x00000002: { - "attributeName": "SupportedFabrics", - "attributeId": 0x00000002, - "type": "int", - }, - 0x00000003: { - "attributeName": "CommissionedFabrics", - "attributeId": 0x00000003, - "type": "int", - }, - 0x00000004: { - "attributeName": "TrustedRootCertificates", - "attributeId": 0x00000004, - "type": "bytes", - }, - 0x00000005: { - "attributeName": "CurrentFabricIndex", - "attributeId": 0x00000005, - "type": "int", - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - }, - }, } _POWER_SOURCE_CLUSTER_INFO = { - "clusterName": "PowerSource", - "clusterId": 0x0000002F, - "commands": { - }, - "attributes": { - 0x00000000: { - "attributeName": "Status", - "attributeId": 0x00000000, - "type": "int", - }, - 0x00000001: { - "attributeName": "Order", - "attributeId": 0x00000001, - "type": "int", - }, - 0x00000002: { - "attributeName": "Description", - "attributeId": 0x00000002, - "type": "str", - }, - 0x0000000B: { - "attributeName": "BatteryVoltage", - "attributeId": 0x0000000B, - "type": "int", - }, - 0x0000000C: { - "attributeName": "BatteryPercentRemaining", - "attributeId": 0x0000000C, - "type": "int", - }, - 0x0000000D: { - "attributeName": "BatteryTimeRemaining", - "attributeId": 0x0000000D, - "type": "int", - }, - 0x0000000E: { - "attributeName": "BatteryChargeLevel", - "attributeId": 0x0000000E, - "type": "int", - }, - 0x00000012: { - "attributeName": "ActiveBatteryFaults", - "attributeId": 0x00000012, - "type": "int", - }, - 0x0000001A: { - "attributeName": "BatteryChargeState", - "attributeId": 0x0000001A, - "type": "int", - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", + "clusterName": "PowerSource", + "clusterId": 0x0000002F, + "commands": { + }, + "attributes": { + 0x00000000: { + "attributeName": "Status", + "attributeId": 0x00000000, + "type": "int", + }, + 0x00000001: { + "attributeName": "Order", + "attributeId": 0x00000001, + "type": "int", + }, + 0x00000002: { + "attributeName": "Description", + "attributeId": 0x00000002, + "type": "str", + }, + 0x0000000B: { + "attributeName": "BatteryVoltage", + "attributeId": 0x0000000B, + "type": "int", + }, + 0x0000000C: { + "attributeName": "BatteryPercentRemaining", + "attributeId": 0x0000000C, + "type": "int", + }, + 0x0000000D: { + "attributeName": "BatteryTimeRemaining", + "attributeId": 0x0000000D, + "type": "int", + }, + 0x0000000E: { + "attributeName": "BatteryChargeLevel", + "attributeId": 0x0000000E, + "type": "int", + }, + 0x00000012: { + "attributeName": "ActiveBatteryFaults", + "attributeId": 0x00000012, + "type": "int", + }, + 0x0000001A: { + "attributeName": "BatteryChargeState", + "attributeId": 0x0000001A, + "type": "int", + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + }, }, - }, } _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", + "clusterName": "PressureMeasurement", + "clusterId": 0x00000403, + "commands": { }, - 0x00000002: { - "attributeName": "MaxMeasuredValue", - "attributeId": 0x00000002, - "type": "int", - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", + "attributes": { + 0x00000000: { + "attributeName": "MeasuredValue", + "attributeId": 0x00000000, + "type": "int", + "reportable": True, + }, + 0x00000001: { + "attributeName": "MinMeasuredValue", + "attributeId": 0x00000001, + "type": "int", + }, + 0x00000002: { + "attributeName": "MaxMeasuredValue", + "attributeId": 0x00000002, + "type": "int", + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + }, }, - }, } _PUMP_CONFIGURATION_AND_CONTROL_CLUSTER_INFO = { - "clusterName": "PumpConfigurationAndControl", - "clusterId": 0x00000200, - "commands": { - }, - "attributes": { - 0x00000000: { - "attributeName": "MaxPressure", - "attributeId": 0x00000000, - "type": "int", - }, - 0x00000001: { - "attributeName": "MaxSpeed", - "attributeId": 0x00000001, - "type": "int", - }, - 0x00000002: { - "attributeName": "MaxFlow", - "attributeId": 0x00000002, - "type": "int", - }, - 0x00000003: { - "attributeName": "MinConstPressure", - "attributeId": 0x00000003, - "type": "int", - }, - 0x00000004: { - "attributeName": "MaxConstPressure", - "attributeId": 0x00000004, - "type": "int", - }, - 0x00000005: { - "attributeName": "MinCompPressure", - "attributeId": 0x00000005, - "type": "int", - }, - 0x00000006: { - "attributeName": "MaxCompPressure", - "attributeId": 0x00000006, - "type": "int", - }, - 0x00000007: { - "attributeName": "MinConstSpeed", - "attributeId": 0x00000007, - "type": "int", - }, - 0x00000008: { - "attributeName": "MaxConstSpeed", - "attributeId": 0x00000008, - "type": "int", - }, - 0x00000009: { - "attributeName": "MinConstFlow", - "attributeId": 0x00000009, - "type": "int", - }, - 0x0000000A: { - "attributeName": "MaxConstFlow", - "attributeId": 0x0000000A, - "type": "int", - }, - 0x0000000B: { - "attributeName": "MinConstTemp", - "attributeId": 0x0000000B, - "type": "int", - }, - 0x0000000C: { - "attributeName": "MaxConstTemp", - "attributeId": 0x0000000C, - "type": "int", - }, - 0x00000010: { - "attributeName": "PumpStatus", - "attributeId": 0x00000010, - "type": "int", - "reportable": True, - }, - 0x00000011: { - "attributeName": "EffectiveOperationMode", - "attributeId": 0x00000011, - "type": "int", - }, - 0x00000012: { - "attributeName": "EffectiveControlMode", - "attributeId": 0x00000012, - "type": "int", - }, - 0x00000013: { - "attributeName": "Capacity", - "attributeId": 0x00000013, - "type": "int", - "reportable": True, - }, - 0x00000014: { - "attributeName": "Speed", - "attributeId": 0x00000014, - "type": "int", - }, - 0x00000017: { - "attributeName": "LifetimeEnergyConsumed", - "attributeId": 0x00000017, - "type": "int", - }, - 0x00000020: { - "attributeName": "OperationMode", - "attributeId": 0x00000020, - "type": "int", - "writable": True, - }, - 0x00000021: { - "attributeName": "ControlMode", - "attributeId": 0x00000021, - "type": "int", - "writable": True, - }, - 0x00000022: { - "attributeName": "AlarmMask", - "attributeId": 0x00000022, - "type": "int", - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", + "clusterName": "PumpConfigurationAndControl", + "clusterId": 0x00000200, + "commands": { + }, + "attributes": { + 0x00000000: { + "attributeName": "MaxPressure", + "attributeId": 0x00000000, + "type": "int", + }, + 0x00000001: { + "attributeName": "MaxSpeed", + "attributeId": 0x00000001, + "type": "int", + }, + 0x00000002: { + "attributeName": "MaxFlow", + "attributeId": 0x00000002, + "type": "int", + }, + 0x00000003: { + "attributeName": "MinConstPressure", + "attributeId": 0x00000003, + "type": "int", + }, + 0x00000004: { + "attributeName": "MaxConstPressure", + "attributeId": 0x00000004, + "type": "int", + }, + 0x00000005: { + "attributeName": "MinCompPressure", + "attributeId": 0x00000005, + "type": "int", + }, + 0x00000006: { + "attributeName": "MaxCompPressure", + "attributeId": 0x00000006, + "type": "int", + }, + 0x00000007: { + "attributeName": "MinConstSpeed", + "attributeId": 0x00000007, + "type": "int", + }, + 0x00000008: { + "attributeName": "MaxConstSpeed", + "attributeId": 0x00000008, + "type": "int", + }, + 0x00000009: { + "attributeName": "MinConstFlow", + "attributeId": 0x00000009, + "type": "int", + }, + 0x0000000A: { + "attributeName": "MaxConstFlow", + "attributeId": 0x0000000A, + "type": "int", + }, + 0x0000000B: { + "attributeName": "MinConstTemp", + "attributeId": 0x0000000B, + "type": "int", + }, + 0x0000000C: { + "attributeName": "MaxConstTemp", + "attributeId": 0x0000000C, + "type": "int", + }, + 0x00000010: { + "attributeName": "PumpStatus", + "attributeId": 0x00000010, + "type": "int", + "reportable": True, + }, + 0x00000011: { + "attributeName": "EffectiveOperationMode", + "attributeId": 0x00000011, + "type": "int", + }, + 0x00000012: { + "attributeName": "EffectiveControlMode", + "attributeId": 0x00000012, + "type": "int", + }, + 0x00000013: { + "attributeName": "Capacity", + "attributeId": 0x00000013, + "type": "int", + "reportable": True, + }, + 0x00000014: { + "attributeName": "Speed", + "attributeId": 0x00000014, + "type": "int", + }, + 0x00000017: { + "attributeName": "LifetimeEnergyConsumed", + "attributeId": 0x00000017, + "type": "int", + }, + 0x00000020: { + "attributeName": "OperationMode", + "attributeId": 0x00000020, + "type": "int", + "writable": True, + }, + 0x00000021: { + "attributeName": "ControlMode", + "attributeId": 0x00000021, + "type": "int", + "writable": True, + }, + 0x00000022: { + "attributeName": "AlarmMask", + "attributeId": 0x00000022, + "type": "int", + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + }, }, - }, } _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", - }, - 0x00000002: { - "attributeName": "MaxMeasuredValue", - "attributeId": 0x00000002, - "type": "int", - }, - 0x00000003: { - "attributeName": "Tolerance", - "attributeId": 0x00000003, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", + "clusterName": "RelativeHumidityMeasurement", + "clusterId": 0x00000405, + "commands": { + }, + "attributes": { + 0x00000000: { + "attributeName": "MeasuredValue", + "attributeId": 0x00000000, + "type": "int", + "reportable": True, + }, + 0x00000001: { + "attributeName": "MinMeasuredValue", + "attributeId": 0x00000001, + "type": "int", + }, + 0x00000002: { + "attributeName": "MaxMeasuredValue", + "attributeId": 0x00000002, + "type": "int", + }, + 0x00000003: { + "attributeName": "Tolerance", + "attributeId": 0x00000003, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + }, }, - }, } _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", - "length": "int", - "value": "int", + "commandId": 0x00000000, + "commandName": "AddScene", + "args": { + "groupId": "int", + "sceneId": "int", + "transitionTime": "int", + "sceneName": "str", + "clusterId": "int", + "length": "int", + "value": "int", + }, }, - }, 0x00000006: { - "commandId": 0x00000006, - "commandName": "GetSceneMembership", - "args": { - "groupId": "int", + "commandId": 0x00000006, + "commandName": "GetSceneMembership", + "args": { + "groupId": "int", + }, }, - }, 0x00000005: { - "commandId": 0x00000005, - "commandName": "RecallScene", - "args": { - "groupId": "int", - "sceneId": "int", - "transitionTime": "int", + "commandId": 0x00000005, + "commandName": "RecallScene", + "args": { + "groupId": "int", + "sceneId": "int", + "transitionTime": "int", + }, }, - }, 0x00000003: { - "commandId": 0x00000003, - "commandName": "RemoveAllScenes", - "args": { - "groupId": "int", + "commandId": 0x00000003, + "commandName": "RemoveAllScenes", + "args": { + "groupId": "int", + }, }, - }, 0x00000002: { - "commandId": 0x00000002, - "commandName": "RemoveScene", - "args": { - "groupId": "int", - "sceneId": "int", + "commandId": 0x00000002, + "commandName": "RemoveScene", + "args": { + "groupId": "int", + "sceneId": "int", + }, }, - }, 0x00000004: { - "commandId": 0x00000004, - "commandName": "StoreScene", - "args": { - "groupId": "int", - "sceneId": "int", + "commandId": 0x00000004, + "commandName": "StoreScene", + "args": { + "groupId": "int", + "sceneId": "int", + }, }, - }, 0x00000001: { - "commandId": 0x00000001, - "commandName": "ViewScene", - "args": { - "groupId": "int", - "sceneId": "int", + "commandId": 0x00000001, + "commandName": "ViewScene", + "args": { + "groupId": "int", + "sceneId": "int", + }, + }, + }, + "attributes": { + 0x00000000: { + "attributeName": "SceneCount", + "attributeId": 0x00000000, + "type": "int", + }, + 0x00000001: { + "attributeName": "CurrentScene", + "attributeId": 0x00000001, + "type": "int", + }, + 0x00000002: { + "attributeName": "CurrentGroup", + "attributeId": 0x00000002, + "type": "int", + }, + 0x00000003: { + "attributeName": "SceneValid", + "attributeId": 0x00000003, + "type": "bool", + }, + 0x00000004: { + "attributeName": "NameSupport", + "attributeId": 0x00000004, + "type": "int", + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", }, }, - }, - "attributes": { - 0x00000000: { - "attributeName": "SceneCount", - "attributeId": 0x00000000, - "type": "int", - }, - 0x00000001: { - "attributeName": "CurrentScene", - "attributeId": 0x00000001, - "type": "int", - }, - 0x00000002: { - "attributeName": "CurrentGroup", - "attributeId": 0x00000002, - "type": "int", - }, - 0x00000003: { - "attributeName": "SceneValid", - "attributeId": 0x00000003, - "type": "bool", - }, - 0x00000004: { - "attributeName": "NameSupport", - "attributeId": 0x00000004, - "type": "int", - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - }, - }, } _SOFTWARE_DIAGNOSTICS_CLUSTER_INFO = { - "clusterName": "SoftwareDiagnostics", - "clusterId": 0x00000034, - "commands": { + "clusterName": "SoftwareDiagnostics", + "clusterId": 0x00000034, + "commands": { 0x00000000: { - "commandId": 0x00000000, - "commandName": "ResetWatermarks", - "args": { + "commandId": 0x00000000, + "commandName": "ResetWatermarks", + "args": { + }, }, }, - }, - "attributes": { - 0x00000001: { - "attributeName": "CurrentHeapFree", - "attributeId": 0x00000001, - "type": "int", - }, - 0x00000002: { - "attributeName": "CurrentHeapUsed", - "attributeId": 0x00000002, - "type": "int", - }, - 0x00000003: { - "attributeName": "CurrentHeapHighWatermark", - "attributeId": 0x00000003, - "type": "int", - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", + "attributes": { + 0x00000001: { + "attributeName": "CurrentHeapFree", + "attributeId": 0x00000001, + "type": "int", + }, + 0x00000002: { + "attributeName": "CurrentHeapUsed", + "attributeId": 0x00000002, + "type": "int", + }, + 0x00000003: { + "attributeName": "CurrentHeapHighWatermark", + "attributeId": 0x00000003, + "type": "int", + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + }, }, - }, } _SWITCH_CLUSTER_INFO = { - "clusterName": "Switch", - "clusterId": 0x0000003B, - "commands": { - }, - "attributes": { - 0x00000000: { - "attributeName": "NumberOfPositions", - "attributeId": 0x00000000, - "type": "int", - }, - 0x00000001: { - "attributeName": "CurrentPosition", - "attributeId": 0x00000001, - "type": "int", - "reportable": True, + "clusterName": "Switch", + "clusterId": 0x0000003B, + "commands": { }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", + "attributes": { + 0x00000000: { + "attributeName": "NumberOfPositions", + "attributeId": 0x00000000, + "type": "int", + }, + 0x00000001: { + "attributeName": "CurrentPosition", + "attributeId": 0x00000001, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + }, }, - }, } _TV_CHANNEL_CLUSTER_INFO = { - "clusterName": "TvChannel", - "clusterId": 0x00000504, - "commands": { + "clusterName": "TvChannel", + "clusterId": 0x00000504, + "commands": { 0x00000000: { - "commandId": 0x00000000, - "commandName": "ChangeChannel", - "args": { - "match": "str", + "commandId": 0x00000000, + "commandName": "ChangeChannel", + "args": { + "match": "str", + }, }, - }, 0x00000001: { - "commandId": 0x00000001, - "commandName": "ChangeChannelByNumber", - "args": { - "majorNumber": "int", - "minorNumber": "int", + "commandId": 0x00000001, + "commandName": "ChangeChannelByNumber", + "args": { + "majorNumber": "int", + "minorNumber": "int", + }, }, - }, 0x00000002: { - "commandId": 0x00000002, - "commandName": "SkipChannel", - "args": { - "count": "int", + "commandId": 0x00000002, + "commandName": "SkipChannel", + "args": { + "count": "int", + }, }, }, - }, - "attributes": { - 0x00000000: { - "attributeName": "TvChannelList", - "attributeId": 0x00000000, - "type": "", - }, - 0x00000001: { - "attributeName": "TvChannelLineup", - "attributeId": 0x00000001, - "type": "bytes", - }, - 0x00000002: { - "attributeName": "CurrentTvChannel", - "attributeId": 0x00000002, - "type": "bytes", - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", + "attributes": { + 0x00000000: { + "attributeName": "TvChannelList", + "attributeId": 0x00000000, + "type": "", + }, + 0x00000001: { + "attributeName": "TvChannelLineup", + "attributeId": 0x00000001, + "type": "bytes", + }, + 0x00000002: { + "attributeName": "CurrentTvChannel", + "attributeId": 0x00000002, + "type": "bytes", + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + }, }, - }, } _TARGET_NAVIGATOR_CLUSTER_INFO = { - "clusterName": "TargetNavigator", - "clusterId": 0x00000505, - "commands": { + "clusterName": "TargetNavigator", + "clusterId": 0x00000505, + "commands": { 0x00000000: { - "commandId": 0x00000000, - "commandName": "NavigateTarget", - "args": { - "target": "int", - "data": "str", + "commandId": 0x00000000, + "commandName": "NavigateTarget", + "args": { + "target": "int", + "data": "str", + }, }, }, - }, - "attributes": { - 0x00000000: { - "attributeName": "TargetNavigatorList", - "attributeId": 0x00000000, - "type": "", - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", + "attributes": { + 0x00000000: { + "attributeName": "TargetNavigatorList", + "attributeId": 0x00000000, + "type": "", + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + }, }, - }, } _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", - }, - 0x00000002: { - "attributeName": "MaxMeasuredValue", - "attributeId": 0x00000002, - "type": "int", - }, - 0x00000003: { - "attributeName": "Tolerance", - "attributeId": 0x00000003, - "type": "int", - "reportable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", + "clusterName": "TemperatureMeasurement", + "clusterId": 0x00000402, + "commands": { + }, + "attributes": { + 0x00000000: { + "attributeName": "MeasuredValue", + "attributeId": 0x00000000, + "type": "int", + "reportable": True, + }, + 0x00000001: { + "attributeName": "MinMeasuredValue", + "attributeId": 0x00000001, + "type": "int", + }, + 0x00000002: { + "attributeName": "MaxMeasuredValue", + "attributeId": 0x00000002, + "type": "int", + }, + 0x00000003: { + "attributeName": "Tolerance", + "attributeId": 0x00000003, + "type": "int", + "reportable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + }, }, - }, } _TEST_CLUSTER_CLUSTER_INFO = { - "clusterName": "TestCluster", - "clusterId": 0x0000050F, - "commands": { + "clusterName": "TestCluster", + "clusterId": 0x0000050F, + "commands": { 0x00000000: { - "commandId": 0x00000000, - "commandName": "Test", - "args": { + "commandId": 0x00000000, + "commandName": "Test", + "args": { + }, }, - }, 0x00000004: { - "commandId": 0x00000004, - "commandName": "TestAddArguments", - "args": { - "arg1": "int", - "arg2": "int", + "commandId": 0x00000004, + "commandName": "TestAddArguments", + "args": { + "arg1": "int", + "arg2": "int", + }, }, - }, 0x0000000E: { - "commandId": 0x0000000E, - "commandName": "TestEnumsRequest", - "args": { - "arg1": "int", - "arg2": "int", + "commandId": 0x0000000E, + "commandName": "TestEnumsRequest", + "args": { + "arg1": "int", + "arg2": "int", + }, }, - }, 0x0000000A: { - "commandId": 0x0000000A, - "commandName": "TestListInt8UArgumentRequest", - "args": { - "arg1": "int", + "commandId": 0x0000000A, + "commandName": "TestListInt8UArgumentRequest", + "args": { + "arg1": "int", + }, }, - }, 0x0000000D: { - "commandId": 0x0000000D, - "commandName": "TestListInt8UReverseRequest", - "args": { - "arg1": "int", + "commandId": 0x0000000D, + "commandName": "TestListInt8UReverseRequest", + "args": { + "arg1": "int", + }, }, - }, 0x00000009: { - "commandId": 0x00000009, - "commandName": "TestListStructArgumentRequest", - "args": { - "a": "int", - "b": "bool", - "c": "int", - "d": "bytes", - "e": "str", - "f": "int", + "commandId": 0x00000009, + "commandName": "TestListStructArgumentRequest", + "args": { + "a": "int", + "b": "bool", + "c": "int", + "d": "bytes", + "e": "str", + "f": "int", + }, }, - }, 0x00000001: { - "commandId": 0x00000001, - "commandName": "TestNotHandled", - "args": { + "commandId": 0x00000001, + "commandName": "TestNotHandled", + "args": { + }, }, - }, 0x0000000F: { - "commandId": 0x0000000F, - "commandName": "TestNullableOptionalRequest", - "args": { - "arg1": "int", + "commandId": 0x0000000F, + "commandName": "TestNullableOptionalRequest", + "args": { + "arg1": "int", + }, }, - }, 0x00000002: { - "commandId": 0x00000002, - "commandName": "TestSpecific", - "args": { + "commandId": 0x00000002, + "commandName": "TestSpecific", + "args": { + }, }, - }, 0x00000007: { - "commandId": 0x00000007, - "commandName": "TestStructArgumentRequest", - "args": { - "a": "int", - "b": "bool", - "c": "int", - "d": "bytes", - "e": "str", - "f": "int", + "commandId": 0x00000007, + "commandName": "TestStructArgumentRequest", + "args": { + "a": "int", + "b": "bool", + "c": "int", + "d": "bytes", + "e": "str", + "f": "int", + }, }, - }, 0x00000003: { - "commandId": 0x00000003, - "commandName": "TestUnknownCommand", - "args": { + "commandId": 0x00000003, + "commandName": "TestUnknownCommand", + "args": { + }, + }, + }, + "attributes": { + 0x00000000: { + "attributeName": "Boolean", + "attributeId": 0x00000000, + "type": "bool", + "writable": True, + }, + 0x00000001: { + "attributeName": "Bitmap8", + "attributeId": 0x00000001, + "type": "int", + "writable": True, + }, + 0x00000002: { + "attributeName": "Bitmap16", + "attributeId": 0x00000002, + "type": "int", + "writable": True, + }, + 0x00000003: { + "attributeName": "Bitmap32", + "attributeId": 0x00000003, + "type": "int", + "writable": True, + }, + 0x00000004: { + "attributeName": "Bitmap64", + "attributeId": 0x00000004, + "type": "int", + "writable": True, + }, + 0x00000005: { + "attributeName": "Int8u", + "attributeId": 0x00000005, + "type": "int", + "writable": True, + }, + 0x00000006: { + "attributeName": "Int16u", + "attributeId": 0x00000006, + "type": "int", + "writable": True, + }, + 0x00000008: { + "attributeName": "Int32u", + "attributeId": 0x00000008, + "type": "int", + "writable": True, + }, + 0x0000000C: { + "attributeName": "Int64u", + "attributeId": 0x0000000C, + "type": "int", + "writable": True, + }, + 0x0000000D: { + "attributeName": "Int8s", + "attributeId": 0x0000000D, + "type": "int", + "writable": True, + }, + 0x0000000E: { + "attributeName": "Int16s", + "attributeId": 0x0000000E, + "type": "int", + "writable": True, + }, + 0x00000010: { + "attributeName": "Int32s", + "attributeId": 0x00000010, + "type": "int", + "writable": True, + }, + 0x00000014: { + "attributeName": "Int64s", + "attributeId": 0x00000014, + "type": "int", + "writable": True, + }, + 0x00000015: { + "attributeName": "Enum8", + "attributeId": 0x00000015, + "type": "int", + "writable": True, + }, + 0x00000016: { + "attributeName": "Enum16", + "attributeId": 0x00000016, + "type": "int", + "writable": True, + }, + 0x00000019: { + "attributeName": "OctetString", + "attributeId": 0x00000019, + "type": "bytes", + "writable": True, + }, + 0x0000001A: { + "attributeName": "ListInt8u", + "attributeId": 0x0000001A, + "type": "int", + }, + 0x0000001B: { + "attributeName": "ListOctetString", + "attributeId": 0x0000001B, + "type": "bytes", + }, + 0x0000001C: { + "attributeName": "ListStructOctetString", + "attributeId": 0x0000001C, + "type": "", + }, + 0x0000001D: { + "attributeName": "LongOctetString", + "attributeId": 0x0000001D, + "type": "bytes", + "writable": True, + }, + 0x0000001E: { + "attributeName": "CharString", + "attributeId": 0x0000001E, + "type": "str", + "writable": True, + }, + 0x0000001F: { + "attributeName": "LongCharString", + "attributeId": 0x0000001F, + "type": "str", + "writable": True, + }, + 0x00000020: { + "attributeName": "EpochUs", + "attributeId": 0x00000020, + "type": "int", + "writable": True, + }, + 0x00000021: { + "attributeName": "EpochS", + "attributeId": 0x00000021, + "type": "int", + "writable": True, + }, + 0x00000022: { + "attributeName": "VendorId", + "attributeId": 0x00000022, + "type": "int", + "writable": True, + }, + 0x00000023: { + "attributeName": "ListNullablesAndOptionalsStruct", + "attributeId": 0x00000023, + "type": "", + }, + 0x000000FF: { + "attributeName": "Unsupported", + "attributeId": 0x000000FF, + "type": "bool", + "writable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", }, }, - }, - "attributes": { - 0x00000000: { - "attributeName": "Boolean", - "attributeId": 0x00000000, - "type": "bool", - "writable": True, - }, - 0x00000001: { - "attributeName": "Bitmap8", - "attributeId": 0x00000001, - "type": "int", - "writable": True, - }, - 0x00000002: { - "attributeName": "Bitmap16", - "attributeId": 0x00000002, - "type": "int", - "writable": True, - }, - 0x00000003: { - "attributeName": "Bitmap32", - "attributeId": 0x00000003, - "type": "int", - "writable": True, - }, - 0x00000004: { - "attributeName": "Bitmap64", - "attributeId": 0x00000004, - "type": "int", - "writable": True, - }, - 0x00000005: { - "attributeName": "Int8u", - "attributeId": 0x00000005, - "type": "int", - "writable": True, - }, - 0x00000006: { - "attributeName": "Int16u", - "attributeId": 0x00000006, - "type": "int", - "writable": True, - }, - 0x00000008: { - "attributeName": "Int32u", - "attributeId": 0x00000008, - "type": "int", - "writable": True, - }, - 0x0000000C: { - "attributeName": "Int64u", - "attributeId": 0x0000000C, - "type": "int", - "writable": True, - }, - 0x0000000D: { - "attributeName": "Int8s", - "attributeId": 0x0000000D, - "type": "int", - "writable": True, - }, - 0x0000000E: { - "attributeName": "Int16s", - "attributeId": 0x0000000E, - "type": "int", - "writable": True, - }, - 0x00000010: { - "attributeName": "Int32s", - "attributeId": 0x00000010, - "type": "int", - "writable": True, - }, - 0x00000014: { - "attributeName": "Int64s", - "attributeId": 0x00000014, - "type": "int", - "writable": True, - }, - 0x00000015: { - "attributeName": "Enum8", - "attributeId": 0x00000015, - "type": "int", - "writable": True, - }, - 0x00000016: { - "attributeName": "Enum16", - "attributeId": 0x00000016, - "type": "int", - "writable": True, - }, - 0x00000019: { - "attributeName": "OctetString", - "attributeId": 0x00000019, - "type": "bytes", - "writable": True, - }, - 0x0000001A: { - "attributeName": "ListInt8u", - "attributeId": 0x0000001A, - "type": "int", - }, - 0x0000001B: { - "attributeName": "ListOctetString", - "attributeId": 0x0000001B, - "type": "bytes", - }, - 0x0000001C: { - "attributeName": "ListStructOctetString", - "attributeId": 0x0000001C, - "type": "", - }, - 0x0000001D: { - "attributeName": "LongOctetString", - "attributeId": 0x0000001D, - "type": "bytes", - "writable": True, - }, - 0x0000001E: { - "attributeName": "CharString", - "attributeId": 0x0000001E, - "type": "str", - "writable": True, - }, - 0x0000001F: { - "attributeName": "LongCharString", - "attributeId": 0x0000001F, - "type": "str", - "writable": True, - }, - 0x00000020: { - "attributeName": "EpochUs", - "attributeId": 0x00000020, - "type": "int", - "writable": True, - }, - 0x00000021: { - "attributeName": "EpochS", - "attributeId": 0x00000021, - "type": "int", - "writable": True, - }, - 0x00000022: { - "attributeName": "VendorId", - "attributeId": 0x00000022, - "type": "int", - "writable": True, - }, - 0x00000023: { - "attributeName": "ListNullablesAndOptionalsStruct", - "attributeId": 0x00000023, - "type": "", - }, - 0x000000FF: { - "attributeName": "Unsupported", - "attributeId": 0x000000FF, - "type": "bool", - "writable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - }, - }, } _THERMOSTAT_CLUSTER_INFO = { - "clusterName": "Thermostat", - "clusterId": 0x00000201, - "commands": { + "clusterName": "Thermostat", + "clusterId": 0x00000201, + "commands": { 0x00000003: { - "commandId": 0x00000003, - "commandName": "ClearWeeklySchedule", - "args": { + "commandId": 0x00000003, + "commandName": "ClearWeeklySchedule", + "args": { + }, }, - }, 0x00000004: { - "commandId": 0x00000004, - "commandName": "GetRelayStatusLog", - "args": { + "commandId": 0x00000004, + "commandName": "GetRelayStatusLog", + "args": { + }, }, - }, 0x00000002: { - "commandId": 0x00000002, - "commandName": "GetWeeklySchedule", - "args": { - "daysToReturn": "int", - "modeToReturn": "int", + "commandId": 0x00000002, + "commandName": "GetWeeklySchedule", + "args": { + "daysToReturn": "int", + "modeToReturn": "int", + }, }, - }, 0x00000001: { - "commandId": 0x00000001, - "commandName": "SetWeeklySchedule", - "args": { - "numberOfTransitionsForSequence": "int", - "dayOfWeekForSequence": "int", - "modeForSequence": "int", - "payload": "int", + "commandId": 0x00000001, + "commandName": "SetWeeklySchedule", + "args": { + "numberOfTransitionsForSequence": "int", + "dayOfWeekForSequence": "int", + "modeForSequence": "int", + "payload": "int", + }, }, - }, 0x00000000: { - "commandId": 0x00000000, - "commandName": "SetpointRaiseLower", - "args": { - "mode": "int", - "amount": "int", + "commandId": 0x00000000, + "commandName": "SetpointRaiseLower", + "args": { + "mode": "int", + "amount": "int", + }, + }, + }, + "attributes": { + 0x00000000: { + "attributeName": "LocalTemperature", + "attributeId": 0x00000000, + "type": "int", + "reportable": True, + }, + 0x00000003: { + "attributeName": "AbsMinHeatSetpointLimit", + "attributeId": 0x00000003, + "type": "int", + }, + 0x00000004: { + "attributeName": "AbsMaxHeatSetpointLimit", + "attributeId": 0x00000004, + "type": "int", + }, + 0x00000005: { + "attributeName": "AbsMinCoolSetpointLimit", + "attributeId": 0x00000005, + "type": "int", + }, + 0x00000006: { + "attributeName": "AbsMaxCoolSetpointLimit", + "attributeId": 0x00000006, + "type": "int", + }, + 0x00000011: { + "attributeName": "OccupiedCoolingSetpoint", + "attributeId": 0x00000011, + "type": "int", + "writable": True, + }, + 0x00000012: { + "attributeName": "OccupiedHeatingSetpoint", + "attributeId": 0x00000012, + "type": "int", + "writable": True, + }, + 0x00000015: { + "attributeName": "MinHeatSetpointLimit", + "attributeId": 0x00000015, + "type": "int", + "writable": True, + }, + 0x00000016: { + "attributeName": "MaxHeatSetpointLimit", + "attributeId": 0x00000016, + "type": "int", + "writable": True, + }, + 0x00000017: { + "attributeName": "MinCoolSetpointLimit", + "attributeId": 0x00000017, + "type": "int", + "writable": True, + }, + 0x00000018: { + "attributeName": "MaxCoolSetpointLimit", + "attributeId": 0x00000018, + "type": "int", + "writable": True, + }, + 0x00000019: { + "attributeName": "MinSetpointDeadBand", + "attributeId": 0x00000019, + "type": "int", + "writable": True, + }, + 0x0000001B: { + "attributeName": "ControlSequenceOfOperation", + "attributeId": 0x0000001B, + "type": "int", + "writable": True, + }, + 0x0000001C: { + "attributeName": "SystemMode", + "attributeId": 0x0000001C, + "type": "int", + "writable": True, + }, + 0x00000020: { + "attributeName": "StartOfWeek", + "attributeId": 0x00000020, + "type": "int", + }, + 0x00000021: { + "attributeName": "NumberOfWeeklyTransitions", + "attributeId": 0x00000021, + "type": "int", + }, + 0x00000022: { + "attributeName": "NumberOfDailyTransitions", + "attributeId": 0x00000022, + "type": "int", + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", }, }, - }, - "attributes": { - 0x00000000: { - "attributeName": "LocalTemperature", - "attributeId": 0x00000000, - "type": "int", - "reportable": True, - }, - 0x00000003: { - "attributeName": "AbsMinHeatSetpointLimit", - "attributeId": 0x00000003, - "type": "int", - }, - 0x00000004: { - "attributeName": "AbsMaxHeatSetpointLimit", - "attributeId": 0x00000004, - "type": "int", - }, - 0x00000005: { - "attributeName": "AbsMinCoolSetpointLimit", - "attributeId": 0x00000005, - "type": "int", - }, - 0x00000006: { - "attributeName": "AbsMaxCoolSetpointLimit", - "attributeId": 0x00000006, - "type": "int", - }, - 0x00000011: { - "attributeName": "OccupiedCoolingSetpoint", - "attributeId": 0x00000011, - "type": "int", - "writable": True, - }, - 0x00000012: { - "attributeName": "OccupiedHeatingSetpoint", - "attributeId": 0x00000012, - "type": "int", - "writable": True, - }, - 0x00000015: { - "attributeName": "MinHeatSetpointLimit", - "attributeId": 0x00000015, - "type": "int", - "writable": True, - }, - 0x00000016: { - "attributeName": "MaxHeatSetpointLimit", - "attributeId": 0x00000016, - "type": "int", - "writable": True, - }, - 0x00000017: { - "attributeName": "MinCoolSetpointLimit", - "attributeId": 0x00000017, - "type": "int", - "writable": True, - }, - 0x00000018: { - "attributeName": "MaxCoolSetpointLimit", - "attributeId": 0x00000018, - "type": "int", - "writable": True, - }, - 0x00000019: { - "attributeName": "MinSetpointDeadBand", - "attributeId": 0x00000019, - "type": "int", - "writable": True, - }, - 0x0000001B: { - "attributeName": "ControlSequenceOfOperation", - "attributeId": 0x0000001B, - "type": "int", - "writable": True, - }, - 0x0000001C: { - "attributeName": "SystemMode", - "attributeId": 0x0000001C, - "type": "int", - "writable": True, - }, - 0x00000020: { - "attributeName": "StartOfWeek", - "attributeId": 0x00000020, - "type": "int", - }, - 0x00000021: { - "attributeName": "NumberOfWeeklyTransitions", - "attributeId": 0x00000021, - "type": "int", - }, - 0x00000022: { - "attributeName": "NumberOfDailyTransitions", - "attributeId": 0x00000022, - "type": "int", - }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - }, - }, } _THERMOSTAT_USER_INTERFACE_CONFIGURATION_CLUSTER_INFO = { - "clusterName": "ThermostatUserInterfaceConfiguration", - "clusterId": 0x00000204, - "commands": { - }, - "attributes": { - 0x00000000: { - "attributeName": "TemperatureDisplayMode", - "attributeId": 0x00000000, - "type": "int", - "writable": True, - }, - 0x00000001: { - "attributeName": "KeypadLockout", - "attributeId": 0x00000001, - "type": "int", - "writable": True, - }, - 0x00000002: { - "attributeName": "ScheduleProgrammingVisibility", - "attributeId": 0x00000002, - "type": "int", - "writable": True, - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - }, - }, - } - _THREAD_NETWORK_DIAGNOSTICS_CLUSTER_INFO = { - "clusterName": "ThreadNetworkDiagnostics", - "clusterId": 0x00000035, - "commands": { - 0x00000000: { - "commandId": 0x00000000, - "commandName": "ResetCounts", - "args": { - }, - }, - }, - "attributes": { - 0x00000000: { - "attributeName": "Channel", - "attributeId": 0x00000000, - "type": "int", - }, - 0x00000001: { - "attributeName": "RoutingRole", - "attributeId": 0x00000001, - "type": "int", - }, - 0x00000002: { - "attributeName": "NetworkName", - "attributeId": 0x00000002, - "type": "bytes", - }, - 0x00000003: { - "attributeName": "PanId", - "attributeId": 0x00000003, - "type": "int", - }, - 0x00000004: { - "attributeName": "ExtendedPanId", - "attributeId": 0x00000004, - "type": "int", - }, - 0x00000005: { - "attributeName": "MeshLocalPrefix", - "attributeId": 0x00000005, - "type": "bytes", - }, - 0x00000006: { - "attributeName": "OverrunCount", - "attributeId": 0x00000006, - "type": "int", - }, - 0x00000007: { - "attributeName": "NeighborTableList", - "attributeId": 0x00000007, - "type": "", - }, - 0x00000008: { - "attributeName": "RouteTableList", - "attributeId": 0x00000008, - "type": "", - }, - 0x00000009: { - "attributeName": "PartitionId", - "attributeId": 0x00000009, - "type": "int", - }, - 0x0000000A: { - "attributeName": "Weighting", - "attributeId": 0x0000000A, - "type": "int", - }, - 0x0000000B: { - "attributeName": "DataVersion", - "attributeId": 0x0000000B, - "type": "int", - }, - 0x0000000C: { - "attributeName": "StableDataVersion", - "attributeId": 0x0000000C, - "type": "int", - }, - 0x0000000D: { - "attributeName": "LeaderRouterId", - "attributeId": 0x0000000D, - "type": "int", - }, - 0x0000000E: { - "attributeName": "DetachedRoleCount", - "attributeId": 0x0000000E, - "type": "int", - }, - 0x0000000F: { - "attributeName": "ChildRoleCount", - "attributeId": 0x0000000F, - "type": "int", - }, - 0x00000010: { - "attributeName": "RouterRoleCount", - "attributeId": 0x00000010, - "type": "int", - }, - 0x00000011: { - "attributeName": "LeaderRoleCount", - "attributeId": 0x00000011, - "type": "int", - }, - 0x00000012: { - "attributeName": "AttachAttemptCount", - "attributeId": 0x00000012, - "type": "int", - }, - 0x00000013: { - "attributeName": "PartitionIdChangeCount", - "attributeId": 0x00000013, - "type": "int", - }, - 0x00000014: { - "attributeName": "BetterPartitionAttachAttemptCount", - "attributeId": 0x00000014, - "type": "int", - }, - 0x00000015: { - "attributeName": "ParentChangeCount", - "attributeId": 0x00000015, - "type": "int", - }, - 0x00000016: { - "attributeName": "TxTotalCount", - "attributeId": 0x00000016, - "type": "int", - }, - 0x00000017: { - "attributeName": "TxUnicastCount", - "attributeId": 0x00000017, - "type": "int", - }, - 0x00000018: { - "attributeName": "TxBroadcastCount", - "attributeId": 0x00000018, - "type": "int", - }, - 0x00000019: { - "attributeName": "TxAckRequestedCount", - "attributeId": 0x00000019, - "type": "int", - }, - 0x0000001A: { - "attributeName": "TxAckedCount", - "attributeId": 0x0000001A, - "type": "int", - }, - 0x0000001B: { - "attributeName": "TxNoAckRequestedCount", - "attributeId": 0x0000001B, - "type": "int", - }, - 0x0000001C: { - "attributeName": "TxDataCount", - "attributeId": 0x0000001C, - "type": "int", - }, - 0x0000001D: { - "attributeName": "TxDataPollCount", - "attributeId": 0x0000001D, - "type": "int", - }, - 0x0000001E: { - "attributeName": "TxBeaconCount", - "attributeId": 0x0000001E, - "type": "int", - }, - 0x0000001F: { - "attributeName": "TxBeaconRequestCount", - "attributeId": 0x0000001F, - "type": "int", - }, - 0x00000020: { - "attributeName": "TxOtherCount", - "attributeId": 0x00000020, - "type": "int", - }, - 0x00000021: { - "attributeName": "TxRetryCount", - "attributeId": 0x00000021, - "type": "int", - }, - 0x00000022: { - "attributeName": "TxDirectMaxRetryExpiryCount", - "attributeId": 0x00000022, - "type": "int", - }, - 0x00000023: { - "attributeName": "TxIndirectMaxRetryExpiryCount", - "attributeId": 0x00000023, - "type": "int", - }, - 0x00000024: { - "attributeName": "TxErrCcaCount", - "attributeId": 0x00000024, - "type": "int", - }, - 0x00000025: { - "attributeName": "TxErrAbortCount", - "attributeId": 0x00000025, - "type": "int", - }, - 0x00000026: { - "attributeName": "TxErrBusyChannelCount", - "attributeId": 0x00000026, - "type": "int", - }, - 0x00000027: { - "attributeName": "RxTotalCount", - "attributeId": 0x00000027, - "type": "int", - }, - 0x00000028: { - "attributeName": "RxUnicastCount", - "attributeId": 0x00000028, - "type": "int", - }, - 0x00000029: { - "attributeName": "RxBroadcastCount", - "attributeId": 0x00000029, - "type": "int", - }, - 0x0000002A: { - "attributeName": "RxDataCount", - "attributeId": 0x0000002A, - "type": "int", - }, - 0x0000002B: { - "attributeName": "RxDataPollCount", - "attributeId": 0x0000002B, - "type": "int", - }, - 0x0000002C: { - "attributeName": "RxBeaconCount", - "attributeId": 0x0000002C, - "type": "int", - }, - 0x0000002D: { - "attributeName": "RxBeaconRequestCount", - "attributeId": 0x0000002D, - "type": "int", - }, - 0x0000002E: { - "attributeName": "RxOtherCount", - "attributeId": 0x0000002E, - "type": "int", - }, - 0x0000002F: { - "attributeName": "RxAddressFilteredCount", - "attributeId": 0x0000002F, - "type": "int", - }, - 0x00000030: { - "attributeName": "RxDestAddrFilteredCount", - "attributeId": 0x00000030, - "type": "int", - }, - 0x00000031: { - "attributeName": "RxDuplicatedCount", - "attributeId": 0x00000031, - "type": "int", - }, - 0x00000032: { - "attributeName": "RxErrNoFrameCount", - "attributeId": 0x00000032, - "type": "int", - }, - 0x00000033: { - "attributeName": "RxErrUnknownNeighborCount", - "attributeId": 0x00000033, - "type": "int", - }, - 0x00000034: { - "attributeName": "RxErrInvalidSrcAddrCount", - "attributeId": 0x00000034, - "type": "int", - }, - 0x00000035: { - "attributeName": "RxErrSecCount", - "attributeId": 0x00000035, - "type": "int", - }, - 0x00000036: { - "attributeName": "RxErrFcsCount", - "attributeId": 0x00000036, - "type": "int", - }, - 0x00000037: { - "attributeName": "RxErrOtherCount", - "attributeId": 0x00000037, - "type": "int", - }, - 0x00000038: { - "attributeName": "ActiveTimestamp", - "attributeId": 0x00000038, - "type": "int", - }, - 0x00000039: { - "attributeName": "PendingTimestamp", - "attributeId": 0x00000039, - "type": "int", - }, - 0x0000003A: { - "attributeName": "Delay", - "attributeId": 0x0000003A, - "type": "int", - }, - 0x0000003B: { - "attributeName": "SecurityPolicy", - "attributeId": 0x0000003B, - "type": "", - }, - 0x0000003C: { - "attributeName": "ChannelMask", - "attributeId": 0x0000003C, - "type": "bytes", - }, - 0x0000003D: { - "attributeName": "OperationalDatasetComponents", - "attributeId": 0x0000003D, - "type": "", - }, - 0x0000003E: { - "attributeName": "ActiveNetworkFaultsList", - "attributeId": 0x0000003E, - "type": "int", - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - }, - }, - } - _WAKE_ON_LAN_CLUSTER_INFO = { - "clusterName": "WakeOnLan", - "clusterId": 0x00000503, - "commands": { - }, - "attributes": { - 0x00000000: { - "attributeName": "WakeOnLanMacAddress", - "attributeId": 0x00000000, - "type": "str", - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - }, - }, - } - _WI_FI_NETWORK_DIAGNOSTICS_CLUSTER_INFO = { - "clusterName": "WiFiNetworkDiagnostics", - "clusterId": 0x00000036, - "commands": { - 0x00000000: { - "commandId": 0x00000000, - "commandName": "ResetCounts", - "args": { + "clusterName": "ThermostatUserInterfaceConfiguration", + "clusterId": 0x00000204, + "commands": { + }, + "attributes": { + 0x00000000: { + "attributeName": "TemperatureDisplayMode", + "attributeId": 0x00000000, + "type": "int", + "writable": True, + }, + 0x00000001: { + "attributeName": "KeypadLockout", + "attributeId": 0x00000001, + "type": "int", + "writable": True, + }, + 0x00000002: { + "attributeName": "ScheduleProgrammingVisibility", + "attributeId": 0x00000002, + "type": "int", + "writable": True, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", }, }, - }, - "attributes": { - 0x00000000: { - "attributeName": "Bssid", - "attributeId": 0x00000000, - "type": "bytes", - }, - 0x00000001: { - "attributeName": "SecurityType", - "attributeId": 0x00000001, - "type": "int", - }, - 0x00000002: { - "attributeName": "WiFiVersion", - "attributeId": 0x00000002, - "type": "int", - }, - 0x00000003: { - "attributeName": "ChannelNumber", - "attributeId": 0x00000003, - "type": "int", - }, - 0x00000004: { - "attributeName": "Rssi", - "attributeId": 0x00000004, - "type": "int", - }, - 0x00000005: { - "attributeName": "BeaconLostCount", - "attributeId": 0x00000005, - "type": "int", - }, - 0x00000006: { - "attributeName": "BeaconRxCount", - "attributeId": 0x00000006, - "type": "int", - }, - 0x00000007: { - "attributeName": "PacketMulticastRxCount", - "attributeId": 0x00000007, - "type": "int", - }, - 0x00000008: { - "attributeName": "PacketMulticastTxCount", - "attributeId": 0x00000008, - "type": "int", - }, - 0x00000009: { - "attributeName": "PacketUnicastRxCount", - "attributeId": 0x00000009, - "type": "int", - }, - 0x0000000A: { - "attributeName": "PacketUnicastTxCount", - "attributeId": 0x0000000A, - "type": "int", - }, - 0x0000000B: { - "attributeName": "CurrentMaxRate", - "attributeId": 0x0000000B, - "type": "int", - }, - 0x0000000C: { - "attributeName": "OverrunCount", - "attributeId": 0x0000000C, - "type": "int", - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", - }, - }, } - _WINDOW_COVERING_CLUSTER_INFO = { - "clusterName": "WindowCovering", - "clusterId": 0x00000102, - "commands": { - 0x00000001: { - "commandId": 0x00000001, - "commandName": "DownOrClose", - "args": { - }, - }, - 0x00000005: { - "commandId": 0x00000005, - "commandName": "GoToLiftPercentage", - "args": { - "liftPercentageValue": "int", - "liftPercent100thsValue": "int", - }, - }, - 0x00000004: { - "commandId": 0x00000004, - "commandName": "GoToLiftValue", - "args": { - "liftValue": "int", - }, - }, - 0x00000008: { - "commandId": 0x00000008, - "commandName": "GoToTiltPercentage", - "args": { - "tiltPercentageValue": "int", - "tiltPercent100thsValue": "int", - }, - }, - 0x00000007: { - "commandId": 0x00000007, - "commandName": "GoToTiltValue", - "args": { - "tiltValue": "int", - }, - }, - 0x00000002: { - "commandId": 0x00000002, - "commandName": "StopMotion", - "args": { - }, - }, - 0x00000000: { - "commandId": 0x00000000, - "commandName": "UpOrOpen", - "args": { - }, - }, - }, - "attributes": { - 0x00000000: { - "attributeName": "Type", - "attributeId": 0x00000000, - "type": "int", - }, - 0x00000003: { - "attributeName": "CurrentPositionLift", - "attributeId": 0x00000003, - "type": "int", - }, - 0x00000004: { - "attributeName": "CurrentPositionTilt", - "attributeId": 0x00000004, - "type": "int", - }, - 0x00000007: { - "attributeName": "ConfigStatus", - "attributeId": 0x00000007, - "type": "int", - }, - 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", - }, - 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", - }, - 0x00000011: { - "attributeName": "InstalledClosedLimitLift", - "attributeId": 0x00000011, - "type": "int", - }, - 0x00000012: { - "attributeName": "InstalledOpenLimitTilt", - "attributeId": 0x00000012, - "type": "int", - }, - 0x00000013: { - "attributeName": "InstalledClosedLimitTilt", - "attributeId": 0x00000013, - "type": "int", + _THREAD_NETWORK_DIAGNOSTICS_CLUSTER_INFO = { + "clusterName": "ThreadNetworkDiagnostics", + "clusterId": 0x00000035, + "commands": { + 0x00000000: { + "commandId": 0x00000000, + "commandName": "ResetCounts", + "args": { + }, + }, + }, + "attributes": { + 0x00000000: { + "attributeName": "Channel", + "attributeId": 0x00000000, + "type": "int", + }, + 0x00000001: { + "attributeName": "RoutingRole", + "attributeId": 0x00000001, + "type": "int", + }, + 0x00000002: { + "attributeName": "NetworkName", + "attributeId": 0x00000002, + "type": "bytes", + }, + 0x00000003: { + "attributeName": "PanId", + "attributeId": 0x00000003, + "type": "int", + }, + 0x00000004: { + "attributeName": "ExtendedPanId", + "attributeId": 0x00000004, + "type": "int", + }, + 0x00000005: { + "attributeName": "MeshLocalPrefix", + "attributeId": 0x00000005, + "type": "bytes", + }, + 0x00000006: { + "attributeName": "OverrunCount", + "attributeId": 0x00000006, + "type": "int", + }, + 0x00000007: { + "attributeName": "NeighborTableList", + "attributeId": 0x00000007, + "type": "", + }, + 0x00000008: { + "attributeName": "RouteTableList", + "attributeId": 0x00000008, + "type": "", + }, + 0x00000009: { + "attributeName": "PartitionId", + "attributeId": 0x00000009, + "type": "int", + }, + 0x0000000A: { + "attributeName": "Weighting", + "attributeId": 0x0000000A, + "type": "int", + }, + 0x0000000B: { + "attributeName": "DataVersion", + "attributeId": 0x0000000B, + "type": "int", + }, + 0x0000000C: { + "attributeName": "StableDataVersion", + "attributeId": 0x0000000C, + "type": "int", + }, + 0x0000000D: { + "attributeName": "LeaderRouterId", + "attributeId": 0x0000000D, + "type": "int", + }, + 0x0000000E: { + "attributeName": "DetachedRoleCount", + "attributeId": 0x0000000E, + "type": "int", + }, + 0x0000000F: { + "attributeName": "ChildRoleCount", + "attributeId": 0x0000000F, + "type": "int", + }, + 0x00000010: { + "attributeName": "RouterRoleCount", + "attributeId": 0x00000010, + "type": "int", + }, + 0x00000011: { + "attributeName": "LeaderRoleCount", + "attributeId": 0x00000011, + "type": "int", + }, + 0x00000012: { + "attributeName": "AttachAttemptCount", + "attributeId": 0x00000012, + "type": "int", + }, + 0x00000013: { + "attributeName": "PartitionIdChangeCount", + "attributeId": 0x00000013, + "type": "int", + }, + 0x00000014: { + "attributeName": "BetterPartitionAttachAttemptCount", + "attributeId": 0x00000014, + "type": "int", + }, + 0x00000015: { + "attributeName": "ParentChangeCount", + "attributeId": 0x00000015, + "type": "int", + }, + 0x00000016: { + "attributeName": "TxTotalCount", + "attributeId": 0x00000016, + "type": "int", + }, + 0x00000017: { + "attributeName": "TxUnicastCount", + "attributeId": 0x00000017, + "type": "int", + }, + 0x00000018: { + "attributeName": "TxBroadcastCount", + "attributeId": 0x00000018, + "type": "int", + }, + 0x00000019: { + "attributeName": "TxAckRequestedCount", + "attributeId": 0x00000019, + "type": "int", + }, + 0x0000001A: { + "attributeName": "TxAckedCount", + "attributeId": 0x0000001A, + "type": "int", + }, + 0x0000001B: { + "attributeName": "TxNoAckRequestedCount", + "attributeId": 0x0000001B, + "type": "int", + }, + 0x0000001C: { + "attributeName": "TxDataCount", + "attributeId": 0x0000001C, + "type": "int", + }, + 0x0000001D: { + "attributeName": "TxDataPollCount", + "attributeId": 0x0000001D, + "type": "int", + }, + 0x0000001E: { + "attributeName": "TxBeaconCount", + "attributeId": 0x0000001E, + "type": "int", + }, + 0x0000001F: { + "attributeName": "TxBeaconRequestCount", + "attributeId": 0x0000001F, + "type": "int", + }, + 0x00000020: { + "attributeName": "TxOtherCount", + "attributeId": 0x00000020, + "type": "int", + }, + 0x00000021: { + "attributeName": "TxRetryCount", + "attributeId": 0x00000021, + "type": "int", + }, + 0x00000022: { + "attributeName": "TxDirectMaxRetryExpiryCount", + "attributeId": 0x00000022, + "type": "int", + }, + 0x00000023: { + "attributeName": "TxIndirectMaxRetryExpiryCount", + "attributeId": 0x00000023, + "type": "int", + }, + 0x00000024: { + "attributeName": "TxErrCcaCount", + "attributeId": 0x00000024, + "type": "int", + }, + 0x00000025: { + "attributeName": "TxErrAbortCount", + "attributeId": 0x00000025, + "type": "int", + }, + 0x00000026: { + "attributeName": "TxErrBusyChannelCount", + "attributeId": 0x00000026, + "type": "int", + }, + 0x00000027: { + "attributeName": "RxTotalCount", + "attributeId": 0x00000027, + "type": "int", + }, + 0x00000028: { + "attributeName": "RxUnicastCount", + "attributeId": 0x00000028, + "type": "int", + }, + 0x00000029: { + "attributeName": "RxBroadcastCount", + "attributeId": 0x00000029, + "type": "int", + }, + 0x0000002A: { + "attributeName": "RxDataCount", + "attributeId": 0x0000002A, + "type": "int", + }, + 0x0000002B: { + "attributeName": "RxDataPollCount", + "attributeId": 0x0000002B, + "type": "int", + }, + 0x0000002C: { + "attributeName": "RxBeaconCount", + "attributeId": 0x0000002C, + "type": "int", + }, + 0x0000002D: { + "attributeName": "RxBeaconRequestCount", + "attributeId": 0x0000002D, + "type": "int", + }, + 0x0000002E: { + "attributeName": "RxOtherCount", + "attributeId": 0x0000002E, + "type": "int", + }, + 0x0000002F: { + "attributeName": "RxAddressFilteredCount", + "attributeId": 0x0000002F, + "type": "int", + }, + 0x00000030: { + "attributeName": "RxDestAddrFilteredCount", + "attributeId": 0x00000030, + "type": "int", + }, + 0x00000031: { + "attributeName": "RxDuplicatedCount", + "attributeId": 0x00000031, + "type": "int", + }, + 0x00000032: { + "attributeName": "RxErrNoFrameCount", + "attributeId": 0x00000032, + "type": "int", + }, + 0x00000033: { + "attributeName": "RxErrUnknownNeighborCount", + "attributeId": 0x00000033, + "type": "int", + }, + 0x00000034: { + "attributeName": "RxErrInvalidSrcAddrCount", + "attributeId": 0x00000034, + "type": "int", + }, + 0x00000035: { + "attributeName": "RxErrSecCount", + "attributeId": 0x00000035, + "type": "int", + }, + 0x00000036: { + "attributeName": "RxErrFcsCount", + "attributeId": 0x00000036, + "type": "int", + }, + 0x00000037: { + "attributeName": "RxErrOtherCount", + "attributeId": 0x00000037, + "type": "int", + }, + 0x00000038: { + "attributeName": "ActiveTimestamp", + "attributeId": 0x00000038, + "type": "int", + }, + 0x00000039: { + "attributeName": "PendingTimestamp", + "attributeId": 0x00000039, + "type": "int", + }, + 0x0000003A: { + "attributeName": "Delay", + "attributeId": 0x0000003A, + "type": "int", + }, + 0x0000003B: { + "attributeName": "SecurityPolicy", + "attributeId": 0x0000003B, + "type": "", + }, + 0x0000003C: { + "attributeName": "ChannelMask", + "attributeId": 0x0000003C, + "type": "bytes", + }, + 0x0000003D: { + "attributeName": "OperationalDatasetComponents", + "attributeId": 0x0000003D, + "type": "", + }, + 0x0000003E: { + "attributeName": "ActiveNetworkFaultsList", + "attributeId": 0x0000003E, + "type": "int", + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + }, }, - 0x00000017: { - "attributeName": "Mode", - "attributeId": 0x00000017, - "type": "int", - "writable": True, + } + _WAKE_ON_LAN_CLUSTER_INFO = { + "clusterName": "WakeOnLan", + "clusterId": 0x00000503, + "commands": { }, - 0x0000001A: { - "attributeName": "SafetyStatus", - "attributeId": 0x0000001A, - "type": "int", - "reportable": True, + "attributes": { + 0x00000000: { + "attributeName": "WakeOnLanMacAddress", + "attributeId": 0x00000000, + "type": "str", + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + }, }, - 0x0000FFFC: { - "attributeName": "FeatureMap", - "attributeId": 0x0000FFFC, - "type": "int", + } + _WI_FI_NETWORK_DIAGNOSTICS_CLUSTER_INFO = { + "clusterName": "WiFiNetworkDiagnostics", + "clusterId": 0x00000036, + "commands": { + 0x00000000: { + "commandId": 0x00000000, + "commandName": "ResetCounts", + "args": { + }, + }, + }, + "attributes": { + 0x00000000: { + "attributeName": "Bssid", + "attributeId": 0x00000000, + "type": "bytes", + }, + 0x00000001: { + "attributeName": "SecurityType", + "attributeId": 0x00000001, + "type": "int", + }, + 0x00000002: { + "attributeName": "WiFiVersion", + "attributeId": 0x00000002, + "type": "int", + }, + 0x00000003: { + "attributeName": "ChannelNumber", + "attributeId": 0x00000003, + "type": "int", + }, + 0x00000004: { + "attributeName": "Rssi", + "attributeId": 0x00000004, + "type": "int", + }, + 0x00000005: { + "attributeName": "BeaconLostCount", + "attributeId": 0x00000005, + "type": "int", + }, + 0x00000006: { + "attributeName": "BeaconRxCount", + "attributeId": 0x00000006, + "type": "int", + }, + 0x00000007: { + "attributeName": "PacketMulticastRxCount", + "attributeId": 0x00000007, + "type": "int", + }, + 0x00000008: { + "attributeName": "PacketMulticastTxCount", + "attributeId": 0x00000008, + "type": "int", + }, + 0x00000009: { + "attributeName": "PacketUnicastRxCount", + "attributeId": 0x00000009, + "type": "int", + }, + 0x0000000A: { + "attributeName": "PacketUnicastTxCount", + "attributeId": 0x0000000A, + "type": "int", + }, + 0x0000000B: { + "attributeName": "CurrentMaxRate", + "attributeId": 0x0000000B, + "type": "int", + }, + 0x0000000C: { + "attributeName": "OverrunCount", + "attributeId": 0x0000000C, + "type": "int", + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + }, }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", + } + _WINDOW_COVERING_CLUSTER_INFO = { + "clusterName": "WindowCovering", + "clusterId": 0x00000102, + "commands": { + 0x00000001: { + "commandId": 0x00000001, + "commandName": "DownOrClose", + "args": { + }, + }, + 0x00000005: { + "commandId": 0x00000005, + "commandName": "GoToLiftPercentage", + "args": { + "liftPercentageValue": "int", + "liftPercent100thsValue": "int", + }, + }, + 0x00000004: { + "commandId": 0x00000004, + "commandName": "GoToLiftValue", + "args": { + "liftValue": "int", + }, + }, + 0x00000008: { + "commandId": 0x00000008, + "commandName": "GoToTiltPercentage", + "args": { + "tiltPercentageValue": "int", + "tiltPercent100thsValue": "int", + }, + }, + 0x00000007: { + "commandId": 0x00000007, + "commandName": "GoToTiltValue", + "args": { + "tiltValue": "int", + }, + }, + 0x00000002: { + "commandId": 0x00000002, + "commandName": "StopMotion", + "args": { + }, + }, + 0x00000000: { + "commandId": 0x00000000, + "commandName": "UpOrOpen", + "args": { + }, + }, + }, + "attributes": { + 0x00000000: { + "attributeName": "Type", + "attributeId": 0x00000000, + "type": "int", + }, + 0x00000003: { + "attributeName": "CurrentPositionLift", + "attributeId": 0x00000003, + "type": "int", + }, + 0x00000004: { + "attributeName": "CurrentPositionTilt", + "attributeId": 0x00000004, + "type": "int", + }, + 0x00000007: { + "attributeName": "ConfigStatus", + "attributeId": 0x00000007, + "type": "int", + }, + 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", + }, + 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", + }, + 0x00000011: { + "attributeName": "InstalledClosedLimitLift", + "attributeId": 0x00000011, + "type": "int", + }, + 0x00000012: { + "attributeName": "InstalledOpenLimitTilt", + "attributeId": 0x00000012, + "type": "int", + }, + 0x00000013: { + "attributeName": "InstalledClosedLimitTilt", + "attributeId": 0x00000013, + "type": "int", + }, + 0x00000017: { + "attributeName": "Mode", + "attributeId": 0x00000017, + "type": "int", + "writable": True, + }, + 0x0000001A: { + "attributeName": "SafetyStatus", + "attributeId": 0x0000001A, + "type": "int", + "reportable": True, + }, + 0x0000FFFC: { + "attributeName": "FeatureMap", + "attributeId": 0x0000FFFC, + "type": "int", + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + }, }, - }, } _CLUSTER_ID_DICT = { - 0x0000050E: _ACCOUNT_LOGIN_CLUSTER_INFO, - 0x0000003C: _ADMINISTRATOR_COMMISSIONING_CLUSTER_INFO, - 0x0000050D: _APPLICATION_BASIC_CLUSTER_INFO, - 0x0000050C: _APPLICATION_LAUNCHER_CLUSTER_INFO, - 0x0000050B: _AUDIO_OUTPUT_CLUSTER_INFO, - 0x00000103: _BARRIER_CONTROL_CLUSTER_INFO, - 0x00000028: _BASIC_CLUSTER_INFO, - 0x0000000F: _BINARY_INPUT_BASIC_CLUSTER_INFO, - 0x0000F000: _BINDING_CLUSTER_INFO, - 0x00000045: _BOOLEAN_STATE_CLUSTER_INFO, - 0x00000025: _BRIDGED_ACTIONS_CLUSTER_INFO, - 0x00000039: _BRIDGED_DEVICE_BASIC_CLUSTER_INFO, - 0x00000300: _COLOR_CONTROL_CLUSTER_INFO, - 0x0000050A: _CONTENT_LAUNCHER_CLUSTER_INFO, - 0x0000001D: _DESCRIPTOR_CLUSTER_INFO, - 0x00000032: _DIAGNOSTIC_LOGS_CLUSTER_INFO, - 0x00000101: _DOOR_LOCK_CLUSTER_INFO, - 0x00000B04: _ELECTRICAL_MEASUREMENT_CLUSTER_INFO, - 0x00000037: _ETHERNET_NETWORK_DIAGNOSTICS_CLUSTER_INFO, - 0x00000040: _FIXED_LABEL_CLUSTER_INFO, - 0x00000404: _FLOW_MEASUREMENT_CLUSTER_INFO, - 0x00000030: _GENERAL_COMMISSIONING_CLUSTER_INFO, - 0x00000033: _GENERAL_DIAGNOSTICS_CLUSTER_INFO, - 0x0000F004: _GROUP_KEY_MANAGEMENT_CLUSTER_INFO, - 0x00000004: _GROUPS_CLUSTER_INFO, - 0x00000003: _IDENTIFY_CLUSTER_INFO, - 0x00000400: _ILLUMINANCE_MEASUREMENT_CLUSTER_INFO, - 0x00000509: _KEYPAD_INPUT_CLUSTER_INFO, - 0x00000008: _LEVEL_CONTROL_CLUSTER_INFO, - 0x00000508: _LOW_POWER_CLUSTER_INFO, - 0x00000507: _MEDIA_INPUT_CLUSTER_INFO, - 0x00000506: _MEDIA_PLAYBACK_CLUSTER_INFO, - 0x00000050: _MODE_SELECT_CLUSTER_INFO, - 0x00000031: _NETWORK_COMMISSIONING_CLUSTER_INFO, - 0x00000029: _OTA_SOFTWARE_UPDATE_PROVIDER_CLUSTER_INFO, - 0x0000002A: _OTA_SOFTWARE_UPDATE_REQUESTOR_CLUSTER_INFO, - 0x00000406: _OCCUPANCY_SENSING_CLUSTER_INFO, - 0x00000006: _ON_OFF_CLUSTER_INFO, - 0x00000007: _ON_OFF_SWITCH_CONFIGURATION_CLUSTER_INFO, - 0x0000003E: _OPERATIONAL_CREDENTIALS_CLUSTER_INFO, - 0x0000002F: _POWER_SOURCE_CLUSTER_INFO, - 0x00000403: _PRESSURE_MEASUREMENT_CLUSTER_INFO, - 0x00000200: _PUMP_CONFIGURATION_AND_CONTROL_CLUSTER_INFO, - 0x00000405: _RELATIVE_HUMIDITY_MEASUREMENT_CLUSTER_INFO, - 0x00000005: _SCENES_CLUSTER_INFO, - 0x00000034: _SOFTWARE_DIAGNOSTICS_CLUSTER_INFO, - 0x0000003B: _SWITCH_CLUSTER_INFO, - 0x00000504: _TV_CHANNEL_CLUSTER_INFO, - 0x00000505: _TARGET_NAVIGATOR_CLUSTER_INFO, - 0x00000402: _TEMPERATURE_MEASUREMENT_CLUSTER_INFO, - 0x0000050F: _TEST_CLUSTER_CLUSTER_INFO, - 0x00000201: _THERMOSTAT_CLUSTER_INFO, - 0x00000204: _THERMOSTAT_USER_INTERFACE_CONFIGURATION_CLUSTER_INFO, - 0x00000035: _THREAD_NETWORK_DIAGNOSTICS_CLUSTER_INFO, - 0x00000503: _WAKE_ON_LAN_CLUSTER_INFO, - 0x00000036: _WI_FI_NETWORK_DIAGNOSTICS_CLUSTER_INFO, - 0x00000102: _WINDOW_COVERING_CLUSTER_INFO, + 0x0000050E: _ACCOUNT_LOGIN_CLUSTER_INFO, + 0x0000003C: _ADMINISTRATOR_COMMISSIONING_CLUSTER_INFO, + 0x0000050D: _APPLICATION_BASIC_CLUSTER_INFO, + 0x0000050C: _APPLICATION_LAUNCHER_CLUSTER_INFO, + 0x0000050B: _AUDIO_OUTPUT_CLUSTER_INFO, + 0x00000103: _BARRIER_CONTROL_CLUSTER_INFO, + 0x00000028: _BASIC_CLUSTER_INFO, + 0x0000000F: _BINARY_INPUT_BASIC_CLUSTER_INFO, + 0x0000F000: _BINDING_CLUSTER_INFO, + 0x00000045: _BOOLEAN_STATE_CLUSTER_INFO, + 0x00000025: _BRIDGED_ACTIONS_CLUSTER_INFO, + 0x00000039: _BRIDGED_DEVICE_BASIC_CLUSTER_INFO, + 0x00000300: _COLOR_CONTROL_CLUSTER_INFO, + 0x0000050A: _CONTENT_LAUNCHER_CLUSTER_INFO, + 0x0000001D: _DESCRIPTOR_CLUSTER_INFO, + 0x00000032: _DIAGNOSTIC_LOGS_CLUSTER_INFO, + 0x00000101: _DOOR_LOCK_CLUSTER_INFO, + 0x00000B04: _ELECTRICAL_MEASUREMENT_CLUSTER_INFO, + 0x00000037: _ETHERNET_NETWORK_DIAGNOSTICS_CLUSTER_INFO, + 0x00000040: _FIXED_LABEL_CLUSTER_INFO, + 0x00000404: _FLOW_MEASUREMENT_CLUSTER_INFO, + 0x00000030: _GENERAL_COMMISSIONING_CLUSTER_INFO, + 0x00000033: _GENERAL_DIAGNOSTICS_CLUSTER_INFO, + 0x0000F004: _GROUP_KEY_MANAGEMENT_CLUSTER_INFO, + 0x00000004: _GROUPS_CLUSTER_INFO, + 0x00000003: _IDENTIFY_CLUSTER_INFO, + 0x00000400: _ILLUMINANCE_MEASUREMENT_CLUSTER_INFO, + 0x00000509: _KEYPAD_INPUT_CLUSTER_INFO, + 0x00000008: _LEVEL_CONTROL_CLUSTER_INFO, + 0x00000508: _LOW_POWER_CLUSTER_INFO, + 0x00000507: _MEDIA_INPUT_CLUSTER_INFO, + 0x00000506: _MEDIA_PLAYBACK_CLUSTER_INFO, + 0x00000050: _MODE_SELECT_CLUSTER_INFO, + 0x00000031: _NETWORK_COMMISSIONING_CLUSTER_INFO, + 0x00000029: _OTA_SOFTWARE_UPDATE_PROVIDER_CLUSTER_INFO, + 0x0000002A: _OTA_SOFTWARE_UPDATE_REQUESTOR_CLUSTER_INFO, + 0x00000406: _OCCUPANCY_SENSING_CLUSTER_INFO, + 0x00000006: _ON_OFF_CLUSTER_INFO, + 0x00000007: _ON_OFF_SWITCH_CONFIGURATION_CLUSTER_INFO, + 0x0000003E: _OPERATIONAL_CREDENTIALS_CLUSTER_INFO, + 0x0000002F: _POWER_SOURCE_CLUSTER_INFO, + 0x00000403: _PRESSURE_MEASUREMENT_CLUSTER_INFO, + 0x00000200: _PUMP_CONFIGURATION_AND_CONTROL_CLUSTER_INFO, + 0x00000405: _RELATIVE_HUMIDITY_MEASUREMENT_CLUSTER_INFO, + 0x00000005: _SCENES_CLUSTER_INFO, + 0x00000034: _SOFTWARE_DIAGNOSTICS_CLUSTER_INFO, + 0x0000003B: _SWITCH_CLUSTER_INFO, + 0x00000504: _TV_CHANNEL_CLUSTER_INFO, + 0x00000505: _TARGET_NAVIGATOR_CLUSTER_INFO, + 0x00000402: _TEMPERATURE_MEASUREMENT_CLUSTER_INFO, + 0x0000050F: _TEST_CLUSTER_CLUSTER_INFO, + 0x00000201: _THERMOSTAT_CLUSTER_INFO, + 0x00000204: _THERMOSTAT_USER_INTERFACE_CONFIGURATION_CLUSTER_INFO, + 0x00000035: _THREAD_NETWORK_DIAGNOSTICS_CLUSTER_INFO, + 0x00000503: _WAKE_ON_LAN_CLUSTER_INFO, + 0x00000036: _WI_FI_NETWORK_DIAGNOSTICS_CLUSTER_INFO, + 0x00000102: _WINDOW_COVERING_CLUSTER_INFO, } _CLUSTER_NAME_DICT = { @@ -4458,18 +4457,17 @@ 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() } def SendCommand(self, device: ctypes.c_void_p, cluster: str, command: str, endpoint: int, groupid: int, args, imEnabled): - func = getattr(self, "Cluster{}_Command{}".format( - cluster, command), None) + func = getattr(self, "Cluster{}_Command{}".format(cluster, command), None) if not func: raise UnknownCommand(cluster, command) funcCaller = self._ChipStack.Call if imEnabled else self._ChipStack.CallAsync @@ -4478,8 +4476,7 @@ def SendCommand(self, device: ctypes.c_void_p, cluster: str, command: str, endpo raise self._ChipStack.ErrorToException(res) def ReadAttribute(self, device: ctypes.c_void_p, cluster: str, attribute: str, endpoint: int, groupid: int, imEnabled): - func = getattr(self, "Cluster{}_ReadAttribute{}".format( - cluster, attribute), None) + func = getattr(self, "Cluster{}_ReadAttribute{}".format(cluster, attribute), None) if not func: raise UnknownAttribute(cluster, attribute) funcCaller = self._ChipStack.Call if imEnabled else self._ChipStack.CallAsync @@ -4488,16 +4485,14 @@ def ReadAttribute(self, device: ctypes.c_void_p, cluster: str, attribute: str, e raise self._ChipStack.ErrorToException(res) def SubscribeAttribute(self, device: ctypes.c_void_p, cluster: str, attribute: str, endpoint: int, minInterval: int, maxInterval: int, imEnabled): - func = getattr(self, "Cluster{}_SubscribeAttribute{}".format( - cluster, attribute), None) + func = getattr(self, "Cluster{}_SubscribeAttribute{}".format(cluster, attribute), None) if not func: raise UnknownAttribute(cluster, attribute) funcCaller = self._ChipStack.Call if imEnabled else self._ChipStack.CallAsync funcCaller(lambda: func(device, endpoint, minInterval, maxInterval)) def WriteAttribute(self, device: ctypes.c_void_p, cluster: str, attribute: str, endpoint: int, groupid: int, value, imEnabled): - func = getattr(self, "Cluster{}_WriteAttribute{}".format( - cluster, attribute), None) + func = getattr(self, "Cluster{}_WriteAttribute{}".format(cluster, attribute), None) if not func: raise UnknownAttribute(cluster, attribute) funcCaller = self._ChipStack.Call if imEnabled else self._ChipStack.CallAsync @@ -4510,2630 +4505,1863 @@ def WriteAttribute(self, device: ctypes.c_void_p, cluster: str, attribute: str, def ClusterAccountLogin_CommandGetSetupPIN(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, tempAccountIdentifier: str): tempAccountIdentifier = tempAccountIdentifier.encode("utf-8") + b'\x00' return self._chipLib.chip_ime_AppendCommand_AccountLogin_GetSetupPIN( - device, ZCLendpoint, ZCLgroupid, tempAccountIdentifier, len( - tempAccountIdentifier) + device, ZCLendpoint, ZCLgroupid, tempAccountIdentifier, len(tempAccountIdentifier) ) - def ClusterAccountLogin_CommandLogin(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, tempAccountIdentifier: str, setupPIN: str): tempAccountIdentifier = tempAccountIdentifier.encode("utf-8") + b'\x00' setupPIN = setupPIN.encode("utf-8") + b'\x00' return self._chipLib.chip_ime_AppendCommand_AccountLogin_Login( - device, ZCLendpoint, ZCLgroupid, tempAccountIdentifier, len( - tempAccountIdentifier), setupPIN, len(setupPIN) + device, ZCLendpoint, ZCLgroupid, tempAccountIdentifier, len(tempAccountIdentifier), setupPIN, len(setupPIN) ) - def ClusterAdministratorCommissioning_CommandOpenBasicCommissioningWindow(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, commissioningTimeout: int): return self._chipLib.chip_ime_AppendCommand_AdministratorCommissioning_OpenBasicCommissioningWindow( - device, ZCLendpoint, ZCLgroupid, commissioningTimeout + device, ZCLendpoint, ZCLgroupid, commissioningTimeout ) - def ClusterAdministratorCommissioning_CommandOpenCommissioningWindow(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, commissioningTimeout: int, PAKEVerifier: bytes, discriminator: int, iterations: int, salt: bytes, passcodeID: int): return self._chipLib.chip_ime_AppendCommand_AdministratorCommissioning_OpenCommissioningWindow( - device, ZCLendpoint, ZCLgroupid, commissioningTimeout, PAKEVerifier, len( - PAKEVerifier), discriminator, iterations, salt, len(salt), passcodeID + device, ZCLendpoint, ZCLgroupid, commissioningTimeout, PAKEVerifier, len(PAKEVerifier), discriminator, iterations, salt, len(salt), passcodeID ) - def ClusterAdministratorCommissioning_CommandRevokeCommissioning(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_AppendCommand_AdministratorCommissioning_RevokeCommissioning( - device, ZCLendpoint, ZCLgroupid + device, ZCLendpoint, ZCLgroupid ) - def ClusterApplicationBasic_CommandChangeStatus(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, status: int): return self._chipLib.chip_ime_AppendCommand_ApplicationBasic_ChangeStatus( - device, ZCLendpoint, ZCLgroupid, status + device, ZCLendpoint, ZCLgroupid, status ) - def ClusterApplicationLauncher_CommandLaunchApp(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, data: str, catalogVendorId: int, applicationId: str): data = data.encode("utf-8") + b'\x00' applicationId = applicationId.encode("utf-8") + b'\x00' return self._chipLib.chip_ime_AppendCommand_ApplicationLauncher_LaunchApp( - device, ZCLendpoint, ZCLgroupid, data, len( - data), catalogVendorId, applicationId, len(applicationId) + device, ZCLendpoint, ZCLgroupid, data, len(data), catalogVendorId, applicationId, len(applicationId) ) - def ClusterAudioOutput_CommandRenameOutput(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, index: int, name: str): name = name.encode("utf-8") + b'\x00' return self._chipLib.chip_ime_AppendCommand_AudioOutput_RenameOutput( - device, ZCLendpoint, ZCLgroupid, index, name, len(name) + device, ZCLendpoint, ZCLgroupid, index, name, len(name) ) - def ClusterAudioOutput_CommandSelectOutput(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, index: int): return self._chipLib.chip_ime_AppendCommand_AudioOutput_SelectOutput( - device, ZCLendpoint, ZCLgroupid, index + device, ZCLendpoint, ZCLgroupid, index ) - def ClusterBarrierControl_CommandBarrierControlGoToPercent(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, percentOpen: int): return self._chipLib.chip_ime_AppendCommand_BarrierControl_BarrierControlGoToPercent( - device, ZCLendpoint, ZCLgroupid, percentOpen + device, ZCLendpoint, ZCLgroupid, percentOpen ) - def ClusterBarrierControl_CommandBarrierControlStop(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_AppendCommand_BarrierControl_BarrierControlStop( - device, ZCLendpoint, ZCLgroupid + device, ZCLendpoint, ZCLgroupid ) - def ClusterBasic_CommandMfgSpecificPing(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_AppendCommand_Basic_MfgSpecificPing( - device, ZCLendpoint, ZCLgroupid + device, ZCLendpoint, ZCLgroupid ) - def ClusterBinding_CommandBind(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, nodeId: int, groupId: int, endpointId: int, clusterId: int): return self._chipLib.chip_ime_AppendCommand_Binding_Bind( - device, ZCLendpoint, ZCLgroupid, nodeId, groupId, endpointId, clusterId + device, ZCLendpoint, ZCLgroupid, nodeId, groupId, endpointId, clusterId ) - def ClusterBinding_CommandUnbind(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, nodeId: int, groupId: int, endpointId: int, clusterId: int): return self._chipLib.chip_ime_AppendCommand_Binding_Unbind( - device, ZCLendpoint, ZCLgroupid, nodeId, groupId, endpointId, clusterId + device, ZCLendpoint, ZCLgroupid, nodeId, groupId, endpointId, clusterId ) - def ClusterBridgedActions_CommandDisableAction(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, actionID: int, invokeID: int): return self._chipLib.chip_ime_AppendCommand_BridgedActions_DisableAction( - device, ZCLendpoint, ZCLgroupid, actionID, invokeID + device, ZCLendpoint, ZCLgroupid, actionID, invokeID ) - def ClusterBridgedActions_CommandDisableActionWithDuration(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, actionID: int, invokeID: int, duration: int): return self._chipLib.chip_ime_AppendCommand_BridgedActions_DisableActionWithDuration( - device, ZCLendpoint, ZCLgroupid, actionID, invokeID, duration + device, ZCLendpoint, ZCLgroupid, actionID, invokeID, duration ) - def ClusterBridgedActions_CommandEnableAction(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, actionID: int, invokeID: int): return self._chipLib.chip_ime_AppendCommand_BridgedActions_EnableAction( - device, ZCLendpoint, ZCLgroupid, actionID, invokeID + device, ZCLendpoint, ZCLgroupid, actionID, invokeID ) - def ClusterBridgedActions_CommandEnableActionWithDuration(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, actionID: int, invokeID: int, duration: int): return self._chipLib.chip_ime_AppendCommand_BridgedActions_EnableActionWithDuration( - device, ZCLendpoint, ZCLgroupid, actionID, invokeID, duration + device, ZCLendpoint, ZCLgroupid, actionID, invokeID, duration ) - def ClusterBridgedActions_CommandInstantAction(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, actionID: int, invokeID: int): return self._chipLib.chip_ime_AppendCommand_BridgedActions_InstantAction( - device, ZCLendpoint, ZCLgroupid, actionID, invokeID + device, ZCLendpoint, ZCLgroupid, actionID, invokeID ) - def ClusterBridgedActions_CommandInstantActionWithTransition(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, actionID: int, invokeID: int, transitionTime: int): return self._chipLib.chip_ime_AppendCommand_BridgedActions_InstantActionWithTransition( - device, ZCLendpoint, ZCLgroupid, actionID, invokeID, transitionTime + device, ZCLendpoint, ZCLgroupid, actionID, invokeID, transitionTime ) - def ClusterBridgedActions_CommandPauseAction(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, actionID: int, invokeID: int): return self._chipLib.chip_ime_AppendCommand_BridgedActions_PauseAction( - device, ZCLendpoint, ZCLgroupid, actionID, invokeID + device, ZCLendpoint, ZCLgroupid, actionID, invokeID ) - def ClusterBridgedActions_CommandPauseActionWithDuration(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, actionID: int, invokeID: int, duration: int): return self._chipLib.chip_ime_AppendCommand_BridgedActions_PauseActionWithDuration( - device, ZCLendpoint, ZCLgroupid, actionID, invokeID, duration + device, ZCLendpoint, ZCLgroupid, actionID, invokeID, duration ) - def ClusterBridgedActions_CommandResumeAction(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, actionID: int, invokeID: int): return self._chipLib.chip_ime_AppendCommand_BridgedActions_ResumeAction( - device, ZCLendpoint, ZCLgroupid, actionID, invokeID + device, ZCLendpoint, ZCLgroupid, actionID, invokeID ) - def ClusterBridgedActions_CommandStartAction(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, actionID: int, invokeID: int): return self._chipLib.chip_ime_AppendCommand_BridgedActions_StartAction( - device, ZCLendpoint, ZCLgroupid, actionID, invokeID + device, ZCLendpoint, ZCLgroupid, actionID, invokeID ) - def ClusterBridgedActions_CommandStartActionWithDuration(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, actionID: int, invokeID: int, duration: int): return self._chipLib.chip_ime_AppendCommand_BridgedActions_StartActionWithDuration( - device, ZCLendpoint, ZCLgroupid, actionID, invokeID, duration + device, ZCLendpoint, ZCLgroupid, actionID, invokeID, duration ) - def ClusterBridgedActions_CommandStopAction(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, actionID: int, invokeID: int): return self._chipLib.chip_ime_AppendCommand_BridgedActions_StopAction( - device, ZCLendpoint, ZCLgroupid, actionID, invokeID + device, ZCLendpoint, ZCLgroupid, actionID, invokeID ) - def ClusterColorControl_CommandColorLoopSet(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, updateFlags: int, action: int, direction: int, time: int, startHue: int, optionsMask: int, optionsOverride: int): return self._chipLib.chip_ime_AppendCommand_ColorControl_ColorLoopSet( - device, ZCLendpoint, ZCLgroupid, updateFlags, action, direction, time, startHue, optionsMask, optionsOverride + device, ZCLendpoint, ZCLgroupid, updateFlags, action, direction, time, startHue, optionsMask, optionsOverride ) - def ClusterColorControl_CommandEnhancedMoveHue(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, moveMode: int, rate: int, optionsMask: int, optionsOverride: int): return self._chipLib.chip_ime_AppendCommand_ColorControl_EnhancedMoveHue( - device, ZCLendpoint, ZCLgroupid, moveMode, rate, optionsMask, optionsOverride + device, ZCLendpoint, ZCLgroupid, moveMode, rate, optionsMask, optionsOverride ) - def ClusterColorControl_CommandEnhancedMoveToHue(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, enhancedHue: int, direction: int, transitionTime: int, optionsMask: int, optionsOverride: int): return self._chipLib.chip_ime_AppendCommand_ColorControl_EnhancedMoveToHue( - device, ZCLendpoint, ZCLgroupid, enhancedHue, direction, transitionTime, optionsMask, optionsOverride + device, ZCLendpoint, ZCLgroupid, enhancedHue, direction, transitionTime, optionsMask, optionsOverride ) - def ClusterColorControl_CommandEnhancedMoveToHueAndSaturation(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, enhancedHue: int, saturation: int, transitionTime: int, optionsMask: int, optionsOverride: int): return self._chipLib.chip_ime_AppendCommand_ColorControl_EnhancedMoveToHueAndSaturation( - device, ZCLendpoint, ZCLgroupid, enhancedHue, saturation, transitionTime, optionsMask, optionsOverride + device, ZCLendpoint, ZCLgroupid, enhancedHue, saturation, transitionTime, optionsMask, optionsOverride ) - def ClusterColorControl_CommandEnhancedStepHue(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, stepMode: int, stepSize: int, transitionTime: int, optionsMask: int, optionsOverride: int): return self._chipLib.chip_ime_AppendCommand_ColorControl_EnhancedStepHue( - device, ZCLendpoint, ZCLgroupid, stepMode, stepSize, transitionTime, optionsMask, optionsOverride + device, ZCLendpoint, ZCLgroupid, stepMode, stepSize, transitionTime, optionsMask, optionsOverride ) - def ClusterColorControl_CommandMoveColor(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, rateX: int, rateY: int, optionsMask: int, optionsOverride: int): return self._chipLib.chip_ime_AppendCommand_ColorControl_MoveColor( - device, ZCLendpoint, ZCLgroupid, rateX, rateY, optionsMask, optionsOverride + device, ZCLendpoint, ZCLgroupid, rateX, rateY, optionsMask, optionsOverride ) - def ClusterColorControl_CommandMoveColorTemperature(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, moveMode: int, rate: int, colorTemperatureMinimum: int, colorTemperatureMaximum: int, optionsMask: int, optionsOverride: int): return self._chipLib.chip_ime_AppendCommand_ColorControl_MoveColorTemperature( - device, ZCLendpoint, ZCLgroupid, moveMode, rate, colorTemperatureMinimum, colorTemperatureMaximum, optionsMask, optionsOverride + device, ZCLendpoint, ZCLgroupid, moveMode, rate, colorTemperatureMinimum, colorTemperatureMaximum, optionsMask, optionsOverride ) - def ClusterColorControl_CommandMoveHue(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, moveMode: int, rate: int, optionsMask: int, optionsOverride: int): return self._chipLib.chip_ime_AppendCommand_ColorControl_MoveHue( - device, ZCLendpoint, ZCLgroupid, moveMode, rate, optionsMask, optionsOverride + device, ZCLendpoint, ZCLgroupid, moveMode, rate, optionsMask, optionsOverride ) - def ClusterColorControl_CommandMoveSaturation(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, moveMode: int, rate: int, optionsMask: int, optionsOverride: int): return self._chipLib.chip_ime_AppendCommand_ColorControl_MoveSaturation( - device, ZCLendpoint, ZCLgroupid, moveMode, rate, optionsMask, optionsOverride + device, ZCLendpoint, ZCLgroupid, moveMode, rate, optionsMask, optionsOverride ) - def ClusterColorControl_CommandMoveToColor(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, colorX: int, colorY: int, transitionTime: int, optionsMask: int, optionsOverride: int): return self._chipLib.chip_ime_AppendCommand_ColorControl_MoveToColor( - device, ZCLendpoint, ZCLgroupid, colorX, colorY, transitionTime, optionsMask, optionsOverride + device, ZCLendpoint, ZCLgroupid, colorX, colorY, transitionTime, optionsMask, optionsOverride ) - def ClusterColorControl_CommandMoveToColorTemperature(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, colorTemperature: int, transitionTime: int, optionsMask: int, optionsOverride: int): return self._chipLib.chip_ime_AppendCommand_ColorControl_MoveToColorTemperature( - device, ZCLendpoint, ZCLgroupid, colorTemperature, transitionTime, optionsMask, optionsOverride + device, ZCLendpoint, ZCLgroupid, colorTemperature, transitionTime, optionsMask, optionsOverride ) - def ClusterColorControl_CommandMoveToHue(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, hue: int, direction: int, transitionTime: int, optionsMask: int, optionsOverride: int): return self._chipLib.chip_ime_AppendCommand_ColorControl_MoveToHue( - device, ZCLendpoint, ZCLgroupid, hue, direction, transitionTime, optionsMask, optionsOverride + device, ZCLendpoint, ZCLgroupid, hue, direction, transitionTime, optionsMask, optionsOverride ) - def ClusterColorControl_CommandMoveToHueAndSaturation(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, hue: int, saturation: int, transitionTime: int, optionsMask: int, optionsOverride: int): return self._chipLib.chip_ime_AppendCommand_ColorControl_MoveToHueAndSaturation( - device, ZCLendpoint, ZCLgroupid, hue, saturation, transitionTime, optionsMask, optionsOverride + device, ZCLendpoint, ZCLgroupid, hue, saturation, transitionTime, optionsMask, optionsOverride ) - def ClusterColorControl_CommandMoveToSaturation(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, saturation: int, transitionTime: int, optionsMask: int, optionsOverride: int): return self._chipLib.chip_ime_AppendCommand_ColorControl_MoveToSaturation( - device, ZCLendpoint, ZCLgroupid, saturation, transitionTime, optionsMask, optionsOverride + device, ZCLendpoint, ZCLgroupid, saturation, transitionTime, optionsMask, optionsOverride ) - def ClusterColorControl_CommandStepColor(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, stepX: int, stepY: int, transitionTime: int, optionsMask: int, optionsOverride: int): return self._chipLib.chip_ime_AppendCommand_ColorControl_StepColor( - device, ZCLendpoint, ZCLgroupid, stepX, stepY, transitionTime, optionsMask, optionsOverride + device, ZCLendpoint, ZCLgroupid, stepX, stepY, transitionTime, optionsMask, optionsOverride ) - def ClusterColorControl_CommandStepColorTemperature(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, stepMode: int, stepSize: int, transitionTime: int, colorTemperatureMinimum: int, colorTemperatureMaximum: int, optionsMask: int, optionsOverride: int): return self._chipLib.chip_ime_AppendCommand_ColorControl_StepColorTemperature( - device, ZCLendpoint, ZCLgroupid, stepMode, stepSize, transitionTime, colorTemperatureMinimum, colorTemperatureMaximum, optionsMask, optionsOverride + device, ZCLendpoint, ZCLgroupid, stepMode, stepSize, transitionTime, colorTemperatureMinimum, colorTemperatureMaximum, optionsMask, optionsOverride ) - def ClusterColorControl_CommandStepHue(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, stepMode: int, stepSize: int, transitionTime: int, optionsMask: int, optionsOverride: int): return self._chipLib.chip_ime_AppendCommand_ColorControl_StepHue( - device, ZCLendpoint, ZCLgroupid, stepMode, stepSize, transitionTime, optionsMask, optionsOverride + device, ZCLendpoint, ZCLgroupid, stepMode, stepSize, transitionTime, optionsMask, optionsOverride ) - def ClusterColorControl_CommandStepSaturation(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, stepMode: int, stepSize: int, transitionTime: int, optionsMask: int, optionsOverride: int): return self._chipLib.chip_ime_AppendCommand_ColorControl_StepSaturation( - device, ZCLendpoint, ZCLgroupid, stepMode, stepSize, transitionTime, optionsMask, optionsOverride + device, ZCLendpoint, ZCLgroupid, stepMode, stepSize, transitionTime, optionsMask, optionsOverride ) - def ClusterColorControl_CommandStopMoveStep(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, optionsMask: int, optionsOverride: int): return self._chipLib.chip_ime_AppendCommand_ColorControl_StopMoveStep( - device, ZCLendpoint, ZCLgroupid, optionsMask, optionsOverride + device, ZCLendpoint, ZCLgroupid, optionsMask, optionsOverride ) - def ClusterContentLauncher_CommandLaunchContent(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, autoPlay: bool, data: str): data = data.encode("utf-8") + b'\x00' return self._chipLib.chip_ime_AppendCommand_ContentLauncher_LaunchContent( - device, ZCLendpoint, ZCLgroupid, autoPlay, data, len(data) + device, ZCLendpoint, ZCLgroupid, autoPlay, data, len(data) ) - def ClusterContentLauncher_CommandLaunchURL(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, contentURL: str, displayString: str): contentURL = contentURL.encode("utf-8") + b'\x00' displayString = displayString.encode("utf-8") + b'\x00' return self._chipLib.chip_ime_AppendCommand_ContentLauncher_LaunchURL( - device, ZCLendpoint, ZCLgroupid, contentURL, len( - contentURL), displayString, len(displayString) + device, ZCLendpoint, ZCLgroupid, contentURL, len(contentURL), displayString, len(displayString) ) - def ClusterDiagnosticLogs_CommandRetrieveLogsRequest(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, intent: int, requestedProtocol: int, transferFileDesignator: bytes): return self._chipLib.chip_ime_AppendCommand_DiagnosticLogs_RetrieveLogsRequest( - device, ZCLendpoint, ZCLgroupid, intent, requestedProtocol, transferFileDesignator, len( - transferFileDesignator) + device, ZCLendpoint, ZCLgroupid, intent, requestedProtocol, transferFileDesignator, len(transferFileDesignator) ) - def ClusterDoorLock_CommandClearAllPins(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_AppendCommand_DoorLock_ClearAllPins( - device, ZCLendpoint, ZCLgroupid + device, ZCLendpoint, ZCLgroupid ) - def ClusterDoorLock_CommandClearAllRfids(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_AppendCommand_DoorLock_ClearAllRfids( - device, ZCLendpoint, ZCLgroupid + device, ZCLendpoint, ZCLgroupid ) - def ClusterDoorLock_CommandClearHolidaySchedule(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, scheduleId: int): return self._chipLib.chip_ime_AppendCommand_DoorLock_ClearHolidaySchedule( - device, ZCLendpoint, ZCLgroupid, scheduleId + device, ZCLendpoint, ZCLgroupid, scheduleId ) - def ClusterDoorLock_CommandClearPin(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, userId: int): return self._chipLib.chip_ime_AppendCommand_DoorLock_ClearPin( - device, ZCLendpoint, ZCLgroupid, userId + device, ZCLendpoint, ZCLgroupid, userId ) - def ClusterDoorLock_CommandClearRfid(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, userId: int): return self._chipLib.chip_ime_AppendCommand_DoorLock_ClearRfid( - device, ZCLendpoint, ZCLgroupid, userId + device, ZCLendpoint, ZCLgroupid, userId ) - def ClusterDoorLock_CommandClearWeekdaySchedule(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, scheduleId: int, userId: int): return self._chipLib.chip_ime_AppendCommand_DoorLock_ClearWeekdaySchedule( - device, ZCLendpoint, ZCLgroupid, scheduleId, userId + device, ZCLendpoint, ZCLgroupid, scheduleId, userId ) - def ClusterDoorLock_CommandClearYeardaySchedule(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, scheduleId: int, userId: int): return self._chipLib.chip_ime_AppendCommand_DoorLock_ClearYeardaySchedule( - device, ZCLendpoint, ZCLgroupid, scheduleId, userId + device, ZCLendpoint, ZCLgroupid, scheduleId, userId ) - def ClusterDoorLock_CommandGetHolidaySchedule(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, scheduleId: int): return self._chipLib.chip_ime_AppendCommand_DoorLock_GetHolidaySchedule( - device, ZCLendpoint, ZCLgroupid, scheduleId + device, ZCLendpoint, ZCLgroupid, scheduleId ) - def ClusterDoorLock_CommandGetLogRecord(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, logIndex: int): return self._chipLib.chip_ime_AppendCommand_DoorLock_GetLogRecord( - device, ZCLendpoint, ZCLgroupid, logIndex + device, ZCLendpoint, ZCLgroupid, logIndex ) - def ClusterDoorLock_CommandGetPin(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, userId: int): return self._chipLib.chip_ime_AppendCommand_DoorLock_GetPin( - device, ZCLendpoint, ZCLgroupid, userId + device, ZCLendpoint, ZCLgroupid, userId ) - def ClusterDoorLock_CommandGetRfid(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, userId: int): return self._chipLib.chip_ime_AppendCommand_DoorLock_GetRfid( - device, ZCLendpoint, ZCLgroupid, userId + device, ZCLendpoint, ZCLgroupid, userId ) - def ClusterDoorLock_CommandGetUserType(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, userId: int): return self._chipLib.chip_ime_AppendCommand_DoorLock_GetUserType( - device, ZCLendpoint, ZCLgroupid, userId + device, ZCLendpoint, ZCLgroupid, userId ) - def ClusterDoorLock_CommandGetWeekdaySchedule(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, scheduleId: int, userId: int): return self._chipLib.chip_ime_AppendCommand_DoorLock_GetWeekdaySchedule( - device, ZCLendpoint, ZCLgroupid, scheduleId, userId + device, ZCLendpoint, ZCLgroupid, scheduleId, userId ) - def ClusterDoorLock_CommandGetYeardaySchedule(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, scheduleId: int, userId: int): return self._chipLib.chip_ime_AppendCommand_DoorLock_GetYeardaySchedule( - device, ZCLendpoint, ZCLgroupid, scheduleId, userId + device, ZCLendpoint, ZCLgroupid, scheduleId, userId ) - def ClusterDoorLock_CommandLockDoor(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, pin: bytes): return self._chipLib.chip_ime_AppendCommand_DoorLock_LockDoor( - device, ZCLendpoint, ZCLgroupid, pin, len(pin) + device, ZCLendpoint, ZCLgroupid, pin, len(pin) ) - def ClusterDoorLock_CommandSetHolidaySchedule(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, scheduleId: int, localStartTime: int, localEndTime: int, operatingModeDuringHoliday: int): return self._chipLib.chip_ime_AppendCommand_DoorLock_SetHolidaySchedule( - device, ZCLendpoint, ZCLgroupid, scheduleId, localStartTime, localEndTime, operatingModeDuringHoliday + device, ZCLendpoint, ZCLgroupid, scheduleId, localStartTime, localEndTime, operatingModeDuringHoliday ) - def ClusterDoorLock_CommandSetPin(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, userId: int, userStatus: int, userType: int, pin: bytes): return self._chipLib.chip_ime_AppendCommand_DoorLock_SetPin( - device, ZCLendpoint, ZCLgroupid, userId, userStatus, userType, pin, len( - pin) + device, ZCLendpoint, ZCLgroupid, userId, userStatus, userType, pin, len(pin) ) - def ClusterDoorLock_CommandSetRfid(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, userId: int, userStatus: int, userType: int, id: bytes): return self._chipLib.chip_ime_AppendCommand_DoorLock_SetRfid( - device, ZCLendpoint, ZCLgroupid, userId, userStatus, userType, id, len( - id) + device, ZCLendpoint, ZCLgroupid, userId, userStatus, userType, id, len(id) ) - def ClusterDoorLock_CommandSetUserType(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, userId: int, userType: int): return self._chipLib.chip_ime_AppendCommand_DoorLock_SetUserType( - device, ZCLendpoint, ZCLgroupid, userId, userType + device, ZCLendpoint, ZCLgroupid, userId, userType ) - def ClusterDoorLock_CommandSetWeekdaySchedule(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, scheduleId: int, userId: int, daysMask: int, startHour: int, startMinute: int, endHour: int, endMinute: int): return self._chipLib.chip_ime_AppendCommand_DoorLock_SetWeekdaySchedule( - device, ZCLendpoint, ZCLgroupid, scheduleId, userId, daysMask, startHour, startMinute, endHour, endMinute + device, ZCLendpoint, ZCLgroupid, scheduleId, userId, daysMask, startHour, startMinute, endHour, endMinute ) - def ClusterDoorLock_CommandSetYeardaySchedule(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, scheduleId: int, userId: int, localStartTime: int, localEndTime: int): return self._chipLib.chip_ime_AppendCommand_DoorLock_SetYeardaySchedule( - device, ZCLendpoint, ZCLgroupid, scheduleId, userId, localStartTime, localEndTime + device, ZCLendpoint, ZCLgroupid, scheduleId, userId, localStartTime, localEndTime ) - def ClusterDoorLock_CommandUnlockDoor(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, pin: bytes): return self._chipLib.chip_ime_AppendCommand_DoorLock_UnlockDoor( - device, ZCLendpoint, ZCLgroupid, pin, len(pin) + device, ZCLendpoint, ZCLgroupid, pin, len(pin) ) - def ClusterDoorLock_CommandUnlockWithTimeout(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, timeoutInSeconds: int, pin: bytes): return self._chipLib.chip_ime_AppendCommand_DoorLock_UnlockWithTimeout( - device, ZCLendpoint, ZCLgroupid, timeoutInSeconds, pin, len(pin) + device, ZCLendpoint, ZCLgroupid, timeoutInSeconds, pin, len(pin) ) - def ClusterEthernetNetworkDiagnostics_CommandResetCounts(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_AppendCommand_EthernetNetworkDiagnostics_ResetCounts( - device, ZCLendpoint, ZCLgroupid + device, ZCLendpoint, ZCLgroupid ) - def ClusterGeneralCommissioning_CommandArmFailSafe(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, expiryLengthSeconds: int, breadcrumb: int, timeoutMs: int): return self._chipLib.chip_ime_AppendCommand_GeneralCommissioning_ArmFailSafe( - device, ZCLendpoint, ZCLgroupid, expiryLengthSeconds, breadcrumb, timeoutMs + device, ZCLendpoint, ZCLgroupid, expiryLengthSeconds, breadcrumb, timeoutMs ) - def ClusterGeneralCommissioning_CommandCommissioningComplete(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_AppendCommand_GeneralCommissioning_CommissioningComplete( - device, ZCLendpoint, ZCLgroupid + device, ZCLendpoint, ZCLgroupid ) - def ClusterGeneralCommissioning_CommandSetRegulatoryConfig(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, location: int, countryCode: str, breadcrumb: int, timeoutMs: int): countryCode = countryCode.encode("utf-8") + b'\x00' return self._chipLib.chip_ime_AppendCommand_GeneralCommissioning_SetRegulatoryConfig( - device, ZCLendpoint, ZCLgroupid, location, countryCode, len( - countryCode), breadcrumb, timeoutMs + device, ZCLendpoint, ZCLgroupid, location, countryCode, len(countryCode), breadcrumb, timeoutMs ) - def ClusterGroups_CommandAddGroup(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, groupId: int, groupName: str): groupName = groupName.encode("utf-8") + b'\x00' return self._chipLib.chip_ime_AppendCommand_Groups_AddGroup( - device, ZCLendpoint, ZCLgroupid, groupId, groupName, len(groupName) + device, ZCLendpoint, ZCLgroupid, groupId, groupName, len(groupName) ) - def ClusterGroups_CommandAddGroupIfIdentifying(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, groupId: int, groupName: str): groupName = groupName.encode("utf-8") + b'\x00' return self._chipLib.chip_ime_AppendCommand_Groups_AddGroupIfIdentifying( - device, ZCLendpoint, ZCLgroupid, groupId, groupName, len(groupName) + device, ZCLendpoint, ZCLgroupid, groupId, groupName, len(groupName) ) - def ClusterGroups_CommandGetGroupMembership(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, groupCount: int, groupList: int): return self._chipLib.chip_ime_AppendCommand_Groups_GetGroupMembership( - device, ZCLendpoint, ZCLgroupid, groupCount, groupList + device, ZCLendpoint, ZCLgroupid, groupCount, groupList ) - def ClusterGroups_CommandRemoveAllGroups(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_AppendCommand_Groups_RemoveAllGroups( - device, ZCLendpoint, ZCLgroupid + device, ZCLendpoint, ZCLgroupid ) - def ClusterGroups_CommandRemoveGroup(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, groupId: int): return self._chipLib.chip_ime_AppendCommand_Groups_RemoveGroup( - device, ZCLendpoint, ZCLgroupid, groupId + device, ZCLendpoint, ZCLgroupid, groupId ) - def ClusterGroups_CommandViewGroup(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, groupId: int): return self._chipLib.chip_ime_AppendCommand_Groups_ViewGroup( - device, ZCLendpoint, ZCLgroupid, groupId + device, ZCLendpoint, ZCLgroupid, groupId ) - def ClusterIdentify_CommandIdentify(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, identifyTime: int): return self._chipLib.chip_ime_AppendCommand_Identify_Identify( - device, ZCLendpoint, ZCLgroupid, identifyTime + device, ZCLendpoint, ZCLgroupid, identifyTime ) - def ClusterIdentify_CommandIdentifyQuery(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_AppendCommand_Identify_IdentifyQuery( - device, ZCLendpoint, ZCLgroupid + device, ZCLendpoint, ZCLgroupid ) - def ClusterIdentify_CommandTriggerEffect(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, effectIdentifier: int, effectVariant: int): return self._chipLib.chip_ime_AppendCommand_Identify_TriggerEffect( - device, ZCLendpoint, ZCLgroupid, effectIdentifier, effectVariant + device, ZCLendpoint, ZCLgroupid, effectIdentifier, effectVariant ) - def ClusterKeypadInput_CommandSendKey(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, keyCode: int): return self._chipLib.chip_ime_AppendCommand_KeypadInput_SendKey( - device, ZCLendpoint, ZCLgroupid, keyCode + device, ZCLendpoint, ZCLgroupid, keyCode ) - def ClusterLevelControl_CommandMove(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, moveMode: int, rate: int, optionMask: int, optionOverride: int): return self._chipLib.chip_ime_AppendCommand_LevelControl_Move( - device, ZCLendpoint, ZCLgroupid, moveMode, rate, optionMask, optionOverride + device, ZCLendpoint, ZCLgroupid, moveMode, rate, optionMask, optionOverride ) - def ClusterLevelControl_CommandMoveToLevel(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, level: int, transitionTime: int, optionMask: int, optionOverride: int): return self._chipLib.chip_ime_AppendCommand_LevelControl_MoveToLevel( - device, ZCLendpoint, ZCLgroupid, level, transitionTime, optionMask, optionOverride + device, ZCLendpoint, ZCLgroupid, level, transitionTime, optionMask, optionOverride ) - def ClusterLevelControl_CommandMoveToLevelWithOnOff(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, level: int, transitionTime: int): return self._chipLib.chip_ime_AppendCommand_LevelControl_MoveToLevelWithOnOff( - device, ZCLendpoint, ZCLgroupid, level, transitionTime + device, ZCLendpoint, ZCLgroupid, level, transitionTime ) - def ClusterLevelControl_CommandMoveWithOnOff(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, moveMode: int, rate: int): return self._chipLib.chip_ime_AppendCommand_LevelControl_MoveWithOnOff( - device, ZCLendpoint, ZCLgroupid, moveMode, rate + device, ZCLendpoint, ZCLgroupid, moveMode, rate ) - def ClusterLevelControl_CommandStep(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, stepMode: int, stepSize: int, transitionTime: int, optionMask: int, optionOverride: int): return self._chipLib.chip_ime_AppendCommand_LevelControl_Step( - device, ZCLendpoint, ZCLgroupid, stepMode, stepSize, transitionTime, optionMask, optionOverride + device, ZCLendpoint, ZCLgroupid, stepMode, stepSize, transitionTime, optionMask, optionOverride ) - def ClusterLevelControl_CommandStepWithOnOff(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, stepMode: int, stepSize: int, transitionTime: int): return self._chipLib.chip_ime_AppendCommand_LevelControl_StepWithOnOff( - device, ZCLendpoint, ZCLgroupid, stepMode, stepSize, transitionTime + device, ZCLendpoint, ZCLgroupid, stepMode, stepSize, transitionTime ) - def ClusterLevelControl_CommandStop(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, optionMask: int, optionOverride: int): return self._chipLib.chip_ime_AppendCommand_LevelControl_Stop( - device, ZCLendpoint, ZCLgroupid, optionMask, optionOverride + device, ZCLendpoint, ZCLgroupid, optionMask, optionOverride ) - def ClusterLevelControl_CommandStopWithOnOff(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_AppendCommand_LevelControl_StopWithOnOff( - device, ZCLendpoint, ZCLgroupid + device, ZCLendpoint, ZCLgroupid ) - def ClusterLowPower_CommandSleep(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_AppendCommand_LowPower_Sleep( - device, ZCLendpoint, ZCLgroupid + device, ZCLendpoint, ZCLgroupid ) - def ClusterMediaInput_CommandHideInputStatus(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_AppendCommand_MediaInput_HideInputStatus( - device, ZCLendpoint, ZCLgroupid + device, ZCLendpoint, ZCLgroupid ) - def ClusterMediaInput_CommandRenameInput(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, index: int, name: str): name = name.encode("utf-8") + b'\x00' return self._chipLib.chip_ime_AppendCommand_MediaInput_RenameInput( - device, ZCLendpoint, ZCLgroupid, index, name, len(name) + device, ZCLendpoint, ZCLgroupid, index, name, len(name) ) - def ClusterMediaInput_CommandSelectInput(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, index: int): return self._chipLib.chip_ime_AppendCommand_MediaInput_SelectInput( - device, ZCLendpoint, ZCLgroupid, index + device, ZCLendpoint, ZCLgroupid, index ) - def ClusterMediaInput_CommandShowInputStatus(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_AppendCommand_MediaInput_ShowInputStatus( - device, ZCLendpoint, ZCLgroupid + device, ZCLendpoint, ZCLgroupid ) - def ClusterMediaPlayback_CommandMediaFastForward(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_AppendCommand_MediaPlayback_MediaFastForward( - device, ZCLendpoint, ZCLgroupid + device, ZCLendpoint, ZCLgroupid ) - def ClusterMediaPlayback_CommandMediaNext(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_AppendCommand_MediaPlayback_MediaNext( - device, ZCLendpoint, ZCLgroupid + device, ZCLendpoint, ZCLgroupid ) - def ClusterMediaPlayback_CommandMediaPause(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_AppendCommand_MediaPlayback_MediaPause( - device, ZCLendpoint, ZCLgroupid + device, ZCLendpoint, ZCLgroupid ) - def ClusterMediaPlayback_CommandMediaPlay(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_AppendCommand_MediaPlayback_MediaPlay( - device, ZCLendpoint, ZCLgroupid + device, ZCLendpoint, ZCLgroupid ) - def ClusterMediaPlayback_CommandMediaPrevious(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_AppendCommand_MediaPlayback_MediaPrevious( - device, ZCLendpoint, ZCLgroupid + device, ZCLendpoint, ZCLgroupid ) - def ClusterMediaPlayback_CommandMediaRewind(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_AppendCommand_MediaPlayback_MediaRewind( - device, ZCLendpoint, ZCLgroupid + device, ZCLendpoint, ZCLgroupid ) - def ClusterMediaPlayback_CommandMediaSeek(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, position: int): return self._chipLib.chip_ime_AppendCommand_MediaPlayback_MediaSeek( - device, ZCLendpoint, ZCLgroupid, position + device, ZCLendpoint, ZCLgroupid, position ) - def ClusterMediaPlayback_CommandMediaSkipBackward(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, deltaPositionMilliseconds: int): return self._chipLib.chip_ime_AppendCommand_MediaPlayback_MediaSkipBackward( - device, ZCLendpoint, ZCLgroupid, deltaPositionMilliseconds + device, ZCLendpoint, ZCLgroupid, deltaPositionMilliseconds ) - def ClusterMediaPlayback_CommandMediaSkipForward(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, deltaPositionMilliseconds: int): return self._chipLib.chip_ime_AppendCommand_MediaPlayback_MediaSkipForward( - device, ZCLendpoint, ZCLgroupid, deltaPositionMilliseconds + device, ZCLendpoint, ZCLgroupid, deltaPositionMilliseconds ) - def ClusterMediaPlayback_CommandMediaStartOver(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_AppendCommand_MediaPlayback_MediaStartOver( - device, ZCLendpoint, ZCLgroupid + device, ZCLendpoint, ZCLgroupid ) - def ClusterMediaPlayback_CommandMediaStop(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_AppendCommand_MediaPlayback_MediaStop( - device, ZCLendpoint, ZCLgroupid + device, ZCLendpoint, ZCLgroupid ) - def ClusterModeSelect_CommandChangeToMode(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, newMode: int): return self._chipLib.chip_ime_AppendCommand_ModeSelect_ChangeToMode( - device, ZCLendpoint, ZCLgroupid, newMode + device, ZCLendpoint, ZCLgroupid, newMode ) - def ClusterNetworkCommissioning_CommandAddThreadNetwork(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, operationalDataset: bytes, breadcrumb: int, timeoutMs: int): return self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_AddThreadNetwork( - device, ZCLendpoint, ZCLgroupid, operationalDataset, len( - operationalDataset), breadcrumb, timeoutMs + device, ZCLendpoint, ZCLgroupid, operationalDataset, len(operationalDataset), breadcrumb, timeoutMs ) - def ClusterNetworkCommissioning_CommandAddWiFiNetwork(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, ssid: bytes, credentials: bytes, breadcrumb: int, timeoutMs: int): return self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_AddWiFiNetwork( - device, ZCLendpoint, ZCLgroupid, ssid, len( - ssid), credentials, len(credentials), breadcrumb, timeoutMs + device, ZCLendpoint, ZCLgroupid, ssid, len(ssid), credentials, len(credentials), breadcrumb, timeoutMs ) - def ClusterNetworkCommissioning_CommandDisableNetwork(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, networkID: bytes, breadcrumb: int, timeoutMs: int): return self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_DisableNetwork( - device, ZCLendpoint, ZCLgroupid, networkID, len( - networkID), breadcrumb, timeoutMs + device, ZCLendpoint, ZCLgroupid, networkID, len(networkID), breadcrumb, timeoutMs ) - def ClusterNetworkCommissioning_CommandEnableNetwork(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, networkID: bytes, breadcrumb: int, timeoutMs: int): return self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_EnableNetwork( - device, ZCLendpoint, ZCLgroupid, networkID, len( - networkID), breadcrumb, timeoutMs + device, ZCLendpoint, ZCLgroupid, networkID, len(networkID), breadcrumb, timeoutMs ) - def ClusterNetworkCommissioning_CommandGetLastNetworkCommissioningResult(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, timeoutMs: int): return self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_GetLastNetworkCommissioningResult( - device, ZCLendpoint, ZCLgroupid, timeoutMs + device, ZCLendpoint, ZCLgroupid, timeoutMs ) - def ClusterNetworkCommissioning_CommandRemoveNetwork(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, networkID: bytes, breadcrumb: int, timeoutMs: int): return self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_RemoveNetwork( - device, ZCLendpoint, ZCLgroupid, networkID, len( - networkID), breadcrumb, timeoutMs + device, ZCLendpoint, ZCLgroupid, networkID, len(networkID), breadcrumb, timeoutMs ) - def ClusterNetworkCommissioning_CommandScanNetworks(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, ssid: bytes, breadcrumb: int, timeoutMs: int): return self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_ScanNetworks( - device, ZCLendpoint, ZCLgroupid, ssid, len( - ssid), breadcrumb, timeoutMs + device, ZCLendpoint, ZCLgroupid, ssid, len(ssid), breadcrumb, timeoutMs ) - def ClusterNetworkCommissioning_CommandUpdateThreadNetwork(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, operationalDataset: bytes, breadcrumb: int, timeoutMs: int): return self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_UpdateThreadNetwork( - device, ZCLendpoint, ZCLgroupid, operationalDataset, len( - operationalDataset), breadcrumb, timeoutMs + device, ZCLendpoint, ZCLgroupid, operationalDataset, len(operationalDataset), breadcrumb, timeoutMs ) - def ClusterNetworkCommissioning_CommandUpdateWiFiNetwork(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, ssid: bytes, credentials: bytes, breadcrumb: int, timeoutMs: int): return self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_UpdateWiFiNetwork( - device, ZCLendpoint, ZCLgroupid, ssid, len( - ssid), credentials, len(credentials), breadcrumb, timeoutMs + device, ZCLendpoint, ZCLgroupid, ssid, len(ssid), credentials, len(credentials), breadcrumb, timeoutMs ) - def ClusterOtaSoftwareUpdateProvider_CommandApplyUpdateRequest(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, updateToken: bytes, newVersion: int): return self._chipLib.chip_ime_AppendCommand_OtaSoftwareUpdateProvider_ApplyUpdateRequest( - device, ZCLendpoint, ZCLgroupid, updateToken, len( - updateToken), newVersion + device, ZCLendpoint, ZCLgroupid, updateToken, len(updateToken), newVersion ) - def ClusterOtaSoftwareUpdateProvider_CommandNotifyUpdateApplied(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, updateToken: bytes, softwareVersion: int): return self._chipLib.chip_ime_AppendCommand_OtaSoftwareUpdateProvider_NotifyUpdateApplied( - device, ZCLendpoint, ZCLgroupid, updateToken, len( - updateToken), softwareVersion + device, ZCLendpoint, ZCLgroupid, updateToken, len(updateToken), softwareVersion ) - def ClusterOtaSoftwareUpdateProvider_CommandQueryImage(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, vendorId: int, productId: int, hardwareVersion: int, softwareVersion: int, protocolsSupported: int, location: str, requestorCanConsent: bool, metadataForProvider: bytes): location = location.encode("utf-8") + b'\x00' return self._chipLib.chip_ime_AppendCommand_OtaSoftwareUpdateProvider_QueryImage( - device, ZCLendpoint, ZCLgroupid, vendorId, productId, hardwareVersion, softwareVersion, protocolsSupported, location, len( - location), requestorCanConsent, metadataForProvider, len(metadataForProvider) + device, ZCLendpoint, ZCLgroupid, vendorId, productId, hardwareVersion, softwareVersion, protocolsSupported, location, len(location), requestorCanConsent, metadataForProvider, len(metadataForProvider) ) - def ClusterOtaSoftwareUpdateRequestor_CommandAnnounceOtaProvider(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, providerLocation: int, vendorId: int, announcementReason: int, metadataForNode: bytes): return self._chipLib.chip_ime_AppendCommand_OtaSoftwareUpdateRequestor_AnnounceOtaProvider( - device, ZCLendpoint, ZCLgroupid, providerLocation, vendorId, announcementReason, metadataForNode, len( - metadataForNode) + device, ZCLendpoint, ZCLgroupid, providerLocation, vendorId, announcementReason, metadataForNode, len(metadataForNode) ) - def ClusterOnOff_CommandOff(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_AppendCommand_OnOff_Off( - device, ZCLendpoint, ZCLgroupid + device, ZCLendpoint, ZCLgroupid ) - def ClusterOnOff_CommandOffWithEffect(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, effectId: int, effectVariant: int): return self._chipLib.chip_ime_AppendCommand_OnOff_OffWithEffect( - device, ZCLendpoint, ZCLgroupid, effectId, effectVariant + device, ZCLendpoint, ZCLgroupid, effectId, effectVariant ) - def ClusterOnOff_CommandOn(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_AppendCommand_OnOff_On( - device, ZCLendpoint, ZCLgroupid + device, ZCLendpoint, ZCLgroupid ) - def ClusterOnOff_CommandOnWithRecallGlobalScene(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_AppendCommand_OnOff_OnWithRecallGlobalScene( - device, ZCLendpoint, ZCLgroupid + device, ZCLendpoint, ZCLgroupid ) - def ClusterOnOff_CommandOnWithTimedOff(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, onOffControl: int, onTime: int, offWaitTime: int): return self._chipLib.chip_ime_AppendCommand_OnOff_OnWithTimedOff( - device, ZCLendpoint, ZCLgroupid, onOffControl, onTime, offWaitTime + device, ZCLendpoint, ZCLgroupid, onOffControl, onTime, offWaitTime ) - def ClusterOnOff_CommandToggle(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_AppendCommand_OnOff_Toggle( - device, ZCLendpoint, ZCLgroupid + device, ZCLendpoint, ZCLgroupid ) - def ClusterOperationalCredentials_CommandAddNOC(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, NOCValue: bytes, ICACValue: bytes, IPKValue: bytes, caseAdminNode: int, adminVendorId: int): return self._chipLib.chip_ime_AppendCommand_OperationalCredentials_AddNOC( - device, ZCLendpoint, ZCLgroupid, NOCValue, len(NOCValue), ICACValue, len( - ICACValue), IPKValue, len(IPKValue), caseAdminNode, adminVendorId + device, ZCLendpoint, ZCLgroupid, NOCValue, len(NOCValue), ICACValue, len(ICACValue), IPKValue, len(IPKValue), caseAdminNode, adminVendorId ) - def ClusterOperationalCredentials_CommandAddTrustedRootCertificate(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, rootCertificate: bytes): return self._chipLib.chip_ime_AppendCommand_OperationalCredentials_AddTrustedRootCertificate( - device, ZCLendpoint, ZCLgroupid, rootCertificate, len( - rootCertificate) + device, ZCLendpoint, ZCLgroupid, rootCertificate, len(rootCertificate) ) - def ClusterOperationalCredentials_CommandAttestationRequest(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, attestationNonce: bytes): return self._chipLib.chip_ime_AppendCommand_OperationalCredentials_AttestationRequest( - device, ZCLendpoint, ZCLgroupid, attestationNonce, len( - attestationNonce) + device, ZCLendpoint, ZCLgroupid, attestationNonce, len(attestationNonce) ) - def ClusterOperationalCredentials_CommandCertificateChainRequest(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, certificateType: int): return self._chipLib.chip_ime_AppendCommand_OperationalCredentials_CertificateChainRequest( - device, ZCLendpoint, ZCLgroupid, certificateType + device, ZCLendpoint, ZCLgroupid, certificateType ) - def ClusterOperationalCredentials_CommandOpCSRRequest(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, CSRNonce: bytes): return self._chipLib.chip_ime_AppendCommand_OperationalCredentials_OpCSRRequest( - device, ZCLendpoint, ZCLgroupid, CSRNonce, len(CSRNonce) + device, ZCLendpoint, ZCLgroupid, CSRNonce, len(CSRNonce) ) - def ClusterOperationalCredentials_CommandRemoveFabric(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, fabricIndex: int): return self._chipLib.chip_ime_AppendCommand_OperationalCredentials_RemoveFabric( - device, ZCLendpoint, ZCLgroupid, fabricIndex + device, ZCLendpoint, ZCLgroupid, fabricIndex ) - def ClusterOperationalCredentials_CommandRemoveTrustedRootCertificate(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, trustedRootIdentifier: bytes): return self._chipLib.chip_ime_AppendCommand_OperationalCredentials_RemoveTrustedRootCertificate( - device, ZCLendpoint, ZCLgroupid, trustedRootIdentifier, len( - trustedRootIdentifier) + device, ZCLendpoint, ZCLgroupid, trustedRootIdentifier, len(trustedRootIdentifier) ) - def ClusterOperationalCredentials_CommandUpdateFabricLabel(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, label: str): label = label.encode("utf-8") + b'\x00' return self._chipLib.chip_ime_AppendCommand_OperationalCredentials_UpdateFabricLabel( - device, ZCLendpoint, ZCLgroupid, label, len(label) + device, ZCLendpoint, ZCLgroupid, label, len(label) ) - def ClusterOperationalCredentials_CommandUpdateNOC(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, NOCValue: bytes, ICACValue: bytes): return self._chipLib.chip_ime_AppendCommand_OperationalCredentials_UpdateNOC( - device, ZCLendpoint, ZCLgroupid, NOCValue, len( - NOCValue), ICACValue, len(ICACValue) + device, ZCLendpoint, ZCLgroupid, NOCValue, len(NOCValue), ICACValue, len(ICACValue) ) - def ClusterScenes_CommandAddScene(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, groupId: int, sceneId: int, transitionTime: int, sceneName: str, clusterId: int, length: int, value: int): sceneName = sceneName.encode("utf-8") + b'\x00' return self._chipLib.chip_ime_AppendCommand_Scenes_AddScene( - device, ZCLendpoint, ZCLgroupid, groupId, sceneId, transitionTime, sceneName, len( - sceneName), clusterId, length, value + device, ZCLendpoint, ZCLgroupid, groupId, sceneId, transitionTime, sceneName, len(sceneName), clusterId, length, value ) - def ClusterScenes_CommandGetSceneMembership(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, groupId: int): return self._chipLib.chip_ime_AppendCommand_Scenes_GetSceneMembership( - device, ZCLendpoint, ZCLgroupid, groupId + device, ZCLendpoint, ZCLgroupid, groupId ) - def ClusterScenes_CommandRecallScene(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, groupId: int, sceneId: int, transitionTime: int): return self._chipLib.chip_ime_AppendCommand_Scenes_RecallScene( - device, ZCLendpoint, ZCLgroupid, groupId, sceneId, transitionTime + device, ZCLendpoint, ZCLgroupid, groupId, sceneId, transitionTime ) - def ClusterScenes_CommandRemoveAllScenes(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, groupId: int): return self._chipLib.chip_ime_AppendCommand_Scenes_RemoveAllScenes( - device, ZCLendpoint, ZCLgroupid, groupId + device, ZCLendpoint, ZCLgroupid, groupId ) - def ClusterScenes_CommandRemoveScene(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, groupId: int, sceneId: int): return self._chipLib.chip_ime_AppendCommand_Scenes_RemoveScene( - device, ZCLendpoint, ZCLgroupid, groupId, sceneId + device, ZCLendpoint, ZCLgroupid, groupId, sceneId ) - def ClusterScenes_CommandStoreScene(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, groupId: int, sceneId: int): return self._chipLib.chip_ime_AppendCommand_Scenes_StoreScene( - device, ZCLendpoint, ZCLgroupid, groupId, sceneId + device, ZCLendpoint, ZCLgroupid, groupId, sceneId ) - def ClusterScenes_CommandViewScene(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, groupId: int, sceneId: int): return self._chipLib.chip_ime_AppendCommand_Scenes_ViewScene( - device, ZCLendpoint, ZCLgroupid, groupId, sceneId + device, ZCLendpoint, ZCLgroupid, groupId, sceneId ) - def ClusterSoftwareDiagnostics_CommandResetWatermarks(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_AppendCommand_SoftwareDiagnostics_ResetWatermarks( - device, ZCLendpoint, ZCLgroupid + device, ZCLendpoint, ZCLgroupid ) - def ClusterTvChannel_CommandChangeChannel(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, match: str): match = match.encode("utf-8") + b'\x00' return self._chipLib.chip_ime_AppendCommand_TvChannel_ChangeChannel( - device, ZCLendpoint, ZCLgroupid, match, len(match) + device, ZCLendpoint, ZCLgroupid, match, len(match) ) - def ClusterTvChannel_CommandChangeChannelByNumber(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, majorNumber: int, minorNumber: int): return self._chipLib.chip_ime_AppendCommand_TvChannel_ChangeChannelByNumber( - device, ZCLendpoint, ZCLgroupid, majorNumber, minorNumber + device, ZCLendpoint, ZCLgroupid, majorNumber, minorNumber ) - def ClusterTvChannel_CommandSkipChannel(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, count: int): return self._chipLib.chip_ime_AppendCommand_TvChannel_SkipChannel( - device, ZCLendpoint, ZCLgroupid, count + device, ZCLendpoint, ZCLgroupid, count ) - def ClusterTargetNavigator_CommandNavigateTarget(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, target: int, data: str): data = data.encode("utf-8") + b'\x00' return self._chipLib.chip_ime_AppendCommand_TargetNavigator_NavigateTarget( - device, ZCLendpoint, ZCLgroupid, target, data, len(data) + device, ZCLendpoint, ZCLgroupid, target, data, len(data) ) - def ClusterTestCluster_CommandTest(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_AppendCommand_TestCluster_Test( - device, ZCLendpoint, ZCLgroupid + device, ZCLendpoint, ZCLgroupid ) - def ClusterTestCluster_CommandTestAddArguments(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, arg1: int, arg2: int): return self._chipLib.chip_ime_AppendCommand_TestCluster_TestAddArguments( - device, ZCLendpoint, ZCLgroupid, arg1, arg2 + device, ZCLendpoint, ZCLgroupid, arg1, arg2 ) - def ClusterTestCluster_CommandTestEnumsRequest(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, arg1: int, arg2: int): return self._chipLib.chip_ime_AppendCommand_TestCluster_TestEnumsRequest( - device, ZCLendpoint, ZCLgroupid, arg1, arg2 + device, ZCLendpoint, ZCLgroupid, arg1, arg2 ) - def ClusterTestCluster_CommandTestListInt8UArgumentRequest(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, arg1: int): return self._chipLib.chip_ime_AppendCommand_TestCluster_TestListInt8UArgumentRequest( - device, ZCLendpoint, ZCLgroupid, arg1 + device, ZCLendpoint, ZCLgroupid, arg1 ) - def ClusterTestCluster_CommandTestListInt8UReverseRequest(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, arg1: int): return self._chipLib.chip_ime_AppendCommand_TestCluster_TestListInt8UReverseRequest( - device, ZCLendpoint, ZCLgroupid, arg1 + device, ZCLendpoint, ZCLgroupid, arg1 ) - def ClusterTestCluster_CommandTestListStructArgumentRequest(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, a: int, b: bool, c: int, d: bytes, e: str, f: int): e = e.encode("utf-8") + b'\x00' return self._chipLib.chip_ime_AppendCommand_TestCluster_TestListStructArgumentRequest( - device, ZCLendpoint, ZCLgroupid, a, b, c, d, len(d), e, len(e), f + device, ZCLendpoint, ZCLgroupid, a, b, c, d, len(d), e, len(e), f ) - def ClusterTestCluster_CommandTestNotHandled(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_AppendCommand_TestCluster_TestNotHandled( - device, ZCLendpoint, ZCLgroupid + device, ZCLendpoint, ZCLgroupid ) - def ClusterTestCluster_CommandTestNullableOptionalRequest(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, arg1: int): return self._chipLib.chip_ime_AppendCommand_TestCluster_TestNullableOptionalRequest( - device, ZCLendpoint, ZCLgroupid, arg1 + device, ZCLendpoint, ZCLgroupid, arg1 ) - def ClusterTestCluster_CommandTestSpecific(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_AppendCommand_TestCluster_TestSpecific( - device, ZCLendpoint, ZCLgroupid + device, ZCLendpoint, ZCLgroupid ) - def ClusterTestCluster_CommandTestStructArgumentRequest(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, a: int, b: bool, c: int, d: bytes, e: str, f: int): e = e.encode("utf-8") + b'\x00' return self._chipLib.chip_ime_AppendCommand_TestCluster_TestStructArgumentRequest( - device, ZCLendpoint, ZCLgroupid, a, b, c, d, len(d), e, len(e), f + device, ZCLendpoint, ZCLgroupid, a, b, c, d, len(d), e, len(e), f ) - def ClusterTestCluster_CommandTestUnknownCommand(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_AppendCommand_TestCluster_TestUnknownCommand( - device, ZCLendpoint, ZCLgroupid + device, ZCLendpoint, ZCLgroupid ) - def ClusterThermostat_CommandClearWeeklySchedule(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_AppendCommand_Thermostat_ClearWeeklySchedule( - device, ZCLendpoint, ZCLgroupid + device, ZCLendpoint, ZCLgroupid ) - def ClusterThermostat_CommandGetRelayStatusLog(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_AppendCommand_Thermostat_GetRelayStatusLog( - device, ZCLendpoint, ZCLgroupid + device, ZCLendpoint, ZCLgroupid ) - def ClusterThermostat_CommandGetWeeklySchedule(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, daysToReturn: int, modeToReturn: int): return self._chipLib.chip_ime_AppendCommand_Thermostat_GetWeeklySchedule( - device, ZCLendpoint, ZCLgroupid, daysToReturn, modeToReturn + device, ZCLendpoint, ZCLgroupid, daysToReturn, modeToReturn ) - def ClusterThermostat_CommandSetWeeklySchedule(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, numberOfTransitionsForSequence: int, dayOfWeekForSequence: int, modeForSequence: int, payload: int): return self._chipLib.chip_ime_AppendCommand_Thermostat_SetWeeklySchedule( - device, ZCLendpoint, ZCLgroupid, numberOfTransitionsForSequence, dayOfWeekForSequence, modeForSequence, payload + device, ZCLendpoint, ZCLgroupid, numberOfTransitionsForSequence, dayOfWeekForSequence, modeForSequence, payload ) - def ClusterThermostat_CommandSetpointRaiseLower(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, mode: int, amount: int): return self._chipLib.chip_ime_AppendCommand_Thermostat_SetpointRaiseLower( - device, ZCLendpoint, ZCLgroupid, mode, amount + device, ZCLendpoint, ZCLgroupid, mode, amount ) - def ClusterThreadNetworkDiagnostics_CommandResetCounts(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_AppendCommand_ThreadNetworkDiagnostics_ResetCounts( - device, ZCLendpoint, ZCLgroupid + device, ZCLendpoint, ZCLgroupid ) - def ClusterWiFiNetworkDiagnostics_CommandResetCounts(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_AppendCommand_WiFiNetworkDiagnostics_ResetCounts( - device, ZCLendpoint, ZCLgroupid + device, ZCLendpoint, ZCLgroupid ) - def ClusterWindowCovering_CommandDownOrClose(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_AppendCommand_WindowCovering_DownOrClose( - device, ZCLendpoint, ZCLgroupid + device, ZCLendpoint, ZCLgroupid ) - def ClusterWindowCovering_CommandGoToLiftPercentage(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, liftPercentageValue: int, liftPercent100thsValue: int): return self._chipLib.chip_ime_AppendCommand_WindowCovering_GoToLiftPercentage( - device, ZCLendpoint, ZCLgroupid, liftPercentageValue, liftPercent100thsValue + device, ZCLendpoint, ZCLgroupid, liftPercentageValue, liftPercent100thsValue ) - def ClusterWindowCovering_CommandGoToLiftValue(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, liftValue: int): return self._chipLib.chip_ime_AppendCommand_WindowCovering_GoToLiftValue( - device, ZCLendpoint, ZCLgroupid, liftValue + device, ZCLendpoint, ZCLgroupid, liftValue ) - def ClusterWindowCovering_CommandGoToTiltPercentage(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, tiltPercentageValue: int, tiltPercent100thsValue: int): return self._chipLib.chip_ime_AppendCommand_WindowCovering_GoToTiltPercentage( - device, ZCLendpoint, ZCLgroupid, tiltPercentageValue, tiltPercent100thsValue + device, ZCLendpoint, ZCLgroupid, tiltPercentageValue, tiltPercent100thsValue ) - def ClusterWindowCovering_CommandGoToTiltValue(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, tiltValue: int): return self._chipLib.chip_ime_AppendCommand_WindowCovering_GoToTiltValue( - device, ZCLendpoint, ZCLgroupid, tiltValue + device, ZCLendpoint, ZCLgroupid, tiltValue ) - def ClusterWindowCovering_CommandStopMotion(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_AppendCommand_WindowCovering_StopMotion( - device, ZCLendpoint, ZCLgroupid + device, ZCLendpoint, ZCLgroupid ) - def ClusterWindowCovering_CommandUpOrOpen(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_AppendCommand_WindowCovering_UpOrOpen( - device, ZCLendpoint, ZCLgroupid + device, ZCLendpoint, ZCLgroupid ) # Cluster attributes def ClusterAccountLogin_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_AccountLogin_ClusterRevision(device, ZCLendpoint, ZCLgroupid) - def ClusterAdministratorCommissioning_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_AdministratorCommissioning_ClusterRevision(device, ZCLendpoint, ZCLgroupid) - def ClusterApplicationBasic_ReadAttributeVendorName(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ApplicationBasic_VendorName(device, ZCLendpoint, ZCLgroupid) - def ClusterApplicationBasic_ReadAttributeVendorId(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ApplicationBasic_VendorId(device, ZCLendpoint, ZCLgroupid) - def ClusterApplicationBasic_ReadAttributeApplicationName(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ApplicationBasic_ApplicationName(device, ZCLendpoint, ZCLgroupid) - def ClusterApplicationBasic_ReadAttributeProductId(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ApplicationBasic_ProductId(device, ZCLendpoint, ZCLgroupid) - def ClusterApplicationBasic_ReadAttributeApplicationId(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ApplicationBasic_ApplicationId(device, ZCLendpoint, ZCLgroupid) - def ClusterApplicationBasic_ReadAttributeCatalogVendorId(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ApplicationBasic_CatalogVendorId(device, ZCLendpoint, ZCLgroupid) - def ClusterApplicationBasic_ReadAttributeApplicationStatus(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ApplicationBasic_ApplicationStatus(device, ZCLendpoint, ZCLgroupid) - def ClusterApplicationBasic_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ApplicationBasic_ClusterRevision(device, ZCLendpoint, ZCLgroupid) - def ClusterApplicationLauncher_ReadAttributeApplicationLauncherList(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ApplicationLauncher_ApplicationLauncherList(device, ZCLendpoint, ZCLgroupid) - def ClusterApplicationLauncher_ReadAttributeCatalogVendorId(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ApplicationLauncher_CatalogVendorId(device, ZCLendpoint, ZCLgroupid) - def ClusterApplicationLauncher_ReadAttributeApplicationId(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ApplicationLauncher_ApplicationId(device, ZCLendpoint, ZCLgroupid) - def ClusterApplicationLauncher_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ApplicationLauncher_ClusterRevision(device, ZCLendpoint, ZCLgroupid) - def ClusterAudioOutput_ReadAttributeAudioOutputList(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_AudioOutput_AudioOutputList(device, ZCLendpoint, ZCLgroupid) - def ClusterAudioOutput_ReadAttributeCurrentAudioOutput(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_AudioOutput_CurrentAudioOutput(device, ZCLendpoint, ZCLgroupid) - def ClusterAudioOutput_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_AudioOutput_ClusterRevision(device, ZCLendpoint, ZCLgroupid) - def ClusterBarrierControl_ReadAttributeBarrierMovingState(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_BarrierControl_BarrierMovingState(device, ZCLendpoint, ZCLgroupid) - def ClusterBarrierControl_ReadAttributeBarrierSafetyStatus(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_BarrierControl_BarrierSafetyStatus(device, ZCLendpoint, ZCLgroupid) - def ClusterBarrierControl_ReadAttributeBarrierCapabilities(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_BarrierControl_BarrierCapabilities(device, ZCLendpoint, ZCLgroupid) - def ClusterBarrierControl_ReadAttributeBarrierPosition(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_BarrierControl_BarrierPosition(device, ZCLendpoint, ZCLgroupid) - def ClusterBarrierControl_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_BarrierControl_ClusterRevision(device, ZCLendpoint, ZCLgroupid) - def ClusterBasic_ReadAttributeInteractionModelVersion(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Basic_InteractionModelVersion(device, ZCLendpoint, ZCLgroupid) - def ClusterBasic_ReadAttributeVendorName(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Basic_VendorName(device, ZCLendpoint, ZCLgroupid) - def ClusterBasic_ReadAttributeVendorID(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Basic_VendorID(device, ZCLendpoint, ZCLgroupid) - def ClusterBasic_ReadAttributeProductName(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Basic_ProductName(device, ZCLendpoint, ZCLgroupid) - def ClusterBasic_ReadAttributeProductID(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Basic_ProductID(device, ZCLendpoint, ZCLgroupid) - def ClusterBasic_ReadAttributeUserLabel(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Basic_UserLabel(device, ZCLendpoint, ZCLgroupid) - def ClusterBasic_WriteAttributeUserLabel(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: str): value = value.encode("utf-8") return self._chipLib.chip_ime_WriteAttribute_Basic_UserLabel(device, ZCLendpoint, ZCLgroupid, value, len(value)) - def ClusterBasic_ReadAttributeLocation(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Basic_Location(device, ZCLendpoint, ZCLgroupid) - def ClusterBasic_WriteAttributeLocation(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: str): value = value.encode("utf-8") return self._chipLib.chip_ime_WriteAttribute_Basic_Location(device, ZCLendpoint, ZCLgroupid, value, len(value)) - def ClusterBasic_ReadAttributeHardwareVersion(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Basic_HardwareVersion(device, ZCLendpoint, ZCLgroupid) - def ClusterBasic_ReadAttributeHardwareVersionString(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Basic_HardwareVersionString(device, ZCLendpoint, ZCLgroupid) - def ClusterBasic_ReadAttributeSoftwareVersion(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Basic_SoftwareVersion(device, ZCLendpoint, ZCLgroupid) - def ClusterBasic_ReadAttributeSoftwareVersionString(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Basic_SoftwareVersionString(device, ZCLendpoint, ZCLgroupid) - def ClusterBasic_ReadAttributeManufacturingDate(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Basic_ManufacturingDate(device, ZCLendpoint, ZCLgroupid) - def ClusterBasic_ReadAttributePartNumber(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Basic_PartNumber(device, ZCLendpoint, ZCLgroupid) - def ClusterBasic_ReadAttributeProductURL(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Basic_ProductURL(device, ZCLendpoint, ZCLgroupid) - def ClusterBasic_ReadAttributeProductLabel(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Basic_ProductLabel(device, ZCLendpoint, ZCLgroupid) - def ClusterBasic_ReadAttributeSerialNumber(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Basic_SerialNumber(device, ZCLendpoint, ZCLgroupid) - def ClusterBasic_ReadAttributeLocalConfigDisabled(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Basic_LocalConfigDisabled(device, ZCLendpoint, ZCLgroupid) - def ClusterBasic_WriteAttributeLocalConfigDisabled(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: bool): return self._chipLib.chip_ime_WriteAttribute_Basic_LocalConfigDisabled(device, ZCLendpoint, ZCLgroupid, value) - def ClusterBasic_ReadAttributeReachable(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Basic_Reachable(device, ZCLendpoint, ZCLgroupid) - def ClusterBasic_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Basic_ClusterRevision(device, ZCLendpoint, ZCLgroupid) - def ClusterBinaryInputBasic_ReadAttributeOutOfService(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_BinaryInputBasic_OutOfService(device, ZCLendpoint, ZCLgroupid) - def ClusterBinaryInputBasic_WriteAttributeOutOfService(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: bool): return self._chipLib.chip_ime_WriteAttribute_BinaryInputBasic_OutOfService(device, ZCLendpoint, ZCLgroupid, value) - def ClusterBinaryInputBasic_ReadAttributePresentValue(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_BinaryInputBasic_PresentValue(device, ZCLendpoint, ZCLgroupid) - def ClusterBinaryInputBasic_SubscribeAttributePresentValue(self, device: ctypes.c_void_p, ZCLendpoint: int, minInterval: int, maxInterval: int): return self._chipLib.chip_ime_SubscribeAttribute_BinaryInputBasic_PresentValue(device, ZCLendpoint, minInterval, maxInterval) - def ClusterBinaryInputBasic_WriteAttributePresentValue(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: bool): return self._chipLib.chip_ime_WriteAttribute_BinaryInputBasic_PresentValue(device, ZCLendpoint, ZCLgroupid, value) - def ClusterBinaryInputBasic_ReadAttributeStatusFlags(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_BinaryInputBasic_StatusFlags(device, ZCLendpoint, ZCLgroupid) - def ClusterBinaryInputBasic_SubscribeAttributeStatusFlags(self, device: ctypes.c_void_p, ZCLendpoint: int, minInterval: int, maxInterval: int): return self._chipLib.chip_ime_SubscribeAttribute_BinaryInputBasic_StatusFlags(device, ZCLendpoint, minInterval, maxInterval) - def ClusterBinaryInputBasic_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_BinaryInputBasic_ClusterRevision(device, ZCLendpoint, ZCLgroupid) - def ClusterBinding_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Binding_ClusterRevision(device, ZCLendpoint, ZCLgroupid) - def ClusterBooleanState_ReadAttributeStateValue(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_BooleanState_StateValue(device, ZCLendpoint, ZCLgroupid) - def ClusterBooleanState_SubscribeAttributeStateValue(self, device: ctypes.c_void_p, ZCLendpoint: int, minInterval: int, maxInterval: int): return self._chipLib.chip_ime_SubscribeAttribute_BooleanState_StateValue(device, ZCLendpoint, minInterval, maxInterval) - def ClusterBooleanState_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_BooleanState_ClusterRevision(device, ZCLendpoint, ZCLgroupid) - def ClusterBridgedActions_ReadAttributeActionList(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_BridgedActions_ActionList(device, ZCLendpoint, ZCLgroupid) - def ClusterBridgedActions_ReadAttributeEndpointList(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_BridgedActions_EndpointList(device, ZCLendpoint, ZCLgroupid) - def ClusterBridgedActions_ReadAttributeSetupUrl(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_BridgedActions_SetupUrl(device, ZCLendpoint, ZCLgroupid) - def ClusterBridgedActions_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_BridgedActions_ClusterRevision(device, ZCLendpoint, ZCLgroupid) - def ClusterBridgedDeviceBasic_ReadAttributeVendorName(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_VendorName(device, ZCLendpoint, ZCLgroupid) - def ClusterBridgedDeviceBasic_ReadAttributeVendorID(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_VendorID(device, ZCLendpoint, ZCLgroupid) - def ClusterBridgedDeviceBasic_ReadAttributeProductName(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_ProductName(device, ZCLendpoint, ZCLgroupid) - def ClusterBridgedDeviceBasic_ReadAttributeUserLabel(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_UserLabel(device, ZCLendpoint, ZCLgroupid) - def ClusterBridgedDeviceBasic_WriteAttributeUserLabel(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: str): value = value.encode("utf-8") return self._chipLib.chip_ime_WriteAttribute_BridgedDeviceBasic_UserLabel(device, ZCLendpoint, ZCLgroupid, value, len(value)) - def ClusterBridgedDeviceBasic_ReadAttributeHardwareVersion(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_HardwareVersion(device, ZCLendpoint, ZCLgroupid) - def ClusterBridgedDeviceBasic_ReadAttributeHardwareVersionString(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_HardwareVersionString(device, ZCLendpoint, ZCLgroupid) - def ClusterBridgedDeviceBasic_ReadAttributeSoftwareVersion(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_SoftwareVersion(device, ZCLendpoint, ZCLgroupid) - def ClusterBridgedDeviceBasic_ReadAttributeSoftwareVersionString(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_SoftwareVersionString(device, ZCLendpoint, ZCLgroupid) - def ClusterBridgedDeviceBasic_ReadAttributeManufacturingDate(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_ManufacturingDate(device, ZCLendpoint, ZCLgroupid) - def ClusterBridgedDeviceBasic_ReadAttributePartNumber(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_PartNumber(device, ZCLendpoint, ZCLgroupid) - def ClusterBridgedDeviceBasic_ReadAttributeProductURL(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_ProductURL(device, ZCLendpoint, ZCLgroupid) - def ClusterBridgedDeviceBasic_ReadAttributeProductLabel(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_ProductLabel(device, ZCLendpoint, ZCLgroupid) - def ClusterBridgedDeviceBasic_ReadAttributeSerialNumber(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_SerialNumber(device, ZCLendpoint, ZCLgroupid) - def ClusterBridgedDeviceBasic_ReadAttributeReachable(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_Reachable(device, ZCLendpoint, ZCLgroupid) - def ClusterBridgedDeviceBasic_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_ClusterRevision(device, ZCLendpoint, ZCLgroupid) - def ClusterColorControl_ReadAttributeCurrentHue(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ColorControl_CurrentHue(device, ZCLendpoint, ZCLgroupid) - def ClusterColorControl_SubscribeAttributeCurrentHue(self, device: ctypes.c_void_p, ZCLendpoint: int, minInterval: int, maxInterval: int): return self._chipLib.chip_ime_SubscribeAttribute_ColorControl_CurrentHue(device, ZCLendpoint, minInterval, maxInterval) - def ClusterColorControl_ReadAttributeCurrentSaturation(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ColorControl_CurrentSaturation(device, ZCLendpoint, ZCLgroupid) - def ClusterColorControl_SubscribeAttributeCurrentSaturation(self, device: ctypes.c_void_p, ZCLendpoint: int, minInterval: int, maxInterval: int): return self._chipLib.chip_ime_SubscribeAttribute_ColorControl_CurrentSaturation(device, ZCLendpoint, minInterval, maxInterval) - def ClusterColorControl_ReadAttributeRemainingTime(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ColorControl_RemainingTime(device, ZCLendpoint, ZCLgroupid) - def ClusterColorControl_ReadAttributeCurrentX(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ColorControl_CurrentX(device, ZCLendpoint, ZCLgroupid) - def ClusterColorControl_SubscribeAttributeCurrentX(self, device: ctypes.c_void_p, ZCLendpoint: int, minInterval: int, maxInterval: int): return self._chipLib.chip_ime_SubscribeAttribute_ColorControl_CurrentX(device, ZCLendpoint, minInterval, maxInterval) - def ClusterColorControl_ReadAttributeCurrentY(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ColorControl_CurrentY(device, ZCLendpoint, ZCLgroupid) - def ClusterColorControl_SubscribeAttributeCurrentY(self, device: ctypes.c_void_p, ZCLendpoint: int, minInterval: int, maxInterval: int): return self._chipLib.chip_ime_SubscribeAttribute_ColorControl_CurrentY(device, ZCLendpoint, minInterval, maxInterval) - def ClusterColorControl_ReadAttributeDriftCompensation(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ColorControl_DriftCompensation(device, ZCLendpoint, ZCLgroupid) - def ClusterColorControl_ReadAttributeCompensationText(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ColorControl_CompensationText(device, ZCLendpoint, ZCLgroupid) - def ClusterColorControl_ReadAttributeColorTemperature(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorTemperature(device, ZCLendpoint, ZCLgroupid) - def ClusterColorControl_SubscribeAttributeColorTemperature(self, device: ctypes.c_void_p, ZCLendpoint: int, minInterval: int, maxInterval: int): return self._chipLib.chip_ime_SubscribeAttribute_ColorControl_ColorTemperature(device, ZCLendpoint, minInterval, maxInterval) - def ClusterColorControl_ReadAttributeColorMode(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorMode(device, ZCLendpoint, ZCLgroupid) - def ClusterColorControl_ReadAttributeColorControlOptions(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorControlOptions(device, ZCLendpoint, ZCLgroupid) - def ClusterColorControl_WriteAttributeColorControlOptions(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_ColorControl_ColorControlOptions(device, ZCLendpoint, ZCLgroupid, value) - def ClusterColorControl_ReadAttributeNumberOfPrimaries(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ColorControl_NumberOfPrimaries(device, ZCLendpoint, ZCLgroupid) - def ClusterColorControl_ReadAttributePrimary1X(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary1X(device, ZCLendpoint, ZCLgroupid) - def ClusterColorControl_ReadAttributePrimary1Y(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary1Y(device, ZCLendpoint, ZCLgroupid) - def ClusterColorControl_ReadAttributePrimary1Intensity(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary1Intensity(device, ZCLendpoint, ZCLgroupid) - def ClusterColorControl_ReadAttributePrimary2X(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary2X(device, ZCLendpoint, ZCLgroupid) - def ClusterColorControl_ReadAttributePrimary2Y(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary2Y(device, ZCLendpoint, ZCLgroupid) - def ClusterColorControl_ReadAttributePrimary2Intensity(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary2Intensity(device, ZCLendpoint, ZCLgroupid) - def ClusterColorControl_ReadAttributePrimary3X(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary3X(device, ZCLendpoint, ZCLgroupid) - def ClusterColorControl_ReadAttributePrimary3Y(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary3Y(device, ZCLendpoint, ZCLgroupid) - def ClusterColorControl_ReadAttributePrimary3Intensity(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary3Intensity(device, ZCLendpoint, ZCLgroupid) - def ClusterColorControl_ReadAttributePrimary4X(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary4X(device, ZCLendpoint, ZCLgroupid) - def ClusterColorControl_ReadAttributePrimary4Y(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary4Y(device, ZCLendpoint, ZCLgroupid) - def ClusterColorControl_ReadAttributePrimary4Intensity(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary4Intensity(device, ZCLendpoint, ZCLgroupid) - def ClusterColorControl_ReadAttributePrimary5X(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary5X(device, ZCLendpoint, ZCLgroupid) - def ClusterColorControl_ReadAttributePrimary5Y(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary5Y(device, ZCLendpoint, ZCLgroupid) - def ClusterColorControl_ReadAttributePrimary5Intensity(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary5Intensity(device, ZCLendpoint, ZCLgroupid) - def ClusterColorControl_ReadAttributePrimary6X(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary6X(device, ZCLendpoint, ZCLgroupid) - def ClusterColorControl_ReadAttributePrimary6Y(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary6Y(device, ZCLendpoint, ZCLgroupid) - def ClusterColorControl_ReadAttributePrimary6Intensity(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary6Intensity(device, ZCLendpoint, ZCLgroupid) - def ClusterColorControl_ReadAttributeWhitePointX(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ColorControl_WhitePointX(device, ZCLendpoint, ZCLgroupid) - def ClusterColorControl_WriteAttributeWhitePointX(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_ColorControl_WhitePointX(device, ZCLendpoint, ZCLgroupid, value) - def ClusterColorControl_ReadAttributeWhitePointY(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ColorControl_WhitePointY(device, ZCLendpoint, ZCLgroupid) - def ClusterColorControl_WriteAttributeWhitePointY(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_ColorControl_WhitePointY(device, ZCLendpoint, ZCLgroupid, value) - def ClusterColorControl_ReadAttributeColorPointRX(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorPointRX(device, ZCLendpoint, ZCLgroupid) - def ClusterColorControl_WriteAttributeColorPointRX(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_ColorControl_ColorPointRX(device, ZCLendpoint, ZCLgroupid, value) - def ClusterColorControl_ReadAttributeColorPointRY(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorPointRY(device, ZCLendpoint, ZCLgroupid) - def ClusterColorControl_WriteAttributeColorPointRY(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_ColorControl_ColorPointRY(device, ZCLendpoint, ZCLgroupid, value) - def ClusterColorControl_ReadAttributeColorPointRIntensity(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorPointRIntensity(device, ZCLendpoint, ZCLgroupid) - def ClusterColorControl_WriteAttributeColorPointRIntensity(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_ColorControl_ColorPointRIntensity(device, ZCLendpoint, ZCLgroupid, value) - def ClusterColorControl_ReadAttributeColorPointGX(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorPointGX(device, ZCLendpoint, ZCLgroupid) - def ClusterColorControl_WriteAttributeColorPointGX(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_ColorControl_ColorPointGX(device, ZCLendpoint, ZCLgroupid, value) - def ClusterColorControl_ReadAttributeColorPointGY(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorPointGY(device, ZCLendpoint, ZCLgroupid) - def ClusterColorControl_WriteAttributeColorPointGY(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_ColorControl_ColorPointGY(device, ZCLendpoint, ZCLgroupid, value) - def ClusterColorControl_ReadAttributeColorPointGIntensity(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorPointGIntensity(device, ZCLendpoint, ZCLgroupid) - def ClusterColorControl_WriteAttributeColorPointGIntensity(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_ColorControl_ColorPointGIntensity(device, ZCLendpoint, ZCLgroupid, value) - def ClusterColorControl_ReadAttributeColorPointBX(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorPointBX(device, ZCLendpoint, ZCLgroupid) - def ClusterColorControl_WriteAttributeColorPointBX(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_ColorControl_ColorPointBX(device, ZCLendpoint, ZCLgroupid, value) - def ClusterColorControl_ReadAttributeColorPointBY(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorPointBY(device, ZCLendpoint, ZCLgroupid) - def ClusterColorControl_WriteAttributeColorPointBY(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_ColorControl_ColorPointBY(device, ZCLendpoint, ZCLgroupid, value) - def ClusterColorControl_ReadAttributeColorPointBIntensity(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorPointBIntensity(device, ZCLendpoint, ZCLgroupid) - def ClusterColorControl_WriteAttributeColorPointBIntensity(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_ColorControl_ColorPointBIntensity(device, ZCLendpoint, ZCLgroupid, value) - def ClusterColorControl_ReadAttributeEnhancedCurrentHue(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ColorControl_EnhancedCurrentHue(device, ZCLendpoint, ZCLgroupid) - def ClusterColorControl_ReadAttributeEnhancedColorMode(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ColorControl_EnhancedColorMode(device, ZCLendpoint, ZCLgroupid) - def ClusterColorControl_ReadAttributeColorLoopActive(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorLoopActive(device, ZCLendpoint, ZCLgroupid) - def ClusterColorControl_ReadAttributeColorLoopDirection(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorLoopDirection(device, ZCLendpoint, ZCLgroupid) - def ClusterColorControl_ReadAttributeColorLoopTime(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorLoopTime(device, ZCLendpoint, ZCLgroupid) - def ClusterColorControl_ReadAttributeColorLoopStartEnhancedHue(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorLoopStartEnhancedHue(device, ZCLendpoint, ZCLgroupid) - def ClusterColorControl_ReadAttributeColorLoopStoredEnhancedHue(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorLoopStoredEnhancedHue(device, ZCLendpoint, ZCLgroupid) - def ClusterColorControl_ReadAttributeColorCapabilities(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorCapabilities(device, ZCLendpoint, ZCLgroupid) - def ClusterColorControl_ReadAttributeColorTempPhysicalMin(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorTempPhysicalMin(device, ZCLendpoint, ZCLgroupid) - def ClusterColorControl_ReadAttributeColorTempPhysicalMax(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorTempPhysicalMax(device, ZCLendpoint, ZCLgroupid) - def ClusterColorControl_ReadAttributeCoupleColorTempToLevelMinMireds(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ColorControl_CoupleColorTempToLevelMinMireds(device, ZCLendpoint, ZCLgroupid) - def ClusterColorControl_ReadAttributeStartUpColorTemperatureMireds(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ColorControl_StartUpColorTemperatureMireds(device, ZCLendpoint, ZCLgroupid) - def ClusterColorControl_WriteAttributeStartUpColorTemperatureMireds(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_ColorControl_StartUpColorTemperatureMireds(device, ZCLendpoint, ZCLgroupid, value) - def ClusterColorControl_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ColorControl_ClusterRevision(device, ZCLendpoint, ZCLgroupid) - def ClusterContentLauncher_ReadAttributeAcceptsHeaderList(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ContentLauncher_AcceptsHeaderList(device, ZCLendpoint, ZCLgroupid) - def ClusterContentLauncher_ReadAttributeSupportedStreamingTypes(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ContentLauncher_SupportedStreamingTypes(device, ZCLendpoint, ZCLgroupid) - def ClusterContentLauncher_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ContentLauncher_ClusterRevision(device, ZCLendpoint, ZCLgroupid) - def ClusterDescriptor_ReadAttributeDeviceList(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Descriptor_DeviceList(device, ZCLendpoint, ZCLgroupid) - def ClusterDescriptor_ReadAttributeServerList(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Descriptor_ServerList(device, ZCLendpoint, ZCLgroupid) - def ClusterDescriptor_ReadAttributeClientList(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Descriptor_ClientList(device, ZCLendpoint, ZCLgroupid) - def ClusterDescriptor_ReadAttributePartsList(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Descriptor_PartsList(device, ZCLendpoint, ZCLgroupid) - def ClusterDescriptor_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Descriptor_ClusterRevision(device, ZCLendpoint, ZCLgroupid) - def ClusterDoorLock_ReadAttributeLockState(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_DoorLock_LockState(device, ZCLendpoint, ZCLgroupid) - def ClusterDoorLock_SubscribeAttributeLockState(self, device: ctypes.c_void_p, ZCLendpoint: int, minInterval: int, maxInterval: int): return self._chipLib.chip_ime_SubscribeAttribute_DoorLock_LockState(device, ZCLendpoint, minInterval, maxInterval) - def ClusterDoorLock_ReadAttributeLockType(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_DoorLock_LockType(device, ZCLendpoint, ZCLgroupid) - def ClusterDoorLock_ReadAttributeActuatorEnabled(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_DoorLock_ActuatorEnabled(device, ZCLendpoint, ZCLgroupid) - def ClusterDoorLock_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_DoorLock_ClusterRevision(device, ZCLendpoint, ZCLgroupid) - def ClusterElectricalMeasurement_ReadAttributeMeasurementType(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ElectricalMeasurement_MeasurementType(device, ZCLendpoint, ZCLgroupid) - def ClusterElectricalMeasurement_ReadAttributeTotalActivePower(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ElectricalMeasurement_TotalActivePower(device, ZCLendpoint, ZCLgroupid) - def ClusterElectricalMeasurement_ReadAttributeRmsVoltage(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ElectricalMeasurement_RmsVoltage(device, ZCLendpoint, ZCLgroupid) - def ClusterElectricalMeasurement_ReadAttributeRmsVoltageMin(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ElectricalMeasurement_RmsVoltageMin(device, ZCLendpoint, ZCLgroupid) - def ClusterElectricalMeasurement_ReadAttributeRmsVoltageMax(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ElectricalMeasurement_RmsVoltageMax(device, ZCLendpoint, ZCLgroupid) - def ClusterElectricalMeasurement_ReadAttributeRmsCurrent(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ElectricalMeasurement_RmsCurrent(device, ZCLendpoint, ZCLgroupid) - def ClusterElectricalMeasurement_ReadAttributeRmsCurrentMin(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ElectricalMeasurement_RmsCurrentMin(device, ZCLendpoint, ZCLgroupid) - def ClusterElectricalMeasurement_ReadAttributeRmsCurrentMax(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ElectricalMeasurement_RmsCurrentMax(device, ZCLendpoint, ZCLgroupid) - def ClusterElectricalMeasurement_ReadAttributeActivePower(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ElectricalMeasurement_ActivePower(device, ZCLendpoint, ZCLgroupid) - def ClusterElectricalMeasurement_ReadAttributeActivePowerMin(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ElectricalMeasurement_ActivePowerMin(device, ZCLendpoint, ZCLgroupid) - def ClusterElectricalMeasurement_ReadAttributeActivePowerMax(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ElectricalMeasurement_ActivePowerMax(device, ZCLendpoint, ZCLgroupid) - def ClusterElectricalMeasurement_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ElectricalMeasurement_ClusterRevision(device, ZCLendpoint, ZCLgroupid) - def ClusterEthernetNetworkDiagnostics_ReadAttributePHYRate(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_EthernetNetworkDiagnostics_PHYRate(device, ZCLendpoint, ZCLgroupid) - def ClusterEthernetNetworkDiagnostics_ReadAttributeFullDuplex(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_EthernetNetworkDiagnostics_FullDuplex(device, ZCLendpoint, ZCLgroupid) - def ClusterEthernetNetworkDiagnostics_ReadAttributePacketRxCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_EthernetNetworkDiagnostics_PacketRxCount(device, ZCLendpoint, ZCLgroupid) - def ClusterEthernetNetworkDiagnostics_ReadAttributePacketTxCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_EthernetNetworkDiagnostics_PacketTxCount(device, ZCLendpoint, ZCLgroupid) - def ClusterEthernetNetworkDiagnostics_ReadAttributeTxErrCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_EthernetNetworkDiagnostics_TxErrCount(device, ZCLendpoint, ZCLgroupid) - def ClusterEthernetNetworkDiagnostics_ReadAttributeCollisionCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_EthernetNetworkDiagnostics_CollisionCount(device, ZCLendpoint, ZCLgroupid) - def ClusterEthernetNetworkDiagnostics_ReadAttributeOverrunCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_EthernetNetworkDiagnostics_OverrunCount(device, ZCLendpoint, ZCLgroupid) - def ClusterEthernetNetworkDiagnostics_ReadAttributeCarrierDetect(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_EthernetNetworkDiagnostics_CarrierDetect(device, ZCLendpoint, ZCLgroupid) - def ClusterEthernetNetworkDiagnostics_ReadAttributeTimeSinceReset(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_EthernetNetworkDiagnostics_TimeSinceReset(device, ZCLendpoint, ZCLgroupid) - def ClusterEthernetNetworkDiagnostics_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_EthernetNetworkDiagnostics_ClusterRevision(device, ZCLendpoint, ZCLgroupid) - def ClusterFixedLabel_ReadAttributeLabelList(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_FixedLabel_LabelList(device, ZCLendpoint, ZCLgroupid) - def ClusterFixedLabel_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_FixedLabel_ClusterRevision(device, ZCLendpoint, ZCLgroupid) - def ClusterFlowMeasurement_ReadAttributeMeasuredValue(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_FlowMeasurement_MeasuredValue(device, ZCLendpoint, ZCLgroupid) - def ClusterFlowMeasurement_ReadAttributeMinMeasuredValue(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_FlowMeasurement_MinMeasuredValue(device, ZCLendpoint, ZCLgroupid) - def ClusterFlowMeasurement_ReadAttributeMaxMeasuredValue(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_FlowMeasurement_MaxMeasuredValue(device, ZCLendpoint, ZCLgroupid) - def ClusterFlowMeasurement_ReadAttributeTolerance(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_FlowMeasurement_Tolerance(device, ZCLendpoint, ZCLgroupid) - def ClusterFlowMeasurement_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_FlowMeasurement_ClusterRevision(device, ZCLendpoint, ZCLgroupid) - def ClusterGeneralCommissioning_ReadAttributeBreadcrumb(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_GeneralCommissioning_Breadcrumb(device, ZCLendpoint, ZCLgroupid) - def ClusterGeneralCommissioning_WriteAttributeBreadcrumb(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_GeneralCommissioning_Breadcrumb(device, ZCLendpoint, ZCLgroupid, value) - def ClusterGeneralCommissioning_ReadAttributeBasicCommissioningInfoList(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_GeneralCommissioning_BasicCommissioningInfoList(device, ZCLendpoint, ZCLgroupid) - def ClusterGeneralCommissioning_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_GeneralCommissioning_ClusterRevision(device, ZCLendpoint, ZCLgroupid) - def ClusterGeneralDiagnostics_ReadAttributeNetworkInterfaces(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_GeneralDiagnostics_NetworkInterfaces(device, ZCLendpoint, ZCLgroupid) - def ClusterGeneralDiagnostics_ReadAttributeRebootCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_GeneralDiagnostics_RebootCount(device, ZCLendpoint, ZCLgroupid) - def ClusterGeneralDiagnostics_ReadAttributeUpTime(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_GeneralDiagnostics_UpTime(device, ZCLendpoint, ZCLgroupid) - def ClusterGeneralDiagnostics_ReadAttributeTotalOperationalHours(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_GeneralDiagnostics_TotalOperationalHours(device, ZCLendpoint, ZCLgroupid) - def ClusterGeneralDiagnostics_ReadAttributeBootReasons(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_GeneralDiagnostics_BootReasons(device, ZCLendpoint, ZCLgroupid) - def ClusterGeneralDiagnostics_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_GeneralDiagnostics_ClusterRevision(device, ZCLendpoint, ZCLgroupid) - def ClusterGroupKeyManagement_ReadAttributeGroups(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_GroupKeyManagement_Groups(device, ZCLendpoint, ZCLgroupid) - def ClusterGroupKeyManagement_ReadAttributeGroupKeys(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_GroupKeyManagement_GroupKeys(device, ZCLendpoint, ZCLgroupid) - def ClusterGroupKeyManagement_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_GroupKeyManagement_ClusterRevision(device, ZCLendpoint, ZCLgroupid) - def ClusterGroups_ReadAttributeNameSupport(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Groups_NameSupport(device, ZCLendpoint, ZCLgroupid) - def ClusterGroups_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Groups_ClusterRevision(device, ZCLendpoint, ZCLgroupid) - def ClusterIdentify_ReadAttributeIdentifyTime(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Identify_IdentifyTime(device, ZCLendpoint, ZCLgroupid) - def ClusterIdentify_WriteAttributeIdentifyTime(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_Identify_IdentifyTime(device, ZCLendpoint, ZCLgroupid, value) - def ClusterIdentify_ReadAttributeIdentifyType(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Identify_IdentifyType(device, ZCLendpoint, ZCLgroupid) - def ClusterIdentify_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Identify_ClusterRevision(device, ZCLendpoint, ZCLgroupid) - def ClusterIlluminanceMeasurement_ReadAttributeMeasuredValue(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_IlluminanceMeasurement_MeasuredValue(device, ZCLendpoint, ZCLgroupid) - def ClusterIlluminanceMeasurement_SubscribeAttributeMeasuredValue(self, device: ctypes.c_void_p, ZCLendpoint: int, minInterval: int, maxInterval: int): return self._chipLib.chip_ime_SubscribeAttribute_IlluminanceMeasurement_MeasuredValue(device, ZCLendpoint, minInterval, maxInterval) - def ClusterIlluminanceMeasurement_ReadAttributeMinMeasuredValue(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_IlluminanceMeasurement_MinMeasuredValue(device, ZCLendpoint, ZCLgroupid) - def ClusterIlluminanceMeasurement_ReadAttributeMaxMeasuredValue(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_IlluminanceMeasurement_MaxMeasuredValue(device, ZCLendpoint, ZCLgroupid) - def ClusterIlluminanceMeasurement_ReadAttributeTolerance(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_IlluminanceMeasurement_Tolerance(device, ZCLendpoint, ZCLgroupid) - def ClusterIlluminanceMeasurement_ReadAttributeLightSensorType(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_IlluminanceMeasurement_LightSensorType(device, ZCLendpoint, ZCLgroupid) - def ClusterIlluminanceMeasurement_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_IlluminanceMeasurement_ClusterRevision(device, ZCLendpoint, ZCLgroupid) - def ClusterKeypadInput_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_KeypadInput_ClusterRevision(device, ZCLendpoint, ZCLgroupid) - def ClusterLevelControl_ReadAttributeCurrentLevel(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_LevelControl_CurrentLevel(device, ZCLendpoint, ZCLgroupid) - def ClusterLevelControl_SubscribeAttributeCurrentLevel(self, device: ctypes.c_void_p, ZCLendpoint: int, minInterval: int, maxInterval: int): return self._chipLib.chip_ime_SubscribeAttribute_LevelControl_CurrentLevel(device, ZCLendpoint, minInterval, maxInterval) - def ClusterLevelControl_ReadAttributeRemainingTime(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_LevelControl_RemainingTime(device, ZCLendpoint, ZCLgroupid) - def ClusterLevelControl_ReadAttributeMinLevel(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_LevelControl_MinLevel(device, ZCLendpoint, ZCLgroupid) - def ClusterLevelControl_ReadAttributeMaxLevel(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_LevelControl_MaxLevel(device, ZCLendpoint, ZCLgroupid) - def ClusterLevelControl_ReadAttributeCurrentFrequency(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_LevelControl_CurrentFrequency(device, ZCLendpoint, ZCLgroupid) - def ClusterLevelControl_ReadAttributeMinFrequency(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_LevelControl_MinFrequency(device, ZCLendpoint, ZCLgroupid) - def ClusterLevelControl_ReadAttributeMaxFrequency(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_LevelControl_MaxFrequency(device, ZCLendpoint, ZCLgroupid) - def ClusterLevelControl_ReadAttributeOptions(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_LevelControl_Options(device, ZCLendpoint, ZCLgroupid) - def ClusterLevelControl_WriteAttributeOptions(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_LevelControl_Options(device, ZCLendpoint, ZCLgroupid, value) - def ClusterLevelControl_ReadAttributeOnOffTransitionTime(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_LevelControl_OnOffTransitionTime(device, ZCLendpoint, ZCLgroupid) - def ClusterLevelControl_WriteAttributeOnOffTransitionTime(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_LevelControl_OnOffTransitionTime(device, ZCLendpoint, ZCLgroupid, value) - def ClusterLevelControl_ReadAttributeOnLevel(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_LevelControl_OnLevel(device, ZCLendpoint, ZCLgroupid) - def ClusterLevelControl_WriteAttributeOnLevel(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_LevelControl_OnLevel(device, ZCLendpoint, ZCLgroupid, value) - def ClusterLevelControl_ReadAttributeOnTransitionTime(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_LevelControl_OnTransitionTime(device, ZCLendpoint, ZCLgroupid) - def ClusterLevelControl_WriteAttributeOnTransitionTime(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_LevelControl_OnTransitionTime(device, ZCLendpoint, ZCLgroupid, value) - def ClusterLevelControl_ReadAttributeOffTransitionTime(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_LevelControl_OffTransitionTime(device, ZCLendpoint, ZCLgroupid) - def ClusterLevelControl_WriteAttributeOffTransitionTime(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_LevelControl_OffTransitionTime(device, ZCLendpoint, ZCLgroupid, value) - def ClusterLevelControl_ReadAttributeDefaultMoveRate(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_LevelControl_DefaultMoveRate(device, ZCLendpoint, ZCLgroupid) - def ClusterLevelControl_WriteAttributeDefaultMoveRate(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_LevelControl_DefaultMoveRate(device, ZCLendpoint, ZCLgroupid, value) - def ClusterLevelControl_ReadAttributeStartUpCurrentLevel(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_LevelControl_StartUpCurrentLevel(device, ZCLendpoint, ZCLgroupid) - def ClusterLevelControl_WriteAttributeStartUpCurrentLevel(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_LevelControl_StartUpCurrentLevel(device, ZCLendpoint, ZCLgroupid, value) - def ClusterLevelControl_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_LevelControl_ClusterRevision(device, ZCLendpoint, ZCLgroupid) - def ClusterLowPower_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_LowPower_ClusterRevision(device, ZCLendpoint, ZCLgroupid) - def ClusterMediaInput_ReadAttributeMediaInputList(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_MediaInput_MediaInputList(device, ZCLendpoint, ZCLgroupid) - def ClusterMediaInput_ReadAttributeCurrentMediaInput(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_MediaInput_CurrentMediaInput(device, ZCLendpoint, ZCLgroupid) - def ClusterMediaInput_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_MediaInput_ClusterRevision(device, ZCLendpoint, ZCLgroupid) - def ClusterMediaPlayback_ReadAttributePlaybackState(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_MediaPlayback_PlaybackState(device, ZCLendpoint, ZCLgroupid) - def ClusterMediaPlayback_ReadAttributeStartTime(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_MediaPlayback_StartTime(device, ZCLendpoint, ZCLgroupid) - def ClusterMediaPlayback_ReadAttributeDuration(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_MediaPlayback_Duration(device, ZCLendpoint, ZCLgroupid) - def ClusterMediaPlayback_ReadAttributePositionUpdatedAt(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_MediaPlayback_PositionUpdatedAt(device, ZCLendpoint, ZCLgroupid) - def ClusterMediaPlayback_ReadAttributePosition(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_MediaPlayback_Position(device, ZCLendpoint, ZCLgroupid) - def ClusterMediaPlayback_ReadAttributePlaybackSpeed(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_MediaPlayback_PlaybackSpeed(device, ZCLendpoint, ZCLgroupid) - def ClusterMediaPlayback_ReadAttributeSeekRangeEnd(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_MediaPlayback_SeekRangeEnd(device, ZCLendpoint, ZCLgroupid) - def ClusterMediaPlayback_ReadAttributeSeekRangeStart(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_MediaPlayback_SeekRangeStart(device, ZCLendpoint, ZCLgroupid) - def ClusterMediaPlayback_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_MediaPlayback_ClusterRevision(device, ZCLendpoint, ZCLgroupid) - def ClusterModeSelect_ReadAttributeCurrentMode(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ModeSelect_CurrentMode(device, ZCLendpoint, ZCLgroupid) - def ClusterModeSelect_SubscribeAttributeCurrentMode(self, device: ctypes.c_void_p, ZCLendpoint: int, minInterval: int, maxInterval: int): return self._chipLib.chip_ime_SubscribeAttribute_ModeSelect_CurrentMode(device, ZCLendpoint, minInterval, maxInterval) - def ClusterModeSelect_ReadAttributeSupportedModes(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ModeSelect_SupportedModes(device, ZCLendpoint, ZCLgroupid) - def ClusterModeSelect_ReadAttributeOnMode(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ModeSelect_OnMode(device, ZCLendpoint, ZCLgroupid) - def ClusterModeSelect_WriteAttributeOnMode(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_ModeSelect_OnMode(device, ZCLendpoint, ZCLgroupid, value) - def ClusterModeSelect_ReadAttributeStartUpMode(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ModeSelect_StartUpMode(device, ZCLendpoint, ZCLgroupid) - def ClusterModeSelect_ReadAttributeDescription(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ModeSelect_Description(device, ZCLendpoint, ZCLgroupid) - def ClusterModeSelect_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ModeSelect_ClusterRevision(device, ZCLendpoint, ZCLgroupid) - def ClusterNetworkCommissioning_ReadAttributeFeatureMap(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_NetworkCommissioning_FeatureMap(device, ZCLendpoint, ZCLgroupid) - def ClusterNetworkCommissioning_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_NetworkCommissioning_ClusterRevision(device, ZCLendpoint, ZCLgroupid) - def ClusterOtaSoftwareUpdateProvider_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_OtaSoftwareUpdateProvider_ClusterRevision(device, ZCLendpoint, ZCLgroupid) - def ClusterOtaSoftwareUpdateRequestor_ReadAttributeDefaultOtaProvider(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_OtaSoftwareUpdateRequestor_DefaultOtaProvider(device, ZCLendpoint, ZCLgroupid) - def ClusterOtaSoftwareUpdateRequestor_WriteAttributeDefaultOtaProvider(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: bytes): return self._chipLib.chip_ime_WriteAttribute_OtaSoftwareUpdateRequestor_DefaultOtaProvider(device, ZCLendpoint, ZCLgroupid, value, len(value)) - def ClusterOtaSoftwareUpdateRequestor_ReadAttributeUpdatePossible(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_OtaSoftwareUpdateRequestor_UpdatePossible(device, ZCLendpoint, ZCLgroupid) - def ClusterOtaSoftwareUpdateRequestor_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_OtaSoftwareUpdateRequestor_ClusterRevision(device, ZCLendpoint, ZCLgroupid) - def ClusterOccupancySensing_ReadAttributeOccupancy(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_OccupancySensing_Occupancy(device, ZCLendpoint, ZCLgroupid) - def ClusterOccupancySensing_SubscribeAttributeOccupancy(self, device: ctypes.c_void_p, ZCLendpoint: int, minInterval: int, maxInterval: int): return self._chipLib.chip_ime_SubscribeAttribute_OccupancySensing_Occupancy(device, ZCLendpoint, minInterval, maxInterval) - def ClusterOccupancySensing_ReadAttributeOccupancySensorType(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_OccupancySensing_OccupancySensorType(device, ZCLendpoint, ZCLgroupid) - def ClusterOccupancySensing_ReadAttributeOccupancySensorTypeBitmap(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_OccupancySensing_OccupancySensorTypeBitmap(device, ZCLendpoint, ZCLgroupid) - def ClusterOccupancySensing_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_OccupancySensing_ClusterRevision(device, ZCLendpoint, ZCLgroupid) - def ClusterOnOff_ReadAttributeOnOff(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_OnOff_OnOff(device, ZCLendpoint, ZCLgroupid) - def ClusterOnOff_SubscribeAttributeOnOff(self, device: ctypes.c_void_p, ZCLendpoint: int, minInterval: int, maxInterval: int): return self._chipLib.chip_ime_SubscribeAttribute_OnOff_OnOff(device, ZCLendpoint, minInterval, maxInterval) - def ClusterOnOff_ReadAttributeGlobalSceneControl(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_OnOff_GlobalSceneControl(device, ZCLendpoint, ZCLgroupid) - def ClusterOnOff_ReadAttributeOnTime(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_OnOff_OnTime(device, ZCLendpoint, ZCLgroupid) - def ClusterOnOff_WriteAttributeOnTime(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_OnOff_OnTime(device, ZCLendpoint, ZCLgroupid, value) - def ClusterOnOff_ReadAttributeOffWaitTime(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_OnOff_OffWaitTime(device, ZCLendpoint, ZCLgroupid) - def ClusterOnOff_WriteAttributeOffWaitTime(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_OnOff_OffWaitTime(device, ZCLendpoint, ZCLgroupid, value) - def ClusterOnOff_ReadAttributeStartUpOnOff(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_OnOff_StartUpOnOff(device, ZCLendpoint, ZCLgroupid) - def ClusterOnOff_WriteAttributeStartUpOnOff(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_OnOff_StartUpOnOff(device, ZCLendpoint, ZCLgroupid, value) - def ClusterOnOff_ReadAttributeFeatureMap(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_OnOff_FeatureMap(device, ZCLendpoint, ZCLgroupid) - def ClusterOnOff_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_OnOff_ClusterRevision(device, ZCLendpoint, ZCLgroupid) - def ClusterOnOffSwitchConfiguration_ReadAttributeSwitchType(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_OnOffSwitchConfiguration_SwitchType(device, ZCLendpoint, ZCLgroupid) - def ClusterOnOffSwitchConfiguration_ReadAttributeSwitchActions(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_OnOffSwitchConfiguration_SwitchActions(device, ZCLendpoint, ZCLgroupid) - def ClusterOnOffSwitchConfiguration_WriteAttributeSwitchActions(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_OnOffSwitchConfiguration_SwitchActions(device, ZCLendpoint, ZCLgroupid, value) - def ClusterOnOffSwitchConfiguration_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_OnOffSwitchConfiguration_ClusterRevision(device, ZCLendpoint, ZCLgroupid) - def ClusterOperationalCredentials_ReadAttributeFabricsList(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_OperationalCredentials_FabricsList(device, ZCLendpoint, ZCLgroupid) - def ClusterOperationalCredentials_ReadAttributeSupportedFabrics(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_OperationalCredentials_SupportedFabrics(device, ZCLendpoint, ZCLgroupid) - def ClusterOperationalCredentials_ReadAttributeCommissionedFabrics(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_OperationalCredentials_CommissionedFabrics(device, ZCLendpoint, ZCLgroupid) - def ClusterOperationalCredentials_ReadAttributeTrustedRootCertificates(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_OperationalCredentials_TrustedRootCertificates(device, ZCLendpoint, ZCLgroupid) - def ClusterOperationalCredentials_ReadAttributeCurrentFabricIndex(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_OperationalCredentials_CurrentFabricIndex(device, ZCLendpoint, ZCLgroupid) - def ClusterOperationalCredentials_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_OperationalCredentials_ClusterRevision(device, ZCLendpoint, ZCLgroupid) - def ClusterPowerSource_ReadAttributeStatus(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_PowerSource_Status(device, ZCLendpoint, ZCLgroupid) - def ClusterPowerSource_ReadAttributeOrder(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_PowerSource_Order(device, ZCLendpoint, ZCLgroupid) - def ClusterPowerSource_ReadAttributeDescription(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_PowerSource_Description(device, ZCLendpoint, ZCLgroupid) - def ClusterPowerSource_ReadAttributeBatteryVoltage(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_PowerSource_BatteryVoltage(device, ZCLendpoint, ZCLgroupid) - def ClusterPowerSource_ReadAttributeBatteryPercentRemaining(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_PowerSource_BatteryPercentRemaining(device, ZCLendpoint, ZCLgroupid) - def ClusterPowerSource_ReadAttributeBatteryTimeRemaining(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_PowerSource_BatteryTimeRemaining(device, ZCLendpoint, ZCLgroupid) - def ClusterPowerSource_ReadAttributeBatteryChargeLevel(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_PowerSource_BatteryChargeLevel(device, ZCLendpoint, ZCLgroupid) - def ClusterPowerSource_ReadAttributeActiveBatteryFaults(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_PowerSource_ActiveBatteryFaults(device, ZCLendpoint, ZCLgroupid) - def ClusterPowerSource_ReadAttributeBatteryChargeState(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_PowerSource_BatteryChargeState(device, ZCLendpoint, ZCLgroupid) - def ClusterPowerSource_ReadAttributeFeatureMap(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_PowerSource_FeatureMap(device, ZCLendpoint, ZCLgroupid) - def ClusterPowerSource_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_PowerSource_ClusterRevision(device, ZCLendpoint, ZCLgroupid) - def ClusterPressureMeasurement_ReadAttributeMeasuredValue(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_PressureMeasurement_MeasuredValue(device, ZCLendpoint, ZCLgroupid) - def ClusterPressureMeasurement_SubscribeAttributeMeasuredValue(self, device: ctypes.c_void_p, ZCLendpoint: int, minInterval: int, maxInterval: int): return self._chipLib.chip_ime_SubscribeAttribute_PressureMeasurement_MeasuredValue(device, ZCLendpoint, minInterval, maxInterval) - def ClusterPressureMeasurement_ReadAttributeMinMeasuredValue(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_PressureMeasurement_MinMeasuredValue(device, ZCLendpoint, ZCLgroupid) - def ClusterPressureMeasurement_ReadAttributeMaxMeasuredValue(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_PressureMeasurement_MaxMeasuredValue(device, ZCLendpoint, ZCLgroupid) - def ClusterPressureMeasurement_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_PressureMeasurement_ClusterRevision(device, ZCLendpoint, ZCLgroupid) - def ClusterPumpConfigurationAndControl_ReadAttributeMaxPressure(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_MaxPressure(device, ZCLendpoint, ZCLgroupid) - def ClusterPumpConfigurationAndControl_ReadAttributeMaxSpeed(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_MaxSpeed(device, ZCLendpoint, ZCLgroupid) - def ClusterPumpConfigurationAndControl_ReadAttributeMaxFlow(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_MaxFlow(device, ZCLendpoint, ZCLgroupid) - def ClusterPumpConfigurationAndControl_ReadAttributeMinConstPressure(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_MinConstPressure(device, ZCLendpoint, ZCLgroupid) - def ClusterPumpConfigurationAndControl_ReadAttributeMaxConstPressure(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_MaxConstPressure(device, ZCLendpoint, ZCLgroupid) - def ClusterPumpConfigurationAndControl_ReadAttributeMinCompPressure(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_MinCompPressure(device, ZCLendpoint, ZCLgroupid) - def ClusterPumpConfigurationAndControl_ReadAttributeMaxCompPressure(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_MaxCompPressure(device, ZCLendpoint, ZCLgroupid) - def ClusterPumpConfigurationAndControl_ReadAttributeMinConstSpeed(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_MinConstSpeed(device, ZCLendpoint, ZCLgroupid) - def ClusterPumpConfigurationAndControl_ReadAttributeMaxConstSpeed(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_MaxConstSpeed(device, ZCLendpoint, ZCLgroupid) - def ClusterPumpConfigurationAndControl_ReadAttributeMinConstFlow(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_MinConstFlow(device, ZCLendpoint, ZCLgroupid) - def ClusterPumpConfigurationAndControl_ReadAttributeMaxConstFlow(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_MaxConstFlow(device, ZCLendpoint, ZCLgroupid) - def ClusterPumpConfigurationAndControl_ReadAttributeMinConstTemp(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_MinConstTemp(device, ZCLendpoint, ZCLgroupid) - def ClusterPumpConfigurationAndControl_ReadAttributeMaxConstTemp(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_MaxConstTemp(device, ZCLendpoint, ZCLgroupid) - def ClusterPumpConfigurationAndControl_ReadAttributePumpStatus(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_PumpStatus(device, ZCLendpoint, ZCLgroupid) - def ClusterPumpConfigurationAndControl_SubscribeAttributePumpStatus(self, device: ctypes.c_void_p, ZCLendpoint: int, minInterval: int, maxInterval: int): return self._chipLib.chip_ime_SubscribeAttribute_PumpConfigurationAndControl_PumpStatus(device, ZCLendpoint, minInterval, maxInterval) - def ClusterPumpConfigurationAndControl_ReadAttributeEffectiveOperationMode(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_EffectiveOperationMode(device, ZCLendpoint, ZCLgroupid) - def ClusterPumpConfigurationAndControl_ReadAttributeEffectiveControlMode(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_EffectiveControlMode(device, ZCLendpoint, ZCLgroupid) - def ClusterPumpConfigurationAndControl_ReadAttributeCapacity(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_Capacity(device, ZCLendpoint, ZCLgroupid) - def ClusterPumpConfigurationAndControl_SubscribeAttributeCapacity(self, device: ctypes.c_void_p, ZCLendpoint: int, minInterval: int, maxInterval: int): return self._chipLib.chip_ime_SubscribeAttribute_PumpConfigurationAndControl_Capacity(device, ZCLendpoint, minInterval, maxInterval) - def ClusterPumpConfigurationAndControl_ReadAttributeSpeed(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_Speed(device, ZCLendpoint, ZCLgroupid) - def ClusterPumpConfigurationAndControl_ReadAttributeLifetimeEnergyConsumed(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_LifetimeEnergyConsumed(device, ZCLendpoint, ZCLgroupid) - def ClusterPumpConfigurationAndControl_ReadAttributeOperationMode(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_OperationMode(device, ZCLendpoint, ZCLgroupid) - def ClusterPumpConfigurationAndControl_WriteAttributeOperationMode(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_PumpConfigurationAndControl_OperationMode(device, ZCLendpoint, ZCLgroupid, value) - def ClusterPumpConfigurationAndControl_ReadAttributeControlMode(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_ControlMode(device, ZCLendpoint, ZCLgroupid) - def ClusterPumpConfigurationAndControl_WriteAttributeControlMode(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_PumpConfigurationAndControl_ControlMode(device, ZCLendpoint, ZCLgroupid, value) - def ClusterPumpConfigurationAndControl_ReadAttributeAlarmMask(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_AlarmMask(device, ZCLendpoint, ZCLgroupid) - def ClusterPumpConfigurationAndControl_ReadAttributeFeatureMap(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_FeatureMap(device, ZCLendpoint, ZCLgroupid) - def ClusterPumpConfigurationAndControl_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_ClusterRevision(device, ZCLendpoint, ZCLgroupid) - def ClusterRelativeHumidityMeasurement_ReadAttributeMeasuredValue(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_RelativeHumidityMeasurement_MeasuredValue(device, ZCLendpoint, ZCLgroupid) - def ClusterRelativeHumidityMeasurement_SubscribeAttributeMeasuredValue(self, device: ctypes.c_void_p, ZCLendpoint: int, minInterval: int, maxInterval: int): return self._chipLib.chip_ime_SubscribeAttribute_RelativeHumidityMeasurement_MeasuredValue(device, ZCLendpoint, minInterval, maxInterval) - def ClusterRelativeHumidityMeasurement_ReadAttributeMinMeasuredValue(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_RelativeHumidityMeasurement_MinMeasuredValue(device, ZCLendpoint, ZCLgroupid) - def ClusterRelativeHumidityMeasurement_ReadAttributeMaxMeasuredValue(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_RelativeHumidityMeasurement_MaxMeasuredValue(device, ZCLendpoint, ZCLgroupid) - def ClusterRelativeHumidityMeasurement_ReadAttributeTolerance(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_RelativeHumidityMeasurement_Tolerance(device, ZCLendpoint, ZCLgroupid) - def ClusterRelativeHumidityMeasurement_SubscribeAttributeTolerance(self, device: ctypes.c_void_p, ZCLendpoint: int, minInterval: int, maxInterval: int): return self._chipLib.chip_ime_SubscribeAttribute_RelativeHumidityMeasurement_Tolerance(device, ZCLendpoint, minInterval, maxInterval) - def ClusterRelativeHumidityMeasurement_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_RelativeHumidityMeasurement_ClusterRevision(device, ZCLendpoint, ZCLgroupid) - def ClusterScenes_ReadAttributeSceneCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Scenes_SceneCount(device, ZCLendpoint, ZCLgroupid) - def ClusterScenes_ReadAttributeCurrentScene(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Scenes_CurrentScene(device, ZCLendpoint, ZCLgroupid) - def ClusterScenes_ReadAttributeCurrentGroup(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Scenes_CurrentGroup(device, ZCLendpoint, ZCLgroupid) - def ClusterScenes_ReadAttributeSceneValid(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Scenes_SceneValid(device, ZCLendpoint, ZCLgroupid) - def ClusterScenes_ReadAttributeNameSupport(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Scenes_NameSupport(device, ZCLendpoint, ZCLgroupid) - def ClusterScenes_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Scenes_ClusterRevision(device, ZCLendpoint, ZCLgroupid) - def ClusterSoftwareDiagnostics_ReadAttributeCurrentHeapFree(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_SoftwareDiagnostics_CurrentHeapFree(device, ZCLendpoint, ZCLgroupid) - def ClusterSoftwareDiagnostics_ReadAttributeCurrentHeapUsed(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_SoftwareDiagnostics_CurrentHeapUsed(device, ZCLendpoint, ZCLgroupid) - def ClusterSoftwareDiagnostics_ReadAttributeCurrentHeapHighWatermark(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_SoftwareDiagnostics_CurrentHeapHighWatermark(device, ZCLendpoint, ZCLgroupid) - def ClusterSoftwareDiagnostics_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_SoftwareDiagnostics_ClusterRevision(device, ZCLendpoint, ZCLgroupid) - def ClusterSwitch_ReadAttributeNumberOfPositions(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Switch_NumberOfPositions(device, ZCLendpoint, ZCLgroupid) - def ClusterSwitch_ReadAttributeCurrentPosition(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Switch_CurrentPosition(device, ZCLendpoint, ZCLgroupid) - def ClusterSwitch_SubscribeAttributeCurrentPosition(self, device: ctypes.c_void_p, ZCLendpoint: int, minInterval: int, maxInterval: int): return self._chipLib.chip_ime_SubscribeAttribute_Switch_CurrentPosition(device, ZCLendpoint, minInterval, maxInterval) - def ClusterSwitch_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Switch_ClusterRevision(device, ZCLendpoint, ZCLgroupid) - def ClusterTvChannel_ReadAttributeTvChannelList(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_TvChannel_TvChannelList(device, ZCLendpoint, ZCLgroupid) - def ClusterTvChannel_ReadAttributeTvChannelLineup(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_TvChannel_TvChannelLineup(device, ZCLendpoint, ZCLgroupid) - def ClusterTvChannel_ReadAttributeCurrentTvChannel(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_TvChannel_CurrentTvChannel(device, ZCLendpoint, ZCLgroupid) - def ClusterTvChannel_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_TvChannel_ClusterRevision(device, ZCLendpoint, ZCLgroupid) - def ClusterTargetNavigator_ReadAttributeTargetNavigatorList(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_TargetNavigator_TargetNavigatorList(device, ZCLendpoint, ZCLgroupid) - def ClusterTargetNavigator_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_TargetNavigator_ClusterRevision(device, ZCLendpoint, ZCLgroupid) - def ClusterTemperatureMeasurement_ReadAttributeMeasuredValue(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_TemperatureMeasurement_MeasuredValue(device, ZCLendpoint, ZCLgroupid) - def ClusterTemperatureMeasurement_SubscribeAttributeMeasuredValue(self, device: ctypes.c_void_p, ZCLendpoint: int, minInterval: int, maxInterval: int): return self._chipLib.chip_ime_SubscribeAttribute_TemperatureMeasurement_MeasuredValue(device, ZCLendpoint, minInterval, maxInterval) - def ClusterTemperatureMeasurement_ReadAttributeMinMeasuredValue(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_TemperatureMeasurement_MinMeasuredValue(device, ZCLendpoint, ZCLgroupid) - def ClusterTemperatureMeasurement_ReadAttributeMaxMeasuredValue(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_TemperatureMeasurement_MaxMeasuredValue(device, ZCLendpoint, ZCLgroupid) - def ClusterTemperatureMeasurement_ReadAttributeTolerance(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_TemperatureMeasurement_Tolerance(device, ZCLendpoint, ZCLgroupid) - def ClusterTemperatureMeasurement_SubscribeAttributeTolerance(self, device: ctypes.c_void_p, ZCLendpoint: int, minInterval: int, maxInterval: int): return self._chipLib.chip_ime_SubscribeAttribute_TemperatureMeasurement_Tolerance(device, ZCLendpoint, minInterval, maxInterval) - def ClusterTemperatureMeasurement_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_TemperatureMeasurement_ClusterRevision(device, ZCLendpoint, ZCLgroupid) - def ClusterTestCluster_ReadAttributeBoolean(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_TestCluster_Boolean(device, ZCLendpoint, ZCLgroupid) - def ClusterTestCluster_WriteAttributeBoolean(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: bool): return self._chipLib.chip_ime_WriteAttribute_TestCluster_Boolean(device, ZCLendpoint, ZCLgroupid, value) - def ClusterTestCluster_ReadAttributeBitmap8(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_TestCluster_Bitmap8(device, ZCLendpoint, ZCLgroupid) - def ClusterTestCluster_WriteAttributeBitmap8(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_TestCluster_Bitmap8(device, ZCLendpoint, ZCLgroupid, value) - def ClusterTestCluster_ReadAttributeBitmap16(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_TestCluster_Bitmap16(device, ZCLendpoint, ZCLgroupid) - def ClusterTestCluster_WriteAttributeBitmap16(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_TestCluster_Bitmap16(device, ZCLendpoint, ZCLgroupid, value) - def ClusterTestCluster_ReadAttributeBitmap32(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_TestCluster_Bitmap32(device, ZCLendpoint, ZCLgroupid) - def ClusterTestCluster_WriteAttributeBitmap32(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_TestCluster_Bitmap32(device, ZCLendpoint, ZCLgroupid, value) - def ClusterTestCluster_ReadAttributeBitmap64(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_TestCluster_Bitmap64(device, ZCLendpoint, ZCLgroupid) - def ClusterTestCluster_WriteAttributeBitmap64(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_TestCluster_Bitmap64(device, ZCLendpoint, ZCLgroupid, value) - def ClusterTestCluster_ReadAttributeInt8u(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_TestCluster_Int8u(device, ZCLendpoint, ZCLgroupid) - def ClusterTestCluster_WriteAttributeInt8u(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_TestCluster_Int8u(device, ZCLendpoint, ZCLgroupid, value) - def ClusterTestCluster_ReadAttributeInt16u(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_TestCluster_Int16u(device, ZCLendpoint, ZCLgroupid) - def ClusterTestCluster_WriteAttributeInt16u(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_TestCluster_Int16u(device, ZCLendpoint, ZCLgroupid, value) - def ClusterTestCluster_ReadAttributeInt32u(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_TestCluster_Int32u(device, ZCLendpoint, ZCLgroupid) - def ClusterTestCluster_WriteAttributeInt32u(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_TestCluster_Int32u(device, ZCLendpoint, ZCLgroupid, value) - def ClusterTestCluster_ReadAttributeInt64u(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_TestCluster_Int64u(device, ZCLendpoint, ZCLgroupid) - def ClusterTestCluster_WriteAttributeInt64u(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_TestCluster_Int64u(device, ZCLendpoint, ZCLgroupid, value) - def ClusterTestCluster_ReadAttributeInt8s(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_TestCluster_Int8s(device, ZCLendpoint, ZCLgroupid) - def ClusterTestCluster_WriteAttributeInt8s(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_TestCluster_Int8s(device, ZCLendpoint, ZCLgroupid, value) - def ClusterTestCluster_ReadAttributeInt16s(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_TestCluster_Int16s(device, ZCLendpoint, ZCLgroupid) - def ClusterTestCluster_WriteAttributeInt16s(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_TestCluster_Int16s(device, ZCLendpoint, ZCLgroupid, value) - def ClusterTestCluster_ReadAttributeInt32s(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_TestCluster_Int32s(device, ZCLendpoint, ZCLgroupid) - def ClusterTestCluster_WriteAttributeInt32s(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_TestCluster_Int32s(device, ZCLendpoint, ZCLgroupid, value) - def ClusterTestCluster_ReadAttributeInt64s(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_TestCluster_Int64s(device, ZCLendpoint, ZCLgroupid) - def ClusterTestCluster_WriteAttributeInt64s(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_TestCluster_Int64s(device, ZCLendpoint, ZCLgroupid, value) - def ClusterTestCluster_ReadAttributeEnum8(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_TestCluster_Enum8(device, ZCLendpoint, ZCLgroupid) - def ClusterTestCluster_WriteAttributeEnum8(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_TestCluster_Enum8(device, ZCLendpoint, ZCLgroupid, value) - def ClusterTestCluster_ReadAttributeEnum16(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_TestCluster_Enum16(device, ZCLendpoint, ZCLgroupid) - def ClusterTestCluster_WriteAttributeEnum16(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_TestCluster_Enum16(device, ZCLendpoint, ZCLgroupid, value) - def ClusterTestCluster_ReadAttributeOctetString(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_TestCluster_OctetString(device, ZCLendpoint, ZCLgroupid) - def ClusterTestCluster_WriteAttributeOctetString(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: bytes): return self._chipLib.chip_ime_WriteAttribute_TestCluster_OctetString(device, ZCLendpoint, ZCLgroupid, value, len(value)) - def ClusterTestCluster_ReadAttributeListInt8u(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_TestCluster_ListInt8u(device, ZCLendpoint, ZCLgroupid) - def ClusterTestCluster_ReadAttributeListOctetString(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_TestCluster_ListOctetString(device, ZCLendpoint, ZCLgroupid) - def ClusterTestCluster_ReadAttributeListStructOctetString(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_TestCluster_ListStructOctetString(device, ZCLendpoint, ZCLgroupid) - def ClusterTestCluster_ReadAttributeLongOctetString(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_TestCluster_LongOctetString(device, ZCLendpoint, ZCLgroupid) - def ClusterTestCluster_WriteAttributeLongOctetString(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: bytes): return self._chipLib.chip_ime_WriteAttribute_TestCluster_LongOctetString(device, ZCLendpoint, ZCLgroupid, value, len(value)) - def ClusterTestCluster_ReadAttributeCharString(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_TestCluster_CharString(device, ZCLendpoint, ZCLgroupid) - def ClusterTestCluster_WriteAttributeCharString(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: str): value = value.encode("utf-8") return self._chipLib.chip_ime_WriteAttribute_TestCluster_CharString(device, ZCLendpoint, ZCLgroupid, value, len(value)) - def ClusterTestCluster_ReadAttributeLongCharString(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_TestCluster_LongCharString(device, ZCLendpoint, ZCLgroupid) - def ClusterTestCluster_WriteAttributeLongCharString(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: str): value = value.encode("utf-8") return self._chipLib.chip_ime_WriteAttribute_TestCluster_LongCharString(device, ZCLendpoint, ZCLgroupid, value, len(value)) - def ClusterTestCluster_ReadAttributeEpochUs(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_TestCluster_EpochUs(device, ZCLendpoint, ZCLgroupid) - def ClusterTestCluster_WriteAttributeEpochUs(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_TestCluster_EpochUs(device, ZCLendpoint, ZCLgroupid, value) - def ClusterTestCluster_ReadAttributeEpochS(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_TestCluster_EpochS(device, ZCLendpoint, ZCLgroupid) - def ClusterTestCluster_WriteAttributeEpochS(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_TestCluster_EpochS(device, ZCLendpoint, ZCLgroupid, value) - def ClusterTestCluster_ReadAttributeVendorId(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_TestCluster_VendorId(device, ZCLendpoint, ZCLgroupid) - def ClusterTestCluster_WriteAttributeVendorId(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_TestCluster_VendorId(device, ZCLendpoint, ZCLgroupid, value) - def ClusterTestCluster_ReadAttributeListNullablesAndOptionalsStruct(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_TestCluster_ListNullablesAndOptionalsStruct(device, ZCLendpoint, ZCLgroupid) - def ClusterTestCluster_ReadAttributeUnsupported(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_TestCluster_Unsupported(device, ZCLendpoint, ZCLgroupid) - def ClusterTestCluster_WriteAttributeUnsupported(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: bool): return self._chipLib.chip_ime_WriteAttribute_TestCluster_Unsupported(device, ZCLendpoint, ZCLgroupid, value) - def ClusterTestCluster_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_TestCluster_ClusterRevision(device, ZCLendpoint, ZCLgroupid) - def ClusterThermostat_ReadAttributeLocalTemperature(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Thermostat_LocalTemperature(device, ZCLendpoint, ZCLgroupid) - def ClusterThermostat_SubscribeAttributeLocalTemperature(self, device: ctypes.c_void_p, ZCLendpoint: int, minInterval: int, maxInterval: int): return self._chipLib.chip_ime_SubscribeAttribute_Thermostat_LocalTemperature(device, ZCLendpoint, minInterval, maxInterval) - def ClusterThermostat_ReadAttributeAbsMinHeatSetpointLimit(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Thermostat_AbsMinHeatSetpointLimit(device, ZCLendpoint, ZCLgroupid) - def ClusterThermostat_ReadAttributeAbsMaxHeatSetpointLimit(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Thermostat_AbsMaxHeatSetpointLimit(device, ZCLendpoint, ZCLgroupid) - def ClusterThermostat_ReadAttributeAbsMinCoolSetpointLimit(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Thermostat_AbsMinCoolSetpointLimit(device, ZCLendpoint, ZCLgroupid) - def ClusterThermostat_ReadAttributeAbsMaxCoolSetpointLimit(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Thermostat_AbsMaxCoolSetpointLimit(device, ZCLendpoint, ZCLgroupid) - def ClusterThermostat_ReadAttributeOccupiedCoolingSetpoint(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Thermostat_OccupiedCoolingSetpoint(device, ZCLendpoint, ZCLgroupid) - def ClusterThermostat_WriteAttributeOccupiedCoolingSetpoint(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_Thermostat_OccupiedCoolingSetpoint(device, ZCLendpoint, ZCLgroupid, value) - def ClusterThermostat_ReadAttributeOccupiedHeatingSetpoint(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Thermostat_OccupiedHeatingSetpoint(device, ZCLendpoint, ZCLgroupid) - def ClusterThermostat_WriteAttributeOccupiedHeatingSetpoint(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_Thermostat_OccupiedHeatingSetpoint(device, ZCLendpoint, ZCLgroupid, value) - def ClusterThermostat_ReadAttributeMinHeatSetpointLimit(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Thermostat_MinHeatSetpointLimit(device, ZCLendpoint, ZCLgroupid) - def ClusterThermostat_WriteAttributeMinHeatSetpointLimit(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_Thermostat_MinHeatSetpointLimit(device, ZCLendpoint, ZCLgroupid, value) - def ClusterThermostat_ReadAttributeMaxHeatSetpointLimit(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Thermostat_MaxHeatSetpointLimit(device, ZCLendpoint, ZCLgroupid) - def ClusterThermostat_WriteAttributeMaxHeatSetpointLimit(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_Thermostat_MaxHeatSetpointLimit(device, ZCLendpoint, ZCLgroupid, value) - def ClusterThermostat_ReadAttributeMinCoolSetpointLimit(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Thermostat_MinCoolSetpointLimit(device, ZCLendpoint, ZCLgroupid) - def ClusterThermostat_WriteAttributeMinCoolSetpointLimit(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_Thermostat_MinCoolSetpointLimit(device, ZCLendpoint, ZCLgroupid, value) - def ClusterThermostat_ReadAttributeMaxCoolSetpointLimit(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Thermostat_MaxCoolSetpointLimit(device, ZCLendpoint, ZCLgroupid) - def ClusterThermostat_WriteAttributeMaxCoolSetpointLimit(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_Thermostat_MaxCoolSetpointLimit(device, ZCLendpoint, ZCLgroupid, value) - def ClusterThermostat_ReadAttributeMinSetpointDeadBand(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Thermostat_MinSetpointDeadBand(device, ZCLendpoint, ZCLgroupid) - def ClusterThermostat_WriteAttributeMinSetpointDeadBand(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_Thermostat_MinSetpointDeadBand(device, ZCLendpoint, ZCLgroupid, value) - def ClusterThermostat_ReadAttributeControlSequenceOfOperation(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Thermostat_ControlSequenceOfOperation(device, ZCLendpoint, ZCLgroupid) - def ClusterThermostat_WriteAttributeControlSequenceOfOperation(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_Thermostat_ControlSequenceOfOperation(device, ZCLendpoint, ZCLgroupid, value) - def ClusterThermostat_ReadAttributeSystemMode(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Thermostat_SystemMode(device, ZCLendpoint, ZCLgroupid) - def ClusterThermostat_WriteAttributeSystemMode(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_Thermostat_SystemMode(device, ZCLendpoint, ZCLgroupid, value) - def ClusterThermostat_ReadAttributeStartOfWeek(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Thermostat_StartOfWeek(device, ZCLendpoint, ZCLgroupid) - def ClusterThermostat_ReadAttributeNumberOfWeeklyTransitions(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Thermostat_NumberOfWeeklyTransitions(device, ZCLendpoint, ZCLgroupid) - def ClusterThermostat_ReadAttributeNumberOfDailyTransitions(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Thermostat_NumberOfDailyTransitions(device, ZCLendpoint, ZCLgroupid) - def ClusterThermostat_ReadAttributeFeatureMap(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Thermostat_FeatureMap(device, ZCLendpoint, ZCLgroupid) - def ClusterThermostat_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_Thermostat_ClusterRevision(device, ZCLendpoint, ZCLgroupid) - def ClusterThermostatUserInterfaceConfiguration_ReadAttributeTemperatureDisplayMode(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThermostatUserInterfaceConfiguration_TemperatureDisplayMode(device, ZCLendpoint, ZCLgroupid) - def ClusterThermostatUserInterfaceConfiguration_WriteAttributeTemperatureDisplayMode(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_ThermostatUserInterfaceConfiguration_TemperatureDisplayMode(device, ZCLendpoint, ZCLgroupid, value) - def ClusterThermostatUserInterfaceConfiguration_ReadAttributeKeypadLockout(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThermostatUserInterfaceConfiguration_KeypadLockout(device, ZCLendpoint, ZCLgroupid) - def ClusterThermostatUserInterfaceConfiguration_WriteAttributeKeypadLockout(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_ThermostatUserInterfaceConfiguration_KeypadLockout(device, ZCLendpoint, ZCLgroupid, value) - def ClusterThermostatUserInterfaceConfiguration_ReadAttributeScheduleProgrammingVisibility(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThermostatUserInterfaceConfiguration_ScheduleProgrammingVisibility(device, ZCLendpoint, ZCLgroupid) - def ClusterThermostatUserInterfaceConfiguration_WriteAttributeScheduleProgrammingVisibility(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_ThermostatUserInterfaceConfiguration_ScheduleProgrammingVisibility(device, ZCLendpoint, ZCLgroupid, value) - def ClusterThermostatUserInterfaceConfiguration_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThermostatUserInterfaceConfiguration_ClusterRevision(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeChannel(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_Channel(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeRoutingRole(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RoutingRole(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeNetworkName(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_NetworkName(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributePanId(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_PanId(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeExtendedPanId(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_ExtendedPanId(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeMeshLocalPrefix(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_MeshLocalPrefix(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeOverrunCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_OverrunCount(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeNeighborTableList(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_NeighborTableList(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeRouteTableList(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RouteTableList(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributePartitionId(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_PartitionId(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeWeighting(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_Weighting(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeDataVersion(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_DataVersion(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeStableDataVersion(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_StableDataVersion(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeLeaderRouterId(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_LeaderRouterId(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeDetachedRoleCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_DetachedRoleCount(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeChildRoleCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_ChildRoleCount(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeRouterRoleCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RouterRoleCount(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeLeaderRoleCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_LeaderRoleCount(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeAttachAttemptCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_AttachAttemptCount(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributePartitionIdChangeCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_PartitionIdChangeCount(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeBetterPartitionAttachAttemptCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_BetterPartitionAttachAttemptCount(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeParentChangeCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_ParentChangeCount(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeTxTotalCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxTotalCount(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeTxUnicastCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxUnicastCount(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeTxBroadcastCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxBroadcastCount(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeTxAckRequestedCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxAckRequestedCount(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeTxAckedCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxAckedCount(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeTxNoAckRequestedCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxNoAckRequestedCount(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeTxDataCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxDataCount(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeTxDataPollCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxDataPollCount(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeTxBeaconCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxBeaconCount(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeTxBeaconRequestCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxBeaconRequestCount(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeTxOtherCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxOtherCount(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeTxRetryCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxRetryCount(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeTxDirectMaxRetryExpiryCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxDirectMaxRetryExpiryCount(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeTxIndirectMaxRetryExpiryCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxIndirectMaxRetryExpiryCount(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeTxErrCcaCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxErrCcaCount(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeTxErrAbortCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxErrAbortCount(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeTxErrBusyChannelCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxErrBusyChannelCount(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeRxTotalCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxTotalCount(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeRxUnicastCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxUnicastCount(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeRxBroadcastCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxBroadcastCount(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeRxDataCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxDataCount(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeRxDataPollCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxDataPollCount(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeRxBeaconCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxBeaconCount(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeRxBeaconRequestCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxBeaconRequestCount(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeRxOtherCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxOtherCount(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeRxAddressFilteredCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxAddressFilteredCount(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeRxDestAddrFilteredCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxDestAddrFilteredCount(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeRxDuplicatedCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxDuplicatedCount(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeRxErrNoFrameCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxErrNoFrameCount(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeRxErrUnknownNeighborCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxErrUnknownNeighborCount(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeRxErrInvalidSrcAddrCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxErrInvalidSrcAddrCount(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeRxErrSecCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxErrSecCount(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeRxErrFcsCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxErrFcsCount(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeRxErrOtherCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxErrOtherCount(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeActiveTimestamp(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_ActiveTimestamp(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributePendingTimestamp(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_PendingTimestamp(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeDelay(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_Delay(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeSecurityPolicy(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_SecurityPolicy(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeChannelMask(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_ChannelMask(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeOperationalDatasetComponents(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_OperationalDatasetComponents(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeActiveNetworkFaultsList(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_ActiveNetworkFaultsList(device, ZCLendpoint, ZCLgroupid) - def ClusterThreadNetworkDiagnostics_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_ClusterRevision(device, ZCLendpoint, ZCLgroupid) - def ClusterWakeOnLan_ReadAttributeWakeOnLanMacAddress(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_WakeOnLan_WakeOnLanMacAddress(device, ZCLendpoint, ZCLgroupid) - def ClusterWakeOnLan_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_WakeOnLan_ClusterRevision(device, ZCLendpoint, ZCLgroupid) - def ClusterWiFiNetworkDiagnostics_ReadAttributeBssid(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_WiFiNetworkDiagnostics_Bssid(device, ZCLendpoint, ZCLgroupid) - def ClusterWiFiNetworkDiagnostics_ReadAttributeSecurityType(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_WiFiNetworkDiagnostics_SecurityType(device, ZCLendpoint, ZCLgroupid) - def ClusterWiFiNetworkDiagnostics_ReadAttributeWiFiVersion(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_WiFiNetworkDiagnostics_WiFiVersion(device, ZCLendpoint, ZCLgroupid) - def ClusterWiFiNetworkDiagnostics_ReadAttributeChannelNumber(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_WiFiNetworkDiagnostics_ChannelNumber(device, ZCLendpoint, ZCLgroupid) - def ClusterWiFiNetworkDiagnostics_ReadAttributeRssi(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_WiFiNetworkDiagnostics_Rssi(device, ZCLendpoint, ZCLgroupid) - def ClusterWiFiNetworkDiagnostics_ReadAttributeBeaconLostCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_WiFiNetworkDiagnostics_BeaconLostCount(device, ZCLendpoint, ZCLgroupid) - def ClusterWiFiNetworkDiagnostics_ReadAttributeBeaconRxCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_WiFiNetworkDiagnostics_BeaconRxCount(device, ZCLendpoint, ZCLgroupid) - def ClusterWiFiNetworkDiagnostics_ReadAttributePacketMulticastRxCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_WiFiNetworkDiagnostics_PacketMulticastRxCount(device, ZCLendpoint, ZCLgroupid) - def ClusterWiFiNetworkDiagnostics_ReadAttributePacketMulticastTxCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_WiFiNetworkDiagnostics_PacketMulticastTxCount(device, ZCLendpoint, ZCLgroupid) - def ClusterWiFiNetworkDiagnostics_ReadAttributePacketUnicastRxCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_WiFiNetworkDiagnostics_PacketUnicastRxCount(device, ZCLendpoint, ZCLgroupid) - def ClusterWiFiNetworkDiagnostics_ReadAttributePacketUnicastTxCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_WiFiNetworkDiagnostics_PacketUnicastTxCount(device, ZCLendpoint, ZCLgroupid) - def ClusterWiFiNetworkDiagnostics_ReadAttributeCurrentMaxRate(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_WiFiNetworkDiagnostics_CurrentMaxRate(device, ZCLendpoint, ZCLgroupid) - def ClusterWiFiNetworkDiagnostics_ReadAttributeOverrunCount(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_WiFiNetworkDiagnostics_OverrunCount(device, ZCLendpoint, ZCLgroupid) - def ClusterWiFiNetworkDiagnostics_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_WiFiNetworkDiagnostics_ClusterRevision(device, ZCLendpoint, ZCLgroupid) - def ClusterWindowCovering_ReadAttributeType(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_WindowCovering_Type(device, ZCLendpoint, ZCLgroupid) - def ClusterWindowCovering_ReadAttributeCurrentPositionLift(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_WindowCovering_CurrentPositionLift(device, ZCLendpoint, ZCLgroupid) - def ClusterWindowCovering_ReadAttributeCurrentPositionTilt(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_WindowCovering_CurrentPositionTilt(device, ZCLendpoint, ZCLgroupid) - def ClusterWindowCovering_ReadAttributeConfigStatus(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_WindowCovering_ConfigStatus(device, ZCLendpoint, ZCLgroupid) - def ClusterWindowCovering_ReadAttributeCurrentPositionLiftPercentage(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_WindowCovering_CurrentPositionLiftPercentage(device, ZCLendpoint, ZCLgroupid) - def ClusterWindowCovering_SubscribeAttributeCurrentPositionLiftPercentage(self, device: ctypes.c_void_p, ZCLendpoint: int, minInterval: int, maxInterval: int): return self._chipLib.chip_ime_SubscribeAttribute_WindowCovering_CurrentPositionLiftPercentage(device, ZCLendpoint, minInterval, maxInterval) - def ClusterWindowCovering_ReadAttributeCurrentPositionTiltPercentage(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_WindowCovering_CurrentPositionTiltPercentage(device, ZCLendpoint, ZCLgroupid) - def ClusterWindowCovering_SubscribeAttributeCurrentPositionTiltPercentage(self, device: ctypes.c_void_p, ZCLendpoint: int, minInterval: int, maxInterval: int): return self._chipLib.chip_ime_SubscribeAttribute_WindowCovering_CurrentPositionTiltPercentage(device, ZCLendpoint, minInterval, maxInterval) - def ClusterWindowCovering_ReadAttributeOperationalStatus(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_WindowCovering_OperationalStatus(device, ZCLendpoint, ZCLgroupid) - def ClusterWindowCovering_SubscribeAttributeOperationalStatus(self, device: ctypes.c_void_p, ZCLendpoint: int, minInterval: int, maxInterval: int): return self._chipLib.chip_ime_SubscribeAttribute_WindowCovering_OperationalStatus(device, ZCLendpoint, minInterval, maxInterval) - def ClusterWindowCovering_ReadAttributeTargetPositionLiftPercent100ths(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_WindowCovering_TargetPositionLiftPercent100ths(device, ZCLendpoint, ZCLgroupid) - def ClusterWindowCovering_SubscribeAttributeTargetPositionLiftPercent100ths(self, device: ctypes.c_void_p, ZCLendpoint: int, minInterval: int, maxInterval: int): return self._chipLib.chip_ime_SubscribeAttribute_WindowCovering_TargetPositionLiftPercent100ths(device, ZCLendpoint, minInterval, maxInterval) - def ClusterWindowCovering_ReadAttributeTargetPositionTiltPercent100ths(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_WindowCovering_TargetPositionTiltPercent100ths(device, ZCLendpoint, ZCLgroupid) - def ClusterWindowCovering_SubscribeAttributeTargetPositionTiltPercent100ths(self, device: ctypes.c_void_p, ZCLendpoint: int, minInterval: int, maxInterval: int): return self._chipLib.chip_ime_SubscribeAttribute_WindowCovering_TargetPositionTiltPercent100ths(device, ZCLendpoint, minInterval, maxInterval) - def ClusterWindowCovering_ReadAttributeEndProductType(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_WindowCovering_EndProductType(device, ZCLendpoint, ZCLgroupid) - def ClusterWindowCovering_ReadAttributeCurrentPositionLiftPercent100ths(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_WindowCovering_CurrentPositionLiftPercent100ths(device, ZCLendpoint, ZCLgroupid) - def ClusterWindowCovering_SubscribeAttributeCurrentPositionLiftPercent100ths(self, device: ctypes.c_void_p, ZCLendpoint: int, minInterval: int, maxInterval: int): return self._chipLib.chip_ime_SubscribeAttribute_WindowCovering_CurrentPositionLiftPercent100ths(device, ZCLendpoint, minInterval, maxInterval) - def ClusterWindowCovering_ReadAttributeCurrentPositionTiltPercent100ths(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_WindowCovering_CurrentPositionTiltPercent100ths(device, ZCLendpoint, ZCLgroupid) - def ClusterWindowCovering_SubscribeAttributeCurrentPositionTiltPercent100ths(self, device: ctypes.c_void_p, ZCLendpoint: int, minInterval: int, maxInterval: int): return self._chipLib.chip_ime_SubscribeAttribute_WindowCovering_CurrentPositionTiltPercent100ths(device, ZCLendpoint, minInterval, maxInterval) - def ClusterWindowCovering_ReadAttributeInstalledOpenLimitLift(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_WindowCovering_InstalledOpenLimitLift(device, ZCLendpoint, ZCLgroupid) - def ClusterWindowCovering_ReadAttributeInstalledClosedLimitLift(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_WindowCovering_InstalledClosedLimitLift(device, ZCLendpoint, ZCLgroupid) - def ClusterWindowCovering_ReadAttributeInstalledOpenLimitTilt(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_WindowCovering_InstalledOpenLimitTilt(device, ZCLendpoint, ZCLgroupid) - def ClusterWindowCovering_ReadAttributeInstalledClosedLimitTilt(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_WindowCovering_InstalledClosedLimitTilt(device, ZCLendpoint, ZCLgroupid) - def ClusterWindowCovering_ReadAttributeMode(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_WindowCovering_Mode(device, ZCLendpoint, ZCLgroupid) - def ClusterWindowCovering_WriteAttributeMode(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): return self._chipLib.chip_ime_WriteAttribute_WindowCovering_Mode(device, ZCLendpoint, ZCLgroupid, value) - def ClusterWindowCovering_ReadAttributeSafetyStatus(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_WindowCovering_SafetyStatus(device, ZCLendpoint, ZCLgroupid) - def ClusterWindowCovering_SubscribeAttributeSafetyStatus(self, device: ctypes.c_void_p, ZCLendpoint: int, minInterval: int, maxInterval: int): return self._chipLib.chip_ime_SubscribeAttribute_WindowCovering_SafetyStatus(device, ZCLendpoint, minInterval, maxInterval) - def ClusterWindowCovering_ReadAttributeFeatureMap(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_WindowCovering_FeatureMap(device, ZCLendpoint, ZCLgroupid) - def ClusterWindowCovering_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_WindowCovering_ClusterRevision(device, ZCLendpoint, ZCLgroupid) @@ -7142,3039 +6370,2294 @@ def ClusterWindowCovering_ReadAttributeClusterRevision(self, device: ctypes.c_vo def InitLib(self, chipLib): self._chipLib = chipLib # Response delegate setters - self._chipLib.chip_ime_SetSuccessResponseDelegate.argtypes = [ - ChipClusters.SUCCESS_DELEGATE] + self._chipLib.chip_ime_SetSuccessResponseDelegate.argtypes = [ChipClusters.SUCCESS_DELEGATE] self._chipLib.chip_ime_SetSuccessResponseDelegate.restype = None - self._chipLib.chip_ime_SetFailureResponseDelegate.argtypes = [ - ChipClusters.FAILURE_DELEGATE] + self._chipLib.chip_ime_SetFailureResponseDelegate.argtypes = [ChipClusters.FAILURE_DELEGATE] self._chipLib.chip_ime_SetFailureResponseDelegate.res = None # Cluster AccountLogin # Cluster AccountLogin Command GetSetupPIN - self._chipLib.chip_ime_AppendCommand_AccountLogin_GetSetupPIN.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32] + self._chipLib.chip_ime_AppendCommand_AccountLogin_GetSetupPIN.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32] self._chipLib.chip_ime_AppendCommand_AccountLogin_GetSetupPIN.restype = ctypes.c_uint32 # Cluster AccountLogin Command Login - self._chipLib.chip_ime_AppendCommand_AccountLogin_Login.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_char_p, ctypes.c_uint32] + self._chipLib.chip_ime_AppendCommand_AccountLogin_Login.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_char_p, ctypes.c_uint32] self._chipLib.chip_ime_AppendCommand_AccountLogin_Login.restype = ctypes.c_uint32 # Cluster AccountLogin ReadAttribute ClusterRevision - self._chipLib.chip_ime_ReadAttribute_AccountLogin_ClusterRevision.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_AccountLogin_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_AccountLogin_ClusterRevision.restype = ctypes.c_uint32 # Cluster AdministratorCommissioning # Cluster AdministratorCommissioning Command OpenBasicCommissioningWindow - self._chipLib.chip_ime_AppendCommand_AdministratorCommissioning_OpenBasicCommissioningWindow.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_AdministratorCommissioning_OpenBasicCommissioningWindow.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_AdministratorCommissioning_OpenBasicCommissioningWindow.restype = ctypes.c_uint32 # Cluster AdministratorCommissioning Command OpenCommissioningWindow - self._chipLib.chip_ime_AppendCommand_AdministratorCommissioning_OpenCommissioningWindow.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_uint16, ctypes.c_uint32, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_AdministratorCommissioning_OpenCommissioningWindow.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_uint16, ctypes.c_uint32, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_AdministratorCommissioning_OpenCommissioningWindow.restype = ctypes.c_uint32 # Cluster AdministratorCommissioning Command RevokeCommissioning - self._chipLib.chip_ime_AppendCommand_AdministratorCommissioning_RevokeCommissioning.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_AdministratorCommissioning_RevokeCommissioning.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_AdministratorCommissioning_RevokeCommissioning.restype = ctypes.c_uint32 # Cluster AdministratorCommissioning ReadAttribute ClusterRevision - self._chipLib.chip_ime_ReadAttribute_AdministratorCommissioning_ClusterRevision.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_AdministratorCommissioning_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_AdministratorCommissioning_ClusterRevision.restype = ctypes.c_uint32 # Cluster ApplicationBasic # Cluster ApplicationBasic Command ChangeStatus - self._chipLib.chip_ime_AppendCommand_ApplicationBasic_ChangeStatus.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] + self._chipLib.chip_ime_AppendCommand_ApplicationBasic_ChangeStatus.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] self._chipLib.chip_ime_AppendCommand_ApplicationBasic_ChangeStatus.restype = ctypes.c_uint32 # Cluster ApplicationBasic ReadAttribute VendorName - self._chipLib.chip_ime_ReadAttribute_ApplicationBasic_VendorName.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ApplicationBasic_VendorName.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ApplicationBasic_VendorName.restype = ctypes.c_uint32 # Cluster ApplicationBasic ReadAttribute VendorId - self._chipLib.chip_ime_ReadAttribute_ApplicationBasic_VendorId.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ApplicationBasic_VendorId.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ApplicationBasic_VendorId.restype = ctypes.c_uint32 # Cluster ApplicationBasic ReadAttribute ApplicationName - self._chipLib.chip_ime_ReadAttribute_ApplicationBasic_ApplicationName.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ApplicationBasic_ApplicationName.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ApplicationBasic_ApplicationName.restype = ctypes.c_uint32 # Cluster ApplicationBasic ReadAttribute ProductId - self._chipLib.chip_ime_ReadAttribute_ApplicationBasic_ProductId.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ApplicationBasic_ProductId.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ApplicationBasic_ProductId.restype = ctypes.c_uint32 # Cluster ApplicationBasic ReadAttribute ApplicationId - self._chipLib.chip_ime_ReadAttribute_ApplicationBasic_ApplicationId.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ApplicationBasic_ApplicationId.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ApplicationBasic_ApplicationId.restype = ctypes.c_uint32 # Cluster ApplicationBasic ReadAttribute CatalogVendorId - self._chipLib.chip_ime_ReadAttribute_ApplicationBasic_CatalogVendorId.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ApplicationBasic_CatalogVendorId.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ApplicationBasic_CatalogVendorId.restype = ctypes.c_uint32 # Cluster ApplicationBasic ReadAttribute ApplicationStatus - self._chipLib.chip_ime_ReadAttribute_ApplicationBasic_ApplicationStatus.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ApplicationBasic_ApplicationStatus.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ApplicationBasic_ApplicationStatus.restype = ctypes.c_uint32 # Cluster ApplicationBasic ReadAttribute ClusterRevision - self._chipLib.chip_ime_ReadAttribute_ApplicationBasic_ClusterRevision.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ApplicationBasic_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ApplicationBasic_ClusterRevision.restype = ctypes.c_uint32 # Cluster ApplicationLauncher # Cluster ApplicationLauncher Command LaunchApp - self._chipLib.chip_ime_AppendCommand_ApplicationLauncher_LaunchApp.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32] + self._chipLib.chip_ime_AppendCommand_ApplicationLauncher_LaunchApp.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32] self._chipLib.chip_ime_AppendCommand_ApplicationLauncher_LaunchApp.restype = ctypes.c_uint32 # Cluster ApplicationLauncher ReadAttribute ApplicationLauncherList - self._chipLib.chip_ime_ReadAttribute_ApplicationLauncher_ApplicationLauncherList.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ApplicationLauncher_ApplicationLauncherList.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ApplicationLauncher_ApplicationLauncherList.restype = ctypes.c_uint32 # Cluster ApplicationLauncher ReadAttribute CatalogVendorId - self._chipLib.chip_ime_ReadAttribute_ApplicationLauncher_CatalogVendorId.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ApplicationLauncher_CatalogVendorId.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ApplicationLauncher_CatalogVendorId.restype = ctypes.c_uint32 # Cluster ApplicationLauncher ReadAttribute ApplicationId - self._chipLib.chip_ime_ReadAttribute_ApplicationLauncher_ApplicationId.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ApplicationLauncher_ApplicationId.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ApplicationLauncher_ApplicationId.restype = ctypes.c_uint32 # Cluster ApplicationLauncher ReadAttribute ClusterRevision - self._chipLib.chip_ime_ReadAttribute_ApplicationLauncher_ClusterRevision.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ApplicationLauncher_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ApplicationLauncher_ClusterRevision.restype = ctypes.c_uint32 # Cluster AudioOutput # Cluster AudioOutput Command RenameOutput - self._chipLib.chip_ime_AppendCommand_AudioOutput_RenameOutput.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_char_p, ctypes.c_uint32] + self._chipLib.chip_ime_AppendCommand_AudioOutput_RenameOutput.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_char_p, ctypes.c_uint32] self._chipLib.chip_ime_AppendCommand_AudioOutput_RenameOutput.restype = ctypes.c_uint32 # Cluster AudioOutput Command SelectOutput - self._chipLib.chip_ime_AppendCommand_AudioOutput_SelectOutput.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] + self._chipLib.chip_ime_AppendCommand_AudioOutput_SelectOutput.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] self._chipLib.chip_ime_AppendCommand_AudioOutput_SelectOutput.restype = ctypes.c_uint32 # Cluster AudioOutput ReadAttribute AudioOutputList - self._chipLib.chip_ime_ReadAttribute_AudioOutput_AudioOutputList.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_AudioOutput_AudioOutputList.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_AudioOutput_AudioOutputList.restype = ctypes.c_uint32 # Cluster AudioOutput ReadAttribute CurrentAudioOutput - self._chipLib.chip_ime_ReadAttribute_AudioOutput_CurrentAudioOutput.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_AudioOutput_CurrentAudioOutput.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_AudioOutput_CurrentAudioOutput.restype = ctypes.c_uint32 # Cluster AudioOutput ReadAttribute ClusterRevision - self._chipLib.chip_ime_ReadAttribute_AudioOutput_ClusterRevision.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_AudioOutput_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_AudioOutput_ClusterRevision.restype = ctypes.c_uint32 # Cluster BarrierControl # Cluster BarrierControl Command BarrierControlGoToPercent - self._chipLib.chip_ime_AppendCommand_BarrierControl_BarrierControlGoToPercent.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] + self._chipLib.chip_ime_AppendCommand_BarrierControl_BarrierControlGoToPercent.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] self._chipLib.chip_ime_AppendCommand_BarrierControl_BarrierControlGoToPercent.restype = ctypes.c_uint32 # Cluster BarrierControl Command BarrierControlStop - self._chipLib.chip_ime_AppendCommand_BarrierControl_BarrierControlStop.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_BarrierControl_BarrierControlStop.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_BarrierControl_BarrierControlStop.restype = ctypes.c_uint32 # Cluster BarrierControl ReadAttribute BarrierMovingState - self._chipLib.chip_ime_ReadAttribute_BarrierControl_BarrierMovingState.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_BarrierControl_BarrierMovingState.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_BarrierControl_BarrierMovingState.restype = ctypes.c_uint32 # Cluster BarrierControl ReadAttribute BarrierSafetyStatus - self._chipLib.chip_ime_ReadAttribute_BarrierControl_BarrierSafetyStatus.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_BarrierControl_BarrierSafetyStatus.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_BarrierControl_BarrierSafetyStatus.restype = ctypes.c_uint32 # Cluster BarrierControl ReadAttribute BarrierCapabilities - self._chipLib.chip_ime_ReadAttribute_BarrierControl_BarrierCapabilities.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_BarrierControl_BarrierCapabilities.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_BarrierControl_BarrierCapabilities.restype = ctypes.c_uint32 # Cluster BarrierControl ReadAttribute BarrierPosition - self._chipLib.chip_ime_ReadAttribute_BarrierControl_BarrierPosition.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_BarrierControl_BarrierPosition.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_BarrierControl_BarrierPosition.restype = ctypes.c_uint32 # Cluster BarrierControl ReadAttribute ClusterRevision - self._chipLib.chip_ime_ReadAttribute_BarrierControl_ClusterRevision.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_BarrierControl_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_BarrierControl_ClusterRevision.restype = ctypes.c_uint32 # Cluster Basic # Cluster Basic Command MfgSpecificPing - self._chipLib.chip_ime_AppendCommand_Basic_MfgSpecificPing.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_Basic_MfgSpecificPing.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_Basic_MfgSpecificPing.restype = ctypes.c_uint32 # Cluster Basic ReadAttribute InteractionModelVersion - self._chipLib.chip_ime_ReadAttribute_Basic_InteractionModelVersion.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Basic_InteractionModelVersion.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Basic_InteractionModelVersion.restype = ctypes.c_uint32 # Cluster Basic ReadAttribute VendorName - self._chipLib.chip_ime_ReadAttribute_Basic_VendorName.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Basic_VendorName.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Basic_VendorName.restype = ctypes.c_uint32 # Cluster Basic ReadAttribute VendorID - self._chipLib.chip_ime_ReadAttribute_Basic_VendorID.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Basic_VendorID.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Basic_VendorID.restype = ctypes.c_uint32 # Cluster Basic ReadAttribute ProductName - self._chipLib.chip_ime_ReadAttribute_Basic_ProductName.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Basic_ProductName.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Basic_ProductName.restype = ctypes.c_uint32 # Cluster Basic ReadAttribute ProductID - self._chipLib.chip_ime_ReadAttribute_Basic_ProductID.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Basic_ProductID.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Basic_ProductID.restype = ctypes.c_uint32 # Cluster Basic ReadAttribute UserLabel - self._chipLib.chip_ime_ReadAttribute_Basic_UserLabel.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Basic_UserLabel.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Basic_UserLabel.restype = ctypes.c_uint32 # Cluster Basic WriteAttribute UserLabel - self._chipLib.chip_ime_WriteAttribute_Basic_UserLabel.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32] + self._chipLib.chip_ime_WriteAttribute_Basic_UserLabel.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32] self._chipLib.chip_ime_WriteAttribute_Basic_UserLabel.restype = ctypes.c_uint32 # Cluster Basic ReadAttribute Location - self._chipLib.chip_ime_ReadAttribute_Basic_Location.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Basic_Location.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Basic_Location.restype = ctypes.c_uint32 # Cluster Basic WriteAttribute Location - self._chipLib.chip_ime_WriteAttribute_Basic_Location.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32] + self._chipLib.chip_ime_WriteAttribute_Basic_Location.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32] self._chipLib.chip_ime_WriteAttribute_Basic_Location.restype = ctypes.c_uint32 # Cluster Basic ReadAttribute HardwareVersion - self._chipLib.chip_ime_ReadAttribute_Basic_HardwareVersion.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Basic_HardwareVersion.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Basic_HardwareVersion.restype = ctypes.c_uint32 # Cluster Basic ReadAttribute HardwareVersionString - self._chipLib.chip_ime_ReadAttribute_Basic_HardwareVersionString.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Basic_HardwareVersionString.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Basic_HardwareVersionString.restype = ctypes.c_uint32 # Cluster Basic ReadAttribute SoftwareVersion - self._chipLib.chip_ime_ReadAttribute_Basic_SoftwareVersion.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Basic_SoftwareVersion.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Basic_SoftwareVersion.restype = ctypes.c_uint32 # Cluster Basic ReadAttribute SoftwareVersionString - self._chipLib.chip_ime_ReadAttribute_Basic_SoftwareVersionString.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Basic_SoftwareVersionString.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Basic_SoftwareVersionString.restype = ctypes.c_uint32 # Cluster Basic ReadAttribute ManufacturingDate - self._chipLib.chip_ime_ReadAttribute_Basic_ManufacturingDate.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Basic_ManufacturingDate.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Basic_ManufacturingDate.restype = ctypes.c_uint32 # Cluster Basic ReadAttribute PartNumber - self._chipLib.chip_ime_ReadAttribute_Basic_PartNumber.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Basic_PartNumber.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Basic_PartNumber.restype = ctypes.c_uint32 # Cluster Basic ReadAttribute ProductURL - self._chipLib.chip_ime_ReadAttribute_Basic_ProductURL.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Basic_ProductURL.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Basic_ProductURL.restype = ctypes.c_uint32 # Cluster Basic ReadAttribute ProductLabel - self._chipLib.chip_ime_ReadAttribute_Basic_ProductLabel.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Basic_ProductLabel.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Basic_ProductLabel.restype = ctypes.c_uint32 # Cluster Basic ReadAttribute SerialNumber - self._chipLib.chip_ime_ReadAttribute_Basic_SerialNumber.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Basic_SerialNumber.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Basic_SerialNumber.restype = ctypes.c_uint32 # Cluster Basic ReadAttribute LocalConfigDisabled - self._chipLib.chip_ime_ReadAttribute_Basic_LocalConfigDisabled.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Basic_LocalConfigDisabled.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Basic_LocalConfigDisabled.restype = ctypes.c_uint32 # Cluster Basic WriteAttribute LocalConfigDisabled - self._chipLib.chip_ime_WriteAttribute_Basic_LocalConfigDisabled.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_bool] + self._chipLib.chip_ime_WriteAttribute_Basic_LocalConfigDisabled.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_bool] self._chipLib.chip_ime_WriteAttribute_Basic_LocalConfigDisabled.restype = ctypes.c_uint32 # Cluster Basic ReadAttribute Reachable - self._chipLib.chip_ime_ReadAttribute_Basic_Reachable.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Basic_Reachable.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Basic_Reachable.restype = ctypes.c_uint32 # Cluster Basic ReadAttribute ClusterRevision - self._chipLib.chip_ime_ReadAttribute_Basic_ClusterRevision.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Basic_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Basic_ClusterRevision.restype = ctypes.c_uint32 # Cluster BinaryInputBasic # Cluster BinaryInputBasic ReadAttribute OutOfService - self._chipLib.chip_ime_ReadAttribute_BinaryInputBasic_OutOfService.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_BinaryInputBasic_OutOfService.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_BinaryInputBasic_OutOfService.restype = ctypes.c_uint32 # Cluster BinaryInputBasic WriteAttribute OutOfService - self._chipLib.chip_ime_WriteAttribute_BinaryInputBasic_OutOfService.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_bool] + self._chipLib.chip_ime_WriteAttribute_BinaryInputBasic_OutOfService.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_bool] self._chipLib.chip_ime_WriteAttribute_BinaryInputBasic_OutOfService.restype = ctypes.c_uint32 # Cluster BinaryInputBasic ReadAttribute PresentValue - self._chipLib.chip_ime_ReadAttribute_BinaryInputBasic_PresentValue.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_BinaryInputBasic_PresentValue.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_BinaryInputBasic_PresentValue.restype = ctypes.c_uint32 # Cluster BinaryInputBasic SubscribeAttribute PresentValue - self._chipLib.chip_ime_SubscribeAttribute_BinaryInputBasic_PresentValue.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_SubscribeAttribute_BinaryInputBasic_PresentValue.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_SubscribeAttribute_BinaryInputBasic_PresentValue.restype = ctypes.c_uint32 # Cluster BinaryInputBasic WriteAttribute PresentValue - self._chipLib.chip_ime_WriteAttribute_BinaryInputBasic_PresentValue.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_bool] + self._chipLib.chip_ime_WriteAttribute_BinaryInputBasic_PresentValue.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_bool] self._chipLib.chip_ime_WriteAttribute_BinaryInputBasic_PresentValue.restype = ctypes.c_uint32 # Cluster BinaryInputBasic ReadAttribute StatusFlags - self._chipLib.chip_ime_ReadAttribute_BinaryInputBasic_StatusFlags.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_BinaryInputBasic_StatusFlags.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_BinaryInputBasic_StatusFlags.restype = ctypes.c_uint32 # Cluster BinaryInputBasic SubscribeAttribute StatusFlags - self._chipLib.chip_ime_SubscribeAttribute_BinaryInputBasic_StatusFlags.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_SubscribeAttribute_BinaryInputBasic_StatusFlags.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_SubscribeAttribute_BinaryInputBasic_StatusFlags.restype = ctypes.c_uint32 # Cluster BinaryInputBasic ReadAttribute ClusterRevision - self._chipLib.chip_ime_ReadAttribute_BinaryInputBasic_ClusterRevision.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_BinaryInputBasic_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_BinaryInputBasic_ClusterRevision.restype = ctypes.c_uint32 # Cluster Binding # Cluster Binding Command Bind - self._chipLib.chip_ime_AppendCommand_Binding_Bind.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint64, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint32] + self._chipLib.chip_ime_AppendCommand_Binding_Bind.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint64, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint32] self._chipLib.chip_ime_AppendCommand_Binding_Bind.restype = ctypes.c_uint32 # Cluster Binding Command Unbind - self._chipLib.chip_ime_AppendCommand_Binding_Unbind.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint64, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint32] + self._chipLib.chip_ime_AppendCommand_Binding_Unbind.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint64, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint32] self._chipLib.chip_ime_AppendCommand_Binding_Unbind.restype = ctypes.c_uint32 # Cluster Binding ReadAttribute ClusterRevision - self._chipLib.chip_ime_ReadAttribute_Binding_ClusterRevision.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Binding_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Binding_ClusterRevision.restype = ctypes.c_uint32 # Cluster BooleanState # Cluster BooleanState ReadAttribute StateValue - self._chipLib.chip_ime_ReadAttribute_BooleanState_StateValue.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_BooleanState_StateValue.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_BooleanState_StateValue.restype = ctypes.c_uint32 # Cluster BooleanState SubscribeAttribute StateValue - self._chipLib.chip_ime_SubscribeAttribute_BooleanState_StateValue.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_SubscribeAttribute_BooleanState_StateValue.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_SubscribeAttribute_BooleanState_StateValue.restype = ctypes.c_uint32 # Cluster BooleanState ReadAttribute ClusterRevision - self._chipLib.chip_ime_ReadAttribute_BooleanState_ClusterRevision.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_BooleanState_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_BooleanState_ClusterRevision.restype = ctypes.c_uint32 # Cluster BridgedActions # Cluster BridgedActions Command DisableAction - self._chipLib.chip_ime_AppendCommand_BridgedActions_DisableAction.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint32] + self._chipLib.chip_ime_AppendCommand_BridgedActions_DisableAction.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint32] self._chipLib.chip_ime_AppendCommand_BridgedActions_DisableAction.restype = ctypes.c_uint32 # Cluster BridgedActions Command DisableActionWithDuration - self._chipLib.chip_ime_AppendCommand_BridgedActions_DisableActionWithDuration.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint32, ctypes.c_uint32] + self._chipLib.chip_ime_AppendCommand_BridgedActions_DisableActionWithDuration.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint32, ctypes.c_uint32] self._chipLib.chip_ime_AppendCommand_BridgedActions_DisableActionWithDuration.restype = ctypes.c_uint32 # Cluster BridgedActions Command EnableAction - self._chipLib.chip_ime_AppendCommand_BridgedActions_EnableAction.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint32] + self._chipLib.chip_ime_AppendCommand_BridgedActions_EnableAction.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint32] self._chipLib.chip_ime_AppendCommand_BridgedActions_EnableAction.restype = ctypes.c_uint32 # Cluster BridgedActions Command EnableActionWithDuration - self._chipLib.chip_ime_AppendCommand_BridgedActions_EnableActionWithDuration.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint32, ctypes.c_uint32] + self._chipLib.chip_ime_AppendCommand_BridgedActions_EnableActionWithDuration.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint32, ctypes.c_uint32] self._chipLib.chip_ime_AppendCommand_BridgedActions_EnableActionWithDuration.restype = ctypes.c_uint32 # Cluster BridgedActions Command InstantAction - self._chipLib.chip_ime_AppendCommand_BridgedActions_InstantAction.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint32] + self._chipLib.chip_ime_AppendCommand_BridgedActions_InstantAction.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint32] self._chipLib.chip_ime_AppendCommand_BridgedActions_InstantAction.restype = ctypes.c_uint32 # Cluster BridgedActions Command InstantActionWithTransition - self._chipLib.chip_ime_AppendCommand_BridgedActions_InstantActionWithTransition.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint32, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_BridgedActions_InstantActionWithTransition.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint32, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_BridgedActions_InstantActionWithTransition.restype = ctypes.c_uint32 # Cluster BridgedActions Command PauseAction - self._chipLib.chip_ime_AppendCommand_BridgedActions_PauseAction.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint32] + self._chipLib.chip_ime_AppendCommand_BridgedActions_PauseAction.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint32] self._chipLib.chip_ime_AppendCommand_BridgedActions_PauseAction.restype = ctypes.c_uint32 # Cluster BridgedActions Command PauseActionWithDuration - self._chipLib.chip_ime_AppendCommand_BridgedActions_PauseActionWithDuration.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint32, ctypes.c_uint32] + self._chipLib.chip_ime_AppendCommand_BridgedActions_PauseActionWithDuration.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint32, ctypes.c_uint32] self._chipLib.chip_ime_AppendCommand_BridgedActions_PauseActionWithDuration.restype = ctypes.c_uint32 # Cluster BridgedActions Command ResumeAction - self._chipLib.chip_ime_AppendCommand_BridgedActions_ResumeAction.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint32] + self._chipLib.chip_ime_AppendCommand_BridgedActions_ResumeAction.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint32] self._chipLib.chip_ime_AppendCommand_BridgedActions_ResumeAction.restype = ctypes.c_uint32 # Cluster BridgedActions Command StartAction - self._chipLib.chip_ime_AppendCommand_BridgedActions_StartAction.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint32] + self._chipLib.chip_ime_AppendCommand_BridgedActions_StartAction.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint32] self._chipLib.chip_ime_AppendCommand_BridgedActions_StartAction.restype = ctypes.c_uint32 # Cluster BridgedActions Command StartActionWithDuration - self._chipLib.chip_ime_AppendCommand_BridgedActions_StartActionWithDuration.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint32, ctypes.c_uint32] + self._chipLib.chip_ime_AppendCommand_BridgedActions_StartActionWithDuration.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint32, ctypes.c_uint32] self._chipLib.chip_ime_AppendCommand_BridgedActions_StartActionWithDuration.restype = ctypes.c_uint32 # Cluster BridgedActions Command StopAction - self._chipLib.chip_ime_AppendCommand_BridgedActions_StopAction.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint32] + self._chipLib.chip_ime_AppendCommand_BridgedActions_StopAction.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint32] self._chipLib.chip_ime_AppendCommand_BridgedActions_StopAction.restype = ctypes.c_uint32 # Cluster BridgedActions ReadAttribute ActionList - self._chipLib.chip_ime_ReadAttribute_BridgedActions_ActionList.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_BridgedActions_ActionList.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_BridgedActions_ActionList.restype = ctypes.c_uint32 # Cluster BridgedActions ReadAttribute EndpointList - self._chipLib.chip_ime_ReadAttribute_BridgedActions_EndpointList.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_BridgedActions_EndpointList.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_BridgedActions_EndpointList.restype = ctypes.c_uint32 # Cluster BridgedActions ReadAttribute SetupUrl - self._chipLib.chip_ime_ReadAttribute_BridgedActions_SetupUrl.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_BridgedActions_SetupUrl.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_BridgedActions_SetupUrl.restype = ctypes.c_uint32 # Cluster BridgedActions ReadAttribute ClusterRevision - self._chipLib.chip_ime_ReadAttribute_BridgedActions_ClusterRevision.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_BridgedActions_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_BridgedActions_ClusterRevision.restype = ctypes.c_uint32 # Cluster BridgedDeviceBasic # Cluster BridgedDeviceBasic ReadAttribute VendorName - self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_VendorName.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_VendorName.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_VendorName.restype = ctypes.c_uint32 # Cluster BridgedDeviceBasic ReadAttribute VendorID - self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_VendorID.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_VendorID.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_VendorID.restype = ctypes.c_uint32 # Cluster BridgedDeviceBasic ReadAttribute ProductName - self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_ProductName.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_ProductName.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_ProductName.restype = ctypes.c_uint32 # Cluster BridgedDeviceBasic ReadAttribute UserLabel - self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_UserLabel.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_UserLabel.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_UserLabel.restype = ctypes.c_uint32 # Cluster BridgedDeviceBasic WriteAttribute UserLabel - self._chipLib.chip_ime_WriteAttribute_BridgedDeviceBasic_UserLabel.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32] + self._chipLib.chip_ime_WriteAttribute_BridgedDeviceBasic_UserLabel.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32] self._chipLib.chip_ime_WriteAttribute_BridgedDeviceBasic_UserLabel.restype = ctypes.c_uint32 # Cluster BridgedDeviceBasic ReadAttribute HardwareVersion - self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_HardwareVersion.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_HardwareVersion.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_HardwareVersion.restype = ctypes.c_uint32 # Cluster BridgedDeviceBasic ReadAttribute HardwareVersionString - self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_HardwareVersionString.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_HardwareVersionString.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_HardwareVersionString.restype = ctypes.c_uint32 # Cluster BridgedDeviceBasic ReadAttribute SoftwareVersion - self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_SoftwareVersion.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_SoftwareVersion.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_SoftwareVersion.restype = ctypes.c_uint32 # Cluster BridgedDeviceBasic ReadAttribute SoftwareVersionString - self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_SoftwareVersionString.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_SoftwareVersionString.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_SoftwareVersionString.restype = ctypes.c_uint32 # Cluster BridgedDeviceBasic ReadAttribute ManufacturingDate - self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_ManufacturingDate.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_ManufacturingDate.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_ManufacturingDate.restype = ctypes.c_uint32 # Cluster BridgedDeviceBasic ReadAttribute PartNumber - self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_PartNumber.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_PartNumber.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_PartNumber.restype = ctypes.c_uint32 # Cluster BridgedDeviceBasic ReadAttribute ProductURL - self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_ProductURL.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_ProductURL.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_ProductURL.restype = ctypes.c_uint32 # Cluster BridgedDeviceBasic ReadAttribute ProductLabel - self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_ProductLabel.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_ProductLabel.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_ProductLabel.restype = ctypes.c_uint32 # Cluster BridgedDeviceBasic ReadAttribute SerialNumber - self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_SerialNumber.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_SerialNumber.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_SerialNumber.restype = ctypes.c_uint32 # Cluster BridgedDeviceBasic ReadAttribute Reachable - self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_Reachable.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_Reachable.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_Reachable.restype = ctypes.c_uint32 # Cluster BridgedDeviceBasic ReadAttribute ClusterRevision - self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_ClusterRevision.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_BridgedDeviceBasic_ClusterRevision.restype = ctypes.c_uint32 # Cluster ColorControl # Cluster ColorControl Command ColorLoopSet - self._chipLib.chip_ime_AppendCommand_ColorControl_ColorLoopSet.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8] + self._chipLib.chip_ime_AppendCommand_ColorControl_ColorLoopSet.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8] self._chipLib.chip_ime_AppendCommand_ColorControl_ColorLoopSet.restype = ctypes.c_uint32 # Cluster ColorControl Command EnhancedMoveHue - self._chipLib.chip_ime_AppendCommand_ColorControl_EnhancedMoveHue.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8] + self._chipLib.chip_ime_AppendCommand_ColorControl_EnhancedMoveHue.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8] self._chipLib.chip_ime_AppendCommand_ColorControl_EnhancedMoveHue.restype = ctypes.c_uint32 # Cluster ColorControl Command EnhancedMoveToHue - self._chipLib.chip_ime_AppendCommand_ColorControl_EnhancedMoveToHue.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8] + self._chipLib.chip_ime_AppendCommand_ColorControl_EnhancedMoveToHue.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8] self._chipLib.chip_ime_AppendCommand_ColorControl_EnhancedMoveToHue.restype = ctypes.c_uint32 # Cluster ColorControl Command EnhancedMoveToHueAndSaturation - self._chipLib.chip_ime_AppendCommand_ColorControl_EnhancedMoveToHueAndSaturation.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8] + self._chipLib.chip_ime_AppendCommand_ColorControl_EnhancedMoveToHueAndSaturation.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8] self._chipLib.chip_ime_AppendCommand_ColorControl_EnhancedMoveToHueAndSaturation.restype = ctypes.c_uint32 # Cluster ColorControl Command EnhancedStepHue - self._chipLib.chip_ime_AppendCommand_ColorControl_EnhancedStepHue.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8] + self._chipLib.chip_ime_AppendCommand_ColorControl_EnhancedStepHue.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8] self._chipLib.chip_ime_AppendCommand_ColorControl_EnhancedStepHue.restype = ctypes.c_uint32 # Cluster ColorControl Command MoveColor - self._chipLib.chip_ime_AppendCommand_ColorControl_MoveColor.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_int16, ctypes.c_int16, ctypes.c_uint8, ctypes.c_uint8] + self._chipLib.chip_ime_AppendCommand_ColorControl_MoveColor.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_int16, ctypes.c_int16, ctypes.c_uint8, ctypes.c_uint8] self._chipLib.chip_ime_AppendCommand_ColorControl_MoveColor.restype = ctypes.c_uint32 # Cluster ColorControl Command MoveColorTemperature - self._chipLib.chip_ime_AppendCommand_ColorControl_MoveColorTemperature.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8] + self._chipLib.chip_ime_AppendCommand_ColorControl_MoveColorTemperature.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8] self._chipLib.chip_ime_AppendCommand_ColorControl_MoveColorTemperature.restype = ctypes.c_uint32 # Cluster ColorControl Command MoveHue - self._chipLib.chip_ime_AppendCommand_ColorControl_MoveHue.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint8] + self._chipLib.chip_ime_AppendCommand_ColorControl_MoveHue.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint8] self._chipLib.chip_ime_AppendCommand_ColorControl_MoveHue.restype = ctypes.c_uint32 # Cluster ColorControl Command MoveSaturation - self._chipLib.chip_ime_AppendCommand_ColorControl_MoveSaturation.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint8] + self._chipLib.chip_ime_AppendCommand_ColorControl_MoveSaturation.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint8] self._chipLib.chip_ime_AppendCommand_ColorControl_MoveSaturation.restype = ctypes.c_uint32 # Cluster ColorControl Command MoveToColor - self._chipLib.chip_ime_AppendCommand_ColorControl_MoveToColor.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8] + self._chipLib.chip_ime_AppendCommand_ColorControl_MoveToColor.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8] self._chipLib.chip_ime_AppendCommand_ColorControl_MoveToColor.restype = ctypes.c_uint32 # Cluster ColorControl Command MoveToColorTemperature - self._chipLib.chip_ime_AppendCommand_ColorControl_MoveToColorTemperature.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8] + self._chipLib.chip_ime_AppendCommand_ColorControl_MoveToColorTemperature.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8] self._chipLib.chip_ime_AppendCommand_ColorControl_MoveToColorTemperature.restype = ctypes.c_uint32 # Cluster ColorControl Command MoveToHue - self._chipLib.chip_ime_AppendCommand_ColorControl_MoveToHue.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8] + self._chipLib.chip_ime_AppendCommand_ColorControl_MoveToHue.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8] self._chipLib.chip_ime_AppendCommand_ColorControl_MoveToHue.restype = ctypes.c_uint32 # Cluster ColorControl Command MoveToHueAndSaturation - self._chipLib.chip_ime_AppendCommand_ColorControl_MoveToHueAndSaturation.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8] + self._chipLib.chip_ime_AppendCommand_ColorControl_MoveToHueAndSaturation.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8] self._chipLib.chip_ime_AppendCommand_ColorControl_MoveToHueAndSaturation.restype = ctypes.c_uint32 # Cluster ColorControl Command MoveToSaturation - self._chipLib.chip_ime_AppendCommand_ColorControl_MoveToSaturation.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8] + self._chipLib.chip_ime_AppendCommand_ColorControl_MoveToSaturation.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8] self._chipLib.chip_ime_AppendCommand_ColorControl_MoveToSaturation.restype = ctypes.c_uint32 # Cluster ColorControl Command StepColor - self._chipLib.chip_ime_AppendCommand_ColorControl_StepColor.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_int16, ctypes.c_int16, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8] + self._chipLib.chip_ime_AppendCommand_ColorControl_StepColor.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_int16, ctypes.c_int16, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8] self._chipLib.chip_ime_AppendCommand_ColorControl_StepColor.restype = ctypes.c_uint32 # Cluster ColorControl Command StepColorTemperature - self._chipLib.chip_ime_AppendCommand_ColorControl_StepColorTemperature.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8] + self._chipLib.chip_ime_AppendCommand_ColorControl_StepColorTemperature.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8] self._chipLib.chip_ime_AppendCommand_ColorControl_StepColorTemperature.restype = ctypes.c_uint32 # Cluster ColorControl Command StepHue - self._chipLib.chip_ime_AppendCommand_ColorControl_StepHue.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint8] + self._chipLib.chip_ime_AppendCommand_ColorControl_StepHue.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint8] self._chipLib.chip_ime_AppendCommand_ColorControl_StepHue.restype = ctypes.c_uint32 # Cluster ColorControl Command StepSaturation - self._chipLib.chip_ime_AppendCommand_ColorControl_StepSaturation.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint8] + self._chipLib.chip_ime_AppendCommand_ColorControl_StepSaturation.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint8] self._chipLib.chip_ime_AppendCommand_ColorControl_StepSaturation.restype = ctypes.c_uint32 # Cluster ColorControl Command StopMoveStep - self._chipLib.chip_ime_AppendCommand_ColorControl_StopMoveStep.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8] + self._chipLib.chip_ime_AppendCommand_ColorControl_StopMoveStep.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8] self._chipLib.chip_ime_AppendCommand_ColorControl_StopMoveStep.restype = ctypes.c_uint32 # Cluster ColorControl ReadAttribute CurrentHue - self._chipLib.chip_ime_ReadAttribute_ColorControl_CurrentHue.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ColorControl_CurrentHue.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ColorControl_CurrentHue.restype = ctypes.c_uint32 # Cluster ColorControl SubscribeAttribute CurrentHue - self._chipLib.chip_ime_SubscribeAttribute_ColorControl_CurrentHue.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_SubscribeAttribute_ColorControl_CurrentHue.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_SubscribeAttribute_ColorControl_CurrentHue.restype = ctypes.c_uint32 # Cluster ColorControl ReadAttribute CurrentSaturation - self._chipLib.chip_ime_ReadAttribute_ColorControl_CurrentSaturation.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ColorControl_CurrentSaturation.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ColorControl_CurrentSaturation.restype = ctypes.c_uint32 # Cluster ColorControl SubscribeAttribute CurrentSaturation - self._chipLib.chip_ime_SubscribeAttribute_ColorControl_CurrentSaturation.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_SubscribeAttribute_ColorControl_CurrentSaturation.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_SubscribeAttribute_ColorControl_CurrentSaturation.restype = ctypes.c_uint32 # Cluster ColorControl ReadAttribute RemainingTime - self._chipLib.chip_ime_ReadAttribute_ColorControl_RemainingTime.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ColorControl_RemainingTime.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ColorControl_RemainingTime.restype = ctypes.c_uint32 # Cluster ColorControl ReadAttribute CurrentX - self._chipLib.chip_ime_ReadAttribute_ColorControl_CurrentX.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ColorControl_CurrentX.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ColorControl_CurrentX.restype = ctypes.c_uint32 # Cluster ColorControl SubscribeAttribute CurrentX - self._chipLib.chip_ime_SubscribeAttribute_ColorControl_CurrentX.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_SubscribeAttribute_ColorControl_CurrentX.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_SubscribeAttribute_ColorControl_CurrentX.restype = ctypes.c_uint32 # Cluster ColorControl ReadAttribute CurrentY - self._chipLib.chip_ime_ReadAttribute_ColorControl_CurrentY.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ColorControl_CurrentY.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ColorControl_CurrentY.restype = ctypes.c_uint32 # Cluster ColorControl SubscribeAttribute CurrentY - self._chipLib.chip_ime_SubscribeAttribute_ColorControl_CurrentY.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_SubscribeAttribute_ColorControl_CurrentY.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_SubscribeAttribute_ColorControl_CurrentY.restype = ctypes.c_uint32 # Cluster ColorControl ReadAttribute DriftCompensation - self._chipLib.chip_ime_ReadAttribute_ColorControl_DriftCompensation.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ColorControl_DriftCompensation.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ColorControl_DriftCompensation.restype = ctypes.c_uint32 # Cluster ColorControl ReadAttribute CompensationText - self._chipLib.chip_ime_ReadAttribute_ColorControl_CompensationText.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ColorControl_CompensationText.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ColorControl_CompensationText.restype = ctypes.c_uint32 # Cluster ColorControl ReadAttribute ColorTemperature - self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorTemperature.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorTemperature.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorTemperature.restype = ctypes.c_uint32 # Cluster ColorControl SubscribeAttribute ColorTemperature - self._chipLib.chip_ime_SubscribeAttribute_ColorControl_ColorTemperature.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_SubscribeAttribute_ColorControl_ColorTemperature.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_SubscribeAttribute_ColorControl_ColorTemperature.restype = ctypes.c_uint32 # Cluster ColorControl ReadAttribute ColorMode - self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorMode.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorMode.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorMode.restype = ctypes.c_uint32 # Cluster ColorControl ReadAttribute ColorControlOptions - self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorControlOptions.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorControlOptions.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorControlOptions.restype = ctypes.c_uint32 # Cluster ColorControl WriteAttribute ColorControlOptions - self._chipLib.chip_ime_WriteAttribute_ColorControl_ColorControlOptions.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] + self._chipLib.chip_ime_WriteAttribute_ColorControl_ColorControlOptions.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] self._chipLib.chip_ime_WriteAttribute_ColorControl_ColorControlOptions.restype = ctypes.c_uint32 # Cluster ColorControl ReadAttribute NumberOfPrimaries - self._chipLib.chip_ime_ReadAttribute_ColorControl_NumberOfPrimaries.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ColorControl_NumberOfPrimaries.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ColorControl_NumberOfPrimaries.restype = ctypes.c_uint32 # Cluster ColorControl ReadAttribute Primary1X - self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary1X.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary1X.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary1X.restype = ctypes.c_uint32 # Cluster ColorControl ReadAttribute Primary1Y - self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary1Y.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary1Y.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary1Y.restype = ctypes.c_uint32 # Cluster ColorControl ReadAttribute Primary1Intensity - self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary1Intensity.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary1Intensity.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary1Intensity.restype = ctypes.c_uint32 # Cluster ColorControl ReadAttribute Primary2X - self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary2X.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary2X.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary2X.restype = ctypes.c_uint32 # Cluster ColorControl ReadAttribute Primary2Y - self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary2Y.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary2Y.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary2Y.restype = ctypes.c_uint32 # Cluster ColorControl ReadAttribute Primary2Intensity - self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary2Intensity.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary2Intensity.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary2Intensity.restype = ctypes.c_uint32 # Cluster ColorControl ReadAttribute Primary3X - self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary3X.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary3X.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary3X.restype = ctypes.c_uint32 # Cluster ColorControl ReadAttribute Primary3Y - self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary3Y.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary3Y.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary3Y.restype = ctypes.c_uint32 # Cluster ColorControl ReadAttribute Primary3Intensity - self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary3Intensity.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary3Intensity.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary3Intensity.restype = ctypes.c_uint32 # Cluster ColorControl ReadAttribute Primary4X - self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary4X.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary4X.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary4X.restype = ctypes.c_uint32 # Cluster ColorControl ReadAttribute Primary4Y - self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary4Y.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary4Y.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary4Y.restype = ctypes.c_uint32 # Cluster ColorControl ReadAttribute Primary4Intensity - self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary4Intensity.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary4Intensity.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary4Intensity.restype = ctypes.c_uint32 # Cluster ColorControl ReadAttribute Primary5X - self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary5X.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary5X.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary5X.restype = ctypes.c_uint32 # Cluster ColorControl ReadAttribute Primary5Y - self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary5Y.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary5Y.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary5Y.restype = ctypes.c_uint32 # Cluster ColorControl ReadAttribute Primary5Intensity - self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary5Intensity.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary5Intensity.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary5Intensity.restype = ctypes.c_uint32 # Cluster ColorControl ReadAttribute Primary6X - self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary6X.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary6X.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary6X.restype = ctypes.c_uint32 # Cluster ColorControl ReadAttribute Primary6Y - self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary6Y.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary6Y.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary6Y.restype = ctypes.c_uint32 # Cluster ColorControl ReadAttribute Primary6Intensity - self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary6Intensity.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary6Intensity.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ColorControl_Primary6Intensity.restype = ctypes.c_uint32 # Cluster ColorControl ReadAttribute WhitePointX - self._chipLib.chip_ime_ReadAttribute_ColorControl_WhitePointX.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ColorControl_WhitePointX.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ColorControl_WhitePointX.restype = ctypes.c_uint32 # Cluster ColorControl WriteAttribute WhitePointX - self._chipLib.chip_ime_WriteAttribute_ColorControl_WhitePointX.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_WriteAttribute_ColorControl_WhitePointX.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_WriteAttribute_ColorControl_WhitePointX.restype = ctypes.c_uint32 # Cluster ColorControl ReadAttribute WhitePointY - self._chipLib.chip_ime_ReadAttribute_ColorControl_WhitePointY.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ColorControl_WhitePointY.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ColorControl_WhitePointY.restype = ctypes.c_uint32 # Cluster ColorControl WriteAttribute WhitePointY - self._chipLib.chip_ime_WriteAttribute_ColorControl_WhitePointY.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_WriteAttribute_ColorControl_WhitePointY.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_WriteAttribute_ColorControl_WhitePointY.restype = ctypes.c_uint32 # Cluster ColorControl ReadAttribute ColorPointRX - self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorPointRX.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorPointRX.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorPointRX.restype = ctypes.c_uint32 # Cluster ColorControl WriteAttribute ColorPointRX - self._chipLib.chip_ime_WriteAttribute_ColorControl_ColorPointRX.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_WriteAttribute_ColorControl_ColorPointRX.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_WriteAttribute_ColorControl_ColorPointRX.restype = ctypes.c_uint32 # Cluster ColorControl ReadAttribute ColorPointRY - self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorPointRY.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorPointRY.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorPointRY.restype = ctypes.c_uint32 # Cluster ColorControl WriteAttribute ColorPointRY - self._chipLib.chip_ime_WriteAttribute_ColorControl_ColorPointRY.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_WriteAttribute_ColorControl_ColorPointRY.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_WriteAttribute_ColorControl_ColorPointRY.restype = ctypes.c_uint32 # Cluster ColorControl ReadAttribute ColorPointRIntensity - self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorPointRIntensity.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorPointRIntensity.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorPointRIntensity.restype = ctypes.c_uint32 # Cluster ColorControl WriteAttribute ColorPointRIntensity - self._chipLib.chip_ime_WriteAttribute_ColorControl_ColorPointRIntensity.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] + self._chipLib.chip_ime_WriteAttribute_ColorControl_ColorPointRIntensity.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] self._chipLib.chip_ime_WriteAttribute_ColorControl_ColorPointRIntensity.restype = ctypes.c_uint32 # Cluster ColorControl ReadAttribute ColorPointGX - self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorPointGX.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorPointGX.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorPointGX.restype = ctypes.c_uint32 # Cluster ColorControl WriteAttribute ColorPointGX - self._chipLib.chip_ime_WriteAttribute_ColorControl_ColorPointGX.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_WriteAttribute_ColorControl_ColorPointGX.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_WriteAttribute_ColorControl_ColorPointGX.restype = ctypes.c_uint32 # Cluster ColorControl ReadAttribute ColorPointGY - self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorPointGY.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorPointGY.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorPointGY.restype = ctypes.c_uint32 # Cluster ColorControl WriteAttribute ColorPointGY - self._chipLib.chip_ime_WriteAttribute_ColorControl_ColorPointGY.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_WriteAttribute_ColorControl_ColorPointGY.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_WriteAttribute_ColorControl_ColorPointGY.restype = ctypes.c_uint32 # Cluster ColorControl ReadAttribute ColorPointGIntensity - self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorPointGIntensity.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorPointGIntensity.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorPointGIntensity.restype = ctypes.c_uint32 # Cluster ColorControl WriteAttribute ColorPointGIntensity - self._chipLib.chip_ime_WriteAttribute_ColorControl_ColorPointGIntensity.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] + self._chipLib.chip_ime_WriteAttribute_ColorControl_ColorPointGIntensity.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] self._chipLib.chip_ime_WriteAttribute_ColorControl_ColorPointGIntensity.restype = ctypes.c_uint32 # Cluster ColorControl ReadAttribute ColorPointBX - self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorPointBX.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorPointBX.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorPointBX.restype = ctypes.c_uint32 # Cluster ColorControl WriteAttribute ColorPointBX - self._chipLib.chip_ime_WriteAttribute_ColorControl_ColorPointBX.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_WriteAttribute_ColorControl_ColorPointBX.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_WriteAttribute_ColorControl_ColorPointBX.restype = ctypes.c_uint32 # Cluster ColorControl ReadAttribute ColorPointBY - self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorPointBY.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorPointBY.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorPointBY.restype = ctypes.c_uint32 # Cluster ColorControl WriteAttribute ColorPointBY - self._chipLib.chip_ime_WriteAttribute_ColorControl_ColorPointBY.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_WriteAttribute_ColorControl_ColorPointBY.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_WriteAttribute_ColorControl_ColorPointBY.restype = ctypes.c_uint32 # Cluster ColorControl ReadAttribute ColorPointBIntensity - self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorPointBIntensity.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorPointBIntensity.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorPointBIntensity.restype = ctypes.c_uint32 # Cluster ColorControl WriteAttribute ColorPointBIntensity - self._chipLib.chip_ime_WriteAttribute_ColorControl_ColorPointBIntensity.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] + self._chipLib.chip_ime_WriteAttribute_ColorControl_ColorPointBIntensity.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] self._chipLib.chip_ime_WriteAttribute_ColorControl_ColorPointBIntensity.restype = ctypes.c_uint32 # Cluster ColorControl ReadAttribute EnhancedCurrentHue - self._chipLib.chip_ime_ReadAttribute_ColorControl_EnhancedCurrentHue.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ColorControl_EnhancedCurrentHue.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ColorControl_EnhancedCurrentHue.restype = ctypes.c_uint32 # Cluster ColorControl ReadAttribute EnhancedColorMode - self._chipLib.chip_ime_ReadAttribute_ColorControl_EnhancedColorMode.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ColorControl_EnhancedColorMode.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ColorControl_EnhancedColorMode.restype = ctypes.c_uint32 # Cluster ColorControl ReadAttribute ColorLoopActive - self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorLoopActive.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorLoopActive.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorLoopActive.restype = ctypes.c_uint32 # Cluster ColorControl ReadAttribute ColorLoopDirection - self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorLoopDirection.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorLoopDirection.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorLoopDirection.restype = ctypes.c_uint32 # Cluster ColorControl ReadAttribute ColorLoopTime - self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorLoopTime.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorLoopTime.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorLoopTime.restype = ctypes.c_uint32 # Cluster ColorControl ReadAttribute ColorLoopStartEnhancedHue - self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorLoopStartEnhancedHue.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorLoopStartEnhancedHue.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorLoopStartEnhancedHue.restype = ctypes.c_uint32 # Cluster ColorControl ReadAttribute ColorLoopStoredEnhancedHue - self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorLoopStoredEnhancedHue.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorLoopStoredEnhancedHue.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorLoopStoredEnhancedHue.restype = ctypes.c_uint32 # Cluster ColorControl ReadAttribute ColorCapabilities - self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorCapabilities.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorCapabilities.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorCapabilities.restype = ctypes.c_uint32 # Cluster ColorControl ReadAttribute ColorTempPhysicalMin - self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorTempPhysicalMin.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorTempPhysicalMin.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorTempPhysicalMin.restype = ctypes.c_uint32 # Cluster ColorControl ReadAttribute ColorTempPhysicalMax - self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorTempPhysicalMax.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorTempPhysicalMax.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ColorControl_ColorTempPhysicalMax.restype = ctypes.c_uint32 # Cluster ColorControl ReadAttribute CoupleColorTempToLevelMinMireds - self._chipLib.chip_ime_ReadAttribute_ColorControl_CoupleColorTempToLevelMinMireds.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ColorControl_CoupleColorTempToLevelMinMireds.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ColorControl_CoupleColorTempToLevelMinMireds.restype = ctypes.c_uint32 # Cluster ColorControl ReadAttribute StartUpColorTemperatureMireds - self._chipLib.chip_ime_ReadAttribute_ColorControl_StartUpColorTemperatureMireds.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ColorControl_StartUpColorTemperatureMireds.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ColorControl_StartUpColorTemperatureMireds.restype = ctypes.c_uint32 # Cluster ColorControl WriteAttribute StartUpColorTemperatureMireds - self._chipLib.chip_ime_WriteAttribute_ColorControl_StartUpColorTemperatureMireds.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_WriteAttribute_ColorControl_StartUpColorTemperatureMireds.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_WriteAttribute_ColorControl_StartUpColorTemperatureMireds.restype = ctypes.c_uint32 # Cluster ColorControl ReadAttribute ClusterRevision - self._chipLib.chip_ime_ReadAttribute_ColorControl_ClusterRevision.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ColorControl_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ColorControl_ClusterRevision.restype = ctypes.c_uint32 # Cluster ContentLauncher # Cluster ContentLauncher Command LaunchContent - self._chipLib.chip_ime_AppendCommand_ContentLauncher_LaunchContent.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_bool, ctypes.c_char_p, ctypes.c_uint32] + self._chipLib.chip_ime_AppendCommand_ContentLauncher_LaunchContent.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_bool, ctypes.c_char_p, ctypes.c_uint32] self._chipLib.chip_ime_AppendCommand_ContentLauncher_LaunchContent.restype = ctypes.c_uint32 # Cluster ContentLauncher Command LaunchURL - self._chipLib.chip_ime_AppendCommand_ContentLauncher_LaunchURL.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_char_p, ctypes.c_uint32] + self._chipLib.chip_ime_AppendCommand_ContentLauncher_LaunchURL.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_char_p, ctypes.c_uint32] self._chipLib.chip_ime_AppendCommand_ContentLauncher_LaunchURL.restype = ctypes.c_uint32 # Cluster ContentLauncher ReadAttribute AcceptsHeaderList - self._chipLib.chip_ime_ReadAttribute_ContentLauncher_AcceptsHeaderList.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ContentLauncher_AcceptsHeaderList.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ContentLauncher_AcceptsHeaderList.restype = ctypes.c_uint32 # Cluster ContentLauncher ReadAttribute SupportedStreamingTypes - self._chipLib.chip_ime_ReadAttribute_ContentLauncher_SupportedStreamingTypes.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ContentLauncher_SupportedStreamingTypes.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ContentLauncher_SupportedStreamingTypes.restype = ctypes.c_uint32 # Cluster ContentLauncher ReadAttribute ClusterRevision - self._chipLib.chip_ime_ReadAttribute_ContentLauncher_ClusterRevision.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ContentLauncher_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ContentLauncher_ClusterRevision.restype = ctypes.c_uint32 # Cluster Descriptor # Cluster Descriptor ReadAttribute DeviceList - self._chipLib.chip_ime_ReadAttribute_Descriptor_DeviceList.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Descriptor_DeviceList.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Descriptor_DeviceList.restype = ctypes.c_uint32 # Cluster Descriptor ReadAttribute ServerList - self._chipLib.chip_ime_ReadAttribute_Descriptor_ServerList.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Descriptor_ServerList.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Descriptor_ServerList.restype = ctypes.c_uint32 # Cluster Descriptor ReadAttribute ClientList - self._chipLib.chip_ime_ReadAttribute_Descriptor_ClientList.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Descriptor_ClientList.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Descriptor_ClientList.restype = ctypes.c_uint32 # Cluster Descriptor ReadAttribute PartsList - self._chipLib.chip_ime_ReadAttribute_Descriptor_PartsList.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Descriptor_PartsList.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Descriptor_PartsList.restype = ctypes.c_uint32 # Cluster Descriptor ReadAttribute ClusterRevision - self._chipLib.chip_ime_ReadAttribute_Descriptor_ClusterRevision.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Descriptor_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Descriptor_ClusterRevision.restype = ctypes.c_uint32 # Cluster DiagnosticLogs # Cluster DiagnosticLogs Command RetrieveLogsRequest - self._chipLib.chip_ime_AppendCommand_DiagnosticLogs_RetrieveLogsRequest.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_char_p, ctypes.c_uint32] + self._chipLib.chip_ime_AppendCommand_DiagnosticLogs_RetrieveLogsRequest.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_char_p, ctypes.c_uint32] self._chipLib.chip_ime_AppendCommand_DiagnosticLogs_RetrieveLogsRequest.restype = ctypes.c_uint32 # Cluster DoorLock # Cluster DoorLock Command ClearAllPins - self._chipLib.chip_ime_AppendCommand_DoorLock_ClearAllPins.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_DoorLock_ClearAllPins.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_DoorLock_ClearAllPins.restype = ctypes.c_uint32 # Cluster DoorLock Command ClearAllRfids - self._chipLib.chip_ime_AppendCommand_DoorLock_ClearAllRfids.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_DoorLock_ClearAllRfids.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_DoorLock_ClearAllRfids.restype = ctypes.c_uint32 # Cluster DoorLock Command ClearHolidaySchedule - self._chipLib.chip_ime_AppendCommand_DoorLock_ClearHolidaySchedule.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] + self._chipLib.chip_ime_AppendCommand_DoorLock_ClearHolidaySchedule.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] self._chipLib.chip_ime_AppendCommand_DoorLock_ClearHolidaySchedule.restype = ctypes.c_uint32 # Cluster DoorLock Command ClearPin - self._chipLib.chip_ime_AppendCommand_DoorLock_ClearPin.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_DoorLock_ClearPin.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_DoorLock_ClearPin.restype = ctypes.c_uint32 # Cluster DoorLock Command ClearRfid - self._chipLib.chip_ime_AppendCommand_DoorLock_ClearRfid.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_DoorLock_ClearRfid.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_DoorLock_ClearRfid.restype = ctypes.c_uint32 # Cluster DoorLock Command ClearWeekdaySchedule - self._chipLib.chip_ime_AppendCommand_DoorLock_ClearWeekdaySchedule.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_DoorLock_ClearWeekdaySchedule.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_DoorLock_ClearWeekdaySchedule.restype = ctypes.c_uint32 # Cluster DoorLock Command ClearYeardaySchedule - self._chipLib.chip_ime_AppendCommand_DoorLock_ClearYeardaySchedule.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_DoorLock_ClearYeardaySchedule.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_DoorLock_ClearYeardaySchedule.restype = ctypes.c_uint32 # Cluster DoorLock Command GetHolidaySchedule - self._chipLib.chip_ime_AppendCommand_DoorLock_GetHolidaySchedule.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] + self._chipLib.chip_ime_AppendCommand_DoorLock_GetHolidaySchedule.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] self._chipLib.chip_ime_AppendCommand_DoorLock_GetHolidaySchedule.restype = ctypes.c_uint32 # Cluster DoorLock Command GetLogRecord - self._chipLib.chip_ime_AppendCommand_DoorLock_GetLogRecord.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_DoorLock_GetLogRecord.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_DoorLock_GetLogRecord.restype = ctypes.c_uint32 # Cluster DoorLock Command GetPin - self._chipLib.chip_ime_AppendCommand_DoorLock_GetPin.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_DoorLock_GetPin.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_DoorLock_GetPin.restype = ctypes.c_uint32 # Cluster DoorLock Command GetRfid - self._chipLib.chip_ime_AppendCommand_DoorLock_GetRfid.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_DoorLock_GetRfid.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_DoorLock_GetRfid.restype = ctypes.c_uint32 # Cluster DoorLock Command GetUserType - self._chipLib.chip_ime_AppendCommand_DoorLock_GetUserType.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_DoorLock_GetUserType.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_DoorLock_GetUserType.restype = ctypes.c_uint32 # Cluster DoorLock Command GetWeekdaySchedule - self._chipLib.chip_ime_AppendCommand_DoorLock_GetWeekdaySchedule.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_DoorLock_GetWeekdaySchedule.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_DoorLock_GetWeekdaySchedule.restype = ctypes.c_uint32 # Cluster DoorLock Command GetYeardaySchedule - self._chipLib.chip_ime_AppendCommand_DoorLock_GetYeardaySchedule.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_DoorLock_GetYeardaySchedule.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_DoorLock_GetYeardaySchedule.restype = ctypes.c_uint32 # Cluster DoorLock Command LockDoor - self._chipLib.chip_ime_AppendCommand_DoorLock_LockDoor.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32] + self._chipLib.chip_ime_AppendCommand_DoorLock_LockDoor.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32] self._chipLib.chip_ime_AppendCommand_DoorLock_LockDoor.restype = ctypes.c_uint32 # Cluster DoorLock Command SetHolidaySchedule - self._chipLib.chip_ime_AppendCommand_DoorLock_SetHolidaySchedule.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint32, ctypes.c_uint32, ctypes.c_uint8] + self._chipLib.chip_ime_AppendCommand_DoorLock_SetHolidaySchedule.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint32, ctypes.c_uint32, ctypes.c_uint8] self._chipLib.chip_ime_AppendCommand_DoorLock_SetHolidaySchedule.restype = ctypes.c_uint32 # Cluster DoorLock Command SetPin - self._chipLib.chip_ime_AppendCommand_DoorLock_SetPin.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_char_p, ctypes.c_uint32] + self._chipLib.chip_ime_AppendCommand_DoorLock_SetPin.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_char_p, ctypes.c_uint32] self._chipLib.chip_ime_AppendCommand_DoorLock_SetPin.restype = ctypes.c_uint32 # Cluster DoorLock Command SetRfid - self._chipLib.chip_ime_AppendCommand_DoorLock_SetRfid.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_char_p, ctypes.c_uint32] + self._chipLib.chip_ime_AppendCommand_DoorLock_SetRfid.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_char_p, ctypes.c_uint32] self._chipLib.chip_ime_AppendCommand_DoorLock_SetRfid.restype = ctypes.c_uint32 # Cluster DoorLock Command SetUserType - self._chipLib.chip_ime_AppendCommand_DoorLock_SetUserType.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint8] + self._chipLib.chip_ime_AppendCommand_DoorLock_SetUserType.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint8] self._chipLib.chip_ime_AppendCommand_DoorLock_SetUserType.restype = ctypes.c_uint32 # Cluster DoorLock Command SetWeekdaySchedule - self._chipLib.chip_ime_AppendCommand_DoorLock_SetWeekdaySchedule.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint8] + self._chipLib.chip_ime_AppendCommand_DoorLock_SetWeekdaySchedule.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint8] self._chipLib.chip_ime_AppendCommand_DoorLock_SetWeekdaySchedule.restype = ctypes.c_uint32 # Cluster DoorLock Command SetYeardaySchedule - self._chipLib.chip_ime_AppendCommand_DoorLock_SetYeardaySchedule.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint32, ctypes.c_uint32] + self._chipLib.chip_ime_AppendCommand_DoorLock_SetYeardaySchedule.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint32, ctypes.c_uint32] self._chipLib.chip_ime_AppendCommand_DoorLock_SetYeardaySchedule.restype = ctypes.c_uint32 # Cluster DoorLock Command UnlockDoor - self._chipLib.chip_ime_AppendCommand_DoorLock_UnlockDoor.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32] + self._chipLib.chip_ime_AppendCommand_DoorLock_UnlockDoor.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32] self._chipLib.chip_ime_AppendCommand_DoorLock_UnlockDoor.restype = ctypes.c_uint32 # Cluster DoorLock Command UnlockWithTimeout - self._chipLib.chip_ime_AppendCommand_DoorLock_UnlockWithTimeout.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32] + self._chipLib.chip_ime_AppendCommand_DoorLock_UnlockWithTimeout.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32] self._chipLib.chip_ime_AppendCommand_DoorLock_UnlockWithTimeout.restype = ctypes.c_uint32 # Cluster DoorLock ReadAttribute LockState - self._chipLib.chip_ime_ReadAttribute_DoorLock_LockState.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_DoorLock_LockState.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_DoorLock_LockState.restype = ctypes.c_uint32 # Cluster DoorLock SubscribeAttribute LockState - self._chipLib.chip_ime_SubscribeAttribute_DoorLock_LockState.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_SubscribeAttribute_DoorLock_LockState.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_SubscribeAttribute_DoorLock_LockState.restype = ctypes.c_uint32 # Cluster DoorLock ReadAttribute LockType - self._chipLib.chip_ime_ReadAttribute_DoorLock_LockType.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_DoorLock_LockType.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_DoorLock_LockType.restype = ctypes.c_uint32 # Cluster DoorLock ReadAttribute ActuatorEnabled - self._chipLib.chip_ime_ReadAttribute_DoorLock_ActuatorEnabled.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_DoorLock_ActuatorEnabled.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_DoorLock_ActuatorEnabled.restype = ctypes.c_uint32 # Cluster DoorLock ReadAttribute ClusterRevision - self._chipLib.chip_ime_ReadAttribute_DoorLock_ClusterRevision.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_DoorLock_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_DoorLock_ClusterRevision.restype = ctypes.c_uint32 # Cluster ElectricalMeasurement # Cluster ElectricalMeasurement ReadAttribute MeasurementType - self._chipLib.chip_ime_ReadAttribute_ElectricalMeasurement_MeasurementType.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ElectricalMeasurement_MeasurementType.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ElectricalMeasurement_MeasurementType.restype = ctypes.c_uint32 # Cluster ElectricalMeasurement ReadAttribute TotalActivePower - self._chipLib.chip_ime_ReadAttribute_ElectricalMeasurement_TotalActivePower.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ElectricalMeasurement_TotalActivePower.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ElectricalMeasurement_TotalActivePower.restype = ctypes.c_uint32 # Cluster ElectricalMeasurement ReadAttribute RmsVoltage - self._chipLib.chip_ime_ReadAttribute_ElectricalMeasurement_RmsVoltage.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ElectricalMeasurement_RmsVoltage.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ElectricalMeasurement_RmsVoltage.restype = ctypes.c_uint32 # Cluster ElectricalMeasurement ReadAttribute RmsVoltageMin - self._chipLib.chip_ime_ReadAttribute_ElectricalMeasurement_RmsVoltageMin.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ElectricalMeasurement_RmsVoltageMin.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ElectricalMeasurement_RmsVoltageMin.restype = ctypes.c_uint32 # Cluster ElectricalMeasurement ReadAttribute RmsVoltageMax - self._chipLib.chip_ime_ReadAttribute_ElectricalMeasurement_RmsVoltageMax.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ElectricalMeasurement_RmsVoltageMax.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ElectricalMeasurement_RmsVoltageMax.restype = ctypes.c_uint32 # Cluster ElectricalMeasurement ReadAttribute RmsCurrent - self._chipLib.chip_ime_ReadAttribute_ElectricalMeasurement_RmsCurrent.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ElectricalMeasurement_RmsCurrent.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ElectricalMeasurement_RmsCurrent.restype = ctypes.c_uint32 # Cluster ElectricalMeasurement ReadAttribute RmsCurrentMin - self._chipLib.chip_ime_ReadAttribute_ElectricalMeasurement_RmsCurrentMin.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ElectricalMeasurement_RmsCurrentMin.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ElectricalMeasurement_RmsCurrentMin.restype = ctypes.c_uint32 # Cluster ElectricalMeasurement ReadAttribute RmsCurrentMax - self._chipLib.chip_ime_ReadAttribute_ElectricalMeasurement_RmsCurrentMax.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ElectricalMeasurement_RmsCurrentMax.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ElectricalMeasurement_RmsCurrentMax.restype = ctypes.c_uint32 # Cluster ElectricalMeasurement ReadAttribute ActivePower - self._chipLib.chip_ime_ReadAttribute_ElectricalMeasurement_ActivePower.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ElectricalMeasurement_ActivePower.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ElectricalMeasurement_ActivePower.restype = ctypes.c_uint32 # Cluster ElectricalMeasurement ReadAttribute ActivePowerMin - self._chipLib.chip_ime_ReadAttribute_ElectricalMeasurement_ActivePowerMin.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ElectricalMeasurement_ActivePowerMin.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ElectricalMeasurement_ActivePowerMin.restype = ctypes.c_uint32 # Cluster ElectricalMeasurement ReadAttribute ActivePowerMax - self._chipLib.chip_ime_ReadAttribute_ElectricalMeasurement_ActivePowerMax.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ElectricalMeasurement_ActivePowerMax.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ElectricalMeasurement_ActivePowerMax.restype = ctypes.c_uint32 # Cluster ElectricalMeasurement ReadAttribute ClusterRevision - self._chipLib.chip_ime_ReadAttribute_ElectricalMeasurement_ClusterRevision.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ElectricalMeasurement_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ElectricalMeasurement_ClusterRevision.restype = ctypes.c_uint32 # Cluster EthernetNetworkDiagnostics # Cluster EthernetNetworkDiagnostics Command ResetCounts - self._chipLib.chip_ime_AppendCommand_EthernetNetworkDiagnostics_ResetCounts.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_EthernetNetworkDiagnostics_ResetCounts.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_EthernetNetworkDiagnostics_ResetCounts.restype = ctypes.c_uint32 # Cluster EthernetNetworkDiagnostics ReadAttribute PHYRate - self._chipLib.chip_ime_ReadAttribute_EthernetNetworkDiagnostics_PHYRate.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_EthernetNetworkDiagnostics_PHYRate.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_EthernetNetworkDiagnostics_PHYRate.restype = ctypes.c_uint32 # Cluster EthernetNetworkDiagnostics ReadAttribute FullDuplex - self._chipLib.chip_ime_ReadAttribute_EthernetNetworkDiagnostics_FullDuplex.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_EthernetNetworkDiagnostics_FullDuplex.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_EthernetNetworkDiagnostics_FullDuplex.restype = ctypes.c_uint32 # Cluster EthernetNetworkDiagnostics ReadAttribute PacketRxCount - self._chipLib.chip_ime_ReadAttribute_EthernetNetworkDiagnostics_PacketRxCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_EthernetNetworkDiagnostics_PacketRxCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_EthernetNetworkDiagnostics_PacketRxCount.restype = ctypes.c_uint32 # Cluster EthernetNetworkDiagnostics ReadAttribute PacketTxCount - self._chipLib.chip_ime_ReadAttribute_EthernetNetworkDiagnostics_PacketTxCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_EthernetNetworkDiagnostics_PacketTxCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_EthernetNetworkDiagnostics_PacketTxCount.restype = ctypes.c_uint32 # Cluster EthernetNetworkDiagnostics ReadAttribute TxErrCount - self._chipLib.chip_ime_ReadAttribute_EthernetNetworkDiagnostics_TxErrCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_EthernetNetworkDiagnostics_TxErrCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_EthernetNetworkDiagnostics_TxErrCount.restype = ctypes.c_uint32 # Cluster EthernetNetworkDiagnostics ReadAttribute CollisionCount - self._chipLib.chip_ime_ReadAttribute_EthernetNetworkDiagnostics_CollisionCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_EthernetNetworkDiagnostics_CollisionCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_EthernetNetworkDiagnostics_CollisionCount.restype = ctypes.c_uint32 # Cluster EthernetNetworkDiagnostics ReadAttribute OverrunCount - self._chipLib.chip_ime_ReadAttribute_EthernetNetworkDiagnostics_OverrunCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_EthernetNetworkDiagnostics_OverrunCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_EthernetNetworkDiagnostics_OverrunCount.restype = ctypes.c_uint32 # Cluster EthernetNetworkDiagnostics ReadAttribute CarrierDetect - self._chipLib.chip_ime_ReadAttribute_EthernetNetworkDiagnostics_CarrierDetect.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_EthernetNetworkDiagnostics_CarrierDetect.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_EthernetNetworkDiagnostics_CarrierDetect.restype = ctypes.c_uint32 # Cluster EthernetNetworkDiagnostics ReadAttribute TimeSinceReset - self._chipLib.chip_ime_ReadAttribute_EthernetNetworkDiagnostics_TimeSinceReset.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_EthernetNetworkDiagnostics_TimeSinceReset.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_EthernetNetworkDiagnostics_TimeSinceReset.restype = ctypes.c_uint32 # Cluster EthernetNetworkDiagnostics ReadAttribute ClusterRevision - self._chipLib.chip_ime_ReadAttribute_EthernetNetworkDiagnostics_ClusterRevision.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_EthernetNetworkDiagnostics_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_EthernetNetworkDiagnostics_ClusterRevision.restype = ctypes.c_uint32 # Cluster FixedLabel # Cluster FixedLabel ReadAttribute LabelList - self._chipLib.chip_ime_ReadAttribute_FixedLabel_LabelList.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_FixedLabel_LabelList.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_FixedLabel_LabelList.restype = ctypes.c_uint32 # Cluster FixedLabel ReadAttribute ClusterRevision - self._chipLib.chip_ime_ReadAttribute_FixedLabel_ClusterRevision.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_FixedLabel_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_FixedLabel_ClusterRevision.restype = ctypes.c_uint32 # Cluster FlowMeasurement # Cluster FlowMeasurement ReadAttribute MeasuredValue - self._chipLib.chip_ime_ReadAttribute_FlowMeasurement_MeasuredValue.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_FlowMeasurement_MeasuredValue.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_FlowMeasurement_MeasuredValue.restype = ctypes.c_uint32 # Cluster FlowMeasurement ReadAttribute MinMeasuredValue - self._chipLib.chip_ime_ReadAttribute_FlowMeasurement_MinMeasuredValue.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_FlowMeasurement_MinMeasuredValue.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_FlowMeasurement_MinMeasuredValue.restype = ctypes.c_uint32 # Cluster FlowMeasurement ReadAttribute MaxMeasuredValue - self._chipLib.chip_ime_ReadAttribute_FlowMeasurement_MaxMeasuredValue.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_FlowMeasurement_MaxMeasuredValue.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_FlowMeasurement_MaxMeasuredValue.restype = ctypes.c_uint32 # Cluster FlowMeasurement ReadAttribute Tolerance - self._chipLib.chip_ime_ReadAttribute_FlowMeasurement_Tolerance.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_FlowMeasurement_Tolerance.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_FlowMeasurement_Tolerance.restype = ctypes.c_uint32 # Cluster FlowMeasurement ReadAttribute ClusterRevision - self._chipLib.chip_ime_ReadAttribute_FlowMeasurement_ClusterRevision.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_FlowMeasurement_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_FlowMeasurement_ClusterRevision.restype = ctypes.c_uint32 # Cluster GeneralCommissioning # Cluster GeneralCommissioning Command ArmFailSafe - self._chipLib.chip_ime_AppendCommand_GeneralCommissioning_ArmFailSafe.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint64, ctypes.c_uint32] + self._chipLib.chip_ime_AppendCommand_GeneralCommissioning_ArmFailSafe.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint64, ctypes.c_uint32] self._chipLib.chip_ime_AppendCommand_GeneralCommissioning_ArmFailSafe.restype = ctypes.c_uint32 # Cluster GeneralCommissioning Command CommissioningComplete - self._chipLib.chip_ime_AppendCommand_GeneralCommissioning_CommissioningComplete.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_GeneralCommissioning_CommissioningComplete.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_GeneralCommissioning_CommissioningComplete.restype = ctypes.c_uint32 # Cluster GeneralCommissioning Command SetRegulatoryConfig - self._chipLib.chip_ime_AppendCommand_GeneralCommissioning_SetRegulatoryConfig.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_uint64, ctypes.c_uint32] + self._chipLib.chip_ime_AppendCommand_GeneralCommissioning_SetRegulatoryConfig.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_uint64, ctypes.c_uint32] self._chipLib.chip_ime_AppendCommand_GeneralCommissioning_SetRegulatoryConfig.restype = ctypes.c_uint32 # Cluster GeneralCommissioning ReadAttribute Breadcrumb - self._chipLib.chip_ime_ReadAttribute_GeneralCommissioning_Breadcrumb.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_GeneralCommissioning_Breadcrumb.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_GeneralCommissioning_Breadcrumb.restype = ctypes.c_uint32 # Cluster GeneralCommissioning WriteAttribute Breadcrumb - self._chipLib.chip_ime_WriteAttribute_GeneralCommissioning_Breadcrumb.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint64] + self._chipLib.chip_ime_WriteAttribute_GeneralCommissioning_Breadcrumb.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint64] self._chipLib.chip_ime_WriteAttribute_GeneralCommissioning_Breadcrumb.restype = ctypes.c_uint32 # Cluster GeneralCommissioning ReadAttribute BasicCommissioningInfoList - self._chipLib.chip_ime_ReadAttribute_GeneralCommissioning_BasicCommissioningInfoList.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_GeneralCommissioning_BasicCommissioningInfoList.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_GeneralCommissioning_BasicCommissioningInfoList.restype = ctypes.c_uint32 # Cluster GeneralCommissioning ReadAttribute ClusterRevision - self._chipLib.chip_ime_ReadAttribute_GeneralCommissioning_ClusterRevision.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_GeneralCommissioning_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_GeneralCommissioning_ClusterRevision.restype = ctypes.c_uint32 # Cluster GeneralDiagnostics # Cluster GeneralDiagnostics ReadAttribute NetworkInterfaces - self._chipLib.chip_ime_ReadAttribute_GeneralDiagnostics_NetworkInterfaces.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_GeneralDiagnostics_NetworkInterfaces.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_GeneralDiagnostics_NetworkInterfaces.restype = ctypes.c_uint32 # Cluster GeneralDiagnostics ReadAttribute RebootCount - self._chipLib.chip_ime_ReadAttribute_GeneralDiagnostics_RebootCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_GeneralDiagnostics_RebootCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_GeneralDiagnostics_RebootCount.restype = ctypes.c_uint32 # Cluster GeneralDiagnostics ReadAttribute UpTime - self._chipLib.chip_ime_ReadAttribute_GeneralDiagnostics_UpTime.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_GeneralDiagnostics_UpTime.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_GeneralDiagnostics_UpTime.restype = ctypes.c_uint32 # Cluster GeneralDiagnostics ReadAttribute TotalOperationalHours - self._chipLib.chip_ime_ReadAttribute_GeneralDiagnostics_TotalOperationalHours.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_GeneralDiagnostics_TotalOperationalHours.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_GeneralDiagnostics_TotalOperationalHours.restype = ctypes.c_uint32 # Cluster GeneralDiagnostics ReadAttribute BootReasons - self._chipLib.chip_ime_ReadAttribute_GeneralDiagnostics_BootReasons.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_GeneralDiagnostics_BootReasons.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_GeneralDiagnostics_BootReasons.restype = ctypes.c_uint32 # Cluster GeneralDiagnostics ReadAttribute ClusterRevision - self._chipLib.chip_ime_ReadAttribute_GeneralDiagnostics_ClusterRevision.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_GeneralDiagnostics_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_GeneralDiagnostics_ClusterRevision.restype = ctypes.c_uint32 # Cluster GroupKeyManagement # Cluster GroupKeyManagement ReadAttribute Groups - self._chipLib.chip_ime_ReadAttribute_GroupKeyManagement_Groups.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_GroupKeyManagement_Groups.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_GroupKeyManagement_Groups.restype = ctypes.c_uint32 # Cluster GroupKeyManagement ReadAttribute GroupKeys - self._chipLib.chip_ime_ReadAttribute_GroupKeyManagement_GroupKeys.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_GroupKeyManagement_GroupKeys.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_GroupKeyManagement_GroupKeys.restype = ctypes.c_uint32 # Cluster GroupKeyManagement ReadAttribute ClusterRevision - self._chipLib.chip_ime_ReadAttribute_GroupKeyManagement_ClusterRevision.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_GroupKeyManagement_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_GroupKeyManagement_ClusterRevision.restype = ctypes.c_uint32 # Cluster Groups # Cluster Groups Command AddGroup - self._chipLib.chip_ime_AppendCommand_Groups_AddGroup.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32] + self._chipLib.chip_ime_AppendCommand_Groups_AddGroup.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32] self._chipLib.chip_ime_AppendCommand_Groups_AddGroup.restype = ctypes.c_uint32 # Cluster Groups Command AddGroupIfIdentifying - self._chipLib.chip_ime_AppendCommand_Groups_AddGroupIfIdentifying.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32] + self._chipLib.chip_ime_AppendCommand_Groups_AddGroupIfIdentifying.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32] self._chipLib.chip_ime_AppendCommand_Groups_AddGroupIfIdentifying.restype = ctypes.c_uint32 # Cluster Groups Command GetGroupMembership - self._chipLib.chip_ime_AppendCommand_Groups_GetGroupMembership.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_Groups_GetGroupMembership.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_Groups_GetGroupMembership.restype = ctypes.c_uint32 # Cluster Groups Command RemoveAllGroups - self._chipLib.chip_ime_AppendCommand_Groups_RemoveAllGroups.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_Groups_RemoveAllGroups.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_Groups_RemoveAllGroups.restype = ctypes.c_uint32 # Cluster Groups Command RemoveGroup - self._chipLib.chip_ime_AppendCommand_Groups_RemoveGroup.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_Groups_RemoveGroup.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_Groups_RemoveGroup.restype = ctypes.c_uint32 # Cluster Groups Command ViewGroup - self._chipLib.chip_ime_AppendCommand_Groups_ViewGroup.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_Groups_ViewGroup.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_Groups_ViewGroup.restype = ctypes.c_uint32 # Cluster Groups ReadAttribute NameSupport - self._chipLib.chip_ime_ReadAttribute_Groups_NameSupport.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Groups_NameSupport.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Groups_NameSupport.restype = ctypes.c_uint32 # Cluster Groups ReadAttribute ClusterRevision - self._chipLib.chip_ime_ReadAttribute_Groups_ClusterRevision.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Groups_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Groups_ClusterRevision.restype = ctypes.c_uint32 # Cluster Identify # Cluster Identify Command Identify - self._chipLib.chip_ime_AppendCommand_Identify_Identify.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_Identify_Identify.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_Identify_Identify.restype = ctypes.c_uint32 # Cluster Identify Command IdentifyQuery - self._chipLib.chip_ime_AppendCommand_Identify_IdentifyQuery.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_Identify_IdentifyQuery.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_Identify_IdentifyQuery.restype = ctypes.c_uint32 # Cluster Identify Command TriggerEffect - self._chipLib.chip_ime_AppendCommand_Identify_TriggerEffect.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8] + self._chipLib.chip_ime_AppendCommand_Identify_TriggerEffect.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8] self._chipLib.chip_ime_AppendCommand_Identify_TriggerEffect.restype = ctypes.c_uint32 # Cluster Identify ReadAttribute IdentifyTime - self._chipLib.chip_ime_ReadAttribute_Identify_IdentifyTime.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Identify_IdentifyTime.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Identify_IdentifyTime.restype = ctypes.c_uint32 # Cluster Identify WriteAttribute IdentifyTime - self._chipLib.chip_ime_WriteAttribute_Identify_IdentifyTime.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_WriteAttribute_Identify_IdentifyTime.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_WriteAttribute_Identify_IdentifyTime.restype = ctypes.c_uint32 # Cluster Identify ReadAttribute IdentifyType - self._chipLib.chip_ime_ReadAttribute_Identify_IdentifyType.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Identify_IdentifyType.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Identify_IdentifyType.restype = ctypes.c_uint32 # Cluster Identify ReadAttribute ClusterRevision - self._chipLib.chip_ime_ReadAttribute_Identify_ClusterRevision.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Identify_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Identify_ClusterRevision.restype = ctypes.c_uint32 # Cluster IlluminanceMeasurement # Cluster IlluminanceMeasurement ReadAttribute MeasuredValue - self._chipLib.chip_ime_ReadAttribute_IlluminanceMeasurement_MeasuredValue.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_IlluminanceMeasurement_MeasuredValue.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_IlluminanceMeasurement_MeasuredValue.restype = ctypes.c_uint32 # Cluster IlluminanceMeasurement SubscribeAttribute MeasuredValue - self._chipLib.chip_ime_SubscribeAttribute_IlluminanceMeasurement_MeasuredValue.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_SubscribeAttribute_IlluminanceMeasurement_MeasuredValue.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_SubscribeAttribute_IlluminanceMeasurement_MeasuredValue.restype = ctypes.c_uint32 # Cluster IlluminanceMeasurement ReadAttribute MinMeasuredValue - self._chipLib.chip_ime_ReadAttribute_IlluminanceMeasurement_MinMeasuredValue.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_IlluminanceMeasurement_MinMeasuredValue.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_IlluminanceMeasurement_MinMeasuredValue.restype = ctypes.c_uint32 # Cluster IlluminanceMeasurement ReadAttribute MaxMeasuredValue - self._chipLib.chip_ime_ReadAttribute_IlluminanceMeasurement_MaxMeasuredValue.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_IlluminanceMeasurement_MaxMeasuredValue.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_IlluminanceMeasurement_MaxMeasuredValue.restype = ctypes.c_uint32 # Cluster IlluminanceMeasurement ReadAttribute Tolerance - self._chipLib.chip_ime_ReadAttribute_IlluminanceMeasurement_Tolerance.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_IlluminanceMeasurement_Tolerance.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_IlluminanceMeasurement_Tolerance.restype = ctypes.c_uint32 # Cluster IlluminanceMeasurement ReadAttribute LightSensorType - self._chipLib.chip_ime_ReadAttribute_IlluminanceMeasurement_LightSensorType.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_IlluminanceMeasurement_LightSensorType.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_IlluminanceMeasurement_LightSensorType.restype = ctypes.c_uint32 # Cluster IlluminanceMeasurement ReadAttribute ClusterRevision - self._chipLib.chip_ime_ReadAttribute_IlluminanceMeasurement_ClusterRevision.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_IlluminanceMeasurement_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_IlluminanceMeasurement_ClusterRevision.restype = ctypes.c_uint32 # Cluster KeypadInput # Cluster KeypadInput Command SendKey - self._chipLib.chip_ime_AppendCommand_KeypadInput_SendKey.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] + self._chipLib.chip_ime_AppendCommand_KeypadInput_SendKey.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] self._chipLib.chip_ime_AppendCommand_KeypadInput_SendKey.restype = ctypes.c_uint32 # Cluster KeypadInput ReadAttribute ClusterRevision - self._chipLib.chip_ime_ReadAttribute_KeypadInput_ClusterRevision.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_KeypadInput_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_KeypadInput_ClusterRevision.restype = ctypes.c_uint32 # Cluster LevelControl # Cluster LevelControl Command Move - self._chipLib.chip_ime_AppendCommand_LevelControl_Move.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint8] + self._chipLib.chip_ime_AppendCommand_LevelControl_Move.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint8] self._chipLib.chip_ime_AppendCommand_LevelControl_Move.restype = ctypes.c_uint32 # Cluster LevelControl Command MoveToLevel - self._chipLib.chip_ime_AppendCommand_LevelControl_MoveToLevel.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8] + self._chipLib.chip_ime_AppendCommand_LevelControl_MoveToLevel.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8] self._chipLib.chip_ime_AppendCommand_LevelControl_MoveToLevel.restype = ctypes.c_uint32 # Cluster LevelControl Command MoveToLevelWithOnOff - self._chipLib.chip_ime_AppendCommand_LevelControl_MoveToLevelWithOnOff.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_LevelControl_MoveToLevelWithOnOff.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_LevelControl_MoveToLevelWithOnOff.restype = ctypes.c_uint32 # Cluster LevelControl Command MoveWithOnOff - self._chipLib.chip_ime_AppendCommand_LevelControl_MoveWithOnOff.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8] + self._chipLib.chip_ime_AppendCommand_LevelControl_MoveWithOnOff.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8] self._chipLib.chip_ime_AppendCommand_LevelControl_MoveWithOnOff.restype = ctypes.c_uint32 # Cluster LevelControl Command Step - self._chipLib.chip_ime_AppendCommand_LevelControl_Step.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8] + self._chipLib.chip_ime_AppendCommand_LevelControl_Step.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8] self._chipLib.chip_ime_AppendCommand_LevelControl_Step.restype = ctypes.c_uint32 # Cluster LevelControl Command StepWithOnOff - self._chipLib.chip_ime_AppendCommand_LevelControl_StepWithOnOff.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_LevelControl_StepWithOnOff.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_LevelControl_StepWithOnOff.restype = ctypes.c_uint32 # Cluster LevelControl Command Stop - self._chipLib.chip_ime_AppendCommand_LevelControl_Stop.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8] + self._chipLib.chip_ime_AppendCommand_LevelControl_Stop.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8] self._chipLib.chip_ime_AppendCommand_LevelControl_Stop.restype = ctypes.c_uint32 # Cluster LevelControl Command StopWithOnOff - self._chipLib.chip_ime_AppendCommand_LevelControl_StopWithOnOff.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_LevelControl_StopWithOnOff.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_LevelControl_StopWithOnOff.restype = ctypes.c_uint32 # Cluster LevelControl ReadAttribute CurrentLevel - self._chipLib.chip_ime_ReadAttribute_LevelControl_CurrentLevel.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_LevelControl_CurrentLevel.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_LevelControl_CurrentLevel.restype = ctypes.c_uint32 # Cluster LevelControl SubscribeAttribute CurrentLevel - self._chipLib.chip_ime_SubscribeAttribute_LevelControl_CurrentLevel.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_SubscribeAttribute_LevelControl_CurrentLevel.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_SubscribeAttribute_LevelControl_CurrentLevel.restype = ctypes.c_uint32 # Cluster LevelControl ReadAttribute RemainingTime - self._chipLib.chip_ime_ReadAttribute_LevelControl_RemainingTime.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_LevelControl_RemainingTime.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_LevelControl_RemainingTime.restype = ctypes.c_uint32 # Cluster LevelControl ReadAttribute MinLevel - self._chipLib.chip_ime_ReadAttribute_LevelControl_MinLevel.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_LevelControl_MinLevel.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_LevelControl_MinLevel.restype = ctypes.c_uint32 # Cluster LevelControl ReadAttribute MaxLevel - self._chipLib.chip_ime_ReadAttribute_LevelControl_MaxLevel.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_LevelControl_MaxLevel.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_LevelControl_MaxLevel.restype = ctypes.c_uint32 # Cluster LevelControl ReadAttribute CurrentFrequency - self._chipLib.chip_ime_ReadAttribute_LevelControl_CurrentFrequency.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_LevelControl_CurrentFrequency.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_LevelControl_CurrentFrequency.restype = ctypes.c_uint32 # Cluster LevelControl ReadAttribute MinFrequency - self._chipLib.chip_ime_ReadAttribute_LevelControl_MinFrequency.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_LevelControl_MinFrequency.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_LevelControl_MinFrequency.restype = ctypes.c_uint32 # Cluster LevelControl ReadAttribute MaxFrequency - self._chipLib.chip_ime_ReadAttribute_LevelControl_MaxFrequency.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_LevelControl_MaxFrequency.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_LevelControl_MaxFrequency.restype = ctypes.c_uint32 # Cluster LevelControl ReadAttribute Options - self._chipLib.chip_ime_ReadAttribute_LevelControl_Options.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_LevelControl_Options.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_LevelControl_Options.restype = ctypes.c_uint32 # Cluster LevelControl WriteAttribute Options - self._chipLib.chip_ime_WriteAttribute_LevelControl_Options.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] + self._chipLib.chip_ime_WriteAttribute_LevelControl_Options.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] self._chipLib.chip_ime_WriteAttribute_LevelControl_Options.restype = ctypes.c_uint32 # Cluster LevelControl ReadAttribute OnOffTransitionTime - self._chipLib.chip_ime_ReadAttribute_LevelControl_OnOffTransitionTime.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_LevelControl_OnOffTransitionTime.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_LevelControl_OnOffTransitionTime.restype = ctypes.c_uint32 # Cluster LevelControl WriteAttribute OnOffTransitionTime - self._chipLib.chip_ime_WriteAttribute_LevelControl_OnOffTransitionTime.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_WriteAttribute_LevelControl_OnOffTransitionTime.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_WriteAttribute_LevelControl_OnOffTransitionTime.restype = ctypes.c_uint32 # Cluster LevelControl ReadAttribute OnLevel - self._chipLib.chip_ime_ReadAttribute_LevelControl_OnLevel.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_LevelControl_OnLevel.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_LevelControl_OnLevel.restype = ctypes.c_uint32 # Cluster LevelControl WriteAttribute OnLevel - self._chipLib.chip_ime_WriteAttribute_LevelControl_OnLevel.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] + self._chipLib.chip_ime_WriteAttribute_LevelControl_OnLevel.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] self._chipLib.chip_ime_WriteAttribute_LevelControl_OnLevel.restype = ctypes.c_uint32 # Cluster LevelControl ReadAttribute OnTransitionTime - self._chipLib.chip_ime_ReadAttribute_LevelControl_OnTransitionTime.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_LevelControl_OnTransitionTime.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_LevelControl_OnTransitionTime.restype = ctypes.c_uint32 # Cluster LevelControl WriteAttribute OnTransitionTime - self._chipLib.chip_ime_WriteAttribute_LevelControl_OnTransitionTime.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_WriteAttribute_LevelControl_OnTransitionTime.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_WriteAttribute_LevelControl_OnTransitionTime.restype = ctypes.c_uint32 # Cluster LevelControl ReadAttribute OffTransitionTime - self._chipLib.chip_ime_ReadAttribute_LevelControl_OffTransitionTime.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_LevelControl_OffTransitionTime.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_LevelControl_OffTransitionTime.restype = ctypes.c_uint32 # Cluster LevelControl WriteAttribute OffTransitionTime - self._chipLib.chip_ime_WriteAttribute_LevelControl_OffTransitionTime.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_WriteAttribute_LevelControl_OffTransitionTime.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_WriteAttribute_LevelControl_OffTransitionTime.restype = ctypes.c_uint32 # Cluster LevelControl ReadAttribute DefaultMoveRate - self._chipLib.chip_ime_ReadAttribute_LevelControl_DefaultMoveRate.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_LevelControl_DefaultMoveRate.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_LevelControl_DefaultMoveRate.restype = ctypes.c_uint32 # Cluster LevelControl WriteAttribute DefaultMoveRate - self._chipLib.chip_ime_WriteAttribute_LevelControl_DefaultMoveRate.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] + self._chipLib.chip_ime_WriteAttribute_LevelControl_DefaultMoveRate.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] self._chipLib.chip_ime_WriteAttribute_LevelControl_DefaultMoveRate.restype = ctypes.c_uint32 # Cluster LevelControl ReadAttribute StartUpCurrentLevel - self._chipLib.chip_ime_ReadAttribute_LevelControl_StartUpCurrentLevel.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_LevelControl_StartUpCurrentLevel.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_LevelControl_StartUpCurrentLevel.restype = ctypes.c_uint32 # Cluster LevelControl WriteAttribute StartUpCurrentLevel - self._chipLib.chip_ime_WriteAttribute_LevelControl_StartUpCurrentLevel.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] + self._chipLib.chip_ime_WriteAttribute_LevelControl_StartUpCurrentLevel.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] self._chipLib.chip_ime_WriteAttribute_LevelControl_StartUpCurrentLevel.restype = ctypes.c_uint32 # Cluster LevelControl ReadAttribute ClusterRevision - self._chipLib.chip_ime_ReadAttribute_LevelControl_ClusterRevision.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_LevelControl_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_LevelControl_ClusterRevision.restype = ctypes.c_uint32 # Cluster LowPower # Cluster LowPower Command Sleep - self._chipLib.chip_ime_AppendCommand_LowPower_Sleep.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_LowPower_Sleep.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_LowPower_Sleep.restype = ctypes.c_uint32 # Cluster LowPower ReadAttribute ClusterRevision - self._chipLib.chip_ime_ReadAttribute_LowPower_ClusterRevision.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_LowPower_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_LowPower_ClusterRevision.restype = ctypes.c_uint32 # Cluster MediaInput # Cluster MediaInput Command HideInputStatus - self._chipLib.chip_ime_AppendCommand_MediaInput_HideInputStatus.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_MediaInput_HideInputStatus.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_MediaInput_HideInputStatus.restype = ctypes.c_uint32 # Cluster MediaInput Command RenameInput - self._chipLib.chip_ime_AppendCommand_MediaInput_RenameInput.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_char_p, ctypes.c_uint32] + self._chipLib.chip_ime_AppendCommand_MediaInput_RenameInput.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_char_p, ctypes.c_uint32] self._chipLib.chip_ime_AppendCommand_MediaInput_RenameInput.restype = ctypes.c_uint32 # Cluster MediaInput Command SelectInput - self._chipLib.chip_ime_AppendCommand_MediaInput_SelectInput.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] + self._chipLib.chip_ime_AppendCommand_MediaInput_SelectInput.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] self._chipLib.chip_ime_AppendCommand_MediaInput_SelectInput.restype = ctypes.c_uint32 # Cluster MediaInput Command ShowInputStatus - self._chipLib.chip_ime_AppendCommand_MediaInput_ShowInputStatus.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_MediaInput_ShowInputStatus.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_MediaInput_ShowInputStatus.restype = ctypes.c_uint32 # Cluster MediaInput ReadAttribute MediaInputList - self._chipLib.chip_ime_ReadAttribute_MediaInput_MediaInputList.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_MediaInput_MediaInputList.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_MediaInput_MediaInputList.restype = ctypes.c_uint32 # Cluster MediaInput ReadAttribute CurrentMediaInput - self._chipLib.chip_ime_ReadAttribute_MediaInput_CurrentMediaInput.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_MediaInput_CurrentMediaInput.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_MediaInput_CurrentMediaInput.restype = ctypes.c_uint32 # Cluster MediaInput ReadAttribute ClusterRevision - self._chipLib.chip_ime_ReadAttribute_MediaInput_ClusterRevision.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_MediaInput_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_MediaInput_ClusterRevision.restype = ctypes.c_uint32 # Cluster MediaPlayback # Cluster MediaPlayback Command MediaFastForward - self._chipLib.chip_ime_AppendCommand_MediaPlayback_MediaFastForward.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_MediaPlayback_MediaFastForward.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_MediaPlayback_MediaFastForward.restype = ctypes.c_uint32 # Cluster MediaPlayback Command MediaNext - self._chipLib.chip_ime_AppendCommand_MediaPlayback_MediaNext.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_MediaPlayback_MediaNext.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_MediaPlayback_MediaNext.restype = ctypes.c_uint32 # Cluster MediaPlayback Command MediaPause - self._chipLib.chip_ime_AppendCommand_MediaPlayback_MediaPause.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_MediaPlayback_MediaPause.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_MediaPlayback_MediaPause.restype = ctypes.c_uint32 # Cluster MediaPlayback Command MediaPlay - self._chipLib.chip_ime_AppendCommand_MediaPlayback_MediaPlay.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_MediaPlayback_MediaPlay.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_MediaPlayback_MediaPlay.restype = ctypes.c_uint32 # Cluster MediaPlayback Command MediaPrevious - self._chipLib.chip_ime_AppendCommand_MediaPlayback_MediaPrevious.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_MediaPlayback_MediaPrevious.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_MediaPlayback_MediaPrevious.restype = ctypes.c_uint32 # Cluster MediaPlayback Command MediaRewind - self._chipLib.chip_ime_AppendCommand_MediaPlayback_MediaRewind.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_MediaPlayback_MediaRewind.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_MediaPlayback_MediaRewind.restype = ctypes.c_uint32 # Cluster MediaPlayback Command MediaSeek - self._chipLib.chip_ime_AppendCommand_MediaPlayback_MediaSeek.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint64] + self._chipLib.chip_ime_AppendCommand_MediaPlayback_MediaSeek.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint64] self._chipLib.chip_ime_AppendCommand_MediaPlayback_MediaSeek.restype = ctypes.c_uint32 # Cluster MediaPlayback Command MediaSkipBackward - self._chipLib.chip_ime_AppendCommand_MediaPlayback_MediaSkipBackward.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint64] + self._chipLib.chip_ime_AppendCommand_MediaPlayback_MediaSkipBackward.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint64] self._chipLib.chip_ime_AppendCommand_MediaPlayback_MediaSkipBackward.restype = ctypes.c_uint32 # Cluster MediaPlayback Command MediaSkipForward - self._chipLib.chip_ime_AppendCommand_MediaPlayback_MediaSkipForward.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint64] + self._chipLib.chip_ime_AppendCommand_MediaPlayback_MediaSkipForward.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint64] self._chipLib.chip_ime_AppendCommand_MediaPlayback_MediaSkipForward.restype = ctypes.c_uint32 # Cluster MediaPlayback Command MediaStartOver - self._chipLib.chip_ime_AppendCommand_MediaPlayback_MediaStartOver.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_MediaPlayback_MediaStartOver.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_MediaPlayback_MediaStartOver.restype = ctypes.c_uint32 # Cluster MediaPlayback Command MediaStop - self._chipLib.chip_ime_AppendCommand_MediaPlayback_MediaStop.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_MediaPlayback_MediaStop.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_MediaPlayback_MediaStop.restype = ctypes.c_uint32 # Cluster MediaPlayback ReadAttribute PlaybackState - self._chipLib.chip_ime_ReadAttribute_MediaPlayback_PlaybackState.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_MediaPlayback_PlaybackState.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_MediaPlayback_PlaybackState.restype = ctypes.c_uint32 # Cluster MediaPlayback ReadAttribute StartTime - self._chipLib.chip_ime_ReadAttribute_MediaPlayback_StartTime.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_MediaPlayback_StartTime.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_MediaPlayback_StartTime.restype = ctypes.c_uint32 # Cluster MediaPlayback ReadAttribute Duration - self._chipLib.chip_ime_ReadAttribute_MediaPlayback_Duration.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_MediaPlayback_Duration.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_MediaPlayback_Duration.restype = ctypes.c_uint32 # Cluster MediaPlayback ReadAttribute PositionUpdatedAt - self._chipLib.chip_ime_ReadAttribute_MediaPlayback_PositionUpdatedAt.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_MediaPlayback_PositionUpdatedAt.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_MediaPlayback_PositionUpdatedAt.restype = ctypes.c_uint32 # Cluster MediaPlayback ReadAttribute Position - self._chipLib.chip_ime_ReadAttribute_MediaPlayback_Position.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_MediaPlayback_Position.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_MediaPlayback_Position.restype = ctypes.c_uint32 # Cluster MediaPlayback ReadAttribute PlaybackSpeed - self._chipLib.chip_ime_ReadAttribute_MediaPlayback_PlaybackSpeed.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_MediaPlayback_PlaybackSpeed.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_MediaPlayback_PlaybackSpeed.restype = ctypes.c_uint32 # Cluster MediaPlayback ReadAttribute SeekRangeEnd - self._chipLib.chip_ime_ReadAttribute_MediaPlayback_SeekRangeEnd.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_MediaPlayback_SeekRangeEnd.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_MediaPlayback_SeekRangeEnd.restype = ctypes.c_uint32 # Cluster MediaPlayback ReadAttribute SeekRangeStart - self._chipLib.chip_ime_ReadAttribute_MediaPlayback_SeekRangeStart.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_MediaPlayback_SeekRangeStart.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_MediaPlayback_SeekRangeStart.restype = ctypes.c_uint32 # Cluster MediaPlayback ReadAttribute ClusterRevision - self._chipLib.chip_ime_ReadAttribute_MediaPlayback_ClusterRevision.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_MediaPlayback_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_MediaPlayback_ClusterRevision.restype = ctypes.c_uint32 # Cluster ModeSelect # Cluster ModeSelect Command ChangeToMode - self._chipLib.chip_ime_AppendCommand_ModeSelect_ChangeToMode.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] + self._chipLib.chip_ime_AppendCommand_ModeSelect_ChangeToMode.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] self._chipLib.chip_ime_AppendCommand_ModeSelect_ChangeToMode.restype = ctypes.c_uint32 # Cluster ModeSelect ReadAttribute CurrentMode - self._chipLib.chip_ime_ReadAttribute_ModeSelect_CurrentMode.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ModeSelect_CurrentMode.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ModeSelect_CurrentMode.restype = ctypes.c_uint32 # Cluster ModeSelect SubscribeAttribute CurrentMode - self._chipLib.chip_ime_SubscribeAttribute_ModeSelect_CurrentMode.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_SubscribeAttribute_ModeSelect_CurrentMode.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_SubscribeAttribute_ModeSelect_CurrentMode.restype = ctypes.c_uint32 # Cluster ModeSelect ReadAttribute SupportedModes - self._chipLib.chip_ime_ReadAttribute_ModeSelect_SupportedModes.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ModeSelect_SupportedModes.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ModeSelect_SupportedModes.restype = ctypes.c_uint32 # Cluster ModeSelect ReadAttribute OnMode - self._chipLib.chip_ime_ReadAttribute_ModeSelect_OnMode.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ModeSelect_OnMode.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ModeSelect_OnMode.restype = ctypes.c_uint32 # Cluster ModeSelect WriteAttribute OnMode - self._chipLib.chip_ime_WriteAttribute_ModeSelect_OnMode.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] + self._chipLib.chip_ime_WriteAttribute_ModeSelect_OnMode.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] self._chipLib.chip_ime_WriteAttribute_ModeSelect_OnMode.restype = ctypes.c_uint32 # Cluster ModeSelect ReadAttribute StartUpMode - self._chipLib.chip_ime_ReadAttribute_ModeSelect_StartUpMode.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ModeSelect_StartUpMode.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ModeSelect_StartUpMode.restype = ctypes.c_uint32 # Cluster ModeSelect ReadAttribute Description - self._chipLib.chip_ime_ReadAttribute_ModeSelect_Description.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ModeSelect_Description.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ModeSelect_Description.restype = ctypes.c_uint32 # Cluster ModeSelect ReadAttribute ClusterRevision - self._chipLib.chip_ime_ReadAttribute_ModeSelect_ClusterRevision.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ModeSelect_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ModeSelect_ClusterRevision.restype = ctypes.c_uint32 # Cluster NetworkCommissioning # Cluster NetworkCommissioning Command AddThreadNetwork - self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_AddThreadNetwork.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_uint64, ctypes.c_uint32] + self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_AddThreadNetwork.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_uint64, ctypes.c_uint32] self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_AddThreadNetwork.restype = ctypes.c_uint32 # Cluster NetworkCommissioning Command AddWiFiNetwork - self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_AddWiFiNetwork.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_uint64, ctypes.c_uint32] + self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_AddWiFiNetwork.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_uint64, ctypes.c_uint32] self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_AddWiFiNetwork.restype = ctypes.c_uint32 # Cluster NetworkCommissioning Command DisableNetwork - self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_DisableNetwork.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_uint64, ctypes.c_uint32] + self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_DisableNetwork.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_uint64, ctypes.c_uint32] self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_DisableNetwork.restype = ctypes.c_uint32 # Cluster NetworkCommissioning Command EnableNetwork - self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_EnableNetwork.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_uint64, ctypes.c_uint32] + self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_EnableNetwork.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_uint64, ctypes.c_uint32] self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_EnableNetwork.restype = ctypes.c_uint32 # Cluster NetworkCommissioning Command GetLastNetworkCommissioningResult - self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_GetLastNetworkCommissioningResult.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint32] + self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_GetLastNetworkCommissioningResult.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint32] self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_GetLastNetworkCommissioningResult.restype = ctypes.c_uint32 # Cluster NetworkCommissioning Command RemoveNetwork - self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_RemoveNetwork.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_uint64, ctypes.c_uint32] + self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_RemoveNetwork.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_uint64, ctypes.c_uint32] self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_RemoveNetwork.restype = ctypes.c_uint32 # Cluster NetworkCommissioning Command ScanNetworks - self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_ScanNetworks.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_uint64, ctypes.c_uint32] + self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_ScanNetworks.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_uint64, ctypes.c_uint32] self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_ScanNetworks.restype = ctypes.c_uint32 # Cluster NetworkCommissioning Command UpdateThreadNetwork - self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_UpdateThreadNetwork.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_uint64, ctypes.c_uint32] + self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_UpdateThreadNetwork.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_uint64, ctypes.c_uint32] self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_UpdateThreadNetwork.restype = ctypes.c_uint32 # Cluster NetworkCommissioning Command UpdateWiFiNetwork - self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_UpdateWiFiNetwork.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_uint64, ctypes.c_uint32] + self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_UpdateWiFiNetwork.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_uint64, ctypes.c_uint32] self._chipLib.chip_ime_AppendCommand_NetworkCommissioning_UpdateWiFiNetwork.restype = ctypes.c_uint32 # Cluster NetworkCommissioning ReadAttribute FeatureMap - self._chipLib.chip_ime_ReadAttribute_NetworkCommissioning_FeatureMap.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_NetworkCommissioning_FeatureMap.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_NetworkCommissioning_FeatureMap.restype = ctypes.c_uint32 # Cluster NetworkCommissioning ReadAttribute ClusterRevision - self._chipLib.chip_ime_ReadAttribute_NetworkCommissioning_ClusterRevision.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_NetworkCommissioning_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_NetworkCommissioning_ClusterRevision.restype = ctypes.c_uint32 # Cluster OtaSoftwareUpdateProvider # Cluster OtaSoftwareUpdateProvider Command ApplyUpdateRequest - self._chipLib.chip_ime_AppendCommand_OtaSoftwareUpdateProvider_ApplyUpdateRequest.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_uint32] + self._chipLib.chip_ime_AppendCommand_OtaSoftwareUpdateProvider_ApplyUpdateRequest.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_uint32] self._chipLib.chip_ime_AppendCommand_OtaSoftwareUpdateProvider_ApplyUpdateRequest.restype = ctypes.c_uint32 # Cluster OtaSoftwareUpdateProvider Command NotifyUpdateApplied - self._chipLib.chip_ime_AppendCommand_OtaSoftwareUpdateProvider_NotifyUpdateApplied.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_uint32] + self._chipLib.chip_ime_AppendCommand_OtaSoftwareUpdateProvider_NotifyUpdateApplied.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_uint32] self._chipLib.chip_ime_AppendCommand_OtaSoftwareUpdateProvider_NotifyUpdateApplied.restype = ctypes.c_uint32 # Cluster OtaSoftwareUpdateProvider Command QueryImage - self._chipLib.chip_ime_AppendCommand_OtaSoftwareUpdateProvider_QueryImage.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint32, ctypes.c_uint8, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_bool, ctypes.c_char_p, ctypes.c_uint32] + self._chipLib.chip_ime_AppendCommand_OtaSoftwareUpdateProvider_QueryImage.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint32, ctypes.c_uint8, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_bool, ctypes.c_char_p, ctypes.c_uint32] self._chipLib.chip_ime_AppendCommand_OtaSoftwareUpdateProvider_QueryImage.restype = ctypes.c_uint32 # Cluster OtaSoftwareUpdateProvider ReadAttribute ClusterRevision - self._chipLib.chip_ime_ReadAttribute_OtaSoftwareUpdateProvider_ClusterRevision.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_OtaSoftwareUpdateProvider_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_OtaSoftwareUpdateProvider_ClusterRevision.restype = ctypes.c_uint32 # Cluster OtaSoftwareUpdateRequestor # Cluster OtaSoftwareUpdateRequestor Command AnnounceOtaProvider - self._chipLib.chip_ime_AppendCommand_OtaSoftwareUpdateRequestor_AnnounceOtaProvider.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint64, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_char_p, ctypes.c_uint32] + self._chipLib.chip_ime_AppendCommand_OtaSoftwareUpdateRequestor_AnnounceOtaProvider.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint64, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_char_p, ctypes.c_uint32] self._chipLib.chip_ime_AppendCommand_OtaSoftwareUpdateRequestor_AnnounceOtaProvider.restype = ctypes.c_uint32 # Cluster OtaSoftwareUpdateRequestor ReadAttribute DefaultOtaProvider - self._chipLib.chip_ime_ReadAttribute_OtaSoftwareUpdateRequestor_DefaultOtaProvider.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_OtaSoftwareUpdateRequestor_DefaultOtaProvider.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_OtaSoftwareUpdateRequestor_DefaultOtaProvider.restype = ctypes.c_uint32 # Cluster OtaSoftwareUpdateRequestor WriteAttribute DefaultOtaProvider - self._chipLib.chip_ime_WriteAttribute_OtaSoftwareUpdateRequestor_DefaultOtaProvider.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32] + self._chipLib.chip_ime_WriteAttribute_OtaSoftwareUpdateRequestor_DefaultOtaProvider.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32] self._chipLib.chip_ime_WriteAttribute_OtaSoftwareUpdateRequestor_DefaultOtaProvider.restype = ctypes.c_uint32 # Cluster OtaSoftwareUpdateRequestor ReadAttribute UpdatePossible - self._chipLib.chip_ime_ReadAttribute_OtaSoftwareUpdateRequestor_UpdatePossible.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_OtaSoftwareUpdateRequestor_UpdatePossible.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_OtaSoftwareUpdateRequestor_UpdatePossible.restype = ctypes.c_uint32 # Cluster OtaSoftwareUpdateRequestor ReadAttribute ClusterRevision - self._chipLib.chip_ime_ReadAttribute_OtaSoftwareUpdateRequestor_ClusterRevision.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_OtaSoftwareUpdateRequestor_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_OtaSoftwareUpdateRequestor_ClusterRevision.restype = ctypes.c_uint32 # Cluster OccupancySensing # Cluster OccupancySensing ReadAttribute Occupancy - self._chipLib.chip_ime_ReadAttribute_OccupancySensing_Occupancy.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_OccupancySensing_Occupancy.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_OccupancySensing_Occupancy.restype = ctypes.c_uint32 # Cluster OccupancySensing SubscribeAttribute Occupancy - self._chipLib.chip_ime_SubscribeAttribute_OccupancySensing_Occupancy.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_SubscribeAttribute_OccupancySensing_Occupancy.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_SubscribeAttribute_OccupancySensing_Occupancy.restype = ctypes.c_uint32 # Cluster OccupancySensing ReadAttribute OccupancySensorType - self._chipLib.chip_ime_ReadAttribute_OccupancySensing_OccupancySensorType.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_OccupancySensing_OccupancySensorType.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_OccupancySensing_OccupancySensorType.restype = ctypes.c_uint32 # Cluster OccupancySensing ReadAttribute OccupancySensorTypeBitmap - self._chipLib.chip_ime_ReadAttribute_OccupancySensing_OccupancySensorTypeBitmap.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_OccupancySensing_OccupancySensorTypeBitmap.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_OccupancySensing_OccupancySensorTypeBitmap.restype = ctypes.c_uint32 # Cluster OccupancySensing ReadAttribute ClusterRevision - self._chipLib.chip_ime_ReadAttribute_OccupancySensing_ClusterRevision.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_OccupancySensing_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_OccupancySensing_ClusterRevision.restype = ctypes.c_uint32 # Cluster OnOff # Cluster OnOff Command Off - self._chipLib.chip_ime_AppendCommand_OnOff_Off.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_OnOff_Off.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_OnOff_Off.restype = ctypes.c_uint32 # Cluster OnOff Command OffWithEffect - self._chipLib.chip_ime_AppendCommand_OnOff_OffWithEffect.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8] + self._chipLib.chip_ime_AppendCommand_OnOff_OffWithEffect.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8] self._chipLib.chip_ime_AppendCommand_OnOff_OffWithEffect.restype = ctypes.c_uint32 # Cluster OnOff Command On - self._chipLib.chip_ime_AppendCommand_OnOff_On.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_OnOff_On.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_OnOff_On.restype = ctypes.c_uint32 # Cluster OnOff Command OnWithRecallGlobalScene - self._chipLib.chip_ime_AppendCommand_OnOff_OnWithRecallGlobalScene.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_OnOff_OnWithRecallGlobalScene.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_OnOff_OnWithRecallGlobalScene.restype = ctypes.c_uint32 # Cluster OnOff Command OnWithTimedOff - self._chipLib.chip_ime_AppendCommand_OnOff_OnWithTimedOff.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_OnOff_OnWithTimedOff.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_OnOff_OnWithTimedOff.restype = ctypes.c_uint32 # Cluster OnOff Command Toggle - self._chipLib.chip_ime_AppendCommand_OnOff_Toggle.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_OnOff_Toggle.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_OnOff_Toggle.restype = ctypes.c_uint32 # Cluster OnOff ReadAttribute OnOff - self._chipLib.chip_ime_ReadAttribute_OnOff_OnOff.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_OnOff_OnOff.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_OnOff_OnOff.restype = ctypes.c_uint32 # Cluster OnOff SubscribeAttribute OnOff - self._chipLib.chip_ime_SubscribeAttribute_OnOff_OnOff.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_SubscribeAttribute_OnOff_OnOff.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_SubscribeAttribute_OnOff_OnOff.restype = ctypes.c_uint32 # Cluster OnOff ReadAttribute GlobalSceneControl - self._chipLib.chip_ime_ReadAttribute_OnOff_GlobalSceneControl.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_OnOff_GlobalSceneControl.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_OnOff_GlobalSceneControl.restype = ctypes.c_uint32 # Cluster OnOff ReadAttribute OnTime - self._chipLib.chip_ime_ReadAttribute_OnOff_OnTime.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_OnOff_OnTime.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_OnOff_OnTime.restype = ctypes.c_uint32 # Cluster OnOff WriteAttribute OnTime - self._chipLib.chip_ime_WriteAttribute_OnOff_OnTime.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_WriteAttribute_OnOff_OnTime.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_WriteAttribute_OnOff_OnTime.restype = ctypes.c_uint32 # Cluster OnOff ReadAttribute OffWaitTime - self._chipLib.chip_ime_ReadAttribute_OnOff_OffWaitTime.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_OnOff_OffWaitTime.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_OnOff_OffWaitTime.restype = ctypes.c_uint32 # Cluster OnOff WriteAttribute OffWaitTime - self._chipLib.chip_ime_WriteAttribute_OnOff_OffWaitTime.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_WriteAttribute_OnOff_OffWaitTime.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_WriteAttribute_OnOff_OffWaitTime.restype = ctypes.c_uint32 # Cluster OnOff ReadAttribute StartUpOnOff - self._chipLib.chip_ime_ReadAttribute_OnOff_StartUpOnOff.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_OnOff_StartUpOnOff.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_OnOff_StartUpOnOff.restype = ctypes.c_uint32 # Cluster OnOff WriteAttribute StartUpOnOff - self._chipLib.chip_ime_WriteAttribute_OnOff_StartUpOnOff.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] + self._chipLib.chip_ime_WriteAttribute_OnOff_StartUpOnOff.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] self._chipLib.chip_ime_WriteAttribute_OnOff_StartUpOnOff.restype = ctypes.c_uint32 # Cluster OnOff ReadAttribute FeatureMap - self._chipLib.chip_ime_ReadAttribute_OnOff_FeatureMap.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_OnOff_FeatureMap.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_OnOff_FeatureMap.restype = ctypes.c_uint32 # Cluster OnOff ReadAttribute ClusterRevision - self._chipLib.chip_ime_ReadAttribute_OnOff_ClusterRevision.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_OnOff_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_OnOff_ClusterRevision.restype = ctypes.c_uint32 # Cluster OnOffSwitchConfiguration # Cluster OnOffSwitchConfiguration ReadAttribute SwitchType - self._chipLib.chip_ime_ReadAttribute_OnOffSwitchConfiguration_SwitchType.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_OnOffSwitchConfiguration_SwitchType.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_OnOffSwitchConfiguration_SwitchType.restype = ctypes.c_uint32 # Cluster OnOffSwitchConfiguration ReadAttribute SwitchActions - self._chipLib.chip_ime_ReadAttribute_OnOffSwitchConfiguration_SwitchActions.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_OnOffSwitchConfiguration_SwitchActions.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_OnOffSwitchConfiguration_SwitchActions.restype = ctypes.c_uint32 # Cluster OnOffSwitchConfiguration WriteAttribute SwitchActions - self._chipLib.chip_ime_WriteAttribute_OnOffSwitchConfiguration_SwitchActions.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] + self._chipLib.chip_ime_WriteAttribute_OnOffSwitchConfiguration_SwitchActions.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] self._chipLib.chip_ime_WriteAttribute_OnOffSwitchConfiguration_SwitchActions.restype = ctypes.c_uint32 # Cluster OnOffSwitchConfiguration ReadAttribute ClusterRevision - self._chipLib.chip_ime_ReadAttribute_OnOffSwitchConfiguration_ClusterRevision.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_OnOffSwitchConfiguration_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_OnOffSwitchConfiguration_ClusterRevision.restype = ctypes.c_uint32 # Cluster OperationalCredentials # Cluster OperationalCredentials Command AddNOC - self._chipLib.chip_ime_AppendCommand_OperationalCredentials_AddNOC.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_uint64, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_OperationalCredentials_AddNOC.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_uint64, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_OperationalCredentials_AddNOC.restype = ctypes.c_uint32 # Cluster OperationalCredentials Command AddTrustedRootCertificate - self._chipLib.chip_ime_AppendCommand_OperationalCredentials_AddTrustedRootCertificate.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32] + self._chipLib.chip_ime_AppendCommand_OperationalCredentials_AddTrustedRootCertificate.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32] self._chipLib.chip_ime_AppendCommand_OperationalCredentials_AddTrustedRootCertificate.restype = ctypes.c_uint32 # Cluster OperationalCredentials Command AttestationRequest - self._chipLib.chip_ime_AppendCommand_OperationalCredentials_AttestationRequest.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32] + self._chipLib.chip_ime_AppendCommand_OperationalCredentials_AttestationRequest.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32] self._chipLib.chip_ime_AppendCommand_OperationalCredentials_AttestationRequest.restype = ctypes.c_uint32 # Cluster OperationalCredentials Command CertificateChainRequest - self._chipLib.chip_ime_AppendCommand_OperationalCredentials_CertificateChainRequest.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] + self._chipLib.chip_ime_AppendCommand_OperationalCredentials_CertificateChainRequest.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] self._chipLib.chip_ime_AppendCommand_OperationalCredentials_CertificateChainRequest.restype = ctypes.c_uint32 # Cluster OperationalCredentials Command OpCSRRequest - self._chipLib.chip_ime_AppendCommand_OperationalCredentials_OpCSRRequest.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32] + self._chipLib.chip_ime_AppendCommand_OperationalCredentials_OpCSRRequest.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32] self._chipLib.chip_ime_AppendCommand_OperationalCredentials_OpCSRRequest.restype = ctypes.c_uint32 # Cluster OperationalCredentials Command RemoveFabric - self._chipLib.chip_ime_AppendCommand_OperationalCredentials_RemoveFabric.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] + self._chipLib.chip_ime_AppendCommand_OperationalCredentials_RemoveFabric.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] self._chipLib.chip_ime_AppendCommand_OperationalCredentials_RemoveFabric.restype = ctypes.c_uint32 # Cluster OperationalCredentials Command RemoveTrustedRootCertificate - self._chipLib.chip_ime_AppendCommand_OperationalCredentials_RemoveTrustedRootCertificate.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32] + self._chipLib.chip_ime_AppendCommand_OperationalCredentials_RemoveTrustedRootCertificate.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32] self._chipLib.chip_ime_AppendCommand_OperationalCredentials_RemoveTrustedRootCertificate.restype = ctypes.c_uint32 # Cluster OperationalCredentials Command UpdateFabricLabel - self._chipLib.chip_ime_AppendCommand_OperationalCredentials_UpdateFabricLabel.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32] + self._chipLib.chip_ime_AppendCommand_OperationalCredentials_UpdateFabricLabel.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32] self._chipLib.chip_ime_AppendCommand_OperationalCredentials_UpdateFabricLabel.restype = ctypes.c_uint32 # Cluster OperationalCredentials Command UpdateNOC - self._chipLib.chip_ime_AppendCommand_OperationalCredentials_UpdateNOC.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_char_p, ctypes.c_uint32] + self._chipLib.chip_ime_AppendCommand_OperationalCredentials_UpdateNOC.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_char_p, ctypes.c_uint32] self._chipLib.chip_ime_AppendCommand_OperationalCredentials_UpdateNOC.restype = ctypes.c_uint32 # Cluster OperationalCredentials ReadAttribute FabricsList - self._chipLib.chip_ime_ReadAttribute_OperationalCredentials_FabricsList.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_OperationalCredentials_FabricsList.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_OperationalCredentials_FabricsList.restype = ctypes.c_uint32 # Cluster OperationalCredentials ReadAttribute SupportedFabrics - self._chipLib.chip_ime_ReadAttribute_OperationalCredentials_SupportedFabrics.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_OperationalCredentials_SupportedFabrics.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_OperationalCredentials_SupportedFabrics.restype = ctypes.c_uint32 # Cluster OperationalCredentials ReadAttribute CommissionedFabrics - self._chipLib.chip_ime_ReadAttribute_OperationalCredentials_CommissionedFabrics.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_OperationalCredentials_CommissionedFabrics.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_OperationalCredentials_CommissionedFabrics.restype = ctypes.c_uint32 # Cluster OperationalCredentials ReadAttribute TrustedRootCertificates - self._chipLib.chip_ime_ReadAttribute_OperationalCredentials_TrustedRootCertificates.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_OperationalCredentials_TrustedRootCertificates.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_OperationalCredentials_TrustedRootCertificates.restype = ctypes.c_uint32 # Cluster OperationalCredentials ReadAttribute CurrentFabricIndex - self._chipLib.chip_ime_ReadAttribute_OperationalCredentials_CurrentFabricIndex.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_OperationalCredentials_CurrentFabricIndex.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_OperationalCredentials_CurrentFabricIndex.restype = ctypes.c_uint32 # Cluster OperationalCredentials ReadAttribute ClusterRevision - self._chipLib.chip_ime_ReadAttribute_OperationalCredentials_ClusterRevision.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_OperationalCredentials_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_OperationalCredentials_ClusterRevision.restype = ctypes.c_uint32 # Cluster PowerSource # Cluster PowerSource ReadAttribute Status - self._chipLib.chip_ime_ReadAttribute_PowerSource_Status.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_PowerSource_Status.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_PowerSource_Status.restype = ctypes.c_uint32 # Cluster PowerSource ReadAttribute Order - self._chipLib.chip_ime_ReadAttribute_PowerSource_Order.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_PowerSource_Order.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_PowerSource_Order.restype = ctypes.c_uint32 # Cluster PowerSource ReadAttribute Description - self._chipLib.chip_ime_ReadAttribute_PowerSource_Description.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_PowerSource_Description.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_PowerSource_Description.restype = ctypes.c_uint32 # Cluster PowerSource ReadAttribute BatteryVoltage - self._chipLib.chip_ime_ReadAttribute_PowerSource_BatteryVoltage.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_PowerSource_BatteryVoltage.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_PowerSource_BatteryVoltage.restype = ctypes.c_uint32 # Cluster PowerSource ReadAttribute BatteryPercentRemaining - self._chipLib.chip_ime_ReadAttribute_PowerSource_BatteryPercentRemaining.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_PowerSource_BatteryPercentRemaining.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_PowerSource_BatteryPercentRemaining.restype = ctypes.c_uint32 # Cluster PowerSource ReadAttribute BatteryTimeRemaining - self._chipLib.chip_ime_ReadAttribute_PowerSource_BatteryTimeRemaining.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_PowerSource_BatteryTimeRemaining.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_PowerSource_BatteryTimeRemaining.restype = ctypes.c_uint32 # Cluster PowerSource ReadAttribute BatteryChargeLevel - self._chipLib.chip_ime_ReadAttribute_PowerSource_BatteryChargeLevel.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_PowerSource_BatteryChargeLevel.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_PowerSource_BatteryChargeLevel.restype = ctypes.c_uint32 # Cluster PowerSource ReadAttribute ActiveBatteryFaults - self._chipLib.chip_ime_ReadAttribute_PowerSource_ActiveBatteryFaults.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_PowerSource_ActiveBatteryFaults.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_PowerSource_ActiveBatteryFaults.restype = ctypes.c_uint32 # Cluster PowerSource ReadAttribute BatteryChargeState - self._chipLib.chip_ime_ReadAttribute_PowerSource_BatteryChargeState.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_PowerSource_BatteryChargeState.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_PowerSource_BatteryChargeState.restype = ctypes.c_uint32 # Cluster PowerSource ReadAttribute FeatureMap - self._chipLib.chip_ime_ReadAttribute_PowerSource_FeatureMap.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_PowerSource_FeatureMap.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_PowerSource_FeatureMap.restype = ctypes.c_uint32 # Cluster PowerSource ReadAttribute ClusterRevision - self._chipLib.chip_ime_ReadAttribute_PowerSource_ClusterRevision.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_PowerSource_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_PowerSource_ClusterRevision.restype = ctypes.c_uint32 # Cluster PressureMeasurement # Cluster PressureMeasurement ReadAttribute MeasuredValue - self._chipLib.chip_ime_ReadAttribute_PressureMeasurement_MeasuredValue.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_PressureMeasurement_MeasuredValue.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_PressureMeasurement_MeasuredValue.restype = ctypes.c_uint32 # Cluster PressureMeasurement SubscribeAttribute MeasuredValue - self._chipLib.chip_ime_SubscribeAttribute_PressureMeasurement_MeasuredValue.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_SubscribeAttribute_PressureMeasurement_MeasuredValue.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_SubscribeAttribute_PressureMeasurement_MeasuredValue.restype = ctypes.c_uint32 # Cluster PressureMeasurement ReadAttribute MinMeasuredValue - self._chipLib.chip_ime_ReadAttribute_PressureMeasurement_MinMeasuredValue.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_PressureMeasurement_MinMeasuredValue.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_PressureMeasurement_MinMeasuredValue.restype = ctypes.c_uint32 # Cluster PressureMeasurement ReadAttribute MaxMeasuredValue - self._chipLib.chip_ime_ReadAttribute_PressureMeasurement_MaxMeasuredValue.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_PressureMeasurement_MaxMeasuredValue.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_PressureMeasurement_MaxMeasuredValue.restype = ctypes.c_uint32 # Cluster PressureMeasurement ReadAttribute ClusterRevision - self._chipLib.chip_ime_ReadAttribute_PressureMeasurement_ClusterRevision.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_PressureMeasurement_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_PressureMeasurement_ClusterRevision.restype = ctypes.c_uint32 # Cluster PumpConfigurationAndControl # Cluster PumpConfigurationAndControl ReadAttribute MaxPressure - self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_MaxPressure.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_MaxPressure.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_MaxPressure.restype = ctypes.c_uint32 # Cluster PumpConfigurationAndControl ReadAttribute MaxSpeed - self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_MaxSpeed.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_MaxSpeed.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_MaxSpeed.restype = ctypes.c_uint32 # Cluster PumpConfigurationAndControl ReadAttribute MaxFlow - self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_MaxFlow.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_MaxFlow.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_MaxFlow.restype = ctypes.c_uint32 # Cluster PumpConfigurationAndControl ReadAttribute MinConstPressure - self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_MinConstPressure.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_MinConstPressure.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_MinConstPressure.restype = ctypes.c_uint32 # Cluster PumpConfigurationAndControl ReadAttribute MaxConstPressure - self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_MaxConstPressure.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_MaxConstPressure.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_MaxConstPressure.restype = ctypes.c_uint32 # Cluster PumpConfigurationAndControl ReadAttribute MinCompPressure - self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_MinCompPressure.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_MinCompPressure.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_MinCompPressure.restype = ctypes.c_uint32 # Cluster PumpConfigurationAndControl ReadAttribute MaxCompPressure - self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_MaxCompPressure.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_MaxCompPressure.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_MaxCompPressure.restype = ctypes.c_uint32 # Cluster PumpConfigurationAndControl ReadAttribute MinConstSpeed - self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_MinConstSpeed.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_MinConstSpeed.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_MinConstSpeed.restype = ctypes.c_uint32 # Cluster PumpConfigurationAndControl ReadAttribute MaxConstSpeed - self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_MaxConstSpeed.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_MaxConstSpeed.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_MaxConstSpeed.restype = ctypes.c_uint32 # Cluster PumpConfigurationAndControl ReadAttribute MinConstFlow - self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_MinConstFlow.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_MinConstFlow.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_MinConstFlow.restype = ctypes.c_uint32 # Cluster PumpConfigurationAndControl ReadAttribute MaxConstFlow - self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_MaxConstFlow.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_MaxConstFlow.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_MaxConstFlow.restype = ctypes.c_uint32 # Cluster PumpConfigurationAndControl ReadAttribute MinConstTemp - self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_MinConstTemp.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_MinConstTemp.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_MinConstTemp.restype = ctypes.c_uint32 # Cluster PumpConfigurationAndControl ReadAttribute MaxConstTemp - self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_MaxConstTemp.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_MaxConstTemp.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_MaxConstTemp.restype = ctypes.c_uint32 # Cluster PumpConfigurationAndControl ReadAttribute PumpStatus - self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_PumpStatus.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_PumpStatus.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_PumpStatus.restype = ctypes.c_uint32 # Cluster PumpConfigurationAndControl SubscribeAttribute PumpStatus - self._chipLib.chip_ime_SubscribeAttribute_PumpConfigurationAndControl_PumpStatus.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_SubscribeAttribute_PumpConfigurationAndControl_PumpStatus.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_SubscribeAttribute_PumpConfigurationAndControl_PumpStatus.restype = ctypes.c_uint32 # Cluster PumpConfigurationAndControl ReadAttribute EffectiveOperationMode - self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_EffectiveOperationMode.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_EffectiveOperationMode.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_EffectiveOperationMode.restype = ctypes.c_uint32 # Cluster PumpConfigurationAndControl ReadAttribute EffectiveControlMode - self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_EffectiveControlMode.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_EffectiveControlMode.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_EffectiveControlMode.restype = ctypes.c_uint32 # Cluster PumpConfigurationAndControl ReadAttribute Capacity - self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_Capacity.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_Capacity.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_Capacity.restype = ctypes.c_uint32 # Cluster PumpConfigurationAndControl SubscribeAttribute Capacity - self._chipLib.chip_ime_SubscribeAttribute_PumpConfigurationAndControl_Capacity.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_SubscribeAttribute_PumpConfigurationAndControl_Capacity.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_SubscribeAttribute_PumpConfigurationAndControl_Capacity.restype = ctypes.c_uint32 # Cluster PumpConfigurationAndControl ReadAttribute Speed - self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_Speed.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_Speed.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_Speed.restype = ctypes.c_uint32 # Cluster PumpConfigurationAndControl ReadAttribute LifetimeEnergyConsumed - self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_LifetimeEnergyConsumed.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_LifetimeEnergyConsumed.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_LifetimeEnergyConsumed.restype = ctypes.c_uint32 # Cluster PumpConfigurationAndControl ReadAttribute OperationMode - self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_OperationMode.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_OperationMode.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_OperationMode.restype = ctypes.c_uint32 # Cluster PumpConfigurationAndControl WriteAttribute OperationMode - self._chipLib.chip_ime_WriteAttribute_PumpConfigurationAndControl_OperationMode.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] + self._chipLib.chip_ime_WriteAttribute_PumpConfigurationAndControl_OperationMode.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] self._chipLib.chip_ime_WriteAttribute_PumpConfigurationAndControl_OperationMode.restype = ctypes.c_uint32 # Cluster PumpConfigurationAndControl ReadAttribute ControlMode - self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_ControlMode.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_ControlMode.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_ControlMode.restype = ctypes.c_uint32 # Cluster PumpConfigurationAndControl WriteAttribute ControlMode - self._chipLib.chip_ime_WriteAttribute_PumpConfigurationAndControl_ControlMode.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] + self._chipLib.chip_ime_WriteAttribute_PumpConfigurationAndControl_ControlMode.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] self._chipLib.chip_ime_WriteAttribute_PumpConfigurationAndControl_ControlMode.restype = ctypes.c_uint32 # Cluster PumpConfigurationAndControl ReadAttribute AlarmMask - self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_AlarmMask.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_AlarmMask.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_AlarmMask.restype = ctypes.c_uint32 # Cluster PumpConfigurationAndControl ReadAttribute FeatureMap - self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_FeatureMap.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_FeatureMap.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_FeatureMap.restype = ctypes.c_uint32 # Cluster PumpConfigurationAndControl ReadAttribute ClusterRevision - self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_ClusterRevision.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_PumpConfigurationAndControl_ClusterRevision.restype = ctypes.c_uint32 # Cluster RelativeHumidityMeasurement # Cluster RelativeHumidityMeasurement ReadAttribute MeasuredValue - self._chipLib.chip_ime_ReadAttribute_RelativeHumidityMeasurement_MeasuredValue.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_RelativeHumidityMeasurement_MeasuredValue.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_RelativeHumidityMeasurement_MeasuredValue.restype = ctypes.c_uint32 # Cluster RelativeHumidityMeasurement SubscribeAttribute MeasuredValue - self._chipLib.chip_ime_SubscribeAttribute_RelativeHumidityMeasurement_MeasuredValue.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_SubscribeAttribute_RelativeHumidityMeasurement_MeasuredValue.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_SubscribeAttribute_RelativeHumidityMeasurement_MeasuredValue.restype = ctypes.c_uint32 # Cluster RelativeHumidityMeasurement ReadAttribute MinMeasuredValue - self._chipLib.chip_ime_ReadAttribute_RelativeHumidityMeasurement_MinMeasuredValue.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_RelativeHumidityMeasurement_MinMeasuredValue.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_RelativeHumidityMeasurement_MinMeasuredValue.restype = ctypes.c_uint32 # Cluster RelativeHumidityMeasurement ReadAttribute MaxMeasuredValue - self._chipLib.chip_ime_ReadAttribute_RelativeHumidityMeasurement_MaxMeasuredValue.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_RelativeHumidityMeasurement_MaxMeasuredValue.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_RelativeHumidityMeasurement_MaxMeasuredValue.restype = ctypes.c_uint32 # Cluster RelativeHumidityMeasurement ReadAttribute Tolerance - self._chipLib.chip_ime_ReadAttribute_RelativeHumidityMeasurement_Tolerance.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_RelativeHumidityMeasurement_Tolerance.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_RelativeHumidityMeasurement_Tolerance.restype = ctypes.c_uint32 # Cluster RelativeHumidityMeasurement SubscribeAttribute Tolerance - self._chipLib.chip_ime_SubscribeAttribute_RelativeHumidityMeasurement_Tolerance.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_SubscribeAttribute_RelativeHumidityMeasurement_Tolerance.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_SubscribeAttribute_RelativeHumidityMeasurement_Tolerance.restype = ctypes.c_uint32 # Cluster RelativeHumidityMeasurement ReadAttribute ClusterRevision - self._chipLib.chip_ime_ReadAttribute_RelativeHumidityMeasurement_ClusterRevision.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_RelativeHumidityMeasurement_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_RelativeHumidityMeasurement_ClusterRevision.restype = ctypes.c_uint32 # Cluster Scenes # Cluster Scenes Command AddScene - self._chipLib.chip_ime_AppendCommand_Scenes_AddScene.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, - ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_uint32, ctypes.c_uint8, ctypes.c_uint8] + self._chipLib.chip_ime_AppendCommand_Scenes_AddScene.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_uint32, ctypes.c_uint8, ctypes.c_uint8] self._chipLib.chip_ime_AppendCommand_Scenes_AddScene.restype = ctypes.c_uint32 # Cluster Scenes Command GetSceneMembership - self._chipLib.chip_ime_AppendCommand_Scenes_GetSceneMembership.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_Scenes_GetSceneMembership.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_Scenes_GetSceneMembership.restype = ctypes.c_uint32 # Cluster Scenes Command RecallScene - self._chipLib.chip_ime_AppendCommand_Scenes_RecallScene.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_Scenes_RecallScene.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_Scenes_RecallScene.restype = ctypes.c_uint32 # Cluster Scenes Command RemoveAllScenes - self._chipLib.chip_ime_AppendCommand_Scenes_RemoveAllScenes.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_Scenes_RemoveAllScenes.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_Scenes_RemoveAllScenes.restype = ctypes.c_uint32 # Cluster Scenes Command RemoveScene - self._chipLib.chip_ime_AppendCommand_Scenes_RemoveScene.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint8] + self._chipLib.chip_ime_AppendCommand_Scenes_RemoveScene.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint8] self._chipLib.chip_ime_AppendCommand_Scenes_RemoveScene.restype = ctypes.c_uint32 # Cluster Scenes Command StoreScene - self._chipLib.chip_ime_AppendCommand_Scenes_StoreScene.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint8] + self._chipLib.chip_ime_AppendCommand_Scenes_StoreScene.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint8] self._chipLib.chip_ime_AppendCommand_Scenes_StoreScene.restype = ctypes.c_uint32 # Cluster Scenes Command ViewScene - self._chipLib.chip_ime_AppendCommand_Scenes_ViewScene.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint8] + self._chipLib.chip_ime_AppendCommand_Scenes_ViewScene.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint8] self._chipLib.chip_ime_AppendCommand_Scenes_ViewScene.restype = ctypes.c_uint32 # Cluster Scenes ReadAttribute SceneCount - self._chipLib.chip_ime_ReadAttribute_Scenes_SceneCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Scenes_SceneCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Scenes_SceneCount.restype = ctypes.c_uint32 # Cluster Scenes ReadAttribute CurrentScene - self._chipLib.chip_ime_ReadAttribute_Scenes_CurrentScene.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Scenes_CurrentScene.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Scenes_CurrentScene.restype = ctypes.c_uint32 # Cluster Scenes ReadAttribute CurrentGroup - self._chipLib.chip_ime_ReadAttribute_Scenes_CurrentGroup.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Scenes_CurrentGroup.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Scenes_CurrentGroup.restype = ctypes.c_uint32 # Cluster Scenes ReadAttribute SceneValid - self._chipLib.chip_ime_ReadAttribute_Scenes_SceneValid.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Scenes_SceneValid.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Scenes_SceneValid.restype = ctypes.c_uint32 # Cluster Scenes ReadAttribute NameSupport - self._chipLib.chip_ime_ReadAttribute_Scenes_NameSupport.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Scenes_NameSupport.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Scenes_NameSupport.restype = ctypes.c_uint32 # Cluster Scenes ReadAttribute ClusterRevision - self._chipLib.chip_ime_ReadAttribute_Scenes_ClusterRevision.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Scenes_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Scenes_ClusterRevision.restype = ctypes.c_uint32 # Cluster SoftwareDiagnostics # Cluster SoftwareDiagnostics Command ResetWatermarks - self._chipLib.chip_ime_AppendCommand_SoftwareDiagnostics_ResetWatermarks.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_SoftwareDiagnostics_ResetWatermarks.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_SoftwareDiagnostics_ResetWatermarks.restype = ctypes.c_uint32 # Cluster SoftwareDiagnostics ReadAttribute CurrentHeapFree - self._chipLib.chip_ime_ReadAttribute_SoftwareDiagnostics_CurrentHeapFree.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_SoftwareDiagnostics_CurrentHeapFree.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_SoftwareDiagnostics_CurrentHeapFree.restype = ctypes.c_uint32 # Cluster SoftwareDiagnostics ReadAttribute CurrentHeapUsed - self._chipLib.chip_ime_ReadAttribute_SoftwareDiagnostics_CurrentHeapUsed.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_SoftwareDiagnostics_CurrentHeapUsed.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_SoftwareDiagnostics_CurrentHeapUsed.restype = ctypes.c_uint32 # Cluster SoftwareDiagnostics ReadAttribute CurrentHeapHighWatermark - self._chipLib.chip_ime_ReadAttribute_SoftwareDiagnostics_CurrentHeapHighWatermark.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_SoftwareDiagnostics_CurrentHeapHighWatermark.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_SoftwareDiagnostics_CurrentHeapHighWatermark.restype = ctypes.c_uint32 # Cluster SoftwareDiagnostics ReadAttribute ClusterRevision - self._chipLib.chip_ime_ReadAttribute_SoftwareDiagnostics_ClusterRevision.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_SoftwareDiagnostics_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_SoftwareDiagnostics_ClusterRevision.restype = ctypes.c_uint32 # Cluster Switch # Cluster Switch ReadAttribute NumberOfPositions - self._chipLib.chip_ime_ReadAttribute_Switch_NumberOfPositions.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Switch_NumberOfPositions.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Switch_NumberOfPositions.restype = ctypes.c_uint32 # Cluster Switch ReadAttribute CurrentPosition - self._chipLib.chip_ime_ReadAttribute_Switch_CurrentPosition.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Switch_CurrentPosition.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Switch_CurrentPosition.restype = ctypes.c_uint32 # Cluster Switch SubscribeAttribute CurrentPosition - self._chipLib.chip_ime_SubscribeAttribute_Switch_CurrentPosition.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_SubscribeAttribute_Switch_CurrentPosition.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_SubscribeAttribute_Switch_CurrentPosition.restype = ctypes.c_uint32 # Cluster Switch ReadAttribute ClusterRevision - self._chipLib.chip_ime_ReadAttribute_Switch_ClusterRevision.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Switch_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Switch_ClusterRevision.restype = ctypes.c_uint32 # Cluster TvChannel # Cluster TvChannel Command ChangeChannel - self._chipLib.chip_ime_AppendCommand_TvChannel_ChangeChannel.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32] + self._chipLib.chip_ime_AppendCommand_TvChannel_ChangeChannel.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32] self._chipLib.chip_ime_AppendCommand_TvChannel_ChangeChannel.restype = ctypes.c_uint32 # Cluster TvChannel Command ChangeChannelByNumber - self._chipLib.chip_ime_AppendCommand_TvChannel_ChangeChannelByNumber.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_TvChannel_ChangeChannelByNumber.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_TvChannel_ChangeChannelByNumber.restype = ctypes.c_uint32 # Cluster TvChannel Command SkipChannel - self._chipLib.chip_ime_AppendCommand_TvChannel_SkipChannel.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_TvChannel_SkipChannel.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_TvChannel_SkipChannel.restype = ctypes.c_uint32 # Cluster TvChannel ReadAttribute TvChannelList - self._chipLib.chip_ime_ReadAttribute_TvChannel_TvChannelList.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_TvChannel_TvChannelList.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_TvChannel_TvChannelList.restype = ctypes.c_uint32 # Cluster TvChannel ReadAttribute TvChannelLineup - self._chipLib.chip_ime_ReadAttribute_TvChannel_TvChannelLineup.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_TvChannel_TvChannelLineup.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_TvChannel_TvChannelLineup.restype = ctypes.c_uint32 # Cluster TvChannel ReadAttribute CurrentTvChannel - self._chipLib.chip_ime_ReadAttribute_TvChannel_CurrentTvChannel.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_TvChannel_CurrentTvChannel.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_TvChannel_CurrentTvChannel.restype = ctypes.c_uint32 # Cluster TvChannel ReadAttribute ClusterRevision - self._chipLib.chip_ime_ReadAttribute_TvChannel_ClusterRevision.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_TvChannel_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_TvChannel_ClusterRevision.restype = ctypes.c_uint32 # Cluster TargetNavigator # Cluster TargetNavigator Command NavigateTarget - self._chipLib.chip_ime_AppendCommand_TargetNavigator_NavigateTarget.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_char_p, ctypes.c_uint32] + self._chipLib.chip_ime_AppendCommand_TargetNavigator_NavigateTarget.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_char_p, ctypes.c_uint32] self._chipLib.chip_ime_AppendCommand_TargetNavigator_NavigateTarget.restype = ctypes.c_uint32 # Cluster TargetNavigator ReadAttribute TargetNavigatorList - self._chipLib.chip_ime_ReadAttribute_TargetNavigator_TargetNavigatorList.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_TargetNavigator_TargetNavigatorList.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_TargetNavigator_TargetNavigatorList.restype = ctypes.c_uint32 # Cluster TargetNavigator ReadAttribute ClusterRevision - self._chipLib.chip_ime_ReadAttribute_TargetNavigator_ClusterRevision.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_TargetNavigator_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_TargetNavigator_ClusterRevision.restype = ctypes.c_uint32 # Cluster TemperatureMeasurement # Cluster TemperatureMeasurement ReadAttribute MeasuredValue - self._chipLib.chip_ime_ReadAttribute_TemperatureMeasurement_MeasuredValue.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_TemperatureMeasurement_MeasuredValue.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_TemperatureMeasurement_MeasuredValue.restype = ctypes.c_uint32 # Cluster TemperatureMeasurement SubscribeAttribute MeasuredValue - self._chipLib.chip_ime_SubscribeAttribute_TemperatureMeasurement_MeasuredValue.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_SubscribeAttribute_TemperatureMeasurement_MeasuredValue.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_SubscribeAttribute_TemperatureMeasurement_MeasuredValue.restype = ctypes.c_uint32 # Cluster TemperatureMeasurement ReadAttribute MinMeasuredValue - self._chipLib.chip_ime_ReadAttribute_TemperatureMeasurement_MinMeasuredValue.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_TemperatureMeasurement_MinMeasuredValue.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_TemperatureMeasurement_MinMeasuredValue.restype = ctypes.c_uint32 # Cluster TemperatureMeasurement ReadAttribute MaxMeasuredValue - self._chipLib.chip_ime_ReadAttribute_TemperatureMeasurement_MaxMeasuredValue.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_TemperatureMeasurement_MaxMeasuredValue.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_TemperatureMeasurement_MaxMeasuredValue.restype = ctypes.c_uint32 # Cluster TemperatureMeasurement ReadAttribute Tolerance - self._chipLib.chip_ime_ReadAttribute_TemperatureMeasurement_Tolerance.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_TemperatureMeasurement_Tolerance.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_TemperatureMeasurement_Tolerance.restype = ctypes.c_uint32 # Cluster TemperatureMeasurement SubscribeAttribute Tolerance - self._chipLib.chip_ime_SubscribeAttribute_TemperatureMeasurement_Tolerance.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_SubscribeAttribute_TemperatureMeasurement_Tolerance.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_SubscribeAttribute_TemperatureMeasurement_Tolerance.restype = ctypes.c_uint32 # Cluster TemperatureMeasurement ReadAttribute ClusterRevision - self._chipLib.chip_ime_ReadAttribute_TemperatureMeasurement_ClusterRevision.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_TemperatureMeasurement_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_TemperatureMeasurement_ClusterRevision.restype = ctypes.c_uint32 # Cluster TestCluster # Cluster TestCluster Command Test - self._chipLib.chip_ime_AppendCommand_TestCluster_Test.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_TestCluster_Test.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_TestCluster_Test.restype = ctypes.c_uint32 # Cluster TestCluster Command TestAddArguments - self._chipLib.chip_ime_AppendCommand_TestCluster_TestAddArguments.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8] + self._chipLib.chip_ime_AppendCommand_TestCluster_TestAddArguments.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8] self._chipLib.chip_ime_AppendCommand_TestCluster_TestAddArguments.restype = ctypes.c_uint32 # Cluster TestCluster Command TestEnumsRequest - self._chipLib.chip_ime_AppendCommand_TestCluster_TestEnumsRequest.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint8] + self._chipLib.chip_ime_AppendCommand_TestCluster_TestEnumsRequest.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16, ctypes.c_uint8] self._chipLib.chip_ime_AppendCommand_TestCluster_TestEnumsRequest.restype = ctypes.c_uint32 # Cluster TestCluster Command TestListInt8UArgumentRequest - self._chipLib.chip_ime_AppendCommand_TestCluster_TestListInt8UArgumentRequest.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] + self._chipLib.chip_ime_AppendCommand_TestCluster_TestListInt8UArgumentRequest.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] self._chipLib.chip_ime_AppendCommand_TestCluster_TestListInt8UArgumentRequest.restype = ctypes.c_uint32 # Cluster TestCluster Command TestListInt8UReverseRequest - self._chipLib.chip_ime_AppendCommand_TestCluster_TestListInt8UReverseRequest.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] + self._chipLib.chip_ime_AppendCommand_TestCluster_TestListInt8UReverseRequest.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] self._chipLib.chip_ime_AppendCommand_TestCluster_TestListInt8UReverseRequest.restype = ctypes.c_uint32 # Cluster TestCluster Command TestListStructArgumentRequest - self._chipLib.chip_ime_AppendCommand_TestCluster_TestListStructArgumentRequest.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_bool, ctypes.c_uint8, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_uint8] + self._chipLib.chip_ime_AppendCommand_TestCluster_TestListStructArgumentRequest.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_bool, ctypes.c_uint8, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_uint8] self._chipLib.chip_ime_AppendCommand_TestCluster_TestListStructArgumentRequest.restype = ctypes.c_uint32 # Cluster TestCluster Command TestNotHandled - self._chipLib.chip_ime_AppendCommand_TestCluster_TestNotHandled.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_TestCluster_TestNotHandled.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_TestCluster_TestNotHandled.restype = ctypes.c_uint32 # Cluster TestCluster Command TestNullableOptionalRequest - self._chipLib.chip_ime_AppendCommand_TestCluster_TestNullableOptionalRequest.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] + self._chipLib.chip_ime_AppendCommand_TestCluster_TestNullableOptionalRequest.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] self._chipLib.chip_ime_AppendCommand_TestCluster_TestNullableOptionalRequest.restype = ctypes.c_uint32 # Cluster TestCluster Command TestSpecific - self._chipLib.chip_ime_AppendCommand_TestCluster_TestSpecific.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_TestCluster_TestSpecific.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_TestCluster_TestSpecific.restype = ctypes.c_uint32 # Cluster TestCluster Command TestStructArgumentRequest - self._chipLib.chip_ime_AppendCommand_TestCluster_TestStructArgumentRequest.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_bool, ctypes.c_uint8, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_uint8] + self._chipLib.chip_ime_AppendCommand_TestCluster_TestStructArgumentRequest.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_bool, ctypes.c_uint8, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_char_p, ctypes.c_uint32, ctypes.c_uint8] self._chipLib.chip_ime_AppendCommand_TestCluster_TestStructArgumentRequest.restype = ctypes.c_uint32 # Cluster TestCluster Command TestUnknownCommand - self._chipLib.chip_ime_AppendCommand_TestCluster_TestUnknownCommand.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_TestCluster_TestUnknownCommand.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_TestCluster_TestUnknownCommand.restype = ctypes.c_uint32 # Cluster TestCluster ReadAttribute Boolean - self._chipLib.chip_ime_ReadAttribute_TestCluster_Boolean.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_TestCluster_Boolean.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_TestCluster_Boolean.restype = ctypes.c_uint32 # Cluster TestCluster WriteAttribute Boolean - self._chipLib.chip_ime_WriteAttribute_TestCluster_Boolean.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_bool] + self._chipLib.chip_ime_WriteAttribute_TestCluster_Boolean.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_bool] self._chipLib.chip_ime_WriteAttribute_TestCluster_Boolean.restype = ctypes.c_uint32 # Cluster TestCluster ReadAttribute Bitmap8 - self._chipLib.chip_ime_ReadAttribute_TestCluster_Bitmap8.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_TestCluster_Bitmap8.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_TestCluster_Bitmap8.restype = ctypes.c_uint32 # Cluster TestCluster WriteAttribute Bitmap8 - self._chipLib.chip_ime_WriteAttribute_TestCluster_Bitmap8.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] + self._chipLib.chip_ime_WriteAttribute_TestCluster_Bitmap8.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] self._chipLib.chip_ime_WriteAttribute_TestCluster_Bitmap8.restype = ctypes.c_uint32 # Cluster TestCluster ReadAttribute Bitmap16 - self._chipLib.chip_ime_ReadAttribute_TestCluster_Bitmap16.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_TestCluster_Bitmap16.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_TestCluster_Bitmap16.restype = ctypes.c_uint32 # Cluster TestCluster WriteAttribute Bitmap16 - self._chipLib.chip_ime_WriteAttribute_TestCluster_Bitmap16.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_WriteAttribute_TestCluster_Bitmap16.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_WriteAttribute_TestCluster_Bitmap16.restype = ctypes.c_uint32 # Cluster TestCluster ReadAttribute Bitmap32 - self._chipLib.chip_ime_ReadAttribute_TestCluster_Bitmap32.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_TestCluster_Bitmap32.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_TestCluster_Bitmap32.restype = ctypes.c_uint32 # Cluster TestCluster WriteAttribute Bitmap32 - self._chipLib.chip_ime_WriteAttribute_TestCluster_Bitmap32.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint32] + self._chipLib.chip_ime_WriteAttribute_TestCluster_Bitmap32.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint32] self._chipLib.chip_ime_WriteAttribute_TestCluster_Bitmap32.restype = ctypes.c_uint32 # Cluster TestCluster ReadAttribute Bitmap64 - self._chipLib.chip_ime_ReadAttribute_TestCluster_Bitmap64.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_TestCluster_Bitmap64.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_TestCluster_Bitmap64.restype = ctypes.c_uint32 # Cluster TestCluster WriteAttribute Bitmap64 - self._chipLib.chip_ime_WriteAttribute_TestCluster_Bitmap64.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint64] + self._chipLib.chip_ime_WriteAttribute_TestCluster_Bitmap64.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint64] self._chipLib.chip_ime_WriteAttribute_TestCluster_Bitmap64.restype = ctypes.c_uint32 # Cluster TestCluster ReadAttribute Int8u - self._chipLib.chip_ime_ReadAttribute_TestCluster_Int8u.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_TestCluster_Int8u.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_TestCluster_Int8u.restype = ctypes.c_uint32 # Cluster TestCluster WriteAttribute Int8u - self._chipLib.chip_ime_WriteAttribute_TestCluster_Int8u.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] + self._chipLib.chip_ime_WriteAttribute_TestCluster_Int8u.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] self._chipLib.chip_ime_WriteAttribute_TestCluster_Int8u.restype = ctypes.c_uint32 # Cluster TestCluster ReadAttribute Int16u - self._chipLib.chip_ime_ReadAttribute_TestCluster_Int16u.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_TestCluster_Int16u.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_TestCluster_Int16u.restype = ctypes.c_uint32 # Cluster TestCluster WriteAttribute Int16u - self._chipLib.chip_ime_WriteAttribute_TestCluster_Int16u.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_WriteAttribute_TestCluster_Int16u.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_WriteAttribute_TestCluster_Int16u.restype = ctypes.c_uint32 # Cluster TestCluster ReadAttribute Int32u - self._chipLib.chip_ime_ReadAttribute_TestCluster_Int32u.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_TestCluster_Int32u.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_TestCluster_Int32u.restype = ctypes.c_uint32 # Cluster TestCluster WriteAttribute Int32u - self._chipLib.chip_ime_WriteAttribute_TestCluster_Int32u.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint32] + self._chipLib.chip_ime_WriteAttribute_TestCluster_Int32u.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint32] self._chipLib.chip_ime_WriteAttribute_TestCluster_Int32u.restype = ctypes.c_uint32 # Cluster TestCluster ReadAttribute Int64u - self._chipLib.chip_ime_ReadAttribute_TestCluster_Int64u.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_TestCluster_Int64u.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_TestCluster_Int64u.restype = ctypes.c_uint32 # Cluster TestCluster WriteAttribute Int64u - self._chipLib.chip_ime_WriteAttribute_TestCluster_Int64u.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint64] + self._chipLib.chip_ime_WriteAttribute_TestCluster_Int64u.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint64] self._chipLib.chip_ime_WriteAttribute_TestCluster_Int64u.restype = ctypes.c_uint32 # Cluster TestCluster ReadAttribute Int8s - self._chipLib.chip_ime_ReadAttribute_TestCluster_Int8s.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_TestCluster_Int8s.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_TestCluster_Int8s.restype = ctypes.c_uint32 # Cluster TestCluster WriteAttribute Int8s - self._chipLib.chip_ime_WriteAttribute_TestCluster_Int8s.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_int8] + self._chipLib.chip_ime_WriteAttribute_TestCluster_Int8s.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_int8] self._chipLib.chip_ime_WriteAttribute_TestCluster_Int8s.restype = ctypes.c_uint32 # Cluster TestCluster ReadAttribute Int16s - self._chipLib.chip_ime_ReadAttribute_TestCluster_Int16s.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_TestCluster_Int16s.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_TestCluster_Int16s.restype = ctypes.c_uint32 # Cluster TestCluster WriteAttribute Int16s - self._chipLib.chip_ime_WriteAttribute_TestCluster_Int16s.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_int16] + self._chipLib.chip_ime_WriteAttribute_TestCluster_Int16s.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_int16] self._chipLib.chip_ime_WriteAttribute_TestCluster_Int16s.restype = ctypes.c_uint32 # Cluster TestCluster ReadAttribute Int32s - self._chipLib.chip_ime_ReadAttribute_TestCluster_Int32s.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_TestCluster_Int32s.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_TestCluster_Int32s.restype = ctypes.c_uint32 # Cluster TestCluster WriteAttribute Int32s - self._chipLib.chip_ime_WriteAttribute_TestCluster_Int32s.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_int32] + self._chipLib.chip_ime_WriteAttribute_TestCluster_Int32s.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_int32] self._chipLib.chip_ime_WriteAttribute_TestCluster_Int32s.restype = ctypes.c_uint32 # Cluster TestCluster ReadAttribute Int64s - self._chipLib.chip_ime_ReadAttribute_TestCluster_Int64s.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_TestCluster_Int64s.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_TestCluster_Int64s.restype = ctypes.c_uint32 # Cluster TestCluster WriteAttribute Int64s - self._chipLib.chip_ime_WriteAttribute_TestCluster_Int64s.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_int64] + self._chipLib.chip_ime_WriteAttribute_TestCluster_Int64s.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_int64] self._chipLib.chip_ime_WriteAttribute_TestCluster_Int64s.restype = ctypes.c_uint32 # Cluster TestCluster ReadAttribute Enum8 - self._chipLib.chip_ime_ReadAttribute_TestCluster_Enum8.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_TestCluster_Enum8.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_TestCluster_Enum8.restype = ctypes.c_uint32 # Cluster TestCluster WriteAttribute Enum8 - self._chipLib.chip_ime_WriteAttribute_TestCluster_Enum8.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] + self._chipLib.chip_ime_WriteAttribute_TestCluster_Enum8.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] self._chipLib.chip_ime_WriteAttribute_TestCluster_Enum8.restype = ctypes.c_uint32 # Cluster TestCluster ReadAttribute Enum16 - self._chipLib.chip_ime_ReadAttribute_TestCluster_Enum16.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_TestCluster_Enum16.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_TestCluster_Enum16.restype = ctypes.c_uint32 # Cluster TestCluster WriteAttribute Enum16 - self._chipLib.chip_ime_WriteAttribute_TestCluster_Enum16.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_WriteAttribute_TestCluster_Enum16.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_WriteAttribute_TestCluster_Enum16.restype = ctypes.c_uint32 # Cluster TestCluster ReadAttribute OctetString - self._chipLib.chip_ime_ReadAttribute_TestCluster_OctetString.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_TestCluster_OctetString.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_TestCluster_OctetString.restype = ctypes.c_uint32 # Cluster TestCluster WriteAttribute OctetString - self._chipLib.chip_ime_WriteAttribute_TestCluster_OctetString.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32] + self._chipLib.chip_ime_WriteAttribute_TestCluster_OctetString.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32] self._chipLib.chip_ime_WriteAttribute_TestCluster_OctetString.restype = ctypes.c_uint32 # Cluster TestCluster ReadAttribute ListInt8u - self._chipLib.chip_ime_ReadAttribute_TestCluster_ListInt8u.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_TestCluster_ListInt8u.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_TestCluster_ListInt8u.restype = ctypes.c_uint32 # Cluster TestCluster ReadAttribute ListOctetString - self._chipLib.chip_ime_ReadAttribute_TestCluster_ListOctetString.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_TestCluster_ListOctetString.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_TestCluster_ListOctetString.restype = ctypes.c_uint32 # Cluster TestCluster ReadAttribute ListStructOctetString - self._chipLib.chip_ime_ReadAttribute_TestCluster_ListStructOctetString.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_TestCluster_ListStructOctetString.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_TestCluster_ListStructOctetString.restype = ctypes.c_uint32 # Cluster TestCluster ReadAttribute LongOctetString - self._chipLib.chip_ime_ReadAttribute_TestCluster_LongOctetString.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_TestCluster_LongOctetString.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_TestCluster_LongOctetString.restype = ctypes.c_uint32 # Cluster TestCluster WriteAttribute LongOctetString - self._chipLib.chip_ime_WriteAttribute_TestCluster_LongOctetString.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32] + self._chipLib.chip_ime_WriteAttribute_TestCluster_LongOctetString.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32] self._chipLib.chip_ime_WriteAttribute_TestCluster_LongOctetString.restype = ctypes.c_uint32 # Cluster TestCluster ReadAttribute CharString - self._chipLib.chip_ime_ReadAttribute_TestCluster_CharString.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_TestCluster_CharString.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_TestCluster_CharString.restype = ctypes.c_uint32 # Cluster TestCluster WriteAttribute CharString - self._chipLib.chip_ime_WriteAttribute_TestCluster_CharString.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32] + self._chipLib.chip_ime_WriteAttribute_TestCluster_CharString.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32] self._chipLib.chip_ime_WriteAttribute_TestCluster_CharString.restype = ctypes.c_uint32 # Cluster TestCluster ReadAttribute LongCharString - self._chipLib.chip_ime_ReadAttribute_TestCluster_LongCharString.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_TestCluster_LongCharString.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_TestCluster_LongCharString.restype = ctypes.c_uint32 # Cluster TestCluster WriteAttribute LongCharString - self._chipLib.chip_ime_WriteAttribute_TestCluster_LongCharString.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32] + self._chipLib.chip_ime_WriteAttribute_TestCluster_LongCharString.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_char_p, ctypes.c_uint32] self._chipLib.chip_ime_WriteAttribute_TestCluster_LongCharString.restype = ctypes.c_uint32 # Cluster TestCluster ReadAttribute EpochUs - self._chipLib.chip_ime_ReadAttribute_TestCluster_EpochUs.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_TestCluster_EpochUs.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_TestCluster_EpochUs.restype = ctypes.c_uint32 # Cluster TestCluster WriteAttribute EpochUs - self._chipLib.chip_ime_WriteAttribute_TestCluster_EpochUs.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint64] + self._chipLib.chip_ime_WriteAttribute_TestCluster_EpochUs.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint64] self._chipLib.chip_ime_WriteAttribute_TestCluster_EpochUs.restype = ctypes.c_uint32 # Cluster TestCluster ReadAttribute EpochS - self._chipLib.chip_ime_ReadAttribute_TestCluster_EpochS.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_TestCluster_EpochS.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_TestCluster_EpochS.restype = ctypes.c_uint32 # Cluster TestCluster WriteAttribute EpochS - self._chipLib.chip_ime_WriteAttribute_TestCluster_EpochS.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint32] + self._chipLib.chip_ime_WriteAttribute_TestCluster_EpochS.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint32] self._chipLib.chip_ime_WriteAttribute_TestCluster_EpochS.restype = ctypes.c_uint32 # Cluster TestCluster ReadAttribute VendorId - self._chipLib.chip_ime_ReadAttribute_TestCluster_VendorId.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_TestCluster_VendorId.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_TestCluster_VendorId.restype = ctypes.c_uint32 # Cluster TestCluster WriteAttribute VendorId - self._chipLib.chip_ime_WriteAttribute_TestCluster_VendorId.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_WriteAttribute_TestCluster_VendorId.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_WriteAttribute_TestCluster_VendorId.restype = ctypes.c_uint32 # Cluster TestCluster ReadAttribute ListNullablesAndOptionalsStruct - self._chipLib.chip_ime_ReadAttribute_TestCluster_ListNullablesAndOptionalsStruct.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_TestCluster_ListNullablesAndOptionalsStruct.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_TestCluster_ListNullablesAndOptionalsStruct.restype = ctypes.c_uint32 # Cluster TestCluster ReadAttribute Unsupported - self._chipLib.chip_ime_ReadAttribute_TestCluster_Unsupported.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_TestCluster_Unsupported.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_TestCluster_Unsupported.restype = ctypes.c_uint32 # Cluster TestCluster WriteAttribute Unsupported - self._chipLib.chip_ime_WriteAttribute_TestCluster_Unsupported.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_bool] + self._chipLib.chip_ime_WriteAttribute_TestCluster_Unsupported.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_bool] self._chipLib.chip_ime_WriteAttribute_TestCluster_Unsupported.restype = ctypes.c_uint32 # Cluster TestCluster ReadAttribute ClusterRevision - self._chipLib.chip_ime_ReadAttribute_TestCluster_ClusterRevision.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_TestCluster_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_TestCluster_ClusterRevision.restype = ctypes.c_uint32 # Cluster Thermostat # Cluster Thermostat Command ClearWeeklySchedule - self._chipLib.chip_ime_AppendCommand_Thermostat_ClearWeeklySchedule.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_Thermostat_ClearWeeklySchedule.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_Thermostat_ClearWeeklySchedule.restype = ctypes.c_uint32 # Cluster Thermostat Command GetRelayStatusLog - self._chipLib.chip_ime_AppendCommand_Thermostat_GetRelayStatusLog.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_Thermostat_GetRelayStatusLog.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_Thermostat_GetRelayStatusLog.restype = ctypes.c_uint32 # Cluster Thermostat Command GetWeeklySchedule - self._chipLib.chip_ime_AppendCommand_Thermostat_GetWeeklySchedule.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8] + self._chipLib.chip_ime_AppendCommand_Thermostat_GetWeeklySchedule.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8] self._chipLib.chip_ime_AppendCommand_Thermostat_GetWeeklySchedule.restype = ctypes.c_uint32 # Cluster Thermostat Command SetWeeklySchedule - self._chipLib.chip_ime_AppendCommand_Thermostat_SetWeeklySchedule.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint8] + self._chipLib.chip_ime_AppendCommand_Thermostat_SetWeeklySchedule.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint8, ctypes.c_uint8] self._chipLib.chip_ime_AppendCommand_Thermostat_SetWeeklySchedule.restype = ctypes.c_uint32 # Cluster Thermostat Command SetpointRaiseLower - self._chipLib.chip_ime_AppendCommand_Thermostat_SetpointRaiseLower.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_int8] + self._chipLib.chip_ime_AppendCommand_Thermostat_SetpointRaiseLower.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_int8] self._chipLib.chip_ime_AppendCommand_Thermostat_SetpointRaiseLower.restype = ctypes.c_uint32 # Cluster Thermostat ReadAttribute LocalTemperature - self._chipLib.chip_ime_ReadAttribute_Thermostat_LocalTemperature.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Thermostat_LocalTemperature.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Thermostat_LocalTemperature.restype = ctypes.c_uint32 # Cluster Thermostat SubscribeAttribute LocalTemperature - self._chipLib.chip_ime_SubscribeAttribute_Thermostat_LocalTemperature.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_SubscribeAttribute_Thermostat_LocalTemperature.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_SubscribeAttribute_Thermostat_LocalTemperature.restype = ctypes.c_uint32 # Cluster Thermostat ReadAttribute AbsMinHeatSetpointLimit - self._chipLib.chip_ime_ReadAttribute_Thermostat_AbsMinHeatSetpointLimit.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Thermostat_AbsMinHeatSetpointLimit.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Thermostat_AbsMinHeatSetpointLimit.restype = ctypes.c_uint32 # Cluster Thermostat ReadAttribute AbsMaxHeatSetpointLimit - self._chipLib.chip_ime_ReadAttribute_Thermostat_AbsMaxHeatSetpointLimit.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Thermostat_AbsMaxHeatSetpointLimit.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Thermostat_AbsMaxHeatSetpointLimit.restype = ctypes.c_uint32 # Cluster Thermostat ReadAttribute AbsMinCoolSetpointLimit - self._chipLib.chip_ime_ReadAttribute_Thermostat_AbsMinCoolSetpointLimit.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Thermostat_AbsMinCoolSetpointLimit.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Thermostat_AbsMinCoolSetpointLimit.restype = ctypes.c_uint32 # Cluster Thermostat ReadAttribute AbsMaxCoolSetpointLimit - self._chipLib.chip_ime_ReadAttribute_Thermostat_AbsMaxCoolSetpointLimit.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Thermostat_AbsMaxCoolSetpointLimit.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Thermostat_AbsMaxCoolSetpointLimit.restype = ctypes.c_uint32 # Cluster Thermostat ReadAttribute OccupiedCoolingSetpoint - self._chipLib.chip_ime_ReadAttribute_Thermostat_OccupiedCoolingSetpoint.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Thermostat_OccupiedCoolingSetpoint.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Thermostat_OccupiedCoolingSetpoint.restype = ctypes.c_uint32 # Cluster Thermostat WriteAttribute OccupiedCoolingSetpoint - self._chipLib.chip_ime_WriteAttribute_Thermostat_OccupiedCoolingSetpoint.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_int16] + self._chipLib.chip_ime_WriteAttribute_Thermostat_OccupiedCoolingSetpoint.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_int16] self._chipLib.chip_ime_WriteAttribute_Thermostat_OccupiedCoolingSetpoint.restype = ctypes.c_uint32 # Cluster Thermostat ReadAttribute OccupiedHeatingSetpoint - self._chipLib.chip_ime_ReadAttribute_Thermostat_OccupiedHeatingSetpoint.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Thermostat_OccupiedHeatingSetpoint.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Thermostat_OccupiedHeatingSetpoint.restype = ctypes.c_uint32 # Cluster Thermostat WriteAttribute OccupiedHeatingSetpoint - self._chipLib.chip_ime_WriteAttribute_Thermostat_OccupiedHeatingSetpoint.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_int16] + self._chipLib.chip_ime_WriteAttribute_Thermostat_OccupiedHeatingSetpoint.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_int16] self._chipLib.chip_ime_WriteAttribute_Thermostat_OccupiedHeatingSetpoint.restype = ctypes.c_uint32 # Cluster Thermostat ReadAttribute MinHeatSetpointLimit - self._chipLib.chip_ime_ReadAttribute_Thermostat_MinHeatSetpointLimit.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Thermostat_MinHeatSetpointLimit.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Thermostat_MinHeatSetpointLimit.restype = ctypes.c_uint32 # Cluster Thermostat WriteAttribute MinHeatSetpointLimit - self._chipLib.chip_ime_WriteAttribute_Thermostat_MinHeatSetpointLimit.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_int16] + self._chipLib.chip_ime_WriteAttribute_Thermostat_MinHeatSetpointLimit.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_int16] self._chipLib.chip_ime_WriteAttribute_Thermostat_MinHeatSetpointLimit.restype = ctypes.c_uint32 # Cluster Thermostat ReadAttribute MaxHeatSetpointLimit - self._chipLib.chip_ime_ReadAttribute_Thermostat_MaxHeatSetpointLimit.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Thermostat_MaxHeatSetpointLimit.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Thermostat_MaxHeatSetpointLimit.restype = ctypes.c_uint32 # Cluster Thermostat WriteAttribute MaxHeatSetpointLimit - self._chipLib.chip_ime_WriteAttribute_Thermostat_MaxHeatSetpointLimit.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_int16] + self._chipLib.chip_ime_WriteAttribute_Thermostat_MaxHeatSetpointLimit.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_int16] self._chipLib.chip_ime_WriteAttribute_Thermostat_MaxHeatSetpointLimit.restype = ctypes.c_uint32 # Cluster Thermostat ReadAttribute MinCoolSetpointLimit - self._chipLib.chip_ime_ReadAttribute_Thermostat_MinCoolSetpointLimit.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Thermostat_MinCoolSetpointLimit.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Thermostat_MinCoolSetpointLimit.restype = ctypes.c_uint32 # Cluster Thermostat WriteAttribute MinCoolSetpointLimit - self._chipLib.chip_ime_WriteAttribute_Thermostat_MinCoolSetpointLimit.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_int16] + self._chipLib.chip_ime_WriteAttribute_Thermostat_MinCoolSetpointLimit.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_int16] self._chipLib.chip_ime_WriteAttribute_Thermostat_MinCoolSetpointLimit.restype = ctypes.c_uint32 # Cluster Thermostat ReadAttribute MaxCoolSetpointLimit - self._chipLib.chip_ime_ReadAttribute_Thermostat_MaxCoolSetpointLimit.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Thermostat_MaxCoolSetpointLimit.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Thermostat_MaxCoolSetpointLimit.restype = ctypes.c_uint32 # Cluster Thermostat WriteAttribute MaxCoolSetpointLimit - self._chipLib.chip_ime_WriteAttribute_Thermostat_MaxCoolSetpointLimit.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_int16] + self._chipLib.chip_ime_WriteAttribute_Thermostat_MaxCoolSetpointLimit.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_int16] self._chipLib.chip_ime_WriteAttribute_Thermostat_MaxCoolSetpointLimit.restype = ctypes.c_uint32 # Cluster Thermostat ReadAttribute MinSetpointDeadBand - self._chipLib.chip_ime_ReadAttribute_Thermostat_MinSetpointDeadBand.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Thermostat_MinSetpointDeadBand.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Thermostat_MinSetpointDeadBand.restype = ctypes.c_uint32 # Cluster Thermostat WriteAttribute MinSetpointDeadBand - self._chipLib.chip_ime_WriteAttribute_Thermostat_MinSetpointDeadBand.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_int8] + self._chipLib.chip_ime_WriteAttribute_Thermostat_MinSetpointDeadBand.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_int8] self._chipLib.chip_ime_WriteAttribute_Thermostat_MinSetpointDeadBand.restype = ctypes.c_uint32 # Cluster Thermostat ReadAttribute ControlSequenceOfOperation - self._chipLib.chip_ime_ReadAttribute_Thermostat_ControlSequenceOfOperation.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Thermostat_ControlSequenceOfOperation.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Thermostat_ControlSequenceOfOperation.restype = ctypes.c_uint32 # Cluster Thermostat WriteAttribute ControlSequenceOfOperation - self._chipLib.chip_ime_WriteAttribute_Thermostat_ControlSequenceOfOperation.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] + self._chipLib.chip_ime_WriteAttribute_Thermostat_ControlSequenceOfOperation.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] self._chipLib.chip_ime_WriteAttribute_Thermostat_ControlSequenceOfOperation.restype = ctypes.c_uint32 # Cluster Thermostat ReadAttribute SystemMode - self._chipLib.chip_ime_ReadAttribute_Thermostat_SystemMode.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Thermostat_SystemMode.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Thermostat_SystemMode.restype = ctypes.c_uint32 # Cluster Thermostat WriteAttribute SystemMode - self._chipLib.chip_ime_WriteAttribute_Thermostat_SystemMode.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] + self._chipLib.chip_ime_WriteAttribute_Thermostat_SystemMode.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] self._chipLib.chip_ime_WriteAttribute_Thermostat_SystemMode.restype = ctypes.c_uint32 # Cluster Thermostat ReadAttribute StartOfWeek - self._chipLib.chip_ime_ReadAttribute_Thermostat_StartOfWeek.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Thermostat_StartOfWeek.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Thermostat_StartOfWeek.restype = ctypes.c_uint32 # Cluster Thermostat ReadAttribute NumberOfWeeklyTransitions - self._chipLib.chip_ime_ReadAttribute_Thermostat_NumberOfWeeklyTransitions.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Thermostat_NumberOfWeeklyTransitions.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Thermostat_NumberOfWeeklyTransitions.restype = ctypes.c_uint32 # Cluster Thermostat ReadAttribute NumberOfDailyTransitions - self._chipLib.chip_ime_ReadAttribute_Thermostat_NumberOfDailyTransitions.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Thermostat_NumberOfDailyTransitions.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Thermostat_NumberOfDailyTransitions.restype = ctypes.c_uint32 # Cluster Thermostat ReadAttribute FeatureMap - self._chipLib.chip_ime_ReadAttribute_Thermostat_FeatureMap.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Thermostat_FeatureMap.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Thermostat_FeatureMap.restype = ctypes.c_uint32 # Cluster Thermostat ReadAttribute ClusterRevision - self._chipLib.chip_ime_ReadAttribute_Thermostat_ClusterRevision.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_Thermostat_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_Thermostat_ClusterRevision.restype = ctypes.c_uint32 # Cluster ThermostatUserInterfaceConfiguration # Cluster ThermostatUserInterfaceConfiguration ReadAttribute TemperatureDisplayMode - self._chipLib.chip_ime_ReadAttribute_ThermostatUserInterfaceConfiguration_TemperatureDisplayMode.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThermostatUserInterfaceConfiguration_TemperatureDisplayMode.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThermostatUserInterfaceConfiguration_TemperatureDisplayMode.restype = ctypes.c_uint32 # Cluster ThermostatUserInterfaceConfiguration WriteAttribute TemperatureDisplayMode - self._chipLib.chip_ime_WriteAttribute_ThermostatUserInterfaceConfiguration_TemperatureDisplayMode.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] + self._chipLib.chip_ime_WriteAttribute_ThermostatUserInterfaceConfiguration_TemperatureDisplayMode.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] self._chipLib.chip_ime_WriteAttribute_ThermostatUserInterfaceConfiguration_TemperatureDisplayMode.restype = ctypes.c_uint32 # Cluster ThermostatUserInterfaceConfiguration ReadAttribute KeypadLockout - self._chipLib.chip_ime_ReadAttribute_ThermostatUserInterfaceConfiguration_KeypadLockout.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThermostatUserInterfaceConfiguration_KeypadLockout.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThermostatUserInterfaceConfiguration_KeypadLockout.restype = ctypes.c_uint32 # Cluster ThermostatUserInterfaceConfiguration WriteAttribute KeypadLockout - self._chipLib.chip_ime_WriteAttribute_ThermostatUserInterfaceConfiguration_KeypadLockout.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] + self._chipLib.chip_ime_WriteAttribute_ThermostatUserInterfaceConfiguration_KeypadLockout.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] self._chipLib.chip_ime_WriteAttribute_ThermostatUserInterfaceConfiguration_KeypadLockout.restype = ctypes.c_uint32 # Cluster ThermostatUserInterfaceConfiguration ReadAttribute ScheduleProgrammingVisibility - self._chipLib.chip_ime_ReadAttribute_ThermostatUserInterfaceConfiguration_ScheduleProgrammingVisibility.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThermostatUserInterfaceConfiguration_ScheduleProgrammingVisibility.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThermostatUserInterfaceConfiguration_ScheduleProgrammingVisibility.restype = ctypes.c_uint32 # Cluster ThermostatUserInterfaceConfiguration WriteAttribute ScheduleProgrammingVisibility - self._chipLib.chip_ime_WriteAttribute_ThermostatUserInterfaceConfiguration_ScheduleProgrammingVisibility.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] + self._chipLib.chip_ime_WriteAttribute_ThermostatUserInterfaceConfiguration_ScheduleProgrammingVisibility.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] self._chipLib.chip_ime_WriteAttribute_ThermostatUserInterfaceConfiguration_ScheduleProgrammingVisibility.restype = ctypes.c_uint32 # Cluster ThermostatUserInterfaceConfiguration ReadAttribute ClusterRevision - self._chipLib.chip_ime_ReadAttribute_ThermostatUserInterfaceConfiguration_ClusterRevision.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThermostatUserInterfaceConfiguration_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThermostatUserInterfaceConfiguration_ClusterRevision.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics # Cluster ThreadNetworkDiagnostics Command ResetCounts - self._chipLib.chip_ime_AppendCommand_ThreadNetworkDiagnostics_ResetCounts.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_ThreadNetworkDiagnostics_ResetCounts.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_ThreadNetworkDiagnostics_ResetCounts.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute Channel - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_Channel.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_Channel.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_Channel.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute RoutingRole - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RoutingRole.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RoutingRole.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RoutingRole.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute NetworkName - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_NetworkName.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_NetworkName.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_NetworkName.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute PanId - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_PanId.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_PanId.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_PanId.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute ExtendedPanId - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_ExtendedPanId.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_ExtendedPanId.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_ExtendedPanId.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute MeshLocalPrefix - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_MeshLocalPrefix.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_MeshLocalPrefix.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_MeshLocalPrefix.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute OverrunCount - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_OverrunCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_OverrunCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_OverrunCount.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute NeighborTableList - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_NeighborTableList.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_NeighborTableList.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_NeighborTableList.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute RouteTableList - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RouteTableList.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RouteTableList.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RouteTableList.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute PartitionId - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_PartitionId.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_PartitionId.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_PartitionId.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute Weighting - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_Weighting.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_Weighting.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_Weighting.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute DataVersion - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_DataVersion.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_DataVersion.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_DataVersion.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute StableDataVersion - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_StableDataVersion.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_StableDataVersion.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_StableDataVersion.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute LeaderRouterId - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_LeaderRouterId.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_LeaderRouterId.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_LeaderRouterId.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute DetachedRoleCount - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_DetachedRoleCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_DetachedRoleCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_DetachedRoleCount.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute ChildRoleCount - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_ChildRoleCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_ChildRoleCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_ChildRoleCount.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute RouterRoleCount - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RouterRoleCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RouterRoleCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RouterRoleCount.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute LeaderRoleCount - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_LeaderRoleCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_LeaderRoleCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_LeaderRoleCount.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute AttachAttemptCount - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_AttachAttemptCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_AttachAttemptCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_AttachAttemptCount.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute PartitionIdChangeCount - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_PartitionIdChangeCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_PartitionIdChangeCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_PartitionIdChangeCount.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute BetterPartitionAttachAttemptCount - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_BetterPartitionAttachAttemptCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_BetterPartitionAttachAttemptCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_BetterPartitionAttachAttemptCount.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute ParentChangeCount - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_ParentChangeCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_ParentChangeCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_ParentChangeCount.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute TxTotalCount - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxTotalCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxTotalCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxTotalCount.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute TxUnicastCount - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxUnicastCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxUnicastCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxUnicastCount.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute TxBroadcastCount - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxBroadcastCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxBroadcastCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxBroadcastCount.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute TxAckRequestedCount - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxAckRequestedCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxAckRequestedCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxAckRequestedCount.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute TxAckedCount - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxAckedCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxAckedCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxAckedCount.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute TxNoAckRequestedCount - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxNoAckRequestedCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxNoAckRequestedCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxNoAckRequestedCount.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute TxDataCount - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxDataCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxDataCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxDataCount.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute TxDataPollCount - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxDataPollCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxDataPollCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxDataPollCount.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute TxBeaconCount - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxBeaconCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxBeaconCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxBeaconCount.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute TxBeaconRequestCount - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxBeaconRequestCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxBeaconRequestCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxBeaconRequestCount.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute TxOtherCount - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxOtherCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxOtherCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxOtherCount.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute TxRetryCount - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxRetryCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxRetryCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxRetryCount.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute TxDirectMaxRetryExpiryCount - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxDirectMaxRetryExpiryCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxDirectMaxRetryExpiryCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxDirectMaxRetryExpiryCount.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute TxIndirectMaxRetryExpiryCount - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxIndirectMaxRetryExpiryCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxIndirectMaxRetryExpiryCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxIndirectMaxRetryExpiryCount.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute TxErrCcaCount - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxErrCcaCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxErrCcaCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxErrCcaCount.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute TxErrAbortCount - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxErrAbortCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxErrAbortCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxErrAbortCount.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute TxErrBusyChannelCount - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxErrBusyChannelCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxErrBusyChannelCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_TxErrBusyChannelCount.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute RxTotalCount - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxTotalCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxTotalCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxTotalCount.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute RxUnicastCount - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxUnicastCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxUnicastCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxUnicastCount.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute RxBroadcastCount - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxBroadcastCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxBroadcastCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxBroadcastCount.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute RxDataCount - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxDataCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxDataCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxDataCount.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute RxDataPollCount - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxDataPollCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxDataPollCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxDataPollCount.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute RxBeaconCount - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxBeaconCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxBeaconCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxBeaconCount.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute RxBeaconRequestCount - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxBeaconRequestCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxBeaconRequestCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxBeaconRequestCount.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute RxOtherCount - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxOtherCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxOtherCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxOtherCount.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute RxAddressFilteredCount - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxAddressFilteredCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxAddressFilteredCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxAddressFilteredCount.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute RxDestAddrFilteredCount - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxDestAddrFilteredCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxDestAddrFilteredCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxDestAddrFilteredCount.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute RxDuplicatedCount - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxDuplicatedCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxDuplicatedCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxDuplicatedCount.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute RxErrNoFrameCount - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxErrNoFrameCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxErrNoFrameCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxErrNoFrameCount.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute RxErrUnknownNeighborCount - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxErrUnknownNeighborCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxErrUnknownNeighborCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxErrUnknownNeighborCount.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute RxErrInvalidSrcAddrCount - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxErrInvalidSrcAddrCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxErrInvalidSrcAddrCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxErrInvalidSrcAddrCount.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute RxErrSecCount - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxErrSecCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxErrSecCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxErrSecCount.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute RxErrFcsCount - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxErrFcsCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxErrFcsCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxErrFcsCount.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute RxErrOtherCount - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxErrOtherCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxErrOtherCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_RxErrOtherCount.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute ActiveTimestamp - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_ActiveTimestamp.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_ActiveTimestamp.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_ActiveTimestamp.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute PendingTimestamp - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_PendingTimestamp.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_PendingTimestamp.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_PendingTimestamp.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute Delay - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_Delay.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_Delay.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_Delay.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute SecurityPolicy - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_SecurityPolicy.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_SecurityPolicy.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_SecurityPolicy.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute ChannelMask - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_ChannelMask.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_ChannelMask.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_ChannelMask.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute OperationalDatasetComponents - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_OperationalDatasetComponents.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_OperationalDatasetComponents.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_OperationalDatasetComponents.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute ActiveNetworkFaultsList - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_ActiveNetworkFaultsList.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_ActiveNetworkFaultsList.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_ActiveNetworkFaultsList.restype = ctypes.c_uint32 # Cluster ThreadNetworkDiagnostics ReadAttribute ClusterRevision - self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_ClusterRevision.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_ThreadNetworkDiagnostics_ClusterRevision.restype = ctypes.c_uint32 # Cluster WakeOnLan # Cluster WakeOnLan ReadAttribute WakeOnLanMacAddress - self._chipLib.chip_ime_ReadAttribute_WakeOnLan_WakeOnLanMacAddress.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_WakeOnLan_WakeOnLanMacAddress.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_WakeOnLan_WakeOnLanMacAddress.restype = ctypes.c_uint32 # Cluster WakeOnLan ReadAttribute ClusterRevision - self._chipLib.chip_ime_ReadAttribute_WakeOnLan_ClusterRevision.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_WakeOnLan_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_WakeOnLan_ClusterRevision.restype = ctypes.c_uint32 # Cluster WiFiNetworkDiagnostics # Cluster WiFiNetworkDiagnostics Command ResetCounts - self._chipLib.chip_ime_AppendCommand_WiFiNetworkDiagnostics_ResetCounts.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_WiFiNetworkDiagnostics_ResetCounts.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_WiFiNetworkDiagnostics_ResetCounts.restype = ctypes.c_uint32 # Cluster WiFiNetworkDiagnostics ReadAttribute Bssid - self._chipLib.chip_ime_ReadAttribute_WiFiNetworkDiagnostics_Bssid.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_WiFiNetworkDiagnostics_Bssid.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_WiFiNetworkDiagnostics_Bssid.restype = ctypes.c_uint32 # Cluster WiFiNetworkDiagnostics ReadAttribute SecurityType - self._chipLib.chip_ime_ReadAttribute_WiFiNetworkDiagnostics_SecurityType.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_WiFiNetworkDiagnostics_SecurityType.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_WiFiNetworkDiagnostics_SecurityType.restype = ctypes.c_uint32 # Cluster WiFiNetworkDiagnostics ReadAttribute WiFiVersion - self._chipLib.chip_ime_ReadAttribute_WiFiNetworkDiagnostics_WiFiVersion.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_WiFiNetworkDiagnostics_WiFiVersion.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_WiFiNetworkDiagnostics_WiFiVersion.restype = ctypes.c_uint32 # Cluster WiFiNetworkDiagnostics ReadAttribute ChannelNumber - self._chipLib.chip_ime_ReadAttribute_WiFiNetworkDiagnostics_ChannelNumber.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_WiFiNetworkDiagnostics_ChannelNumber.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_WiFiNetworkDiagnostics_ChannelNumber.restype = ctypes.c_uint32 # Cluster WiFiNetworkDiagnostics ReadAttribute Rssi - self._chipLib.chip_ime_ReadAttribute_WiFiNetworkDiagnostics_Rssi.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_WiFiNetworkDiagnostics_Rssi.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_WiFiNetworkDiagnostics_Rssi.restype = ctypes.c_uint32 # Cluster WiFiNetworkDiagnostics ReadAttribute BeaconLostCount - self._chipLib.chip_ime_ReadAttribute_WiFiNetworkDiagnostics_BeaconLostCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_WiFiNetworkDiagnostics_BeaconLostCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_WiFiNetworkDiagnostics_BeaconLostCount.restype = ctypes.c_uint32 # Cluster WiFiNetworkDiagnostics ReadAttribute BeaconRxCount - self._chipLib.chip_ime_ReadAttribute_WiFiNetworkDiagnostics_BeaconRxCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_WiFiNetworkDiagnostics_BeaconRxCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_WiFiNetworkDiagnostics_BeaconRxCount.restype = ctypes.c_uint32 # Cluster WiFiNetworkDiagnostics ReadAttribute PacketMulticastRxCount - self._chipLib.chip_ime_ReadAttribute_WiFiNetworkDiagnostics_PacketMulticastRxCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_WiFiNetworkDiagnostics_PacketMulticastRxCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_WiFiNetworkDiagnostics_PacketMulticastRxCount.restype = ctypes.c_uint32 # Cluster WiFiNetworkDiagnostics ReadAttribute PacketMulticastTxCount - self._chipLib.chip_ime_ReadAttribute_WiFiNetworkDiagnostics_PacketMulticastTxCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_WiFiNetworkDiagnostics_PacketMulticastTxCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_WiFiNetworkDiagnostics_PacketMulticastTxCount.restype = ctypes.c_uint32 # Cluster WiFiNetworkDiagnostics ReadAttribute PacketUnicastRxCount - self._chipLib.chip_ime_ReadAttribute_WiFiNetworkDiagnostics_PacketUnicastRxCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_WiFiNetworkDiagnostics_PacketUnicastRxCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_WiFiNetworkDiagnostics_PacketUnicastRxCount.restype = ctypes.c_uint32 # Cluster WiFiNetworkDiagnostics ReadAttribute PacketUnicastTxCount - self._chipLib.chip_ime_ReadAttribute_WiFiNetworkDiagnostics_PacketUnicastTxCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_WiFiNetworkDiagnostics_PacketUnicastTxCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_WiFiNetworkDiagnostics_PacketUnicastTxCount.restype = ctypes.c_uint32 # Cluster WiFiNetworkDiagnostics ReadAttribute CurrentMaxRate - self._chipLib.chip_ime_ReadAttribute_WiFiNetworkDiagnostics_CurrentMaxRate.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_WiFiNetworkDiagnostics_CurrentMaxRate.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_WiFiNetworkDiagnostics_CurrentMaxRate.restype = ctypes.c_uint32 # Cluster WiFiNetworkDiagnostics ReadAttribute OverrunCount - self._chipLib.chip_ime_ReadAttribute_WiFiNetworkDiagnostics_OverrunCount.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_WiFiNetworkDiagnostics_OverrunCount.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_WiFiNetworkDiagnostics_OverrunCount.restype = ctypes.c_uint32 # Cluster WiFiNetworkDiagnostics ReadAttribute ClusterRevision - self._chipLib.chip_ime_ReadAttribute_WiFiNetworkDiagnostics_ClusterRevision.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_WiFiNetworkDiagnostics_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_WiFiNetworkDiagnostics_ClusterRevision.restype = ctypes.c_uint32 # Cluster WindowCovering # Cluster WindowCovering Command DownOrClose - self._chipLib.chip_ime_AppendCommand_WindowCovering_DownOrClose.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_WindowCovering_DownOrClose.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_WindowCovering_DownOrClose.restype = ctypes.c_uint32 # Cluster WindowCovering Command GoToLiftPercentage - self._chipLib.chip_ime_AppendCommand_WindowCovering_GoToLiftPercentage.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_WindowCovering_GoToLiftPercentage.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_WindowCovering_GoToLiftPercentage.restype = ctypes.c_uint32 # Cluster WindowCovering Command GoToLiftValue - self._chipLib.chip_ime_AppendCommand_WindowCovering_GoToLiftValue.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_WindowCovering_GoToLiftValue.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_WindowCovering_GoToLiftValue.restype = ctypes.c_uint32 # Cluster WindowCovering Command GoToTiltPercentage - self._chipLib.chip_ime_AppendCommand_WindowCovering_GoToTiltPercentage.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_WindowCovering_GoToTiltPercentage.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_WindowCovering_GoToTiltPercentage.restype = ctypes.c_uint32 # Cluster WindowCovering Command GoToTiltValue - self._chipLib.chip_ime_AppendCommand_WindowCovering_GoToTiltValue.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_WindowCovering_GoToTiltValue.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_WindowCovering_GoToTiltValue.restype = ctypes.c_uint32 # Cluster WindowCovering Command StopMotion - self._chipLib.chip_ime_AppendCommand_WindowCovering_StopMotion.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_WindowCovering_StopMotion.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_WindowCovering_StopMotion.restype = ctypes.c_uint32 # Cluster WindowCovering Command UpOrOpen - self._chipLib.chip_ime_AppendCommand_WindowCovering_UpOrOpen.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_AppendCommand_WindowCovering_UpOrOpen.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_AppendCommand_WindowCovering_UpOrOpen.restype = ctypes.c_uint32 # Cluster WindowCovering ReadAttribute Type - self._chipLib.chip_ime_ReadAttribute_WindowCovering_Type.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_WindowCovering_Type.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_WindowCovering_Type.restype = ctypes.c_uint32 # Cluster WindowCovering ReadAttribute CurrentPositionLift - self._chipLib.chip_ime_ReadAttribute_WindowCovering_CurrentPositionLift.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_WindowCovering_CurrentPositionLift.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_WindowCovering_CurrentPositionLift.restype = ctypes.c_uint32 # Cluster WindowCovering ReadAttribute CurrentPositionTilt - self._chipLib.chip_ime_ReadAttribute_WindowCovering_CurrentPositionTilt.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_WindowCovering_CurrentPositionTilt.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_WindowCovering_CurrentPositionTilt.restype = ctypes.c_uint32 # Cluster WindowCovering ReadAttribute ConfigStatus - self._chipLib.chip_ime_ReadAttribute_WindowCovering_ConfigStatus.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_WindowCovering_ConfigStatus.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_WindowCovering_ConfigStatus.restype = ctypes.c_uint32 # Cluster WindowCovering ReadAttribute CurrentPositionLiftPercentage - self._chipLib.chip_ime_ReadAttribute_WindowCovering_CurrentPositionLiftPercentage.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_WindowCovering_CurrentPositionLiftPercentage.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_WindowCovering_CurrentPositionLiftPercentage.restype = ctypes.c_uint32 # Cluster WindowCovering SubscribeAttribute CurrentPositionLiftPercentage - self._chipLib.chip_ime_SubscribeAttribute_WindowCovering_CurrentPositionLiftPercentage.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_SubscribeAttribute_WindowCovering_CurrentPositionLiftPercentage.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_SubscribeAttribute_WindowCovering_CurrentPositionLiftPercentage.restype = ctypes.c_uint32 # Cluster WindowCovering ReadAttribute CurrentPositionTiltPercentage - self._chipLib.chip_ime_ReadAttribute_WindowCovering_CurrentPositionTiltPercentage.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_WindowCovering_CurrentPositionTiltPercentage.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_WindowCovering_CurrentPositionTiltPercentage.restype = ctypes.c_uint32 # Cluster WindowCovering SubscribeAttribute CurrentPositionTiltPercentage - self._chipLib.chip_ime_SubscribeAttribute_WindowCovering_CurrentPositionTiltPercentage.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_SubscribeAttribute_WindowCovering_CurrentPositionTiltPercentage.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_SubscribeAttribute_WindowCovering_CurrentPositionTiltPercentage.restype = ctypes.c_uint32 # Cluster WindowCovering ReadAttribute OperationalStatus - self._chipLib.chip_ime_ReadAttribute_WindowCovering_OperationalStatus.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_WindowCovering_OperationalStatus.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_WindowCovering_OperationalStatus.restype = ctypes.c_uint32 # Cluster WindowCovering SubscribeAttribute OperationalStatus - self._chipLib.chip_ime_SubscribeAttribute_WindowCovering_OperationalStatus.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_SubscribeAttribute_WindowCovering_OperationalStatus.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_SubscribeAttribute_WindowCovering_OperationalStatus.restype = ctypes.c_uint32 # Cluster WindowCovering ReadAttribute TargetPositionLiftPercent100ths - self._chipLib.chip_ime_ReadAttribute_WindowCovering_TargetPositionLiftPercent100ths.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_WindowCovering_TargetPositionLiftPercent100ths.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_WindowCovering_TargetPositionLiftPercent100ths.restype = ctypes.c_uint32 # Cluster WindowCovering SubscribeAttribute TargetPositionLiftPercent100ths - self._chipLib.chip_ime_SubscribeAttribute_WindowCovering_TargetPositionLiftPercent100ths.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_SubscribeAttribute_WindowCovering_TargetPositionLiftPercent100ths.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_SubscribeAttribute_WindowCovering_TargetPositionLiftPercent100ths.restype = ctypes.c_uint32 # Cluster WindowCovering ReadAttribute TargetPositionTiltPercent100ths - self._chipLib.chip_ime_ReadAttribute_WindowCovering_TargetPositionTiltPercent100ths.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_WindowCovering_TargetPositionTiltPercent100ths.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_WindowCovering_TargetPositionTiltPercent100ths.restype = ctypes.c_uint32 # Cluster WindowCovering SubscribeAttribute TargetPositionTiltPercent100ths - self._chipLib.chip_ime_SubscribeAttribute_WindowCovering_TargetPositionTiltPercent100ths.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_SubscribeAttribute_WindowCovering_TargetPositionTiltPercent100ths.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_SubscribeAttribute_WindowCovering_TargetPositionTiltPercent100ths.restype = ctypes.c_uint32 # Cluster WindowCovering ReadAttribute EndProductType - self._chipLib.chip_ime_ReadAttribute_WindowCovering_EndProductType.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_WindowCovering_EndProductType.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_WindowCovering_EndProductType.restype = ctypes.c_uint32 # Cluster WindowCovering ReadAttribute CurrentPositionLiftPercent100ths - self._chipLib.chip_ime_ReadAttribute_WindowCovering_CurrentPositionLiftPercent100ths.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_WindowCovering_CurrentPositionLiftPercent100ths.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_WindowCovering_CurrentPositionLiftPercent100ths.restype = ctypes.c_uint32 # Cluster WindowCovering SubscribeAttribute CurrentPositionLiftPercent100ths - self._chipLib.chip_ime_SubscribeAttribute_WindowCovering_CurrentPositionLiftPercent100ths.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_SubscribeAttribute_WindowCovering_CurrentPositionLiftPercent100ths.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_SubscribeAttribute_WindowCovering_CurrentPositionLiftPercent100ths.restype = ctypes.c_uint32 # Cluster WindowCovering ReadAttribute CurrentPositionTiltPercent100ths - self._chipLib.chip_ime_ReadAttribute_WindowCovering_CurrentPositionTiltPercent100ths.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_WindowCovering_CurrentPositionTiltPercent100ths.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_WindowCovering_CurrentPositionTiltPercent100ths.restype = ctypes.c_uint32 # Cluster WindowCovering SubscribeAttribute CurrentPositionTiltPercent100ths - self._chipLib.chip_ime_SubscribeAttribute_WindowCovering_CurrentPositionTiltPercent100ths.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_SubscribeAttribute_WindowCovering_CurrentPositionTiltPercent100ths.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_SubscribeAttribute_WindowCovering_CurrentPositionTiltPercent100ths.restype = ctypes.c_uint32 # Cluster WindowCovering ReadAttribute InstalledOpenLimitLift - self._chipLib.chip_ime_ReadAttribute_WindowCovering_InstalledOpenLimitLift.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_WindowCovering_InstalledOpenLimitLift.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_WindowCovering_InstalledOpenLimitLift.restype = ctypes.c_uint32 # Cluster WindowCovering ReadAttribute InstalledClosedLimitLift - self._chipLib.chip_ime_ReadAttribute_WindowCovering_InstalledClosedLimitLift.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_WindowCovering_InstalledClosedLimitLift.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_WindowCovering_InstalledClosedLimitLift.restype = ctypes.c_uint32 # Cluster WindowCovering ReadAttribute InstalledOpenLimitTilt - self._chipLib.chip_ime_ReadAttribute_WindowCovering_InstalledOpenLimitTilt.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_WindowCovering_InstalledOpenLimitTilt.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_WindowCovering_InstalledOpenLimitTilt.restype = ctypes.c_uint32 # Cluster WindowCovering ReadAttribute InstalledClosedLimitTilt - self._chipLib.chip_ime_ReadAttribute_WindowCovering_InstalledClosedLimitTilt.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_WindowCovering_InstalledClosedLimitTilt.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_WindowCovering_InstalledClosedLimitTilt.restype = ctypes.c_uint32 # Cluster WindowCovering ReadAttribute Mode - self._chipLib.chip_ime_ReadAttribute_WindowCovering_Mode.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_WindowCovering_Mode.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_WindowCovering_Mode.restype = ctypes.c_uint32 # Cluster WindowCovering WriteAttribute Mode - self._chipLib.chip_ime_WriteAttribute_WindowCovering_Mode.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] + self._chipLib.chip_ime_WriteAttribute_WindowCovering_Mode.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] self._chipLib.chip_ime_WriteAttribute_WindowCovering_Mode.restype = ctypes.c_uint32 # Cluster WindowCovering ReadAttribute SafetyStatus - self._chipLib.chip_ime_ReadAttribute_WindowCovering_SafetyStatus.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_WindowCovering_SafetyStatus.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_WindowCovering_SafetyStatus.restype = ctypes.c_uint32 # Cluster WindowCovering SubscribeAttribute SafetyStatus - self._chipLib.chip_ime_SubscribeAttribute_WindowCovering_SafetyStatus.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_SubscribeAttribute_WindowCovering_SafetyStatus.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] self._chipLib.chip_ime_SubscribeAttribute_WindowCovering_SafetyStatus.restype = ctypes.c_uint32 # Cluster WindowCovering ReadAttribute FeatureMap - self._chipLib.chip_ime_ReadAttribute_WindowCovering_FeatureMap.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_WindowCovering_FeatureMap.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_WindowCovering_FeatureMap.restype = ctypes.c_uint32 # Cluster WindowCovering ReadAttribute ClusterRevision - self._chipLib.chip_ime_ReadAttribute_WindowCovering_ClusterRevision.argtypes = [ - ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_WindowCovering_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] self._chipLib.chip_ime_ReadAttribute_WindowCovering_ClusterRevision.restype = ctypes.c_uint32 # Init response delegates - def HandleSuccess(): self._ChipStack.callbackRes = 0 self._ChipStack.completeEvent.set() diff --git a/src/controller/python/chip/clusters/Objects.py b/src/controller/python/chip/clusters/Objects.py index 5883d7bc105074..c13ebc34125caa 100644 --- a/src/controller/python/chip/clusters/Objects.py +++ b/src/controller/python/chip/clusters/Objects.py @@ -36,6 +36,9 @@ class PowerConfiguration: id: typing.ClassVar[int] = 0x0001 + + + class Attributes: class MainsVoltage(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -50,6 +53,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class MainsFrequency(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -63,6 +67,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class MainsAlarmMask(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -76,6 +81,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class MainsVoltageMinThreshold(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -89,6 +95,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class MainsVoltageMaxThreshold(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -102,6 +109,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class MainsVoltageDwellTrip(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -115,6 +123,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class BatteryVoltage(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -128,6 +137,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class BatteryPercentageRemaining(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -141,6 +151,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class BatteryManufacturer(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -154,6 +165,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=str) + class BatterySize(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -167,6 +179,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class BatteryAhrRating(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -180,6 +193,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class BatteryQuantity(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -193,6 +207,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class BatteryRatedVoltage(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -206,6 +221,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class BatteryAlarmMask(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -219,6 +235,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class BatteryVoltageMinThreshold(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -232,6 +249,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class BatteryVoltageThreshold1(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -245,6 +263,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class BatteryVoltageThreshold2(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -258,6 +277,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class BatteryVoltageThreshold3(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -271,6 +291,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class BatteryPercentageMinThreshold(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -284,6 +305,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class BatteryPercentageThreshold1(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -297,6 +319,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class BatteryPercentageThreshold2(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -310,6 +333,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class BatteryPercentageThreshold3(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -323,6 +347,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class BatteryAlarmState(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -336,6 +361,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Battery2Voltage(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -349,6 +375,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Battery2PercentageRemaining(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -362,6 +389,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Battery2Manufacturer(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -375,6 +403,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=str) + class Battery2Size(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -388,6 +417,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Battery2AhrRating(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -401,6 +431,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Battery2Quantity(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -414,6 +445,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Battery2RatedVoltage(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -427,6 +459,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Battery2AlarmMask(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -440,6 +473,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Battery2VoltageMinThreshold(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -453,6 +487,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Battery2VoltageThreshold1(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -466,6 +501,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Battery2VoltageThreshold2(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -479,6 +515,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Battery2VoltageThreshold3(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -492,6 +529,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Battery2PercentageMinThreshold(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -505,6 +543,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Battery2PercentageThreshold1(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -518,6 +557,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Battery2PercentageThreshold2(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -531,6 +571,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Battery2PercentageThreshold3(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -544,6 +585,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Battery2AlarmState(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -557,6 +599,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Battery3Voltage(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -570,6 +613,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Battery3PercentageRemaining(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -583,6 +627,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Battery3Manufacturer(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -596,6 +641,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=str) + class Battery3Size(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -609,6 +655,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Battery3AhrRating(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -622,6 +669,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Battery3Quantity(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -635,6 +683,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Battery3RatedVoltage(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -648,6 +697,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Battery3AlarmMask(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -661,6 +711,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Battery3VoltageMinThreshold(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -674,6 +725,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Battery3VoltageThreshold1(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -687,6 +739,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Battery3VoltageThreshold2(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -700,6 +753,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Battery3VoltageThreshold3(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -713,6 +767,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Battery3PercentageMinThreshold(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -726,6 +781,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Battery3PercentageThreshold1(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -739,6 +795,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Battery3PercentageThreshold2(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -752,6 +809,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Battery3PercentageThreshold3(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -765,6 +823,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Battery3AlarmState(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -778,6 +837,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -791,6 +851,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -805,10 +866,15 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class DeviceTemperatureConfiguration: id: typing.ClassVar[int] = 0x0002 + + + class Attributes: class CurrentTemperature(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -823,6 +889,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class MinTempExperienced(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -836,6 +903,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class MaxTempExperienced(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -849,6 +917,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class OverTempTotalDwell(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -862,6 +931,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class DeviceTempAlarmMask(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -875,6 +945,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class LowTempThreshold(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -888,6 +959,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class HighTempThreshold(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -901,6 +973,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class LowTempDwellTripPoint(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -914,6 +987,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class HighTempDwellTripPoint(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -927,6 +1001,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -940,6 +1015,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -954,6 +1030,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class Identify: id: typing.ClassVar[int] = 0x0003 @@ -978,6 +1056,8 @@ class IdentifyIdentifyType(IntEnum): kDisplay = 0x04 kActuator = 0x05 + + class Commands: @dataclass class Identify(ClusterCommand): @@ -988,9 +1068,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' = None @@ -1004,9 +1083,8 @@ class IdentifyQueryResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="timeout", Tag=0, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="timeout", Tag=0, Type=uint), ]) timeout: 'uint' = None @@ -1020,9 +1098,10 @@ class IdentifyQuery(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class TriggerEffect(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0003 @@ -1032,16 +1111,15 @@ 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' = None effectVariant: 'Identify.Enums.IdentifyEffectVariant' = None + class Attributes: class IdentifyTime(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -1056,6 +1134,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class IdentifyType(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -1069,6 +1148,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -1082,6 +1162,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -1096,10 +1177,14 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class Groups: id: typing.ClassVar[int] = 0x0004 + + class Commands: @dataclass class AddGroup(ClusterCommand): @@ -1110,11 +1195,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' = None @@ -1129,11 +1212,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' = None @@ -1148,9 +1229,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' = None @@ -1164,13 +1244,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' = None @@ -1186,11 +1263,9 @@ class GetGroupMembership(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="groupCount", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="groupList", Tag=1, Type=uint, IsArray=True), + Fields = [ + ClusterObjectFieldDescriptor(Label="groupCount", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="groupList", Tag=1, Type=uint, IsArray=True), ]) groupCount: 'uint' = None @@ -1205,13 +1280,10 @@ class GetGroupMembershipResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="capacity", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="groupCount", Tag=1, Type=uint), - ClusterObjectFieldDescriptor( - Label="groupList", Tag=2, Type=uint, IsArray=True), + Fields = [ + ClusterObjectFieldDescriptor(Label="capacity", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="groupCount", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="groupList", Tag=2, Type=uint, IsArray=True), ]) capacity: 'uint' = None @@ -1227,9 +1299,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' = None @@ -1243,11 +1314,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' = None @@ -1262,9 +1331,10 @@ class RemoveAllGroups(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class AddGroupIfIdentifying(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0004 @@ -1274,16 +1344,15 @@ 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' = None groupName: 'str' = None + class Attributes: class NameSupport(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -1298,6 +1367,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -1311,6 +1381,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -1325,29 +1396,31 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class Scenes: id: typing.ClassVar[int] = 0x0005 + class Structs: @dataclass class SceneExtensionFieldSet(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="clusterId", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="length", Tag=1, Type=uint), - ClusterObjectFieldDescriptor( - Label="value", Tag=2, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="clusterId", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="length", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="value", Tag=2, Type=uint), ]) clusterId: 'uint' = None length: 'uint' = None value: 'uint' = None + + class Commands: @dataclass class AddScene(ClusterCommand): @@ -1358,17 +1431,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=Scenes.Structs.SceneExtensionFieldSet, IsArray=True), + 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=Scenes.Structs.SceneExtensionFieldSet, IsArray=True), ]) groupId: 'uint' = None @@ -1386,13 +1454,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' = None @@ -1408,11 +1473,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' = None @@ -1427,19 +1490,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=uint), - ClusterObjectFieldDescriptor( - Label="sceneName", Tag=4, Type=str), - ClusterObjectFieldDescriptor( - Label="extensionFieldSets", Tag=5, Type=Scenes.Structs.SceneExtensionFieldSet, IsArray=True), + 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=uint), + ClusterObjectFieldDescriptor(Label="sceneName", Tag=4, Type=str), + ClusterObjectFieldDescriptor(Label="extensionFieldSets", Tag=5, Type=Scenes.Structs.SceneExtensionFieldSet, IsArray=True), ]) status: 'uint' = None @@ -1458,11 +1515,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' = None @@ -1477,13 +1532,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' = None @@ -1499,9 +1551,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' = None @@ -1515,11 +1566,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' = None @@ -1534,11 +1583,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' = None @@ -1553,13 +1600,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' = None @@ -1575,13 +1619,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=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="groupId", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="sceneId", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint), ]) groupId: 'uint' = None @@ -1597,9 +1638,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' = None @@ -1613,17 +1653,12 @@ 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=uint), - ClusterObjectFieldDescriptor( - Label="groupId", Tag=2, Type=uint), - ClusterObjectFieldDescriptor( - Label="sceneCount", Tag=3, Type=uint), - ClusterObjectFieldDescriptor( - Label="sceneList", Tag=4, Type=uint, IsArray=True), + Fields = [ + ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="capacity", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="groupId", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="sceneCount", Tag=3, Type=uint), + ClusterObjectFieldDescriptor(Label="sceneList", Tag=4, Type=uint, IsArray=True), ]) status: 'uint' = None @@ -1641,17 +1676,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=Scenes.Structs.SceneExtensionFieldSet, IsArray=True), + 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=Scenes.Structs.SceneExtensionFieldSet, IsArray=True), ]) groupId: 'uint' = None @@ -1669,13 +1699,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' = None @@ -1691,11 +1718,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' = None @@ -1710,19 +1735,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=uint), - ClusterObjectFieldDescriptor( - Label="sceneName", Tag=4, Type=str), - ClusterObjectFieldDescriptor( - Label="extensionFieldSets", Tag=5, Type=Scenes.Structs.SceneExtensionFieldSet, IsArray=True), + 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=uint), + ClusterObjectFieldDescriptor(Label="sceneName", Tag=4, Type=str), + ClusterObjectFieldDescriptor(Label="extensionFieldSets", Tag=5, Type=Scenes.Structs.SceneExtensionFieldSet, IsArray=True), ]) status: 'uint' = None @@ -1741,17 +1760,12 @@ class CopyScene(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="mode", Tag=0, Type=int), - ClusterObjectFieldDescriptor( - Label="groupIdFrom", Tag=1, Type=uint), - ClusterObjectFieldDescriptor( - Label="sceneIdFrom", Tag=2, Type=uint), - ClusterObjectFieldDescriptor( - Label="groupIdTo", Tag=3, Type=uint), - ClusterObjectFieldDescriptor( - Label="sceneIdTo", Tag=4, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="mode", Tag=0, Type=int), + ClusterObjectFieldDescriptor(Label="groupIdFrom", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="sceneIdFrom", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="groupIdTo", Tag=3, Type=uint), + ClusterObjectFieldDescriptor(Label="sceneIdTo", Tag=4, Type=uint), ]) mode: 'int' = None @@ -1769,19 +1783,17 @@ class CopySceneResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="status", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="groupIdFrom", Tag=1, Type=uint), - ClusterObjectFieldDescriptor( - Label="sceneIdFrom", Tag=2, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="groupIdFrom", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="sceneIdFrom", Tag=2, Type=uint), ]) status: 'uint' = None groupIdFrom: 'uint' = None sceneIdFrom: 'uint' = None + class Attributes: class SceneCount(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -1796,6 +1808,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class CurrentScene(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -1809,6 +1822,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class CurrentGroup(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -1822,6 +1836,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class SceneValid(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -1835,6 +1850,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=bool) + class NameSupport(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -1848,6 +1864,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class LastConfiguredBy(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -1861,6 +1878,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -1874,6 +1892,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -1888,6 +1907,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class OnOff: id: typing.ClassVar[int] = 0x0006 @@ -1905,6 +1926,8 @@ class OnOffEffectIdentifier(IntEnum): kDelayedAllOff = 0x00 kDyingLight = 0x01 + + class Commands: @dataclass class Off(ClusterCommand): @@ -1915,9 +1938,10 @@ class Off(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class SampleMfgSpecificOffWithTransition(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0006 @@ -1927,9 +1951,10 @@ class SampleMfgSpecificOffWithTransition(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class On(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0006 @@ -1939,9 +1964,10 @@ class On(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class SampleMfgSpecificOnWithTransition(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0006 @@ -1951,9 +1977,10 @@ class SampleMfgSpecificOnWithTransition(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class SampleMfgSpecificOnWithTransition2(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0006 @@ -1963,9 +1990,10 @@ class SampleMfgSpecificOnWithTransition2(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class Toggle(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0006 @@ -1975,9 +2003,10 @@ class Toggle(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class SampleMfgSpecificToggleWithTransition(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0006 @@ -1987,9 +2016,10 @@ class SampleMfgSpecificToggleWithTransition(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class SampleMfgSpecificToggleWithTransition2(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0006 @@ -1999,9 +2029,10 @@ class SampleMfgSpecificToggleWithTransition2(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class OffWithEffect(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0006 @@ -2011,11 +2042,9 @@ class OffWithEffect(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="effectId", Tag=0, Type=OnOff.Enums.OnOffEffectIdentifier), - ClusterObjectFieldDescriptor( - Label="effectVariant", Tag=1, Type=OnOff.Enums.OnOffDelayedAllOffEffectVariant), + Fields = [ + ClusterObjectFieldDescriptor(Label="effectId", Tag=0, Type=OnOff.Enums.OnOffEffectIdentifier), + ClusterObjectFieldDescriptor(Label="effectVariant", Tag=1, Type=OnOff.Enums.OnOffDelayedAllOffEffectVariant), ]) effectId: 'OnOff.Enums.OnOffEffectIdentifier' = None @@ -2030,9 +2059,10 @@ class OnWithRecallGlobalScene(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class OnWithTimedOff(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0006 @@ -2042,19 +2072,17 @@ class OnWithTimedOff(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="onOffControl", Tag=0, Type=int), - ClusterObjectFieldDescriptor( - Label="onTime", Tag=1, Type=uint), - ClusterObjectFieldDescriptor( - Label="offWaitTime", Tag=2, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="onOffControl", Tag=0, Type=int), + ClusterObjectFieldDescriptor(Label="onTime", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="offWaitTime", Tag=2, Type=uint), ]) onOffControl: 'int' = None onTime: 'uint' = None offWaitTime: 'uint' = None + class Attributes: class OnOff(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -2069,6 +2097,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=bool) + class SampleMfgSpecificAttribute0x00000x1002(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -2082,6 +2111,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class SampleMfgSpecificAttribute0x00000x1049(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -2095,6 +2125,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class SampleMfgSpecificAttribute0x00010x1002(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -2108,6 +2139,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class SampleMfgSpecificAttribute0x00010x1040(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -2121,6 +2153,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class GlobalSceneControl(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -2134,6 +2167,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=bool) + class OnTime(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -2147,6 +2181,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class OffWaitTime(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -2160,6 +2195,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class StartUpOnOff(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -2173,6 +2209,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -2186,6 +2223,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -2200,10 +2238,15 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class OnOffSwitchConfiguration: id: typing.ClassVar[int] = 0x0007 + + + class Attributes: class SwitchType(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -2218,6 +2261,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class SwitchActions(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -2231,6 +2275,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -2244,6 +2289,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -2258,6 +2304,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class LevelControl: id: typing.ClassVar[int] = 0x0008 @@ -2271,6 +2319,8 @@ class StepMode(IntEnum): kUp = 0x00 kDown = 0x01 + + class Commands: @dataclass class MoveToLevel(ClusterCommand): @@ -2281,15 +2331,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=uint), - ClusterObjectFieldDescriptor( - Label="optionMask", Tag=2, Type=uint), - ClusterObjectFieldDescriptor( - Label="optionOverride", Tag=3, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="level", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="transitionTime", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="optionMask", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="optionOverride", Tag=3, Type=uint), ]) level: 'uint' = None @@ -2306,15 +2352,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=uint), - ClusterObjectFieldDescriptor( - Label="optionMask", Tag=2, Type=uint), - ClusterObjectFieldDescriptor( - Label="optionOverride", Tag=3, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="moveMode", Tag=0, Type=LevelControl.Enums.MoveMode), + ClusterObjectFieldDescriptor(Label="rate", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="optionMask", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="optionOverride", Tag=3, Type=uint), ]) moveMode: 'LevelControl.Enums.MoveMode' = None @@ -2331,17 +2373,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=uint), - ClusterObjectFieldDescriptor( - Label="optionMask", Tag=3, Type=uint), - ClusterObjectFieldDescriptor( - Label="optionOverride", 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=uint), + ClusterObjectFieldDescriptor(Label="optionMask", Tag=3, Type=uint), + ClusterObjectFieldDescriptor(Label="optionOverride", Tag=4, Type=uint), ]) stepMode: 'LevelControl.Enums.StepMode' = None @@ -2359,11 +2396,9 @@ class Stop(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="optionMask", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="optionOverride", Tag=1, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="optionMask", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="optionOverride", Tag=1, Type=uint), ]) optionMask: 'uint' = None @@ -2378,11 +2413,9 @@ 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=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="level", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="transitionTime", Tag=1, Type=uint), ]) level: 'uint' = None @@ -2397,11 +2430,9 @@ 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=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="moveMode", Tag=0, Type=LevelControl.Enums.MoveMode), + ClusterObjectFieldDescriptor(Label="rate", Tag=1, Type=uint), ]) moveMode: 'LevelControl.Enums.MoveMode' = None @@ -2416,13 +2447,10 @@ 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=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="stepMode", Tag=0, Type=LevelControl.Enums.StepMode), + ClusterObjectFieldDescriptor(Label="stepSize", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint), ]) stepMode: 'LevelControl.Enums.StepMode' = None @@ -2438,9 +2466,11 @@ class StopWithOnOff(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + + class Attributes: class CurrentLevel(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -2455,6 +2485,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class RemainingTime(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -2468,6 +2499,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class MinLevel(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -2481,6 +2513,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class MaxLevel(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -2494,6 +2527,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class CurrentFrequency(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -2507,6 +2541,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class MinFrequency(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -2520,6 +2555,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class MaxFrequency(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -2533,6 +2569,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Options(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -2546,6 +2583,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class OnOffTransitionTime(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -2559,6 +2597,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class OnLevel(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -2572,6 +2611,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class OnTransitionTime(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -2585,6 +2625,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class OffTransitionTime(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -2598,6 +2639,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class DefaultMoveRate(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -2611,6 +2653,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class StartUpCurrentLevel(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -2624,6 +2667,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -2637,6 +2681,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -2651,10 +2696,14 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class Alarms: id: typing.ClassVar[int] = 0x0009 + + class Commands: @dataclass class ResetAlarm(ClusterCommand): @@ -2665,11 +2714,9 @@ class ResetAlarm(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="alarmCode", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="clusterId", Tag=1, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="alarmCode", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="clusterId", Tag=1, Type=uint), ]) alarmCode: 'uint' = None @@ -2684,11 +2731,9 @@ class Alarm(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="alarmCode", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="clusterId", Tag=1, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="alarmCode", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="clusterId", Tag=1, Type=uint), ]) alarmCode: 'uint' = None @@ -2703,9 +2748,10 @@ class ResetAllAlarms(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class GetAlarmResponse(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0009 @@ -2715,15 +2761,11 @@ class GetAlarmResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="status", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="alarmCode", Tag=1, Type=uint), - ClusterObjectFieldDescriptor( - Label="clusterId", Tag=2, Type=uint), - ClusterObjectFieldDescriptor( - Label="timeStamp", Tag=3, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="alarmCode", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="clusterId", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="timeStamp", Tag=3, Type=uint), ]) status: 'uint' = None @@ -2740,9 +2782,10 @@ class GetAlarm(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class ResetAlarmLog(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0009 @@ -2752,9 +2795,11 @@ class ResetAlarmLog(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + + class Attributes: class AlarmCount(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -2769,6 +2814,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -2782,6 +2828,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -2796,10 +2843,15 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class Time: id: typing.ClassVar[int] = 0x000A + + + class Attributes: class Time(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -2814,6 +2866,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class TimeStatus(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -2827,6 +2880,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class TimeZone(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -2840,6 +2894,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class DstStart(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -2853,6 +2908,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class DstEnd(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -2866,6 +2922,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class DstShift(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -2879,6 +2936,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class StandardTime(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -2892,6 +2950,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class LocalTime(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -2905,6 +2964,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class LastSetTime(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -2918,6 +2978,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ValidUntilTime(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -2931,6 +2992,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -2944,6 +3006,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -2958,10 +3021,15 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class BinaryInputBasic: id: typing.ClassVar[int] = 0x000F + + + class Attributes: class ActiveText(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -2976,6 +3044,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=str) + class Description(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -2989,6 +3058,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=str) + class InactiveText(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -3002,6 +3072,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=str) + class OutOfService(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -3015,6 +3086,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=bool) + class Polarity(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -3028,6 +3100,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class PresentValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -3041,6 +3114,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=bool) + class Reliability(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -3054,6 +3128,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class StatusFlags(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -3067,6 +3142,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ApplicationType(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -3080,6 +3156,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -3093,6 +3170,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -3107,25 +3185,24 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class PowerProfile: id: typing.ClassVar[int] = 0x001A + class Structs: @dataclass class PowerProfileRecord(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="powerProfileId", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="energyPhaseId", Tag=1, Type=uint), - ClusterObjectFieldDescriptor( - Label="powerProfileRemoteControl", Tag=2, Type=bool), - ClusterObjectFieldDescriptor( - Label="powerProfileState", Tag=3, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="powerProfileId", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="energyPhaseId", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="powerProfileRemoteControl", Tag=2, Type=bool), + ClusterObjectFieldDescriptor(Label="powerProfileState", Tag=3, Type=uint), ]) powerProfileId: 'uint' = None @@ -3138,11 +3215,9 @@ class ScheduledPhase(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="energyPhaseId", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="scheduledTime", Tag=1, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="energyPhaseId", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="scheduledTime", Tag=1, Type=uint), ]) energyPhaseId: 'uint' = None @@ -3153,19 +3228,13 @@ class TransferredPhase(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="energyPhaseId", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="macroPhaseId", Tag=1, Type=uint), - ClusterObjectFieldDescriptor( - Label="expectedDuration", Tag=2, Type=uint), - ClusterObjectFieldDescriptor( - Label="peakPower", Tag=3, Type=uint), - ClusterObjectFieldDescriptor( - Label="energy", Tag=4, Type=uint), - ClusterObjectFieldDescriptor( - Label="maxActivationDelay", Tag=5, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="energyPhaseId", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="macroPhaseId", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="expectedDuration", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="peakPower", Tag=3, Type=uint), + ClusterObjectFieldDescriptor(Label="energy", Tag=4, Type=uint), + ClusterObjectFieldDescriptor(Label="maxActivationDelay", Tag=5, Type=uint), ]) energyPhaseId: 'uint' = None @@ -3175,6 +3244,8 @@ def descriptor(cls) -> ClusterObjectDescriptor: energy: 'uint' = None maxActivationDelay: 'uint' = None + + class Commands: @dataclass class PowerProfileRequest(ClusterCommand): @@ -3185,9 +3256,8 @@ class PowerProfileRequest(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="powerProfileId", Tag=0, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="powerProfileId", Tag=0, Type=uint), ]) powerProfileId: 'uint' = None @@ -3201,15 +3271,11 @@ class PowerProfileNotification(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="totalProfileNum", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="powerProfileId", Tag=1, Type=uint), - ClusterObjectFieldDescriptor( - Label="numOfTransferredPhases", Tag=2, Type=uint), - ClusterObjectFieldDescriptor( - Label="transferredPhases", Tag=3, Type=PowerProfile.Structs.TransferredPhase, IsArray=True), + Fields = [ + ClusterObjectFieldDescriptor(Label="totalProfileNum", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="powerProfileId", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="numOfTransferredPhases", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="transferredPhases", Tag=3, Type=PowerProfile.Structs.TransferredPhase, IsArray=True), ]) totalProfileNum: 'uint' = None @@ -3226,9 +3292,10 @@ class PowerProfileStateRequest(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class PowerProfileResponse(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x001A @@ -3238,15 +3305,11 @@ class PowerProfileResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="totalProfileNum", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="powerProfileId", Tag=1, Type=uint), - ClusterObjectFieldDescriptor( - Label="numOfTransferredPhases", Tag=2, Type=uint), - ClusterObjectFieldDescriptor( - Label="transferredPhases", Tag=3, Type=PowerProfile.Structs.TransferredPhase, IsArray=True), + Fields = [ + ClusterObjectFieldDescriptor(Label="totalProfileNum", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="powerProfileId", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="numOfTransferredPhases", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="transferredPhases", Tag=3, Type=PowerProfile.Structs.TransferredPhase, IsArray=True), ]) totalProfileNum: 'uint' = None @@ -3263,15 +3326,11 @@ class GetPowerProfilePriceResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="powerProfileId", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="currency", Tag=1, Type=uint), - ClusterObjectFieldDescriptor( - Label="price", Tag=2, Type=uint), - ClusterObjectFieldDescriptor( - Label="priceTrailingDigit", Tag=3, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="powerProfileId", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="currency", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="price", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="priceTrailingDigit", Tag=3, Type=uint), ]) powerProfileId: 'uint' = None @@ -3288,11 +3347,9 @@ class PowerProfileStateResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="powerProfileCount", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="powerProfileRecords", Tag=1, Type=PowerProfile.Structs.PowerProfileRecord, IsArray=True), + Fields = [ + ClusterObjectFieldDescriptor(Label="powerProfileCount", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="powerProfileRecords", Tag=1, Type=PowerProfile.Structs.PowerProfileRecord, IsArray=True), ]) powerProfileCount: 'uint' = None @@ -3307,13 +3364,10 @@ class GetOverallSchedulePriceResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="currency", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="price", Tag=1, Type=uint), - ClusterObjectFieldDescriptor( - Label="priceTrailingDigit", Tag=2, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="currency", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="price", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="priceTrailingDigit", Tag=2, Type=uint), ]) currency: 'uint' = None @@ -3329,9 +3383,8 @@ class GetPowerProfilePrice(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="powerProfileId", Tag=0, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="powerProfileId", Tag=0, Type=uint), ]) powerProfileId: 'uint' = None @@ -3345,13 +3398,10 @@ class EnergyPhasesScheduleNotification(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="powerProfileId", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="numOfScheduledPhases", Tag=1, Type=uint), - ClusterObjectFieldDescriptor( - Label="scheduledPhases", Tag=2, Type=PowerProfile.Structs.ScheduledPhase, IsArray=True), + Fields = [ + ClusterObjectFieldDescriptor(Label="powerProfileId", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="numOfScheduledPhases", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="scheduledPhases", Tag=2, Type=PowerProfile.Structs.ScheduledPhase, IsArray=True), ]) powerProfileId: 'uint' = None @@ -3367,11 +3417,9 @@ class PowerProfilesStateNotification(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="powerProfileCount", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="powerProfileRecords", Tag=1, Type=PowerProfile.Structs.PowerProfileRecord, IsArray=True), + Fields = [ + ClusterObjectFieldDescriptor(Label="powerProfileCount", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="powerProfileRecords", Tag=1, Type=PowerProfile.Structs.PowerProfileRecord, IsArray=True), ]) powerProfileCount: 'uint' = None @@ -3386,13 +3434,10 @@ class EnergyPhasesScheduleResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="powerProfileId", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="numOfScheduledPhases", Tag=1, Type=uint), - ClusterObjectFieldDescriptor( - Label="scheduledPhases", Tag=2, Type=PowerProfile.Structs.ScheduledPhase, IsArray=True), + Fields = [ + ClusterObjectFieldDescriptor(Label="powerProfileId", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="numOfScheduledPhases", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="scheduledPhases", Tag=2, Type=PowerProfile.Structs.ScheduledPhase, IsArray=True), ]) powerProfileId: 'uint' = None @@ -3408,9 +3453,10 @@ class GetOverallSchedulePrice(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class PowerProfileScheduleConstraintsRequest(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x001A @@ -3420,9 +3466,8 @@ class PowerProfileScheduleConstraintsRequest(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="powerProfileId", Tag=0, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="powerProfileId", Tag=0, Type=uint), ]) powerProfileId: 'uint' = None @@ -3436,9 +3481,8 @@ class EnergyPhasesScheduleRequest(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="powerProfileId", Tag=0, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="powerProfileId", Tag=0, Type=uint), ]) powerProfileId: 'uint' = None @@ -3452,9 +3496,8 @@ class EnergyPhasesScheduleStateRequest(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="powerProfileId", Tag=0, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="powerProfileId", Tag=0, Type=uint), ]) powerProfileId: 'uint' = None @@ -3468,13 +3511,10 @@ class EnergyPhasesScheduleStateResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="powerProfileId", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="numOfScheduledPhases", Tag=1, Type=uint), - ClusterObjectFieldDescriptor( - Label="scheduledPhases", Tag=2, Type=PowerProfile.Structs.ScheduledPhase, IsArray=True), + Fields = [ + ClusterObjectFieldDescriptor(Label="powerProfileId", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="numOfScheduledPhases", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="scheduledPhases", Tag=2, Type=PowerProfile.Structs.ScheduledPhase, IsArray=True), ]) powerProfileId: 'uint' = None @@ -3490,15 +3530,11 @@ class GetPowerProfilePriceExtendedResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="powerProfileId", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="currency", Tag=1, Type=uint), - ClusterObjectFieldDescriptor( - Label="price", Tag=2, Type=uint), - ClusterObjectFieldDescriptor( - Label="priceTrailingDigit", Tag=3, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="powerProfileId", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="currency", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="price", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="priceTrailingDigit", Tag=3, Type=uint), ]) powerProfileId: 'uint' = None @@ -3515,13 +3551,10 @@ class EnergyPhasesScheduleStateNotification(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="powerProfileId", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="numOfScheduledPhases", Tag=1, Type=uint), - ClusterObjectFieldDescriptor( - Label="scheduledPhases", Tag=2, Type=PowerProfile.Structs.ScheduledPhase, IsArray=True), + Fields = [ + ClusterObjectFieldDescriptor(Label="powerProfileId", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="numOfScheduledPhases", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="scheduledPhases", Tag=2, Type=PowerProfile.Structs.ScheduledPhase, IsArray=True), ]) powerProfileId: 'uint' = None @@ -3537,13 +3570,10 @@ class PowerProfileScheduleConstraintsNotification(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="powerProfileId", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="startAfter", Tag=1, Type=uint), - ClusterObjectFieldDescriptor( - Label="stopBefore", Tag=2, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="powerProfileId", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="startAfter", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="stopBefore", Tag=2, Type=uint), ]) powerProfileId: 'uint' = None @@ -3559,13 +3589,10 @@ class PowerProfileScheduleConstraintsResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="powerProfileId", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="startAfter", Tag=1, Type=uint), - ClusterObjectFieldDescriptor( - Label="stopBefore", Tag=2, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="powerProfileId", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="startAfter", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="stopBefore", Tag=2, Type=uint), ]) powerProfileId: 'uint' = None @@ -3581,19 +3608,17 @@ class GetPowerProfilePriceExtended(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="options", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="powerProfileId", Tag=1, Type=uint), - ClusterObjectFieldDescriptor( - Label="powerProfileStartTime", Tag=2, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="options", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="powerProfileId", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="powerProfileStartTime", Tag=2, Type=uint), ]) options: 'uint' = None powerProfileId: 'uint' = None powerProfileStartTime: 'uint' = None + class Attributes: class TotalProfileNum(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -3608,6 +3633,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class MultipleScheduling(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -3621,6 +3647,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=bool) + class EnergyFormatting(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -3634,6 +3661,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class EnergyRemote(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -3647,6 +3675,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=bool) + class ScheduleMode(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -3660,6 +3689,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -3673,6 +3703,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -3687,6 +3718,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class ApplianceControl: id: typing.ClassVar[int] = 0x001B @@ -3729,6 +3762,8 @@ class WarningEvent(IntEnum): kWarning4OverallPowerBackBelowThePowerThresholdLevel = 0x03 kWarning5OverallPowerWillBePotentiallyAboveAvailablePowerLevelIfTheApplianceStarts = 0x04 + + class Commands: @dataclass class ExecutionOfACommand(ClusterCommand): @@ -3739,9 +3774,8 @@ class ExecutionOfACommand(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="commandId", Tag=0, Type=ApplianceControl.Enums.CommandIdentification), + Fields = [ + ClusterObjectFieldDescriptor(Label="commandId", Tag=0, Type=ApplianceControl.Enums.CommandIdentification), ]) commandId: 'ApplianceControl.Enums.CommandIdentification' = None @@ -3755,13 +3789,10 @@ class SignalStateResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="applianceStatus", Tag=0, Type=ApplianceControl.Enums.ApplianceStatus), - ClusterObjectFieldDescriptor( - Label="remoteEnableFlagsAndDeviceStatus2", Tag=1, Type=int), - ClusterObjectFieldDescriptor( - Label="applianceStatus2", Tag=2, Type=ApplianceControl.Enums.ApplianceStatus), + Fields = [ + ClusterObjectFieldDescriptor(Label="applianceStatus", Tag=0, Type=ApplianceControl.Enums.ApplianceStatus), + ClusterObjectFieldDescriptor(Label="remoteEnableFlagsAndDeviceStatus2", Tag=1, Type=int), + ClusterObjectFieldDescriptor(Label="applianceStatus2", Tag=2, Type=ApplianceControl.Enums.ApplianceStatus), ]) applianceStatus: 'ApplianceControl.Enums.ApplianceStatus' = None @@ -3777,9 +3808,10 @@ class SignalState(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class SignalStateNotification(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x001B @@ -3789,13 +3821,10 @@ class SignalStateNotification(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="applianceStatus", Tag=0, Type=ApplianceControl.Enums.ApplianceStatus), - ClusterObjectFieldDescriptor( - Label="remoteEnableFlagsAndDeviceStatus2", Tag=1, Type=int), - ClusterObjectFieldDescriptor( - Label="applianceStatus2", Tag=2, Type=ApplianceControl.Enums.ApplianceStatus), + Fields = [ + ClusterObjectFieldDescriptor(Label="applianceStatus", Tag=0, Type=ApplianceControl.Enums.ApplianceStatus), + ClusterObjectFieldDescriptor(Label="remoteEnableFlagsAndDeviceStatus2", Tag=1, Type=int), + ClusterObjectFieldDescriptor(Label="applianceStatus2", Tag=2, Type=ApplianceControl.Enums.ApplianceStatus), ]) applianceStatus: 'ApplianceControl.Enums.ApplianceStatus' = None @@ -3811,13 +3840,10 @@ class WriteFunctions(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="functionId", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="functionDataType", Tag=1, Type=uint), - ClusterObjectFieldDescriptor( - Label="functionData", Tag=2, Type=uint, IsArray=True), + Fields = [ + ClusterObjectFieldDescriptor(Label="functionId", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="functionDataType", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="functionData", Tag=2, Type=uint, IsArray=True), ]) functionId: 'uint' = None @@ -3833,9 +3859,10 @@ class OverloadPauseResume(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class OverloadPause(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x001B @@ -3845,9 +3872,10 @@ class OverloadPause(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class OverloadWarning(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x001B @@ -3857,13 +3885,13 @@ class OverloadWarning(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="warningEvent", Tag=0, Type=ApplianceControl.Enums.WarningEvent), + Fields = [ + ClusterObjectFieldDescriptor(Label="warningEvent", Tag=0, Type=ApplianceControl.Enums.WarningEvent), ]) warningEvent: 'ApplianceControl.Enums.WarningEvent' = None + class Attributes: class StartTime(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -3878,6 +3906,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class FinishTime(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -3891,6 +3920,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class RemainingTime(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -3904,6 +3934,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -3917,6 +3948,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -3931,26 +3963,30 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class Descriptor: id: typing.ClassVar[int] = 0x001D + class Structs: @dataclass class DeviceType(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="type", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="revision", Tag=1, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="type", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="revision", Tag=1, Type=uint), ]) type: 'uint' = None revision: 'uint' = None + + + class Attributes: class DeviceList(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -3965,6 +4001,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=Descriptor.Structs.DeviceType, IsArray=True) + class ServerList(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -3978,6 +4015,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint, IsArray=True) + class ClientList(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -3991,6 +4029,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint, IsArray=True) + class PartsList(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -4004,6 +4043,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint, IsArray=True) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -4017,6 +4057,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -4031,10 +4072,14 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class PollControl: id: typing.ClassVar[int] = 0x0020 + + class Commands: @dataclass class CheckIn(ClusterCommand): @@ -4045,9 +4090,10 @@ class CheckIn(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class CheckInResponse(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0020 @@ -4057,11 +4103,9 @@ class CheckInResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="startFastPolling", Tag=0, Type=bool), - ClusterObjectFieldDescriptor( - Label="fastPollTimeout", Tag=1, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="startFastPolling", Tag=0, Type=bool), + ClusterObjectFieldDescriptor(Label="fastPollTimeout", Tag=1, Type=uint), ]) startFastPolling: 'bool' = None @@ -4076,9 +4120,10 @@ class FastPollStop(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class SetLongPollInterval(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0020 @@ -4088,9 +4133,8 @@ class SetLongPollInterval(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="newLongPollInterval", Tag=0, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="newLongPollInterval", Tag=0, Type=uint), ]) newLongPollInterval: 'uint' = None @@ -4104,13 +4148,13 @@ class SetShortPollInterval(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="newShortPollInterval", Tag=0, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="newShortPollInterval", Tag=0, Type=uint), ]) newShortPollInterval: 'uint' = None + class Attributes: class CheckInInterval(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -4125,6 +4169,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class LongPollInterval(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -4138,6 +4183,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ShortPollInterval(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -4151,6 +4197,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class FastPollTimeout(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -4164,6 +4211,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class CheckInIntervalMin(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -4177,6 +4225,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class LongPollIntervalMin(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -4190,6 +4239,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class FastPollTimeoutMax(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -4203,6 +4253,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -4216,6 +4267,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -4230,6 +4282,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class BridgedActions: id: typing.ClassVar[int] = 0x0025 @@ -4259,25 +4313,20 @@ class EndpointListTypeEnum(IntEnum): kRoom = 0x01 kZone = 0x02 + 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=BridgedActions.Enums.ActionTypeEnum), - ClusterObjectFieldDescriptor( - Label="endpointListID", Tag=3, Type=uint), - ClusterObjectFieldDescriptor( - Label="supportedCommands", Tag=4, Type=uint), - ClusterObjectFieldDescriptor( - Label="status", Tag=5, Type=BridgedActions.Enums.ActionStatusEnum), + Fields = [ + ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="name", Tag=1, Type=str), + ClusterObjectFieldDescriptor(Label="type", Tag=2, Type=BridgedActions.Enums.ActionTypeEnum), + ClusterObjectFieldDescriptor(Label="endpointListID", Tag=3, Type=uint), + ClusterObjectFieldDescriptor(Label="supportedCommands", Tag=4, Type=uint), + ClusterObjectFieldDescriptor(Label="status", Tag=5, Type=BridgedActions.Enums.ActionStatusEnum), ]) actionID: 'uint' = None @@ -4292,15 +4341,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=BridgedActions.Enums.EndpointListTypeEnum), - ClusterObjectFieldDescriptor( - Label="endpoints", Tag=3, Type=bytes), + Fields = [ + ClusterObjectFieldDescriptor(Label="endpointListID", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="name", Tag=1, Type=str), + ClusterObjectFieldDescriptor(Label="type", Tag=2, Type=BridgedActions.Enums.EndpointListTypeEnum), + ClusterObjectFieldDescriptor(Label="endpoints", Tag=3, Type=bytes), ]) endpointListID: 'uint' = None @@ -4308,7 +4353,9 @@ def descriptor(cls) -> ClusterObjectDescriptor: type: 'BridgedActions.Enums.EndpointListTypeEnum' = None endpoints: 'bytes' = None - class Commands: + + + class Commands: @dataclass class InstantAction(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0025 @@ -4318,11 +4365,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=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=uint), ]) actionID: 'uint' = None @@ -4337,13 +4382,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=uint), - ClusterObjectFieldDescriptor( - Label="transitionTime", Tag=2, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint), ]) actionID: 'uint' = None @@ -4359,11 +4401,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=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=uint), ]) actionID: 'uint' = None @@ -4378,13 +4418,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=uint), - ClusterObjectFieldDescriptor( - Label="duration", Tag=2, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="duration", Tag=2, Type=uint), ]) actionID: 'uint' = None @@ -4400,11 +4437,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=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=uint), ]) actionID: 'uint' = None @@ -4419,11 +4454,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=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=uint), ]) actionID: 'uint' = None @@ -4438,13 +4471,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=uint), - ClusterObjectFieldDescriptor( - Label="duration", Tag=2, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="duration", Tag=2, Type=uint), ]) actionID: 'uint' = None @@ -4460,11 +4490,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=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=uint), ]) actionID: 'uint' = None @@ -4479,11 +4507,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=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=uint), ]) actionID: 'uint' = None @@ -4498,13 +4524,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=uint), - ClusterObjectFieldDescriptor( - Label="duration", Tag=2, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="duration", Tag=2, Type=uint), ]) actionID: 'uint' = None @@ -4520,11 +4543,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=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=uint), ]) actionID: 'uint' = None @@ -4539,19 +4560,17 @@ 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=uint), - ClusterObjectFieldDescriptor( - Label="duration", Tag=2, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="duration", Tag=2, Type=uint), ]) actionID: 'uint' = None invokeID: 'uint' = None duration: 'uint' = None + class Attributes: class ActionList(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -4566,6 +4585,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=BridgedActions.Structs.ActionStruct, IsArray=True) + class EndpointList(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -4579,6 +4599,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=BridgedActions.Structs.EndpointListStruct, IsArray=True) + class SetupUrl(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -4592,6 +4613,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=str) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -4605,6 +4627,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -4619,10 +4642,14 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class Basic: id: typing.ClassVar[int] = 0x0028 + + class Commands: @dataclass class StartUp(ClusterCommand): @@ -4633,9 +4660,10 @@ class StartUp(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class MfgSpecificPing(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0028 @@ -4645,9 +4673,10 @@ class MfgSpecificPing(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class ShutDown(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0028 @@ -4657,9 +4686,10 @@ class ShutDown(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class Leave(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0028 @@ -4669,9 +4699,11 @@ class Leave(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + + class Attributes: class InteractionModelVersion(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -4686,6 +4718,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class VendorName(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -4699,6 +4732,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=str) + class VendorID(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -4712,6 +4746,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ProductName(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -4725,6 +4760,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=str) + class ProductID(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -4738,6 +4774,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class UserLabel(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -4751,6 +4788,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=str) + class Location(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -4764,6 +4802,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=str) + class HardwareVersion(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -4777,6 +4816,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class HardwareVersionString(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -4790,6 +4830,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=str) + class SoftwareVersion(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -4803,6 +4844,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class SoftwareVersionString(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -4816,6 +4858,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=str) + class ManufacturingDate(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -4829,6 +4872,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=str) + class PartNumber(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -4842,6 +4886,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=str) + class ProductURL(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -4855,6 +4900,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=str) + class ProductLabel(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -4868,6 +4914,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=str) + class SerialNumber(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -4881,6 +4928,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=str) + class LocalConfigDisabled(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -4894,6 +4942,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=bool) + class Reachable(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -4907,6 +4956,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=bool) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -4920,6 +4970,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -4934,6 +4985,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class OtaSoftwareUpdateProvider: id: typing.ClassVar[int] = 0x0029 @@ -4955,6 +5008,8 @@ class OTAQueryStatus(IntEnum): kBusy = 0x01 kNotAvailable = 0x02 + + class Commands: @dataclass class QueryImage(ClusterCommand): @@ -4965,23 +5020,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="hardwareVersion", Tag=2, Type=uint), - ClusterObjectFieldDescriptor( - Label="softwareVersion", Tag=3, Type=uint), - ClusterObjectFieldDescriptor( - Label="protocolsSupported", Tag=4, Type=OtaSoftwareUpdateProvider.Enums.OTADownloadProtocol), - ClusterObjectFieldDescriptor( - Label="location", Tag=5, Type=str), - ClusterObjectFieldDescriptor( - Label="requestorCanConsent", Tag=6, Type=bool), - ClusterObjectFieldDescriptor( - Label="metadataForProvider", Tag=7, Type=bytes), + Fields = [ + ClusterObjectFieldDescriptor(Label="vendorId", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="productId", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="hardwareVersion", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="softwareVersion", Tag=3, Type=uint), + ClusterObjectFieldDescriptor(Label="protocolsSupported", Tag=4, Type=OtaSoftwareUpdateProvider.Enums.OTADownloadProtocol), + ClusterObjectFieldDescriptor(Label="location", Tag=5, Type=str), + ClusterObjectFieldDescriptor(Label="requestorCanConsent", Tag=6, Type=bool), + ClusterObjectFieldDescriptor(Label="metadataForProvider", Tag=7, Type=bytes), ]) vendorId: 'uint' = None @@ -5002,11 +5049,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' = None @@ -5021,11 +5066,9 @@ 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' = None @@ -5040,23 +5083,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=uint), - ClusterObjectFieldDescriptor( - Label="imageURI", Tag=2, Type=str), - ClusterObjectFieldDescriptor( - Label="softwareVersion", Tag=3, Type=uint), - ClusterObjectFieldDescriptor( - Label="softwareVersionString", Tag=4, Type=str), - ClusterObjectFieldDescriptor( - Label="updateToken", Tag=5, Type=bytes), - ClusterObjectFieldDescriptor( - Label="userConsentNeeded", Tag=6, Type=bool), - ClusterObjectFieldDescriptor( - Label="metadataForRequestor", Tag=7, Type=bytes), + Fields = [ + ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=OtaSoftwareUpdateProvider.Enums.OTAQueryStatus), + ClusterObjectFieldDescriptor(Label="delayedActionTime", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="imageURI", Tag=2, Type=str), + ClusterObjectFieldDescriptor(Label="softwareVersion", Tag=3, Type=uint), + ClusterObjectFieldDescriptor(Label="softwareVersionString", Tag=4, Type=str), + ClusterObjectFieldDescriptor(Label="updateToken", Tag=5, Type=bytes), + ClusterObjectFieldDescriptor(Label="userConsentNeeded", Tag=6, Type=bool), + ClusterObjectFieldDescriptor(Label="metadataForRequestor", Tag=7, Type=bytes), ]) status: 'OtaSoftwareUpdateProvider.Enums.OTAQueryStatus' = None @@ -5077,16 +5112,15 @@ class ApplyUpdateRequestResponse(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' = None delayedActionTime: 'uint' = None + class Attributes: class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -5101,6 +5135,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -5115,6 +5150,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class OtaSoftwareUpdateRequestor: id: typing.ClassVar[int] = 0x002A @@ -5125,6 +5162,8 @@ class OTAAnnouncementReason(IntEnum): kUpdateAvailable = 0x01 kUrgentUpdateAvailable = 0x02 + + class Commands: @dataclass class AnnounceOtaProvider(ClusterCommand): @@ -5135,15 +5174,11 @@ class AnnounceOtaProvider(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="providerLocation", 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=bytes), + Fields = [ + ClusterObjectFieldDescriptor(Label="providerLocation", 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=bytes), ]) providerLocation: 'uint' = None @@ -5151,6 +5186,7 @@ def descriptor(cls) -> ClusterObjectDescriptor: announcementReason: 'OtaSoftwareUpdateRequestor.Enums.OTAAnnouncementReason' = None metadataForNode: 'bytes' = None + class Attributes: class DefaultOtaProvider(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -5165,6 +5201,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=bytes) + class UpdatePossible(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -5178,6 +5215,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=bool) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -5191,6 +5229,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -5205,10 +5244,15 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class PowerSource: id: typing.ClassVar[int] = 0x002F + + + class Attributes: class Status(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -5223,6 +5267,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Order(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -5236,6 +5281,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Description(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -5249,6 +5295,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=str) + class WiredAssessedInputVoltage(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -5262,6 +5309,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class WiredAssessedInputFrequency(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -5275,6 +5323,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class WiredCurrentType(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -5288,6 +5337,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class WiredAssessedCurrent(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -5301,6 +5351,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class WiredNominalVoltage(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -5314,6 +5365,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class WiredMaximumCurrent(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -5327,6 +5379,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class WiredPresent(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -5340,6 +5393,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=bool) + class ActiveWiredFaults(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -5353,6 +5407,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint, IsArray=True) + class BatteryVoltage(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -5366,6 +5421,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class BatteryPercentRemaining(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -5379,6 +5435,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class BatteryTimeRemaining(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -5392,6 +5449,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class BatteryChargeLevel(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -5405,6 +5463,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class BatteryReplacementNeeded(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -5418,6 +5477,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=bool) + class BatteryReplaceability(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -5431,6 +5491,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class BatteryPresent(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -5444,6 +5505,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=bool) + class ActiveBatteryFaults(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -5457,6 +5519,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint, IsArray=True) + class BatteryReplacementDescription(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -5470,6 +5533,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=str) + class BatteryCommonDesignation(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -5483,6 +5547,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class BatteryANSIDesignation(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -5496,6 +5561,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=str) + class BatteryIECDesignation(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -5509,6 +5575,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=str) + class BatteryApprovedChemistry(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -5522,6 +5589,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class BatteryCapacity(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -5535,6 +5603,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class BatteryQuantity(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -5548,6 +5617,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class BatteryChargeState(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -5561,6 +5631,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class BatteryTimeToFullCharge(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -5574,6 +5645,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class BatteryFunctionalWhileCharging(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -5587,6 +5659,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=bool) + class BatteryChargingCurrent(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -5600,6 +5673,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ActiveBatteryChargeFaults(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -5613,6 +5687,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint, IsArray=True) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -5626,6 +5701,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -5640,6 +5716,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class GeneralCommissioning: id: typing.ClassVar[int] = 0x0030 @@ -5655,19 +5733,21 @@ class RegulatoryLocationType(IntEnum): kOutdoor = 0x01 kIndoorOutdoor = 0x02 + class Structs: @dataclass class BasicCommissioningInfoType(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="failSafeExpiryLengthMs", Tag=0, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="failSafeExpiryLengthMs", Tag=0, Type=uint), ]) failSafeExpiryLengthMs: 'uint' = None + + class Commands: @dataclass class ArmFailSafe(ClusterCommand): @@ -5678,13 +5758,10 @@ 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), - ClusterObjectFieldDescriptor( - Label="timeoutMs", Tag=2, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="expiryLengthSeconds", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="timeoutMs", Tag=2, Type=uint), ]) expiryLengthSeconds: 'uint' = None @@ -5700,11 +5777,9 @@ class ArmFailSafeResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="errorCode", Tag=0, Type=GeneralCommissioning.Enums.GeneralCommissioningError), - ClusterObjectFieldDescriptor( - Label="debugText", Tag=1, Type=str), + Fields = [ + ClusterObjectFieldDescriptor(Label="errorCode", Tag=0, Type=GeneralCommissioning.Enums.GeneralCommissioningError), + ClusterObjectFieldDescriptor(Label="debugText", Tag=1, Type=str), ]) errorCode: 'GeneralCommissioning.Enums.GeneralCommissioningError' = None @@ -5719,15 +5794,11 @@ class SetRegulatoryConfig(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="location", Tag=0, Type=GeneralCommissioning.Enums.RegulatoryLocationType), - ClusterObjectFieldDescriptor( - Label="countryCode", Tag=1, Type=str), - ClusterObjectFieldDescriptor( - Label="breadcrumb", Tag=2, Type=uint), - ClusterObjectFieldDescriptor( - Label="timeoutMs", Tag=3, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="location", Tag=0, Type=GeneralCommissioning.Enums.RegulatoryLocationType), + ClusterObjectFieldDescriptor(Label="countryCode", Tag=1, Type=str), + ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="timeoutMs", Tag=3, Type=uint), ]) location: 'GeneralCommissioning.Enums.RegulatoryLocationType' = None @@ -5744,11 +5815,9 @@ class SetRegulatoryConfigResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="errorCode", Tag=0, Type=GeneralCommissioning.Enums.GeneralCommissioningError), - ClusterObjectFieldDescriptor( - Label="debugText", Tag=1, Type=str), + Fields = [ + ClusterObjectFieldDescriptor(Label="errorCode", Tag=0, Type=GeneralCommissioning.Enums.GeneralCommissioningError), + ClusterObjectFieldDescriptor(Label="debugText", Tag=1, Type=str), ]) errorCode: 'GeneralCommissioning.Enums.GeneralCommissioningError' = None @@ -5763,9 +5832,10 @@ class CommissioningComplete(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class CommissioningCompleteResponse(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0030 @@ -5775,16 +5845,15 @@ class CommissioningCompleteResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="errorCode", Tag=0, Type=GeneralCommissioning.Enums.GeneralCommissioningError), - ClusterObjectFieldDescriptor( - Label="debugText", Tag=1, Type=str), + Fields = [ + ClusterObjectFieldDescriptor(Label="errorCode", Tag=0, Type=GeneralCommissioning.Enums.GeneralCommissioningError), + ClusterObjectFieldDescriptor(Label="debugText", Tag=1, Type=str), ]) errorCode: 'GeneralCommissioning.Enums.GeneralCommissioningError' = None debugText: 'str' = None + class Attributes: class Breadcrumb(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -5799,6 +5868,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class BasicCommissioningInfoList(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -5812,6 +5882,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=GeneralCommissioning.Structs.BasicCommissioningInfoType, IsArray=True) + class RegulatoryConfigList(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -5825,6 +5896,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=GeneralCommissioning.Enums.RegulatoryLocationType, IsArray=True) + class LocationCapabilityList(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -5838,6 +5910,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=GeneralCommissioning.Enums.RegulatoryLocationType, IsArray=True) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -5851,6 +5924,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -5865,6 +5939,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class NetworkCommissioning: id: typing.ClassVar[int] = 0x0031 @@ -5892,15 +5968,15 @@ class NetworkCommissioningError(IntEnum): kLabel15 = 0x12 kUnknownError = 0x13 + class Structs: @dataclass class ThreadInterfaceScanResult(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="discoveryResponse", Tag=0, Type=bytes), + Fields = [ + ClusterObjectFieldDescriptor(Label="discoveryResponse", Tag=0, Type=bytes), ]) discoveryResponse: 'bytes' = None @@ -5910,17 +5986,12 @@ 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="frequencyBand", Tag=4, Type=uint), + 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="frequencyBand", Tag=4, Type=uint), ]) security: 'uint' = None @@ -5929,6 +6000,8 @@ def descriptor(cls) -> ClusterObjectDescriptor: channel: 'uint' = None frequencyBand: 'uint' = None + + class Commands: @dataclass class ScanNetworks(ClusterCommand): @@ -5939,13 +6012,10 @@ class ScanNetworks(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="ssid", Tag=0, Type=bytes), - ClusterObjectFieldDescriptor( - Label="breadcrumb", Tag=1, Type=uint), - ClusterObjectFieldDescriptor( - Label="timeoutMs", Tag=2, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="ssid", Tag=0, Type=bytes), + ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="timeoutMs", Tag=2, Type=uint), ]) ssid: 'bytes' = None @@ -5961,15 +6031,11 @@ class ScanNetworksResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="errorCode", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="debugText", Tag=1, Type=str), - ClusterObjectFieldDescriptor( - Label="wifiScanResults", Tag=2, Type=NetworkCommissioning.Structs.WiFiInterfaceScanResult, IsArray=True), - ClusterObjectFieldDescriptor( - Label="threadScanResults", Tag=3, Type=NetworkCommissioning.Structs.ThreadInterfaceScanResult, IsArray=True), + Fields = [ + ClusterObjectFieldDescriptor(Label="errorCode", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="debugText", Tag=1, Type=str), + ClusterObjectFieldDescriptor(Label="wifiScanResults", Tag=2, Type=NetworkCommissioning.Structs.WiFiInterfaceScanResult, IsArray=True), + ClusterObjectFieldDescriptor(Label="threadScanResults", Tag=3, Type=NetworkCommissioning.Structs.ThreadInterfaceScanResult, IsArray=True), ]) errorCode: 'uint' = None @@ -5986,15 +6052,11 @@ class AddWiFiNetwork(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=uint), - ClusterObjectFieldDescriptor( - Label="timeoutMs", Tag=3, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="ssid", Tag=0, Type=bytes), + ClusterObjectFieldDescriptor(Label="credentials", Tag=1, Type=bytes), + ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="timeoutMs", Tag=3, Type=uint), ]) ssid: 'bytes' = None @@ -6011,11 +6073,9 @@ class AddWiFiNetworkResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="errorCode", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="debugText", Tag=1, Type=str), + Fields = [ + ClusterObjectFieldDescriptor(Label="errorCode", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="debugText", Tag=1, Type=str), ]) errorCode: 'uint' = None @@ -6030,15 +6090,11 @@ class UpdateWiFiNetwork(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=uint), - ClusterObjectFieldDescriptor( - Label="timeoutMs", Tag=3, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="ssid", Tag=0, Type=bytes), + ClusterObjectFieldDescriptor(Label="credentials", Tag=1, Type=bytes), + ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="timeoutMs", Tag=3, Type=uint), ]) ssid: 'bytes' = None @@ -6055,11 +6111,9 @@ class UpdateWiFiNetworkResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="errorCode", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="debugText", Tag=1, Type=str), + Fields = [ + ClusterObjectFieldDescriptor(Label="errorCode", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="debugText", Tag=1, Type=str), ]) errorCode: 'uint' = None @@ -6074,13 +6128,10 @@ class AddThreadNetwork(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="operationalDataset", Tag=0, Type=bytes), - ClusterObjectFieldDescriptor( - Label="breadcrumb", Tag=1, Type=uint), - ClusterObjectFieldDescriptor( - Label="timeoutMs", Tag=2, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="operationalDataset", Tag=0, Type=bytes), + ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="timeoutMs", Tag=2, Type=uint), ]) operationalDataset: 'bytes' = None @@ -6096,11 +6147,9 @@ class AddThreadNetworkResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="errorCode", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="debugText", Tag=1, Type=str), + Fields = [ + ClusterObjectFieldDescriptor(Label="errorCode", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="debugText", Tag=1, Type=str), ]) errorCode: 'uint' = None @@ -6115,13 +6164,10 @@ class UpdateThreadNetwork(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="operationalDataset", Tag=0, Type=bytes), - ClusterObjectFieldDescriptor( - Label="breadcrumb", Tag=1, Type=uint), - ClusterObjectFieldDescriptor( - Label="timeoutMs", Tag=2, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="operationalDataset", Tag=0, Type=bytes), + ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="timeoutMs", Tag=2, Type=uint), ]) operationalDataset: 'bytes' = None @@ -6137,11 +6183,9 @@ class UpdateThreadNetworkResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="errorCode", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="debugText", Tag=1, Type=str), + Fields = [ + ClusterObjectFieldDescriptor(Label="errorCode", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="debugText", Tag=1, Type=str), ]) errorCode: 'uint' = None @@ -6156,13 +6200,10 @@ 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=uint), - ClusterObjectFieldDescriptor( - Label="timeoutMs", Tag=2, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="networkID", Tag=0, Type=bytes), + ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="timeoutMs", Tag=2, Type=uint), ]) networkID: 'bytes' = None @@ -6178,11 +6219,9 @@ class RemoveNetworkResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="errorCode", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="debugText", Tag=1, Type=str), + Fields = [ + ClusterObjectFieldDescriptor(Label="errorCode", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="debugText", Tag=1, Type=str), ]) errorCode: 'uint' = None @@ -6197,13 +6236,10 @@ class EnableNetwork(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="networkID", Tag=0, Type=bytes), - ClusterObjectFieldDescriptor( - Label="breadcrumb", Tag=1, Type=uint), - ClusterObjectFieldDescriptor( - Label="timeoutMs", Tag=2, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="networkID", Tag=0, Type=bytes), + ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="timeoutMs", Tag=2, Type=uint), ]) networkID: 'bytes' = None @@ -6219,11 +6255,9 @@ class EnableNetworkResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="errorCode", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="debugText", Tag=1, Type=str), + Fields = [ + ClusterObjectFieldDescriptor(Label="errorCode", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="debugText", Tag=1, Type=str), ]) errorCode: 'uint' = None @@ -6238,13 +6272,10 @@ class DisableNetwork(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="networkID", Tag=0, Type=bytes), - ClusterObjectFieldDescriptor( - Label="breadcrumb", Tag=1, Type=uint), - ClusterObjectFieldDescriptor( - Label="timeoutMs", Tag=2, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="networkID", Tag=0, Type=bytes), + ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="timeoutMs", Tag=2, Type=uint), ]) networkID: 'bytes' = None @@ -6260,11 +6291,9 @@ class DisableNetworkResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="errorCode", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="debugText", Tag=1, Type=str), + Fields = [ + ClusterObjectFieldDescriptor(Label="errorCode", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="debugText", Tag=1, Type=str), ]) errorCode: 'uint' = None @@ -6279,13 +6308,13 @@ class GetLastNetworkCommissioningResult(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="timeoutMs", Tag=0, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="timeoutMs", Tag=0, Type=uint), ]) timeoutMs: 'uint' = None + class Attributes: class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -6300,6 +6329,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -6314,6 +6344,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class DiagnosticLogs: id: typing.ClassVar[int] = 0x0032 @@ -6335,6 +6367,8 @@ class LogsTransferProtocol(IntEnum): kResponsePayload = 0x00 kBdx = 0x01 + + class Commands: @dataclass class RetrieveLogsRequest(ClusterCommand): @@ -6345,13 +6379,10 @@ class RetrieveLogsRequest(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="intent", Tag=0, Type=DiagnosticLogs.Enums.LogsIntent), - ClusterObjectFieldDescriptor( - Label="requestedProtocol", Tag=1, Type=DiagnosticLogs.Enums.LogsTransferProtocol), - ClusterObjectFieldDescriptor( - Label="transferFileDesignator", Tag=2, Type=bytes), + Fields = [ + ClusterObjectFieldDescriptor(Label="intent", Tag=0, Type=DiagnosticLogs.Enums.LogsIntent), + ClusterObjectFieldDescriptor(Label="requestedProtocol", Tag=1, Type=DiagnosticLogs.Enums.LogsTransferProtocol), + ClusterObjectFieldDescriptor(Label="transferFileDesignator", Tag=2, Type=bytes), ]) intent: 'DiagnosticLogs.Enums.LogsIntent' = None @@ -6367,15 +6398,11 @@ class RetrieveLogsResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="status", Tag=0, Type=DiagnosticLogs.Enums.LogsStatus), - ClusterObjectFieldDescriptor( - Label="content", Tag=1, Type=bytes), - ClusterObjectFieldDescriptor( - Label="timeStamp", Tag=2, Type=uint), - ClusterObjectFieldDescriptor( - Label="timeSinceBoot", Tag=3, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=DiagnosticLogs.Enums.LogsStatus), + ClusterObjectFieldDescriptor(Label="content", Tag=1, Type=bytes), + ClusterObjectFieldDescriptor(Label="timeStamp", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="timeSinceBoot", Tag=3, Type=uint), ]) status: 'DiagnosticLogs.Enums.LogsStatus' = None @@ -6383,6 +6410,7 @@ def descriptor(cls) -> ClusterObjectDescriptor: timeStamp: 'uint' = None timeSinceBoot: 'uint' = None + class Attributes: class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -6397,6 +6425,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -6411,6 +6440,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class GeneralDiagnostics: id: typing.ClassVar[int] = 0x0033 @@ -6460,25 +6491,20 @@ class RadioFaultType(IntEnum): kBLEFault = 0x05 kEthernetFault = 0x06 + class Structs: @dataclass class NetworkInterfaceType(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="name", Tag=0, Type=str), - ClusterObjectFieldDescriptor( - Label="fabricConnected", Tag=1, Type=bool), - ClusterObjectFieldDescriptor( - Label="offPremiseServicesReachableIPv4", Tag=2, Type=bool), - ClusterObjectFieldDescriptor( - Label="offPremiseServicesReachableIPv6", Tag=3, Type=bool), - ClusterObjectFieldDescriptor( - Label="hardwareAddress", Tag=4, Type=bytes), - ClusterObjectFieldDescriptor( - Label="type", Tag=5, Type=GeneralDiagnostics.Enums.InterfaceType), + Fields = [ + ClusterObjectFieldDescriptor(Label="name", Tag=0, Type=str), + ClusterObjectFieldDescriptor(Label="fabricConnected", Tag=1, Type=bool), + ClusterObjectFieldDescriptor(Label="offPremiseServicesReachableIPv4", Tag=2, Type=bool), + ClusterObjectFieldDescriptor(Label="offPremiseServicesReachableIPv6", Tag=3, Type=bool), + ClusterObjectFieldDescriptor(Label="hardwareAddress", Tag=4, Type=bytes), + ClusterObjectFieldDescriptor(Label="type", Tag=5, Type=GeneralDiagnostics.Enums.InterfaceType), ]) name: 'str' = None @@ -6488,6 +6514,9 @@ def descriptor(cls) -> ClusterObjectDescriptor: hardwareAddress: 'bytes' = None type: 'GeneralDiagnostics.Enums.InterfaceType' = None + + + class Attributes: class NetworkInterfaces(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -6502,6 +6531,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=GeneralDiagnostics.Structs.NetworkInterfaceType, IsArray=True) + class RebootCount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -6515,6 +6545,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class UpTime(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -6528,6 +6559,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class TotalOperationalHours(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -6541,6 +6573,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class BootReasons(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -6554,6 +6587,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ActiveHardwareFaults(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -6567,6 +6601,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint, IsArray=True) + class ActiveRadioFaults(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -6580,6 +6615,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint, IsArray=True) + class ActiveNetworkFaults(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -6593,6 +6629,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint, IsArray=True) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -6606,6 +6643,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -6620,27 +6658,25 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class SoftwareDiagnostics: id: typing.ClassVar[int] = 0x0034 + class Structs: @dataclass class ThreadMetrics(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="id", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="name", Tag=1, Type=str), - ClusterObjectFieldDescriptor( - Label="stackFreeCurrent", Tag=2, Type=uint), - ClusterObjectFieldDescriptor( - Label="stackFreeMinimum", Tag=3, Type=uint), - ClusterObjectFieldDescriptor( - Label="stackSize", Tag=4, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="id", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="name", Tag=1, Type=str), + ClusterObjectFieldDescriptor(Label="stackFreeCurrent", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="stackFreeMinimum", Tag=3, Type=uint), + ClusterObjectFieldDescriptor(Label="stackSize", Tag=4, Type=uint), ]) id: 'uint' = None @@ -6649,6 +6685,8 @@ def descriptor(cls) -> ClusterObjectDescriptor: stackFreeMinimum: 'uint' = None stackSize: 'uint' = None + + class Commands: @dataclass class ResetWatermarks(ClusterCommand): @@ -6659,9 +6697,11 @@ class ResetWatermarks(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + + class Attributes: class ThreadMetrics(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -6676,6 +6716,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=SoftwareDiagnostics.Structs.ThreadMetrics, IsArray=True) + class CurrentHeapFree(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -6689,6 +6730,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class CurrentHeapUsed(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -6702,6 +6744,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class CurrentHeapHighWatermark(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -6715,6 +6758,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -6728,6 +6772,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -6742,6 +6787,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class ThreadNetworkDiagnostics: id: typing.ClassVar[int] = 0x0035 @@ -6762,41 +6809,28 @@ class RoutingRole(IntEnum): kRouter = 0x05 kLeader = 0x06 + 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=int), - ClusterObjectFieldDescriptor( - Label="lastRssi", Tag=7, Type=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=int), + ClusterObjectFieldDescriptor(Label="lastRssi", Tag=7, Type=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' = None @@ -6819,31 +6853,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' = None @@ -6864,27 +6886,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' = None @@ -6903,16 +6915,16 @@ 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' = None flags: 'uint' = None + + class Commands: @dataclass class ResetCounts(ClusterCommand): @@ -6923,9 +6935,11 @@ class ResetCounts(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + + class Attributes: class Channel(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -6940,6 +6954,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class RoutingRole(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -6953,6 +6968,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class NetworkName(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -6966,6 +6982,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=bytes) + class PanId(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -6979,6 +6996,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ExtendedPanId(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -6992,6 +7010,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class MeshLocalPrefix(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7005,6 +7024,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=bytes) + class OverrunCount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7018,6 +7038,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class NeighborTableList(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7031,6 +7052,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=ThreadNetworkDiagnostics.Structs.NeighborTable, IsArray=True) + class RouteTableList(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7044,6 +7066,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=ThreadNetworkDiagnostics.Structs.RouteTable, IsArray=True) + class PartitionId(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7057,6 +7080,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Weighting(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7070,6 +7094,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class DataVersion(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7083,6 +7108,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class StableDataVersion(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7096,6 +7122,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class LeaderRouterId(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7109,6 +7136,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class DetachedRoleCount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7122,6 +7150,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ChildRoleCount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7135,6 +7164,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class RouterRoleCount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7148,6 +7178,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class LeaderRoleCount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7161,6 +7192,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class AttachAttemptCount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7174,6 +7206,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class PartitionIdChangeCount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7187,6 +7220,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class BetterPartitionAttachAttemptCount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7200,6 +7234,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ParentChangeCount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7213,6 +7248,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class TxTotalCount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7226,6 +7262,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class TxUnicastCount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7239,6 +7276,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class TxBroadcastCount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7252,6 +7290,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class TxAckRequestedCount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7265,6 +7304,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class TxAckedCount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7278,6 +7318,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class TxNoAckRequestedCount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7291,6 +7332,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class TxDataCount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7304,6 +7346,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class TxDataPollCount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7317,6 +7360,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class TxBeaconCount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7330,6 +7374,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class TxBeaconRequestCount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7343,6 +7388,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class TxOtherCount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7356,6 +7402,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class TxRetryCount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7369,6 +7416,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class TxDirectMaxRetryExpiryCount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7382,6 +7430,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class TxIndirectMaxRetryExpiryCount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7395,6 +7444,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class TxErrCcaCount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7408,6 +7458,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class TxErrAbortCount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7421,6 +7472,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class TxErrBusyChannelCount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7434,6 +7486,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class RxTotalCount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7447,6 +7500,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class RxUnicastCount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7460,6 +7514,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class RxBroadcastCount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7473,6 +7528,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class RxDataCount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7486,6 +7542,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class RxDataPollCount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7499,6 +7556,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class RxBeaconCount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7512,6 +7570,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class RxBeaconRequestCount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7525,6 +7584,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class RxOtherCount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7538,6 +7598,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class RxAddressFilteredCount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7551,6 +7612,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class RxDestAddrFilteredCount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7564,6 +7626,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class RxDuplicatedCount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7577,6 +7640,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class RxErrNoFrameCount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7590,6 +7654,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class RxErrUnknownNeighborCount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7603,6 +7668,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class RxErrInvalidSrcAddrCount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7616,6 +7682,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class RxErrSecCount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7629,6 +7696,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class RxErrFcsCount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7642,6 +7710,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class RxErrOtherCount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7655,6 +7724,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ActiveTimestamp(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7668,6 +7738,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class PendingTimestamp(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7681,6 +7752,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Delay(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7694,6 +7766,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class SecurityPolicy(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7707,6 +7780,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=ThreadNetworkDiagnostics.Structs.SecurityPolicy, IsArray=True) + class ChannelMask(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7720,6 +7794,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=bytes) + class OperationalDatasetComponents(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7733,6 +7808,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=ThreadNetworkDiagnostics.Structs.OperationalDatasetComponents, IsArray=True) + class ActiveNetworkFaultsList(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7746,6 +7822,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=ThreadNetworkDiagnostics.Enums.NetworkFault, IsArray=True) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7759,6 +7836,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7773,6 +7851,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class WiFiNetworkDiagnostics: id: typing.ClassVar[int] = 0x0036 @@ -7794,6 +7874,8 @@ class WiFiVersionType(IntEnum): k80211ac = 0x04 k80211ax = 0x05 + + class Commands: @dataclass class ResetCounts(ClusterCommand): @@ -7804,9 +7886,11 @@ class ResetCounts(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + + class Attributes: class Bssid(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -7821,6 +7905,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=bytes) + class SecurityType(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7834,6 +7919,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class WiFiVersion(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7847,6 +7933,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ChannelNumber(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7860,6 +7947,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Rssi(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7873,6 +7961,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class BeaconLostCount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7886,6 +7975,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class BeaconRxCount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7899,6 +7989,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class PacketMulticastRxCount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7912,6 +8003,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class PacketMulticastTxCount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7925,6 +8017,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class PacketUnicastRxCount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7938,6 +8031,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class PacketUnicastTxCount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7951,6 +8045,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class CurrentMaxRate(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7964,6 +8059,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class OverrunCount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7977,6 +8073,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -7990,6 +8087,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -8004,6 +8102,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class EthernetNetworkDiagnostics: id: typing.ClassVar[int] = 0x0037 @@ -8021,6 +8121,8 @@ class PHYRateType(IntEnum): k200g = 0x08 k400g = 0x09 + + class Commands: @dataclass class ResetCounts(ClusterCommand): @@ -8031,9 +8133,11 @@ class ResetCounts(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + + class Attributes: class PHYRate(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -8048,6 +8152,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class FullDuplex(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -8061,6 +8166,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=bool) + class PacketRxCount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -8074,6 +8180,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class PacketTxCount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -8087,6 +8194,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class TxErrCount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -8100,6 +8208,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class CollisionCount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -8113,6 +8222,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class OverrunCount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -8126,6 +8236,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class CarrierDetect(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -8139,6 +8250,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=bool) + class TimeSinceReset(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -8152,6 +8264,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -8165,6 +8278,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -8179,10 +8293,14 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class BridgedDeviceBasic: id: typing.ClassVar[int] = 0x0039 + + class Commands: @dataclass class StartUp(ClusterCommand): @@ -8193,9 +8311,10 @@ class StartUp(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class ShutDown(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0039 @@ -8205,9 +8324,10 @@ class ShutDown(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class Leave(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0039 @@ -8217,9 +8337,10 @@ class Leave(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class ReachableChanged(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0039 @@ -8229,9 +8350,11 @@ class ReachableChanged(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + + class Attributes: class VendorName(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -8246,6 +8369,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=str) + class VendorID(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -8259,6 +8383,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ProductName(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -8272,6 +8397,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=str) + class UserLabel(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -8285,6 +8411,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=str) + class HardwareVersion(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -8298,6 +8425,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class HardwareVersionString(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -8311,6 +8439,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=str) + class SoftwareVersion(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -8324,6 +8453,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class SoftwareVersionString(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -8337,6 +8467,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=str) + class ManufacturingDate(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -8350,6 +8481,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=str) + class PartNumber(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -8363,6 +8495,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=str) + class ProductURL(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -8376,6 +8509,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=str) + class ProductLabel(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -8389,6 +8523,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=str) + class SerialNumber(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -8402,6 +8537,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=str) + class Reachable(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -8415,6 +8551,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=bool) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -8428,6 +8565,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -8442,10 +8580,15 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class Switch: id: typing.ClassVar[int] = 0x003B + + + class Attributes: class NumberOfPositions(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -8460,6 +8603,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class CurrentPosition(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -8473,6 +8617,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class MultiPressMax(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -8486,6 +8631,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -8499,6 +8645,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -8513,6 +8660,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class AdministratorCommissioning: id: typing.ClassVar[int] = 0x003C @@ -8523,6 +8672,8 @@ class StatusCode(IntEnum): kBusy = 0x01 kGeneralError = 0x02 + + class Commands: @dataclass class OpenCommissioningWindow(ClusterCommand): @@ -8533,19 +8684,13 @@ class OpenCommissioningWindow(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="commissioningTimeout", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="PAKEVerifier", 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), - ClusterObjectFieldDescriptor( - Label="passcodeID", Tag=5, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="commissioningTimeout", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="PAKEVerifier", 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), + ClusterObjectFieldDescriptor(Label="passcodeID", Tag=5, Type=uint), ]) commissioningTimeout: 'uint' = None @@ -8564,9 +8709,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), ]) commissioningTimeout: 'uint' = None @@ -8580,9 +8724,11 @@ class RevokeCommissioning(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + + class Attributes: class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -8597,6 +8743,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -8611,6 +8758,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class OperationalCredentials: id: typing.ClassVar[int] = 0x003E @@ -8628,25 +8777,20 @@ class NodeOperationalCertStatus(IntEnum): kLabelConflict = 0x0A kInvalidFabricIndex = 0x0B + class Structs: @dataclass class FabricDescriptor(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="fabricIndex", Tag=0, Type=uint), - 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), + Fields = [ + ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=0, Type=uint), + 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), ]) fabricIndex: 'uint' = None @@ -8661,16 +8805,16 @@ class NOCStruct(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="fabricIndex", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="noc", Tag=1, Type=bytes), + Fields = [ + ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="noc", Tag=1, Type=bytes), ]) fabricIndex: 'uint' = None noc: 'bytes' = None + + class Commands: @dataclass class AttestationRequest(ClusterCommand): @@ -8681,9 +8825,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' = None @@ -8697,11 +8840,9 @@ class AttestationResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="attestationElements", Tag=0, Type=bytes), - ClusterObjectFieldDescriptor( - Label="signature", Tag=1, Type=bytes), + Fields = [ + ClusterObjectFieldDescriptor(Label="attestationElements", Tag=0, Type=bytes), + ClusterObjectFieldDescriptor(Label="signature", Tag=1, Type=bytes), ]) attestationElements: 'bytes' = None @@ -8716,9 +8857,8 @@ class CertificateChainRequest(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="certificateType", Tag=0, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="certificateType", Tag=0, Type=uint), ]) certificateType: 'uint' = None @@ -8732,9 +8872,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' = None @@ -8748,9 +8887,8 @@ class OpCSRRequest(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="CSRNonce", Tag=0, Type=bytes), + Fields = [ + ClusterObjectFieldDescriptor(Label="CSRNonce", Tag=0, Type=bytes), ]) CSRNonce: 'bytes' = None @@ -8764,11 +8902,9 @@ class OpCSRResponse(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' = None @@ -8783,17 +8919,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=bytes), - ClusterObjectFieldDescriptor( - Label="IPKValue", Tag=2, Type=bytes), - ClusterObjectFieldDescriptor( - Label="caseAdminNode", 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=bytes), + ClusterObjectFieldDescriptor(Label="IPKValue", Tag=2, Type=bytes), + ClusterObjectFieldDescriptor(Label="caseAdminNode", Tag=3, Type=uint), + ClusterObjectFieldDescriptor(Label="adminVendorId", Tag=4, Type=uint), ]) NOCValue: 'bytes' = None @@ -8811,11 +8942,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=bytes), + Fields = [ + ClusterObjectFieldDescriptor(Label="NOCValue", Tag=0, Type=bytes), + ClusterObjectFieldDescriptor(Label="ICACValue", Tag=1, Type=bytes), ]) NOCValue: 'bytes' = None @@ -8830,13 +8959,10 @@ class NOCResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="statusCode", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="fabricIndex", Tag=1, Type=uint), - ClusterObjectFieldDescriptor( - Label="debugText", Tag=2, Type=str), + Fields = [ + ClusterObjectFieldDescriptor(Label="statusCode", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="debugText", Tag=2, Type=str), ]) statusCode: 'uint' = None @@ -8852,9 +8978,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' = None @@ -8868,9 +8993,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' = None @@ -8884,9 +9008,8 @@ class AddTrustedRootCertificate(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="rootCertificate", Tag=0, Type=bytes), + Fields = [ + ClusterObjectFieldDescriptor(Label="rootCertificate", Tag=0, Type=bytes), ]) rootCertificate: 'bytes' = None @@ -8900,13 +9023,13 @@ class RemoveTrustedRootCertificate(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="trustedRootIdentifier", Tag=0, Type=bytes), + Fields = [ + ClusterObjectFieldDescriptor(Label="trustedRootIdentifier", Tag=0, Type=bytes), ]) trustedRootIdentifier: 'bytes' = None + class Attributes: class FabricsList(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -8921,6 +9044,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=OperationalCredentials.Structs.FabricDescriptor, IsArray=True) + class SupportedFabrics(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -8934,6 +9058,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class CommissionedFabrics(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -8947,6 +9072,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class TrustedRootCertificates(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -8960,6 +9086,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=bytes, IsArray=True) + class CurrentFabricIndex(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -8973,6 +9100,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -8986,6 +9114,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -9000,26 +9129,30 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class FixedLabel: id: typing.ClassVar[int] = 0x0040 + 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' = None value: 'str' = None + + + class Attributes: class LabelList(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -9034,6 +9167,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=FixedLabel.Structs.LabelStruct, IsArray=True) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -9047,6 +9181,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -9061,10 +9196,15 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class BooleanState: id: typing.ClassVar[int] = 0x0045 + + + class Attributes: class StateValue(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -9079,6 +9219,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=bool) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -9092,6 +9233,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -9106,23 +9248,23 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class ModeSelect: id: typing.ClassVar[int] = 0x0050 + class Structs: @dataclass 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="semanticTag", Tag=2, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="label", Tag=0, Type=str), + ClusterObjectFieldDescriptor(Label="mode", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="semanticTag", Tag=2, Type=uint), ]) label: 'str' = None @@ -9134,16 +9276,16 @@ class SemanticTag(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' = None value: 'uint' = None + + class Commands: @dataclass class ChangeToMode(ClusterCommand): @@ -9154,13 +9296,13 @@ 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' = None + class Attributes: class CurrentMode(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -9175,6 +9317,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class SupportedModes(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -9188,6 +9331,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=ModeSelect.Structs.ModeOptionStruct, IsArray=True) + class OnMode(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -9201,6 +9345,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class StartUpMode(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -9214,6 +9359,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Description(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -9227,6 +9373,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=str) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -9240,6 +9387,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -9254,10 +9402,15 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class ShadeConfiguration: id: typing.ClassVar[int] = 0x0100 + + + class Attributes: class PhysicalClosedLimit(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -9272,6 +9425,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class MotorStepSize(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -9285,6 +9439,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Status(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -9298,6 +9453,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClosedLimit(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -9311,6 +9467,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Mode(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -9324,6 +9481,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -9337,6 +9495,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -9351,6 +9510,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class DoorLock: id: typing.ClassVar[int] = 0x0101 @@ -9402,6 +9563,8 @@ class DoorLockUserType(IntEnum): kNonAccessUser = 0x04 kNotSupported = 0xFF + + class Commands: @dataclass class LockDoor(ClusterCommand): @@ -9412,9 +9575,8 @@ class LockDoor(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="pin", Tag=0, Type=bytes), + Fields = [ + ClusterObjectFieldDescriptor(Label="pin", Tag=0, Type=bytes), ]) pin: 'bytes' = None @@ -9428,9 +9590,8 @@ class LockDoorResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="status", Tag=0, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), ]) status: 'uint' = None @@ -9444,9 +9605,8 @@ class UnlockDoor(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="pin", Tag=0, Type=bytes), + Fields = [ + ClusterObjectFieldDescriptor(Label="pin", Tag=0, Type=bytes), ]) pin: 'bytes' = None @@ -9460,9 +9620,8 @@ class UnlockDoorResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="status", Tag=0, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), ]) status: 'uint' = None @@ -9476,9 +9635,8 @@ class Toggle(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="pin", Tag=0, Type=str), + Fields = [ + ClusterObjectFieldDescriptor(Label="pin", Tag=0, Type=str), ]) pin: 'str' = None @@ -9492,9 +9650,8 @@ class ToggleResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="status", Tag=0, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), ]) status: 'uint' = None @@ -9508,11 +9665,9 @@ class UnlockWithTimeout(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="timeoutInSeconds", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="pin", Tag=1, Type=bytes), + Fields = [ + ClusterObjectFieldDescriptor(Label="timeoutInSeconds", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="pin", Tag=1, Type=bytes), ]) timeoutInSeconds: 'uint' = None @@ -9527,9 +9682,8 @@ class UnlockWithTimeoutResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="status", Tag=0, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), ]) status: 'uint' = None @@ -9543,9 +9697,8 @@ class GetLogRecord(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="logIndex", Tag=0, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="logIndex", Tag=0, Type=uint), ]) logIndex: 'uint' = None @@ -9559,21 +9712,14 @@ class GetLogRecordResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="logEntryId", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="timestamp", Tag=1, Type=uint), - ClusterObjectFieldDescriptor( - Label="eventType", Tag=2, Type=uint), - ClusterObjectFieldDescriptor( - Label="source", Tag=3, Type=uint), - ClusterObjectFieldDescriptor( - Label="eventIdOrAlarmCode", Tag=4, Type=uint), - ClusterObjectFieldDescriptor( - Label="userId", Tag=5, Type=uint), - ClusterObjectFieldDescriptor( - Label="pin", Tag=6, Type=bytes), + Fields = [ + ClusterObjectFieldDescriptor(Label="logEntryId", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="timestamp", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="eventType", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="source", Tag=3, Type=uint), + ClusterObjectFieldDescriptor(Label="eventIdOrAlarmCode", Tag=4, Type=uint), + ClusterObjectFieldDescriptor(Label="userId", Tag=5, Type=uint), + ClusterObjectFieldDescriptor(Label="pin", Tag=6, Type=bytes), ]) logEntryId: 'uint' = None @@ -9593,15 +9739,11 @@ class SetPin(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="userId", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="userStatus", Tag=1, Type=DoorLock.Enums.DoorLockUserStatus), - ClusterObjectFieldDescriptor( - Label="userType", Tag=2, Type=DoorLock.Enums.DoorLockUserType), - ClusterObjectFieldDescriptor( - Label="pin", Tag=3, Type=bytes), + Fields = [ + ClusterObjectFieldDescriptor(Label="userId", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="userStatus", Tag=1, Type=DoorLock.Enums.DoorLockUserStatus), + ClusterObjectFieldDescriptor(Label="userType", Tag=2, Type=DoorLock.Enums.DoorLockUserType), + ClusterObjectFieldDescriptor(Label="pin", Tag=3, Type=bytes), ]) userId: 'uint' = None @@ -9618,9 +9760,8 @@ class SetPinResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="status", Tag=0, Type=DoorLock.Enums.DoorLockSetPinOrIdStatus), + Fields = [ + ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=DoorLock.Enums.DoorLockSetPinOrIdStatus), ]) status: 'DoorLock.Enums.DoorLockSetPinOrIdStatus' = None @@ -9634,9 +9775,8 @@ class GetPin(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="userId", Tag=0, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="userId", Tag=0, Type=uint), ]) userId: 'uint' = None @@ -9650,15 +9790,11 @@ class GetPinResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="userId", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="userStatus", Tag=1, Type=DoorLock.Enums.DoorLockUserStatus), - ClusterObjectFieldDescriptor( - Label="userType", Tag=2, Type=DoorLock.Enums.DoorLockUserType), - ClusterObjectFieldDescriptor( - Label="pin", Tag=3, Type=bytes), + Fields = [ + ClusterObjectFieldDescriptor(Label="userId", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="userStatus", Tag=1, Type=DoorLock.Enums.DoorLockUserStatus), + ClusterObjectFieldDescriptor(Label="userType", Tag=2, Type=DoorLock.Enums.DoorLockUserType), + ClusterObjectFieldDescriptor(Label="pin", Tag=3, Type=bytes), ]) userId: 'uint' = None @@ -9675,9 +9811,8 @@ class ClearPin(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="userId", Tag=0, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="userId", Tag=0, Type=uint), ]) userId: 'uint' = None @@ -9691,9 +9826,8 @@ class ClearPinResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="status", Tag=0, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), ]) status: 'uint' = None @@ -9707,9 +9841,10 @@ class ClearAllPins(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class ClearAllPinsResponse(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0101 @@ -9719,9 +9854,8 @@ class ClearAllPinsResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="status", Tag=0, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), ]) status: 'uint' = None @@ -9735,11 +9869,9 @@ class SetUserStatus(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="userId", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="userStatus", Tag=1, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="userId", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="userStatus", Tag=1, Type=uint), ]) userId: 'uint' = None @@ -9754,9 +9886,8 @@ class SetUserStatusResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="status", Tag=0, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), ]) status: 'uint' = None @@ -9770,9 +9901,8 @@ class GetUserStatus(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="userId", Tag=0, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="userId", Tag=0, Type=uint), ]) userId: 'uint' = None @@ -9786,11 +9916,9 @@ class GetUserStatusResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="userId", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="status", Tag=1, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="userId", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="status", Tag=1, Type=uint), ]) userId: 'uint' = None @@ -9805,21 +9933,14 @@ class SetWeekdaySchedule(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="scheduleId", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="userId", Tag=1, Type=uint), - ClusterObjectFieldDescriptor( - Label="daysMask", Tag=2, Type=int), - 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="scheduleId", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="userId", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="daysMask", Tag=2, Type=int), + 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), ]) scheduleId: 'uint' = None @@ -9839,9 +9960,8 @@ class SetWeekdayScheduleResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="status", Tag=0, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), ]) status: 'uint' = None @@ -9855,11 +9975,9 @@ class GetWeekdaySchedule(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="scheduleId", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="userId", Tag=1, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="scheduleId", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="userId", Tag=1, Type=uint), ]) scheduleId: 'uint' = None @@ -9874,23 +9992,15 @@ class GetWeekdayScheduleResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="scheduleId", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="userId", Tag=1, Type=uint), - ClusterObjectFieldDescriptor( - Label="status", Tag=2, Type=uint), - ClusterObjectFieldDescriptor( - Label="daysMask", Tag=3, Type=uint), - ClusterObjectFieldDescriptor( - Label="startHour", Tag=4, Type=uint), - ClusterObjectFieldDescriptor( - Label="startMinute", Tag=5, Type=uint), - ClusterObjectFieldDescriptor( - Label="endHour", Tag=6, Type=uint), - ClusterObjectFieldDescriptor( - Label="endMinute", Tag=7, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="scheduleId", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="userId", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="status", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="daysMask", Tag=3, Type=uint), + ClusterObjectFieldDescriptor(Label="startHour", Tag=4, Type=uint), + ClusterObjectFieldDescriptor(Label="startMinute", Tag=5, Type=uint), + ClusterObjectFieldDescriptor(Label="endHour", Tag=6, Type=uint), + ClusterObjectFieldDescriptor(Label="endMinute", Tag=7, Type=uint), ]) scheduleId: 'uint' = None @@ -9911,11 +10021,9 @@ class ClearWeekdaySchedule(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="scheduleId", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="userId", Tag=1, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="scheduleId", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="userId", Tag=1, Type=uint), ]) scheduleId: 'uint' = None @@ -9930,9 +10038,8 @@ class ClearWeekdayScheduleResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="status", Tag=0, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), ]) status: 'uint' = None @@ -9946,15 +10053,11 @@ class SetYeardaySchedule(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="scheduleId", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="userId", Tag=1, Type=uint), - ClusterObjectFieldDescriptor( - Label="localStartTime", Tag=2, Type=uint), - ClusterObjectFieldDescriptor( - Label="localEndTime", Tag=3, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="scheduleId", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="userId", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="localStartTime", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="localEndTime", Tag=3, Type=uint), ]) scheduleId: 'uint' = None @@ -9971,9 +10074,8 @@ class SetYeardayScheduleResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="status", Tag=0, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), ]) status: 'uint' = None @@ -9987,11 +10089,9 @@ class GetYeardaySchedule(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="scheduleId", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="userId", Tag=1, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="scheduleId", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="userId", Tag=1, Type=uint), ]) scheduleId: 'uint' = None @@ -10006,17 +10106,12 @@ class GetYeardayScheduleResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="scheduleId", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="userId", Tag=1, Type=uint), - ClusterObjectFieldDescriptor( - Label="status", Tag=2, Type=uint), - ClusterObjectFieldDescriptor( - Label="localStartTime", Tag=3, Type=uint), - ClusterObjectFieldDescriptor( - Label="localEndTime", Tag=4, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="scheduleId", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="userId", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="status", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="localStartTime", Tag=3, Type=uint), + ClusterObjectFieldDescriptor(Label="localEndTime", Tag=4, Type=uint), ]) scheduleId: 'uint' = None @@ -10034,11 +10129,9 @@ class ClearYeardaySchedule(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="scheduleId", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="userId", Tag=1, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="scheduleId", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="userId", Tag=1, Type=uint), ]) scheduleId: 'uint' = None @@ -10053,9 +10146,8 @@ class ClearYeardayScheduleResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="status", Tag=0, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), ]) status: 'uint' = None @@ -10069,15 +10161,11 @@ class SetHolidaySchedule(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="scheduleId", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="localStartTime", Tag=1, Type=uint), - ClusterObjectFieldDescriptor( - Label="localEndTime", Tag=2, Type=uint), - ClusterObjectFieldDescriptor( - Label="operatingModeDuringHoliday", Tag=3, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="scheduleId", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="localStartTime", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="localEndTime", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="operatingModeDuringHoliday", Tag=3, Type=uint), ]) scheduleId: 'uint' = None @@ -10094,9 +10182,8 @@ class SetHolidayScheduleResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="status", Tag=0, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), ]) status: 'uint' = None @@ -10110,9 +10197,8 @@ class GetHolidaySchedule(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="scheduleId", Tag=0, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="scheduleId", Tag=0, Type=uint), ]) scheduleId: 'uint' = None @@ -10126,17 +10212,12 @@ class GetHolidayScheduleResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="scheduleId", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="status", Tag=1, Type=uint), - ClusterObjectFieldDescriptor( - Label="localStartTime", Tag=2, Type=uint), - ClusterObjectFieldDescriptor( - Label="localEndTime", Tag=3, Type=uint), - ClusterObjectFieldDescriptor( - Label="operatingModeDuringHoliday", Tag=4, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="scheduleId", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="status", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="localStartTime", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="localEndTime", Tag=3, Type=uint), + ClusterObjectFieldDescriptor(Label="operatingModeDuringHoliday", Tag=4, Type=uint), ]) scheduleId: 'uint' = None @@ -10154,9 +10235,8 @@ class ClearHolidaySchedule(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="scheduleId", Tag=0, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="scheduleId", Tag=0, Type=uint), ]) scheduleId: 'uint' = None @@ -10170,9 +10250,8 @@ class ClearHolidayScheduleResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="status", Tag=0, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), ]) status: 'uint' = None @@ -10186,11 +10265,9 @@ class SetUserType(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="userId", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="userType", Tag=1, Type=DoorLock.Enums.DoorLockUserType), + Fields = [ + ClusterObjectFieldDescriptor(Label="userId", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="userType", Tag=1, Type=DoorLock.Enums.DoorLockUserType), ]) userId: 'uint' = None @@ -10205,9 +10282,8 @@ class SetUserTypeResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="status", Tag=0, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), ]) status: 'uint' = None @@ -10221,9 +10297,8 @@ class GetUserType(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="userId", Tag=0, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="userId", Tag=0, Type=uint), ]) userId: 'uint' = None @@ -10237,11 +10312,9 @@ class GetUserTypeResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="userId", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="userType", Tag=1, Type=DoorLock.Enums.DoorLockUserType), + Fields = [ + ClusterObjectFieldDescriptor(Label="userId", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="userType", Tag=1, Type=DoorLock.Enums.DoorLockUserType), ]) userId: 'uint' = None @@ -10256,15 +10329,11 @@ class SetRfid(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="userId", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="userStatus", Tag=1, Type=DoorLock.Enums.DoorLockUserStatus), - ClusterObjectFieldDescriptor( - Label="userType", Tag=2, Type=DoorLock.Enums.DoorLockUserType), - ClusterObjectFieldDescriptor( - Label="id", Tag=3, Type=bytes), + Fields = [ + ClusterObjectFieldDescriptor(Label="userId", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="userStatus", Tag=1, Type=DoorLock.Enums.DoorLockUserStatus), + ClusterObjectFieldDescriptor(Label="userType", Tag=2, Type=DoorLock.Enums.DoorLockUserType), + ClusterObjectFieldDescriptor(Label="id", Tag=3, Type=bytes), ]) userId: 'uint' = None @@ -10281,9 +10350,8 @@ class SetRfidResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="status", Tag=0, Type=DoorLock.Enums.DoorLockSetPinOrIdStatus), + Fields = [ + ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=DoorLock.Enums.DoorLockSetPinOrIdStatus), ]) status: 'DoorLock.Enums.DoorLockSetPinOrIdStatus' = None @@ -10297,9 +10365,8 @@ class GetRfid(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="userId", Tag=0, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="userId", Tag=0, Type=uint), ]) userId: 'uint' = None @@ -10313,15 +10380,11 @@ class GetRfidResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="userId", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="userStatus", Tag=1, Type=DoorLock.Enums.DoorLockUserStatus), - ClusterObjectFieldDescriptor( - Label="userType", Tag=2, Type=DoorLock.Enums.DoorLockUserType), - ClusterObjectFieldDescriptor( - Label="rfid", Tag=3, Type=bytes), + Fields = [ + ClusterObjectFieldDescriptor(Label="userId", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="userStatus", Tag=1, Type=DoorLock.Enums.DoorLockUserStatus), + ClusterObjectFieldDescriptor(Label="userType", Tag=2, Type=DoorLock.Enums.DoorLockUserType), + ClusterObjectFieldDescriptor(Label="rfid", Tag=3, Type=bytes), ]) userId: 'uint' = None @@ -10338,9 +10401,8 @@ class ClearRfid(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="userId", Tag=0, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="userId", Tag=0, Type=uint), ]) userId: 'uint' = None @@ -10354,9 +10416,8 @@ class ClearRfidResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="status", Tag=0, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), ]) status: 'uint' = None @@ -10370,9 +10431,10 @@ class ClearAllRfids(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class ClearAllRfidsResponse(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0101 @@ -10382,9 +10444,8 @@ class ClearAllRfidsResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="status", Tag=0, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), ]) status: 'uint' = None @@ -10398,19 +10459,13 @@ class OperationEventNotification(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="source", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="eventCode", Tag=1, Type=DoorLock.Enums.DoorLockOperationEventCode), - ClusterObjectFieldDescriptor( - Label="userId", Tag=2, Type=uint), - ClusterObjectFieldDescriptor( - Label="pin", Tag=3, Type=bytes), - ClusterObjectFieldDescriptor( - Label="timeStamp", Tag=4, Type=uint), - ClusterObjectFieldDescriptor( - Label="data", Tag=5, Type=str), + Fields = [ + ClusterObjectFieldDescriptor(Label="source", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="eventCode", Tag=1, Type=DoorLock.Enums.DoorLockOperationEventCode), + ClusterObjectFieldDescriptor(Label="userId", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="pin", Tag=3, Type=bytes), + ClusterObjectFieldDescriptor(Label="timeStamp", Tag=4, Type=uint), + ClusterObjectFieldDescriptor(Label="data", Tag=5, Type=str), ]) source: 'uint' = None @@ -10429,23 +10484,15 @@ class ProgrammingEventNotification(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="source", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="eventCode", Tag=1, Type=DoorLock.Enums.DoorLockProgrammingEventCode), - ClusterObjectFieldDescriptor( - Label="userId", Tag=2, Type=uint), - ClusterObjectFieldDescriptor( - Label="pin", Tag=3, Type=bytes), - ClusterObjectFieldDescriptor( - Label="userType", Tag=4, Type=DoorLock.Enums.DoorLockUserType), - ClusterObjectFieldDescriptor( - Label="userStatus", Tag=5, Type=DoorLock.Enums.DoorLockUserStatus), - ClusterObjectFieldDescriptor( - Label="timeStamp", Tag=6, Type=uint), - ClusterObjectFieldDescriptor( - Label="data", Tag=7, Type=str), + Fields = [ + ClusterObjectFieldDescriptor(Label="source", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="eventCode", Tag=1, Type=DoorLock.Enums.DoorLockProgrammingEventCode), + ClusterObjectFieldDescriptor(Label="userId", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="pin", Tag=3, Type=bytes), + ClusterObjectFieldDescriptor(Label="userType", Tag=4, Type=DoorLock.Enums.DoorLockUserType), + ClusterObjectFieldDescriptor(Label="userStatus", Tag=5, Type=DoorLock.Enums.DoorLockUserStatus), + ClusterObjectFieldDescriptor(Label="timeStamp", Tag=6, Type=uint), + ClusterObjectFieldDescriptor(Label="data", Tag=7, Type=str), ]) source: 'uint' = None @@ -10457,6 +10504,7 @@ def descriptor(cls) -> ClusterObjectDescriptor: timeStamp: 'uint' = None data: 'str' = None + class Attributes: class LockState(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -10471,6 +10519,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class LockType(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -10484,6 +10533,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ActuatorEnabled(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -10497,6 +10547,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=bool) + class DoorState(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -10510,6 +10561,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class DoorOpenEvents(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -10523,6 +10575,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class DoorClosedEvents(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -10536,6 +10589,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class OpenPeriod(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -10549,6 +10603,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class NumLockRecordsSupported(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -10562,6 +10617,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class NumTotalUsersSupported(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -10575,6 +10631,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class NumPinUsersSupported(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -10588,6 +10645,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class NumRfidUsersSupported(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -10601,6 +10659,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class NumWeekdaySchedulesSupportedPerUser(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -10614,6 +10673,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class NumYeardaySchedulesSupportedPerUser(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -10627,6 +10687,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class NumHolidaySchedulesSupportedPerUser(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -10640,6 +10701,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class MaxPinLength(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -10653,6 +10715,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class MinPinLength(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -10666,6 +10729,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class MaxRfidCodeLength(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -10679,6 +10743,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class MinRfidCodeLength(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -10692,6 +10757,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class EnableLogging(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -10705,6 +10771,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=bool) + class Language(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -10718,6 +10785,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=str) + class LedSettings(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -10731,6 +10799,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class AutoRelockTime(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -10744,6 +10813,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class SoundVolume(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -10757,6 +10827,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class OperatingMode(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -10770,6 +10841,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class SupportedOperatingModes(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -10783,6 +10855,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class DefaultConfigurationRegister(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -10796,6 +10869,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class EnableLocalProgramming(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -10809,6 +10883,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=bool) + class EnableOneTouchLocking(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -10822,6 +10897,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=bool) + class EnableInsideStatusLed(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -10835,6 +10911,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=bool) + class EnablePrivacyModeButton(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -10848,6 +10925,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=bool) + class WrongCodeEntryLimit(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -10861,6 +10939,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class UserCodeTemporaryDisableTime(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -10874,6 +10953,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class SendPinOverTheAir(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -10887,6 +10967,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=bool) + class RequirePinForRfOperation(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -10900,6 +10981,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=bool) + class ZigbeeSecurityLevel(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -10913,6 +10995,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class AlarmMask(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -10926,6 +11009,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class KeypadOperationEventMask(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -10939,6 +11023,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class RfOperationEventMask(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -10952,6 +11037,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ManualOperationEventMask(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -10965,6 +11051,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class RfidOperationEventMask(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -10978,6 +11065,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class KeypadProgrammingEventMask(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -10991,6 +11079,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class RfProgrammingEventMask(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11004,6 +11093,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class RfidProgrammingEventMask(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11017,6 +11107,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11030,6 +11121,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11044,10 +11136,14 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class WindowCovering: id: typing.ClassVar[int] = 0x0102 + + class Commands: @dataclass class UpOrOpen(ClusterCommand): @@ -11058,9 +11154,10 @@ class UpOrOpen(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class DownOrClose(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0102 @@ -11070,9 +11167,10 @@ class DownOrClose(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class StopMotion(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0102 @@ -11082,9 +11180,10 @@ class StopMotion(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class GoToLiftValue(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0102 @@ -11094,9 +11193,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' = None @@ -11110,11 +11208,9 @@ class GoToLiftPercentage(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="liftPercentageValue", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="liftPercent100thsValue", Tag=1, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="liftPercentageValue", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="liftPercent100thsValue", Tag=1, Type=uint), ]) liftPercentageValue: 'uint' = None @@ -11129,9 +11225,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' = None @@ -11145,16 +11240,15 @@ class GoToTiltPercentage(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="tiltPercentageValue", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="tiltPercent100thsValue", Tag=1, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="tiltPercentageValue", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="tiltPercent100thsValue", Tag=1, Type=uint), ]) tiltPercentageValue: 'uint' = None tiltPercent100thsValue: 'uint' = None + class Attributes: class Type(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -11169,6 +11263,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class PhysicalClosedLimitLift(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11182,6 +11277,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class PhysicalClosedLimitTilt(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11195,6 +11291,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class CurrentPositionLift(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11208,6 +11305,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class CurrentPositionTilt(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11221,6 +11319,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class NumberOfActuationsLift(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11234,6 +11333,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class NumberOfActuationsTilt(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11247,6 +11347,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ConfigStatus(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11260,6 +11361,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class CurrentPositionLiftPercentage(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11273,6 +11375,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class CurrentPositionTiltPercentage(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11286,6 +11389,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class OperationalStatus(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11299,6 +11403,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class TargetPositionLiftPercent100ths(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11312,6 +11417,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class TargetPositionTiltPercent100ths(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11325,6 +11431,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class EndProductType(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11338,6 +11445,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class CurrentPositionLiftPercent100ths(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11351,6 +11459,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class CurrentPositionTiltPercent100ths(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11364,6 +11473,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class InstalledOpenLimitLift(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11377,6 +11487,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class InstalledClosedLimitLift(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11390,6 +11501,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class InstalledOpenLimitTilt(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11403,6 +11515,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class InstalledClosedLimitTilt(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11416,6 +11529,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class VelocityLift(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11429,6 +11543,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class AccelerationTimeLift(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11442,6 +11557,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class DecelerationTimeLift(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11455,6 +11571,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Mode(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11468,6 +11585,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class IntermediateSetpointsLift(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11481,6 +11599,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=bytes) + class IntermediateSetpointsTilt(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11494,6 +11613,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=bytes) + class SafetyStatus(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11507,6 +11627,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11520,6 +11641,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11534,10 +11656,14 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class BarrierControl: id: typing.ClassVar[int] = 0x0103 + + class Commands: @dataclass class BarrierControlGoToPercent(ClusterCommand): @@ -11548,9 +11674,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' = None @@ -11564,9 +11689,11 @@ class BarrierControlStop(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + + class Attributes: class BarrierMovingState(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -11581,6 +11708,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class BarrierSafetyStatus(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11594,6 +11722,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class BarrierCapabilities(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11607,6 +11736,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class BarrierOpenEvents(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11620,6 +11750,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class BarrierCloseEvents(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11633,6 +11764,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class BarrierCommandOpenEvents(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11646,6 +11778,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class BarrierCommandCloseEvents(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11659,6 +11792,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class BarrierOpenPeriod(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11672,6 +11806,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class BarrierClosePeriod(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11685,6 +11820,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class BarrierPosition(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11698,6 +11834,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11711,6 +11848,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11725,6 +11863,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class PumpConfigurationAndControl: id: typing.ClassVar[int] = 0x0200 @@ -11744,6 +11884,9 @@ class PumpOperationMode(IntEnum): kMaximum = 0x02 kLocal = 0x03 + + + class Attributes: class MaxPressure(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -11758,6 +11901,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class MaxSpeed(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11771,6 +11915,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class MaxFlow(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11784,6 +11929,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class MinConstPressure(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11797,6 +11943,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class MaxConstPressure(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11810,6 +11957,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class MinCompPressure(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11823,6 +11971,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class MaxCompPressure(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11836,6 +11985,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class MinConstSpeed(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11849,6 +11999,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class MaxConstSpeed(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11862,6 +12013,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class MinConstFlow(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11875,6 +12027,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class MaxConstFlow(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11888,6 +12041,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class MinConstTemp(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11901,6 +12055,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class MaxConstTemp(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11914,6 +12069,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class PumpStatus(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11927,6 +12083,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class EffectiveOperationMode(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11940,6 +12097,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class EffectiveControlMode(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11953,6 +12111,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Capacity(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11966,6 +12125,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class Speed(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11979,6 +12139,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class LifetimeRunningHours(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -11992,6 +12153,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Power(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12005,6 +12167,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class LifetimeEnergyConsumed(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12018,6 +12181,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class OperationMode(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12031,6 +12195,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ControlMode(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12044,6 +12209,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class AlarmMask(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12057,6 +12223,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12070,6 +12237,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12084,6 +12252,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class Thermostat: id: typing.ClassVar[int] = 0x0201 @@ -12094,6 +12264,8 @@ class SetpointAdjustMode(IntEnum): kCoolSetpoint = 0x01 kHeatAndCoolSetpoints = 0x02 + + class Commands: @dataclass class SetpointRaiseLower(ClusterCommand): @@ -12104,11 +12276,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' = None @@ -12123,15 +12293,11 @@ class CurrentWeeklySchedule(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="numberOfTransitionsForSequence", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="dayOfWeekForSequence", Tag=1, Type=int), - ClusterObjectFieldDescriptor( - Label="modeForSequence", Tag=2, Type=int), - ClusterObjectFieldDescriptor( - Label="payload", Tag=3, Type=uint, IsArray=True), + Fields = [ + ClusterObjectFieldDescriptor(Label="numberOfTransitionsForSequence", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="dayOfWeekForSequence", Tag=1, Type=int), + ClusterObjectFieldDescriptor(Label="modeForSequence", Tag=2, Type=int), + ClusterObjectFieldDescriptor(Label="payload", Tag=3, Type=uint, IsArray=True), ]) numberOfTransitionsForSequence: 'uint' = None @@ -12148,15 +12314,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=int), - ClusterObjectFieldDescriptor( - Label="modeForSequence", Tag=2, Type=int), - ClusterObjectFieldDescriptor( - Label="payload", Tag=3, Type=uint, IsArray=True), + Fields = [ + ClusterObjectFieldDescriptor(Label="numberOfTransitionsForSequence", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="dayOfWeekForSequence", Tag=1, Type=int), + ClusterObjectFieldDescriptor(Label="modeForSequence", Tag=2, Type=int), + ClusterObjectFieldDescriptor(Label="payload", Tag=3, Type=uint, IsArray=True), ]) numberOfTransitionsForSequence: 'uint' = None @@ -12173,19 +12335,13 @@ class RelayStatusLog(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="timeOfDay", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="relayStatus", Tag=1, Type=uint), - ClusterObjectFieldDescriptor( - Label="localTemperature", Tag=2, Type=int), - ClusterObjectFieldDescriptor( - Label="humidityInPercentage", Tag=3, Type=uint), - ClusterObjectFieldDescriptor( - Label="setpoint", Tag=4, Type=int), - ClusterObjectFieldDescriptor( - Label="unreadEntries", Tag=5, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="timeOfDay", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="relayStatus", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="localTemperature", Tag=2, Type=int), + ClusterObjectFieldDescriptor(Label="humidityInPercentage", Tag=3, Type=uint), + ClusterObjectFieldDescriptor(Label="setpoint", Tag=4, Type=int), + ClusterObjectFieldDescriptor(Label="unreadEntries", Tag=5, Type=uint), ]) timeOfDay: 'uint' = None @@ -12204,11 +12360,9 @@ class GetWeeklySchedule(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="daysToReturn", Tag=0, Type=int), - ClusterObjectFieldDescriptor( - Label="modeToReturn", Tag=1, Type=int), + Fields = [ + ClusterObjectFieldDescriptor(Label="daysToReturn", Tag=0, Type=int), + ClusterObjectFieldDescriptor(Label="modeToReturn", Tag=1, Type=int), ]) daysToReturn: 'int' = None @@ -12223,9 +12377,10 @@ class ClearWeeklySchedule(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class GetRelayStatusLog(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0201 @@ -12235,9 +12390,11 @@ class GetRelayStatusLog(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + + class Attributes: class LocalTemperature(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -12252,6 +12409,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class OutdoorTemperature(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12265,6 +12423,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class Occupancy(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12278,6 +12437,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class AbsMinHeatSetpointLimit(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12291,6 +12451,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class AbsMaxHeatSetpointLimit(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12304,6 +12465,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class AbsMinCoolSetpointLimit(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12317,6 +12479,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class AbsMaxCoolSetpointLimit(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12330,6 +12493,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class PiCoolingDemand(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12343,6 +12507,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class PiHeatingDemand(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12356,6 +12521,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class HvacSystemTypeConfiguration(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12369,6 +12535,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class LocalTemperatureCalibration(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12382,6 +12549,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class OccupiedCoolingSetpoint(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12395,6 +12563,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class OccupiedHeatingSetpoint(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12408,6 +12577,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class UnoccupiedCoolingSetpoint(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12421,6 +12591,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class UnoccupiedHeatingSetpoint(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12434,6 +12605,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class MinHeatSetpointLimit(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12447,6 +12619,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class MaxHeatSetpointLimit(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12460,6 +12633,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class MinCoolSetpointLimit(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12473,6 +12647,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class MaxCoolSetpointLimit(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12486,6 +12661,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class MinSetpointDeadBand(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12499,6 +12675,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class RemoteSensing(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12512,6 +12689,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ControlSequenceOfOperation(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12525,6 +12703,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class SystemMode(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12538,6 +12717,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class AlarmMask(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12551,6 +12731,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ThermostatRunningMode(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12564,6 +12745,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class StartOfWeek(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12577,6 +12759,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class NumberOfWeeklyTransitions(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12590,6 +12773,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class NumberOfDailyTransitions(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12603,6 +12787,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class TemperatureSetpointHold(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12616,6 +12801,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class TemperatureSetpointHoldDuration(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12629,6 +12815,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ThermostatProgrammingOperationMode(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12642,6 +12829,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class HvacRelayState(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12655,6 +12843,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class SetpointChangeSource(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12668,6 +12857,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class SetpointChangeAmount(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12681,6 +12871,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class SetpointChangeSourceTimestamp(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12694,6 +12885,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class AcType(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12707,6 +12899,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class AcCapacity(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12720,6 +12913,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class AcRefrigerantType(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12733,6 +12927,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class AcCompressor(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12746,6 +12941,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class AcErrorCode(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12759,6 +12955,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class AcLouverPosition(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12772,6 +12969,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class AcCoilTemperature(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12785,6 +12983,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class AcCapacityFormat(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12798,6 +12997,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12811,6 +13011,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12825,10 +13026,15 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class FanControl: id: typing.ClassVar[int] = 0x0202 + + + class Attributes: class FanMode(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -12843,6 +13049,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class FanModeSequence(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12856,6 +13063,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12869,6 +13077,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12883,10 +13092,15 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class DehumidificationControl: id: typing.ClassVar[int] = 0x0203 + + + class Attributes: class RelativeHumidity(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -12901,6 +13115,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class DehumidificationCooling(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12914,6 +13129,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class RhDehumidificationSetpoint(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12927,6 +13143,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class RelativeHumidityMode(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12940,6 +13157,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class DehumidificationLockout(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12953,6 +13171,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class DehumidificationHysteresis(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12966,6 +13185,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class DehumidificationMaxCool(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12979,6 +13199,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class RelativeHumidityDisplay(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -12992,6 +13213,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -13005,6 +13227,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -13019,10 +13242,15 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class ThermostatUserInterfaceConfiguration: id: typing.ClassVar[int] = 0x0204 + + + class Attributes: class TemperatureDisplayMode(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -13037,6 +13265,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class KeypadLockout(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -13050,6 +13279,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ScheduleProgrammingVisibility(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -13063,6 +13293,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -13076,6 +13307,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -13090,6 +13322,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class ColorControl: id: typing.ClassVar[int] = 0x0300 @@ -13133,6 +13367,8 @@ class SaturationStepMode(IntEnum): kUp = 0x01 kDown = 0x03 + + class Commands: @dataclass class MoveToHue(ClusterCommand): @@ -13143,17 +13379,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' = None @@ -13171,15 +13402,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' = None @@ -13196,17 +13423,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' = None @@ -13224,15 +13446,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' = None @@ -13249,15 +13467,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' = None @@ -13274,17 +13488,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' = None @@ -13302,17 +13511,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' = None @@ -13330,17 +13534,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' = None @@ -13358,15 +13557,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' = None @@ -13383,17 +13578,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' = None @@ -13411,15 +13601,11 @@ class MoveToColorTemperature(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="colorTemperature", 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="colorTemperature", 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), ]) colorTemperature: 'uint' = None @@ -13436,17 +13622,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' = None @@ -13464,15 +13645,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' = None @@ -13489,17 +13666,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' = None @@ -13517,17 +13689,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' = None @@ -13545,21 +13712,14 @@ class ColorLoopSet(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="updateFlags", Tag=0, Type=int), - 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=int), + 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: 'int' = None @@ -13579,11 +13739,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' = None @@ -13598,19 +13756,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="colorTemperatureMinimum", Tag=2, Type=uint), - ClusterObjectFieldDescriptor( - Label="colorTemperatureMaximum", 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="colorTemperatureMinimum", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="colorTemperatureMaximum", Tag=3, Type=uint), + ClusterObjectFieldDescriptor(Label="optionsMask", Tag=4, Type=uint), + ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=5, Type=uint), ]) moveMode: 'ColorControl.Enums.HueMoveMode' = None @@ -13629,21 +13781,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="colorTemperatureMinimum", Tag=3, Type=uint), - ClusterObjectFieldDescriptor( - Label="colorTemperatureMaximum", 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="colorTemperatureMinimum", Tag=3, Type=uint), + ClusterObjectFieldDescriptor(Label="colorTemperatureMaximum", Tag=4, Type=uint), + ClusterObjectFieldDescriptor(Label="optionsMask", Tag=5, Type=uint), + ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=6, Type=uint), ]) stepMode: 'ColorControl.Enums.HueStepMode' = None @@ -13654,6 +13799,7 @@ def descriptor(cls) -> ClusterObjectDescriptor: optionsMask: 'uint' = None optionsOverride: 'uint' = None + class Attributes: class CurrentHue(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -13668,6 +13814,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class CurrentSaturation(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -13681,6 +13828,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class RemainingTime(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -13694,6 +13842,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class CurrentX(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -13707,6 +13856,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class CurrentY(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -13720,6 +13870,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class DriftCompensation(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -13733,6 +13884,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class CompensationText(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -13746,6 +13898,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=str) + class ColorTemperature(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -13759,6 +13912,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ColorMode(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -13772,6 +13926,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ColorControlOptions(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -13785,6 +13940,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class NumberOfPrimaries(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -13798,6 +13954,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Primary1X(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -13811,6 +13968,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Primary1Y(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -13824,6 +13982,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Primary1Intensity(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -13837,6 +13996,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Primary2X(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -13850,6 +14010,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Primary2Y(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -13863,6 +14024,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Primary2Intensity(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -13876,6 +14038,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Primary3X(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -13889,6 +14052,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Primary3Y(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -13902,6 +14066,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Primary3Intensity(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -13915,6 +14080,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Primary4X(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -13928,6 +14094,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Primary4Y(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -13941,6 +14108,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Primary4Intensity(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -13954,6 +14122,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Primary5X(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -13967,6 +14136,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Primary5Y(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -13980,6 +14150,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Primary5Intensity(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -13993,6 +14164,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Primary6X(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14006,6 +14178,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Primary6Y(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14019,6 +14192,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Primary6Intensity(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14032,6 +14206,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class WhitePointX(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14045,6 +14220,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class WhitePointY(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14058,6 +14234,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ColorPointRX(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14071,6 +14248,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ColorPointRY(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14084,6 +14262,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ColorPointRIntensity(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14097,6 +14276,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ColorPointGX(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14110,6 +14290,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ColorPointGY(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14123,6 +14304,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ColorPointGIntensity(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14136,6 +14318,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ColorPointBX(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14149,6 +14332,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ColorPointBY(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14162,6 +14346,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ColorPointBIntensity(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14175,6 +14360,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class EnhancedCurrentHue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14188,6 +14374,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class EnhancedColorMode(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14201,6 +14388,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ColorLoopActive(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14214,6 +14402,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ColorLoopDirection(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14227,6 +14416,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ColorLoopTime(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14240,6 +14430,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ColorLoopStartEnhancedHue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14253,6 +14444,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ColorLoopStoredEnhancedHue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14266,6 +14458,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ColorCapabilities(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14279,6 +14472,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ColorTempPhysicalMin(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14292,6 +14486,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ColorTempPhysicalMax(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14305,6 +14500,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class CoupleColorTempToLevelMinMireds(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14318,6 +14514,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class StartUpColorTemperatureMireds(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14331,6 +14528,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14344,6 +14542,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14358,10 +14557,15 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class BallastConfiguration: id: typing.ClassVar[int] = 0x0301 + + + class Attributes: class PhysicalMinLevel(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -14376,6 +14580,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class PhysicalMaxLevel(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14389,6 +14594,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class BallastStatus(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14402,6 +14608,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class MinLevel(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14415,6 +14622,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class MaxLevel(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14428,6 +14636,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class PowerOnLevel(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14441,6 +14650,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class PowerOnFadeTime(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14454,6 +14664,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class IntrinsicBallastFactor(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14467,6 +14678,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class BallastFactorAdjustment(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14480,6 +14692,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class LampQuality(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14493,6 +14706,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class LampType(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14506,6 +14720,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=str) + class LampManufacturer(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14519,6 +14734,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=str) + class LampRatedHours(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14532,6 +14748,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class LampBurnHours(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14545,6 +14762,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class LampAlarmMode(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14558,6 +14776,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class LampBurnHoursTripPoint(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14571,6 +14790,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14584,6 +14804,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14598,6 +14819,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class IlluminanceMeasurement: id: typing.ClassVar[int] = 0x0400 @@ -14607,6 +14830,9 @@ class LightSensorType(IntEnum): kPhotodiode = 0x00 kCmos = 0x01 + + + class Attributes: class MeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -14621,6 +14847,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class MinMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14634,6 +14861,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class MaxMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14647,6 +14875,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Tolerance(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14660,6 +14889,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class LightSensorType(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14673,6 +14903,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14686,6 +14917,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14700,10 +14932,15 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class TemperatureMeasurement: id: typing.ClassVar[int] = 0x0402 + + + class Attributes: class MeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -14718,6 +14955,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class MinMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14731,6 +14969,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class MaxMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14744,6 +14983,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class Tolerance(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14757,6 +14997,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14770,6 +15011,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14784,10 +15026,15 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class PressureMeasurement: id: typing.ClassVar[int] = 0x0403 + + + class Attributes: class MeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -14802,6 +15049,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class MinMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14815,6 +15063,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class MaxMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14828,6 +15077,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class Tolerance(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14841,6 +15091,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ScaledValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14854,6 +15105,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class MinScaledValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14867,6 +15119,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class MaxScaledValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14880,6 +15133,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class ScaledTolerance(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14893,6 +15147,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Scale(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14906,6 +15161,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14919,6 +15175,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14933,10 +15190,15 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class FlowMeasurement: id: typing.ClassVar[int] = 0x0404 + + + class Attributes: class MeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -14951,6 +15213,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class MinMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14964,6 +15227,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class MaxMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14977,6 +15241,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class Tolerance(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -14990,6 +15255,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15003,6 +15269,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15017,10 +15284,15 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class RelativeHumidityMeasurement: id: typing.ClassVar[int] = 0x0405 + + + class Attributes: class MeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -15035,6 +15307,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class MinMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15048,6 +15321,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class MaxMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15061,6 +15335,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Tolerance(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15074,6 +15349,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15087,6 +15363,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15101,10 +15378,15 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class OccupancySensing: id: typing.ClassVar[int] = 0x0406 + + + class Attributes: class Occupancy(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -15119,6 +15401,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class OccupancySensorType(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15132,6 +15415,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class OccupancySensorTypeBitmap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15145,6 +15429,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class PirOccupiedToUnoccupiedDelay(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15158,6 +15443,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class PirUnoccupiedToOccupiedDelay(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15171,6 +15457,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class PirUnoccupiedToOccupiedThreshold(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15184,6 +15471,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class UltrasonicOccupiedToUnoccupiedDelay(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15197,6 +15485,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class UltrasonicUnoccupiedToOccupiedDelay(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15210,6 +15499,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class UltrasonicUnoccupiedToOccupiedThreshold(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15223,6 +15513,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class PhysicalContactOccupiedToUnoccupiedDelay(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15236,6 +15527,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class PhysicalContactUnoccupiedToOccupiedDelay(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15249,6 +15541,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class PhysicalContactUnoccupiedToOccupiedThreshold(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15262,6 +15555,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15275,6 +15569,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15289,10 +15584,15 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class CarbonMonoxideConcentrationMeasurement: id: typing.ClassVar[int] = 0x040C + + + class Attributes: class MeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -15307,6 +15607,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MinMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15320,6 +15621,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MaxMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15333,6 +15635,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class Tolerance(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15346,6 +15649,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15359,6 +15663,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15373,10 +15678,15 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class CarbonDioxideConcentrationMeasurement: id: typing.ClassVar[int] = 0x040D + + + class Attributes: class MeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -15391,6 +15701,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MinMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15404,6 +15715,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MaxMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15417,6 +15729,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class Tolerance(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15430,6 +15743,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15443,6 +15757,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15457,10 +15772,15 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class EthyleneConcentrationMeasurement: id: typing.ClassVar[int] = 0x040E + + + class Attributes: class MeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -15475,6 +15795,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MinMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15488,6 +15809,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MaxMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15501,6 +15823,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class Tolerance(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15514,6 +15837,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15527,6 +15851,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15541,10 +15866,15 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class EthyleneOxideConcentrationMeasurement: id: typing.ClassVar[int] = 0x040F + + + class Attributes: class MeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -15559,6 +15889,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MinMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15572,6 +15903,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MaxMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15585,6 +15917,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class Tolerance(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15598,6 +15931,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15611,6 +15945,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15625,10 +15960,15 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class HydrogenConcentrationMeasurement: id: typing.ClassVar[int] = 0x0410 + + + class Attributes: class MeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -15643,6 +15983,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MinMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15656,6 +15997,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MaxMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15669,6 +16011,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class Tolerance(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15682,6 +16025,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15695,6 +16039,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15709,10 +16054,15 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class HydrogenSulphideConcentrationMeasurement: id: typing.ClassVar[int] = 0x0411 + + + class Attributes: class MeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -15727,6 +16077,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MinMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15740,6 +16091,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MaxMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15753,6 +16105,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class Tolerance(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15766,6 +16119,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15779,6 +16133,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15793,10 +16148,15 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class NitricOxideConcentrationMeasurement: id: typing.ClassVar[int] = 0x0412 + + + class Attributes: class MeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -15811,6 +16171,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MinMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15824,6 +16185,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MaxMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15837,6 +16199,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class Tolerance(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15850,6 +16213,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15863,6 +16227,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15877,10 +16242,15 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class NitrogenDioxideConcentrationMeasurement: id: typing.ClassVar[int] = 0x0413 + + + class Attributes: class MeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -15895,6 +16265,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MinMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15908,6 +16279,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MaxMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15921,6 +16293,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class Tolerance(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15934,6 +16307,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15947,6 +16321,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15961,10 +16336,15 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class OxygenConcentrationMeasurement: id: typing.ClassVar[int] = 0x0414 + + + class Attributes: class MeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -15979,6 +16359,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MinMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -15992,6 +16373,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MaxMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16005,6 +16387,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class Tolerance(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16018,6 +16401,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16031,6 +16415,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16045,10 +16430,15 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class OzoneConcentrationMeasurement: id: typing.ClassVar[int] = 0x0415 + + + class Attributes: class MeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -16063,6 +16453,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MinMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16076,6 +16467,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MaxMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16089,6 +16481,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class Tolerance(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16102,6 +16495,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16115,6 +16509,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16129,10 +16524,15 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class SulfurDioxideConcentrationMeasurement: id: typing.ClassVar[int] = 0x0416 + + + class Attributes: class MeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -16147,6 +16547,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MinMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16160,6 +16561,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MaxMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16173,6 +16575,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class Tolerance(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16186,6 +16589,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16199,6 +16603,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16213,10 +16618,15 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class DissolvedOxygenConcentrationMeasurement: id: typing.ClassVar[int] = 0x0417 + + + class Attributes: class MeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -16231,6 +16641,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MinMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16244,6 +16655,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MaxMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16257,6 +16669,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class Tolerance(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16270,6 +16683,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16283,6 +16697,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16297,10 +16712,15 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class BromateConcentrationMeasurement: id: typing.ClassVar[int] = 0x0418 + + + class Attributes: class MeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -16315,6 +16735,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MinMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16328,6 +16749,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MaxMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16341,6 +16763,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class Tolerance(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16354,6 +16777,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16367,6 +16791,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16381,10 +16806,15 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class ChloraminesConcentrationMeasurement: id: typing.ClassVar[int] = 0x0419 + + + class Attributes: class MeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -16399,6 +16829,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MinMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16412,6 +16843,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MaxMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16425,6 +16857,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class Tolerance(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16438,6 +16871,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16451,6 +16885,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16465,10 +16900,15 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class ChlorineConcentrationMeasurement: id: typing.ClassVar[int] = 0x041A + + + class Attributes: class MeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -16483,6 +16923,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MinMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16496,6 +16937,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MaxMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16509,6 +16951,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class Tolerance(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16522,6 +16965,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16535,6 +16979,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16549,10 +16994,15 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class FecalColiformAndEColiConcentrationMeasurement: id: typing.ClassVar[int] = 0x041B + + + class Attributes: class MeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -16567,6 +17017,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MinMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16580,6 +17031,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MaxMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16593,6 +17045,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class Tolerance(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16606,6 +17059,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16619,6 +17073,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16633,10 +17088,15 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class FluorideConcentrationMeasurement: id: typing.ClassVar[int] = 0x041C + + + class Attributes: class MeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -16651,6 +17111,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MinMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16664,6 +17125,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MaxMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16677,6 +17139,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class Tolerance(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16690,6 +17153,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16703,6 +17167,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16717,10 +17182,15 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class HaloaceticAcidsConcentrationMeasurement: id: typing.ClassVar[int] = 0x041D + + + class Attributes: class MeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -16735,6 +17205,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MinMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16748,6 +17219,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MaxMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16761,6 +17233,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class Tolerance(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16774,6 +17247,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16787,6 +17261,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16801,10 +17276,15 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class TotalTrihalomethanesConcentrationMeasurement: id: typing.ClassVar[int] = 0x041E + + + class Attributes: class MeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -16819,6 +17299,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MinMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16832,6 +17313,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MaxMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16845,6 +17327,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class Tolerance(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16858,6 +17341,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16871,6 +17355,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16885,10 +17370,15 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class TotalColiformBacteriaConcentrationMeasurement: id: typing.ClassVar[int] = 0x041F + + + class Attributes: class MeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -16903,6 +17393,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MinMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16916,6 +17407,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MaxMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16929,6 +17421,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class Tolerance(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16942,6 +17435,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16955,6 +17449,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -16969,10 +17464,15 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class TurbidityConcentrationMeasurement: id: typing.ClassVar[int] = 0x0420 + + + class Attributes: class MeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -16987,6 +17487,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MinMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -17000,6 +17501,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MaxMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -17013,6 +17515,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class Tolerance(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -17026,6 +17529,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -17039,6 +17543,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -17053,10 +17558,15 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class CopperConcentrationMeasurement: id: typing.ClassVar[int] = 0x0421 + + + class Attributes: class MeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -17071,6 +17581,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MinMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -17084,6 +17595,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MaxMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -17097,6 +17609,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class Tolerance(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -17110,6 +17623,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -17123,6 +17637,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -17137,10 +17652,15 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class LeadConcentrationMeasurement: id: typing.ClassVar[int] = 0x0422 + + + class Attributes: class MeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -17155,6 +17675,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MinMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -17168,6 +17689,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MaxMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -17181,6 +17703,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class Tolerance(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -17194,6 +17717,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -17207,6 +17731,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -17221,10 +17746,15 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class ManganeseConcentrationMeasurement: id: typing.ClassVar[int] = 0x0423 + + + class Attributes: class MeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -17239,6 +17769,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MinMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -17252,6 +17783,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MaxMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -17265,6 +17797,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class Tolerance(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -17278,6 +17811,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -17291,6 +17825,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -17305,10 +17840,15 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class SulfateConcentrationMeasurement: id: typing.ClassVar[int] = 0x0424 + + + class Attributes: class MeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -17323,6 +17863,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MinMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -17336,6 +17877,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MaxMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -17349,6 +17891,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class Tolerance(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -17362,6 +17905,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -17375,6 +17919,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -17389,10 +17934,15 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class BromodichloromethaneConcentrationMeasurement: id: typing.ClassVar[int] = 0x0425 + + + class Attributes: class MeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -17407,6 +17957,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MinMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -17420,6 +17971,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MaxMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -17433,6 +17985,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class Tolerance(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -17446,6 +17999,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -17459,6 +18013,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -17473,10 +18028,15 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class BromoformConcentrationMeasurement: id: typing.ClassVar[int] = 0x0426 + + + class Attributes: class MeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -17491,6 +18051,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MinMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -17504,6 +18065,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MaxMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -17517,6 +18079,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class Tolerance(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -17530,6 +18093,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -17543,6 +18107,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -17557,10 +18122,15 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class ChlorodibromomethaneConcentrationMeasurement: id: typing.ClassVar[int] = 0x0427 + + + class Attributes: class MeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -17575,6 +18145,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MinMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -17588,6 +18159,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MaxMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -17601,6 +18173,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class Tolerance(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -17614,6 +18187,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -17627,6 +18201,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -17641,10 +18216,15 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class ChloroformConcentrationMeasurement: id: typing.ClassVar[int] = 0x0428 + + + class Attributes: class MeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -17659,6 +18239,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MinMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -17672,6 +18253,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MaxMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -17685,6 +18267,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class Tolerance(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -17698,6 +18281,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -17711,6 +18295,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -17725,10 +18310,15 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class SodiumConcentrationMeasurement: id: typing.ClassVar[int] = 0x0429 + + + class Attributes: class MeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -17743,6 +18333,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MinMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -17756,6 +18347,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class MaxMeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -17769,6 +18361,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class Tolerance(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -17782,6 +18375,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=float) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -17795,6 +18389,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -17809,6 +18404,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class IasZone: id: typing.ClassVar[int] = 0x0500 @@ -17838,6 +18435,8 @@ class IasZoneType(IntEnum): kSecurityRepeater = 0x229 kInvalidZoneType = 0xFFFF + + class Commands: @dataclass class ZoneEnrollResponse(ClusterCommand): @@ -17848,11 +18447,9 @@ class ZoneEnrollResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="enrollResponseCode", Tag=0, Type=IasZone.Enums.IasEnrollResponseCode), - ClusterObjectFieldDescriptor( - Label="zoneId", Tag=1, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="enrollResponseCode", Tag=0, Type=IasZone.Enums.IasEnrollResponseCode), + ClusterObjectFieldDescriptor(Label="zoneId", Tag=1, Type=uint), ]) enrollResponseCode: 'IasZone.Enums.IasEnrollResponseCode' = None @@ -17867,15 +18464,11 @@ class ZoneStatusChangeNotification(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="zoneStatus", Tag=0, Type=int), - ClusterObjectFieldDescriptor( - Label="extendedStatus", Tag=1, Type=uint), - ClusterObjectFieldDescriptor( - Label="zoneId", Tag=2, Type=uint), - ClusterObjectFieldDescriptor( - Label="delay", Tag=3, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="zoneStatus", Tag=0, Type=int), + ClusterObjectFieldDescriptor(Label="extendedStatus", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="zoneId", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="delay", Tag=3, Type=uint), ]) zoneStatus: 'int' = None @@ -17892,9 +18485,10 @@ class InitiateNormalOperationMode(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class ZoneEnrollRequest(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0500 @@ -17904,11 +18498,9 @@ class ZoneEnrollRequest(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="zoneType", Tag=0, Type=IasZone.Enums.IasZoneType), - ClusterObjectFieldDescriptor( - Label="manufacturerCode", Tag=1, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="zoneType", Tag=0, Type=IasZone.Enums.IasZoneType), + ClusterObjectFieldDescriptor(Label="manufacturerCode", Tag=1, Type=uint), ]) zoneType: 'IasZone.Enums.IasZoneType' = None @@ -17923,11 +18515,9 @@ class InitiateTestMode(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="testModeDuration", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="currentZoneSensitivityLevel", Tag=1, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="testModeDuration", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="currentZoneSensitivityLevel", Tag=1, Type=uint), ]) testModeDuration: 'uint' = None @@ -17942,9 +18532,10 @@ class InitiateNormalOperationModeResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class InitiateTestModeResponse(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0500 @@ -17954,9 +18545,11 @@ class InitiateTestModeResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + + class Attributes: class ZoneState(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -17971,6 +18564,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ZoneType(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -17984,6 +18578,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ZoneStatus(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -17997,6 +18592,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class IasCieAddress(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -18010,6 +18606,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ZoneId(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -18023,6 +18620,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class NumberOfZoneSensitivityLevelsSupported(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -18036,6 +18634,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class CurrentZoneSensitivityLevel(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -18049,6 +18648,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -18062,6 +18662,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -18076,6 +18677,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class IasAce: id: typing.ClassVar[int] = 0x0501 @@ -18148,22 +18751,23 @@ class IasZoneType(IntEnum): kSecurityRepeater = 0x229 kInvalidZoneType = 0xFFFF + class Structs: @dataclass class IasAceZoneStatusResult(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="zoneId", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="zoneStatus", Tag=1, Type=int), + Fields = [ + ClusterObjectFieldDescriptor(Label="zoneId", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="zoneStatus", Tag=1, Type=int), ]) zoneId: 'uint' = None zoneStatus: 'int' = None + + class Commands: @dataclass class Arm(ClusterCommand): @@ -18174,13 +18778,10 @@ class Arm(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="armMode", Tag=0, Type=IasAce.Enums.IasAceArmMode), - ClusterObjectFieldDescriptor( - Label="armDisarmCode", Tag=1, Type=str), - ClusterObjectFieldDescriptor( - Label="zoneId", Tag=2, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="armMode", Tag=0, Type=IasAce.Enums.IasAceArmMode), + ClusterObjectFieldDescriptor(Label="armDisarmCode", Tag=1, Type=str), + ClusterObjectFieldDescriptor(Label="zoneId", Tag=2, Type=uint), ]) armMode: 'IasAce.Enums.IasAceArmMode' = None @@ -18196,9 +18797,8 @@ class ArmResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="armNotification", Tag=0, Type=IasAce.Enums.IasAceArmNotification), + Fields = [ + ClusterObjectFieldDescriptor(Label="armNotification", Tag=0, Type=IasAce.Enums.IasAceArmNotification), ]) armNotification: 'IasAce.Enums.IasAceArmNotification' = None @@ -18212,13 +18812,10 @@ class Bypass(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="numberOfZones", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="zoneIds", Tag=1, Type=uint, IsArray=True), - ClusterObjectFieldDescriptor( - Label="armDisarmCode", Tag=2, Type=str), + Fields = [ + ClusterObjectFieldDescriptor(Label="numberOfZones", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="zoneIds", Tag=1, Type=uint, IsArray=True), + ClusterObjectFieldDescriptor(Label="armDisarmCode", Tag=2, Type=str), ]) numberOfZones: 'uint' = None @@ -18234,39 +18831,23 @@ class GetZoneIdMapResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="section0", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="section1", Tag=1, Type=uint), - ClusterObjectFieldDescriptor( - Label="section2", Tag=2, Type=uint), - ClusterObjectFieldDescriptor( - Label="section3", Tag=3, Type=uint), - ClusterObjectFieldDescriptor( - Label="section4", Tag=4, Type=uint), - ClusterObjectFieldDescriptor( - Label="section5", Tag=5, Type=uint), - ClusterObjectFieldDescriptor( - Label="section6", Tag=6, Type=uint), - ClusterObjectFieldDescriptor( - Label="section7", Tag=7, Type=uint), - ClusterObjectFieldDescriptor( - Label="section8", Tag=8, Type=uint), - ClusterObjectFieldDescriptor( - Label="section9", Tag=9, Type=uint), - ClusterObjectFieldDescriptor( - Label="section10", Tag=10, Type=uint), - ClusterObjectFieldDescriptor( - Label="section11", Tag=11, Type=uint), - ClusterObjectFieldDescriptor( - Label="section12", Tag=12, Type=uint), - ClusterObjectFieldDescriptor( - Label="section13", Tag=13, Type=uint), - ClusterObjectFieldDescriptor( - Label="section14", Tag=14, Type=uint), - ClusterObjectFieldDescriptor( - Label="section15", Tag=15, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="section0", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="section1", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="section2", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="section3", Tag=3, Type=uint), + ClusterObjectFieldDescriptor(Label="section4", Tag=4, Type=uint), + ClusterObjectFieldDescriptor(Label="section5", Tag=5, Type=uint), + ClusterObjectFieldDescriptor(Label="section6", Tag=6, Type=uint), + ClusterObjectFieldDescriptor(Label="section7", Tag=7, Type=uint), + ClusterObjectFieldDescriptor(Label="section8", Tag=8, Type=uint), + ClusterObjectFieldDescriptor(Label="section9", Tag=9, Type=uint), + ClusterObjectFieldDescriptor(Label="section10", Tag=10, Type=uint), + ClusterObjectFieldDescriptor(Label="section11", Tag=11, Type=uint), + ClusterObjectFieldDescriptor(Label="section12", Tag=12, Type=uint), + ClusterObjectFieldDescriptor(Label="section13", Tag=13, Type=uint), + ClusterObjectFieldDescriptor(Label="section14", Tag=14, Type=uint), + ClusterObjectFieldDescriptor(Label="section15", Tag=15, Type=uint), ]) section0: 'uint' = None @@ -18295,9 +18876,10 @@ class Emergency(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class GetZoneInformationResponse(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0501 @@ -18307,15 +18889,11 @@ class GetZoneInformationResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="zoneId", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="zoneType", Tag=1, Type=IasAce.Enums.IasZoneType), - ClusterObjectFieldDescriptor( - Label="ieeeAddress", Tag=2, Type=uint), - ClusterObjectFieldDescriptor( - Label="zoneLabel", Tag=3, Type=str), + Fields = [ + ClusterObjectFieldDescriptor(Label="zoneId", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="zoneType", Tag=1, Type=IasAce.Enums.IasZoneType), + ClusterObjectFieldDescriptor(Label="ieeeAddress", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="zoneLabel", Tag=3, Type=str), ]) zoneId: 'uint' = None @@ -18332,9 +18910,10 @@ class Fire(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class ZoneStatusChanged(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0501 @@ -18344,15 +18923,11 @@ class ZoneStatusChanged(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="zoneId", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="zoneStatus", Tag=1, Type=uint), - ClusterObjectFieldDescriptor( - Label="audibleNotification", Tag=2, Type=IasAce.Enums.IasAceAudibleNotification), - ClusterObjectFieldDescriptor( - Label="zoneLabel", Tag=3, Type=str), + Fields = [ + ClusterObjectFieldDescriptor(Label="zoneId", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="zoneStatus", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="audibleNotification", Tag=2, Type=IasAce.Enums.IasAceAudibleNotification), + ClusterObjectFieldDescriptor(Label="zoneLabel", Tag=3, Type=str), ]) zoneId: 'uint' = None @@ -18369,9 +18944,10 @@ class Panic(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class PanelStatusChanged(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0501 @@ -18381,15 +18957,11 @@ class PanelStatusChanged(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="panelStatus", Tag=0, Type=IasAce.Enums.IasAcePanelStatus), - ClusterObjectFieldDescriptor( - Label="secondsRemaining", Tag=1, Type=uint), - ClusterObjectFieldDescriptor( - Label="audibleNotification", Tag=2, Type=IasAce.Enums.IasAceAudibleNotification), - ClusterObjectFieldDescriptor( - Label="alarmStatus", Tag=3, Type=IasAce.Enums.IasAceAlarmStatus), + Fields = [ + ClusterObjectFieldDescriptor(Label="panelStatus", Tag=0, Type=IasAce.Enums.IasAcePanelStatus), + ClusterObjectFieldDescriptor(Label="secondsRemaining", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="audibleNotification", Tag=2, Type=IasAce.Enums.IasAceAudibleNotification), + ClusterObjectFieldDescriptor(Label="alarmStatus", Tag=3, Type=IasAce.Enums.IasAceAlarmStatus), ]) panelStatus: 'IasAce.Enums.IasAcePanelStatus' = None @@ -18406,9 +18978,10 @@ class GetZoneIdMap(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class GetPanelStatusResponse(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0501 @@ -18418,15 +18991,11 @@ class GetPanelStatusResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="panelStatus", Tag=0, Type=IasAce.Enums.IasAcePanelStatus), - ClusterObjectFieldDescriptor( - Label="secondsRemaining", Tag=1, Type=uint), - ClusterObjectFieldDescriptor( - Label="audibleNotification", Tag=2, Type=IasAce.Enums.IasAceAudibleNotification), - ClusterObjectFieldDescriptor( - Label="alarmStatus", Tag=3, Type=IasAce.Enums.IasAceAlarmStatus), + Fields = [ + ClusterObjectFieldDescriptor(Label="panelStatus", Tag=0, Type=IasAce.Enums.IasAcePanelStatus), + ClusterObjectFieldDescriptor(Label="secondsRemaining", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="audibleNotification", Tag=2, Type=IasAce.Enums.IasAceAudibleNotification), + ClusterObjectFieldDescriptor(Label="alarmStatus", Tag=3, Type=IasAce.Enums.IasAceAlarmStatus), ]) panelStatus: 'IasAce.Enums.IasAcePanelStatus' = None @@ -18443,9 +19012,8 @@ class GetZoneInformation(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="zoneId", Tag=0, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="zoneId", Tag=0, Type=uint), ]) zoneId: 'uint' = None @@ -18459,11 +19027,9 @@ class SetBypassedZoneList(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="numberOfZones", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="zoneIds", Tag=1, Type=uint, IsArray=True), + Fields = [ + ClusterObjectFieldDescriptor(Label="numberOfZones", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="zoneIds", Tag=1, Type=uint, IsArray=True), ]) numberOfZones: 'uint' = None @@ -18478,9 +19044,10 @@ class GetPanelStatus(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class BypassResponse(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0501 @@ -18490,11 +19057,9 @@ class BypassResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="numberOfZones", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="bypassResult", Tag=1, Type=IasAce.Enums.IasAceBypassResult, IsArray=True), + Fields = [ + ClusterObjectFieldDescriptor(Label="numberOfZones", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="bypassResult", Tag=1, Type=IasAce.Enums.IasAceBypassResult, IsArray=True), ]) numberOfZones: 'uint' = None @@ -18509,9 +19074,10 @@ class GetBypassedZoneList(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class GetZoneStatusResponse(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0501 @@ -18521,13 +19087,10 @@ class GetZoneStatusResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="zoneStatusComplete", Tag=0, Type=bool), - ClusterObjectFieldDescriptor( - Label="numberOfZones", Tag=1, Type=uint), - ClusterObjectFieldDescriptor( - Label="zoneStatusResult", Tag=2, Type=IasAce.Structs.IasAceZoneStatusResult, IsArray=True), + Fields = [ + ClusterObjectFieldDescriptor(Label="zoneStatusComplete", Tag=0, Type=bool), + ClusterObjectFieldDescriptor(Label="numberOfZones", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="zoneStatusResult", Tag=2, Type=IasAce.Structs.IasAceZoneStatusResult, IsArray=True), ]) zoneStatusComplete: 'bool' = None @@ -18543,15 +19106,11 @@ class GetZoneStatus(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="startingZoneId", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="maxNumberOfZoneIds", Tag=1, Type=uint), - ClusterObjectFieldDescriptor( - Label="zoneStatusMaskFlag", Tag=2, Type=bool), - ClusterObjectFieldDescriptor( - Label="zoneStatusMask", Tag=3, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="startingZoneId", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="maxNumberOfZoneIds", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="zoneStatusMaskFlag", Tag=2, Type=bool), + ClusterObjectFieldDescriptor(Label="zoneStatusMask", Tag=3, Type=uint), ]) startingZoneId: 'uint' = None @@ -18559,6 +19118,7 @@ def descriptor(cls) -> ClusterObjectDescriptor: zoneStatusMaskFlag: 'bool' = None zoneStatusMask: 'uint' = None + class Attributes: class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -18573,6 +19133,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -18587,10 +19148,14 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class IasWd: id: typing.ClassVar[int] = 0x0502 + + class Commands: @dataclass class StartWarning(ClusterCommand): @@ -18601,15 +19166,11 @@ class StartWarning(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="warningInfo", Tag=0, Type=int), - ClusterObjectFieldDescriptor( - Label="warningDuration", Tag=1, Type=uint), - ClusterObjectFieldDescriptor( - Label="strobeDutyCycle", Tag=2, Type=uint), - ClusterObjectFieldDescriptor( - Label="strobeLevel", Tag=3, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="warningInfo", Tag=0, Type=int), + ClusterObjectFieldDescriptor(Label="warningDuration", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="strobeDutyCycle", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="strobeLevel", Tag=3, Type=uint), ]) warningInfo: 'int' = None @@ -18626,13 +19187,13 @@ class Squawk(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="squawkInfo", Tag=0, Type=int), + Fields = [ + ClusterObjectFieldDescriptor(Label="squawkInfo", Tag=0, Type=int), ]) squawkInfo: 'int' = None + class Attributes: class MaxDuration(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -18647,6 +19208,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -18660,6 +19222,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -18674,10 +19237,15 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class WakeOnLan: id: typing.ClassVar[int] = 0x0503 + + + class Attributes: class WakeOnLanMacAddress(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -18692,6 +19260,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=str) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -18705,6 +19274,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -18719,6 +19289,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class TvChannel: id: typing.ClassVar[int] = 0x0504 @@ -18731,23 +19303,19 @@ class TvChannelErrorType(IntEnum): class TvChannelLineupInfoType(IntEnum): kMso = 0x00 + class Structs: @dataclass class TvChannelInfo(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=str), - ClusterObjectFieldDescriptor( - Label="callSign", Tag=3, Type=str), - ClusterObjectFieldDescriptor( - Label="affiliateCallSign", Tag=4, Type=str), + Fields = [ + ClusterObjectFieldDescriptor(Label="majorNumber", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="minorNumber", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="name", Tag=2, Type=str), + ClusterObjectFieldDescriptor(Label="callSign", Tag=3, Type=str), + ClusterObjectFieldDescriptor(Label="affiliateCallSign", Tag=4, Type=str), ]) majorNumber: 'uint' = None @@ -18761,15 +19329,11 @@ class TvChannelLineupInfo(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="operatorName", Tag=0, Type=str), - ClusterObjectFieldDescriptor( - Label="lineupName", Tag=1, Type=str), - ClusterObjectFieldDescriptor( - Label="postalCode", Tag=2, Type=str), - ClusterObjectFieldDescriptor( - Label="lineupInfoType", Tag=3, Type=TvChannel.Enums.TvChannelLineupInfoType), + Fields = [ + ClusterObjectFieldDescriptor(Label="operatorName", Tag=0, Type=str), + ClusterObjectFieldDescriptor(Label="lineupName", Tag=1, Type=str), + ClusterObjectFieldDescriptor(Label="postalCode", Tag=2, Type=str), + ClusterObjectFieldDescriptor(Label="lineupInfoType", Tag=3, Type=TvChannel.Enums.TvChannelLineupInfoType), ]) operatorName: 'str' = None @@ -18777,6 +19341,8 @@ def descriptor(cls) -> ClusterObjectDescriptor: postalCode: 'str' = None lineupInfoType: 'TvChannel.Enums.TvChannelLineupInfoType' = None + + class Commands: @dataclass class ChangeChannel(ClusterCommand): @@ -18787,9 +19353,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' = None @@ -18803,11 +19368,9 @@ class ChangeChannelResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="channelMatch", Tag=0, Type=TvChannel.Structs.TvChannelInfo, IsArray=True), - ClusterObjectFieldDescriptor( - Label="errorType", Tag=1, Type=TvChannel.Enums.TvChannelErrorType), + Fields = [ + ClusterObjectFieldDescriptor(Label="channelMatch", Tag=0, Type=TvChannel.Structs.TvChannelInfo, IsArray=True), + ClusterObjectFieldDescriptor(Label="errorType", Tag=1, Type=TvChannel.Enums.TvChannelErrorType), ]) channelMatch: typing.List['TvChannel.Structs.TvChannelInfo'] = None @@ -18822,11 +19385,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' = None @@ -18841,13 +19402,13 @@ 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' = None + class Attributes: class TvChannelList(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -18862,6 +19423,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=TvChannel.Structs.TvChannelInfo, IsArray=True) + class TvChannelLineup(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -18875,6 +19437,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=bytes) + class CurrentTvChannel(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -18888,6 +19451,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=bytes) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -18901,6 +19465,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -18915,6 +19480,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class TargetNavigator: id: typing.ClassVar[int] = 0x0505 @@ -18925,22 +19492,23 @@ class NavigateTargetStatus(IntEnum): kAppNotAvailable = 0x01 kSystemBusy = 0x02 + class Structs: @dataclass class NavigateTargetTargetInfo(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' = None name: 'str' = None + + class Commands: @dataclass class NavigateTarget(ClusterCommand): @@ -18951,11 +19519,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=str), + Fields = [ + ClusterObjectFieldDescriptor(Label="target", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=str), ]) target: 'uint' = None @@ -18970,16 +19536,15 @@ class NavigateTargetResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="status", Tag=0, Type=TargetNavigator.Enums.NavigateTargetStatus), - ClusterObjectFieldDescriptor( - Label="data", Tag=1, Type=str), + Fields = [ + ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=TargetNavigator.Enums.NavigateTargetStatus), + ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=str), ]) status: 'TargetNavigator.Enums.NavigateTargetStatus' = None data: 'str' = None + class Attributes: class TargetNavigatorList(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -18994,6 +19559,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=TargetNavigator.Structs.NavigateTargetTargetInfo, IsArray=True) + class CurrentNavigatorTarget(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -19007,6 +19573,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -19020,6 +19587,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -19034,6 +19602,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class MediaPlayback: id: typing.ClassVar[int] = 0x0506 @@ -19053,22 +19623,23 @@ class MediaPlaybackStatus(IntEnum): kSpeedOutOfRange = 0x04 kSeekOutOfRange = 0x05 + class Structs: @dataclass class MediaPlaybackPosition(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="updatedAt", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="position", Tag=1, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="updatedAt", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="position", Tag=1, Type=uint), ]) updatedAt: 'uint' = None position: 'uint' = None + + class Commands: @dataclass class MediaPlay(ClusterCommand): @@ -19079,9 +19650,10 @@ class MediaPlay(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class MediaPlayResponse(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0506 @@ -19091,9 +19663,8 @@ class MediaPlayResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="mediaPlaybackStatus", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatus), + Fields = [ + ClusterObjectFieldDescriptor(Label="mediaPlaybackStatus", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatus), ]) mediaPlaybackStatus: 'MediaPlayback.Enums.MediaPlaybackStatus' = None @@ -19107,9 +19678,10 @@ class MediaPause(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class MediaPauseResponse(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0506 @@ -19119,9 +19691,8 @@ class MediaPauseResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="mediaPlaybackStatus", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatus), + Fields = [ + ClusterObjectFieldDescriptor(Label="mediaPlaybackStatus", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatus), ]) mediaPlaybackStatus: 'MediaPlayback.Enums.MediaPlaybackStatus' = None @@ -19135,9 +19706,10 @@ class MediaStop(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class MediaStopResponse(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0506 @@ -19147,9 +19719,8 @@ class MediaStopResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="mediaPlaybackStatus", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatus), + Fields = [ + ClusterObjectFieldDescriptor(Label="mediaPlaybackStatus", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatus), ]) mediaPlaybackStatus: 'MediaPlayback.Enums.MediaPlaybackStatus' = None @@ -19163,9 +19734,10 @@ class MediaStartOver(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class MediaStartOverResponse(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0506 @@ -19175,9 +19747,8 @@ class MediaStartOverResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="mediaPlaybackStatus", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatus), + Fields = [ + ClusterObjectFieldDescriptor(Label="mediaPlaybackStatus", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatus), ]) mediaPlaybackStatus: 'MediaPlayback.Enums.MediaPlaybackStatus' = None @@ -19191,9 +19762,10 @@ class MediaPrevious(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class MediaPreviousResponse(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0506 @@ -19203,9 +19775,8 @@ class MediaPreviousResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="mediaPlaybackStatus", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatus), + Fields = [ + ClusterObjectFieldDescriptor(Label="mediaPlaybackStatus", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatus), ]) mediaPlaybackStatus: 'MediaPlayback.Enums.MediaPlaybackStatus' = None @@ -19219,9 +19790,10 @@ class MediaNext(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class MediaNextResponse(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0506 @@ -19231,9 +19803,8 @@ class MediaNextResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="mediaPlaybackStatus", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatus), + Fields = [ + ClusterObjectFieldDescriptor(Label="mediaPlaybackStatus", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatus), ]) mediaPlaybackStatus: 'MediaPlayback.Enums.MediaPlaybackStatus' = None @@ -19247,9 +19818,10 @@ class MediaRewind(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class MediaRewindResponse(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0506 @@ -19259,9 +19831,8 @@ class MediaRewindResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="mediaPlaybackStatus", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatus), + Fields = [ + ClusterObjectFieldDescriptor(Label="mediaPlaybackStatus", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatus), ]) mediaPlaybackStatus: 'MediaPlayback.Enums.MediaPlaybackStatus' = None @@ -19275,9 +19846,10 @@ class MediaFastForward(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class MediaFastForwardResponse(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0506 @@ -19287,9 +19859,8 @@ class MediaFastForwardResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="mediaPlaybackStatus", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatus), + Fields = [ + ClusterObjectFieldDescriptor(Label="mediaPlaybackStatus", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatus), ]) mediaPlaybackStatus: 'MediaPlayback.Enums.MediaPlaybackStatus' = None @@ -19303,9 +19874,8 @@ class MediaSkipForward(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' = None @@ -19319,9 +19889,8 @@ class MediaSkipForwardResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="mediaPlaybackStatus", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatus), + Fields = [ + ClusterObjectFieldDescriptor(Label="mediaPlaybackStatus", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatus), ]) mediaPlaybackStatus: 'MediaPlayback.Enums.MediaPlaybackStatus' = None @@ -19335,9 +19904,8 @@ class MediaSkipBackward(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' = None @@ -19351,9 +19919,8 @@ class MediaSkipBackwardResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="mediaPlaybackStatus", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatus), + Fields = [ + ClusterObjectFieldDescriptor(Label="mediaPlaybackStatus", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatus), ]) mediaPlaybackStatus: 'MediaPlayback.Enums.MediaPlaybackStatus' = None @@ -19367,9 +19934,8 @@ class MediaSeek(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' = None @@ -19383,13 +19949,13 @@ class MediaSeekResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="mediaPlaybackStatus", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatus), + Fields = [ + ClusterObjectFieldDescriptor(Label="mediaPlaybackStatus", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatus), ]) mediaPlaybackStatus: 'MediaPlayback.Enums.MediaPlaybackStatus' = None + class Attributes: class PlaybackState(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -19404,6 +19970,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class StartTime(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -19417,6 +19984,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Duration(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -19430,6 +19998,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class PositionUpdatedAt(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -19443,6 +20012,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Position(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -19456,6 +20026,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class PlaybackSpeed(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -19469,6 +20040,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class SeekRangeEnd(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -19482,6 +20054,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class SeekRangeStart(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -19495,6 +20068,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -19508,6 +20082,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -19522,6 +20097,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class MediaInput: id: typing.ClassVar[int] = 0x0507 @@ -19541,21 +20118,18 @@ class MediaInputType(IntEnum): kUsb = 0x0A kOther = 0x0B + class Structs: @dataclass class MediaInputInfo(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.MediaInputType), - 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.MediaInputType), + ClusterObjectFieldDescriptor(Label="name", Tag=2, Type=str), + ClusterObjectFieldDescriptor(Label="description", Tag=3, Type=str), ]) index: 'uint' = None @@ -19563,6 +20137,8 @@ def descriptor(cls) -> ClusterObjectDescriptor: name: 'str' = None description: 'str' = None + + class Commands: @dataclass class SelectInput(ClusterCommand): @@ -19573,9 +20149,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' = None @@ -19589,9 +20164,10 @@ class ShowInputStatus(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class HideInputStatus(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0507 @@ -19601,9 +20177,10 @@ class HideInputStatus(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class RenameInput(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0507 @@ -19613,16 +20190,15 @@ 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' = None name: 'str' = None + class Attributes: class MediaInputList(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -19637,6 +20213,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=MediaInput.Structs.MediaInputInfo, IsArray=True) + class CurrentMediaInput(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -19650,6 +20227,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -19663,6 +20241,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -19677,10 +20256,14 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class LowPower: id: typing.ClassVar[int] = 0x0508 + + class Commands: @dataclass class Sleep(ClusterCommand): @@ -19691,9 +20274,11 @@ class Sleep(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + + class Attributes: class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -19708,6 +20293,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -19722,6 +20308,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class KeypadInput: id: typing.ClassVar[int] = 0x0509 @@ -19820,6 +20408,8 @@ class KeypadInputStatus(IntEnum): kUnsupportedKey = 0x01 kInvalidKeyInCurrentState = 0x02 + + class Commands: @dataclass class SendKey(ClusterCommand): @@ -19830,9 +20420,8 @@ class SendKey(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="keyCode", Tag=0, Type=KeypadInput.Enums.KeypadInputCecKeyCode), + Fields = [ + ClusterObjectFieldDescriptor(Label="keyCode", Tag=0, Type=KeypadInput.Enums.KeypadInputCecKeyCode), ]) keyCode: 'KeypadInput.Enums.KeypadInputCecKeyCode' = None @@ -19846,13 +20435,13 @@ class SendKeyResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="status", Tag=0, Type=KeypadInput.Enums.KeypadInputStatus), + Fields = [ + ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=KeypadInput.Enums.KeypadInputStatus), ]) status: 'KeypadInput.Enums.KeypadInputStatus' = None + class Attributes: class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -19867,6 +20456,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -19881,6 +20471,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class ContentLauncher: id: typing.ClassVar[int] = 0x050A @@ -19912,17 +20504,16 @@ class ContentLaunchStreamingType(IntEnum): kDash = 0x00 kHls = 0x01 + class Structs: @dataclass class ContentLaunchAdditionalInfo(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' = None @@ -19933,13 +20524,10 @@ class ContentLaunchParamater(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="type", Tag=0, Type=ContentLauncher.Enums.ContentLaunchParameterEnum), - ClusterObjectFieldDescriptor( - Label="value", Tag=1, Type=str), - ClusterObjectFieldDescriptor( - Label="externalIDList", Tag=2, Type=ContentLauncher.Structs.ContentLaunchAdditionalInfo, IsArray=True), + Fields = [ + ClusterObjectFieldDescriptor(Label="type", Tag=0, Type=ContentLauncher.Enums.ContentLaunchParameterEnum), + ClusterObjectFieldDescriptor(Label="value", Tag=1, Type=str), + ClusterObjectFieldDescriptor(Label="externalIDList", Tag=2, Type=ContentLauncher.Structs.ContentLaunchAdditionalInfo, IsArray=True), ]) type: 'ContentLauncher.Enums.ContentLaunchParameterEnum' = None @@ -19951,19 +20539,13 @@ class ContentLaunchBrandingInformation(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="providerName", Tag=0, Type=str), - ClusterObjectFieldDescriptor( - Label="background", Tag=1, Type=uint), - ClusterObjectFieldDescriptor( - Label="logo", Tag=2, Type=uint), - ClusterObjectFieldDescriptor( - Label="progressBar", Tag=3, Type=uint), - ClusterObjectFieldDescriptor( - Label="splash", Tag=4, Type=uint), - ClusterObjectFieldDescriptor( - Label="waterMark", Tag=5, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="providerName", Tag=0, Type=str), + ClusterObjectFieldDescriptor(Label="background", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="logo", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="progressBar", Tag=3, Type=uint), + ClusterObjectFieldDescriptor(Label="splash", Tag=4, Type=uint), + ClusterObjectFieldDescriptor(Label="waterMark", Tag=5, Type=uint), ]) providerName: 'str' = None @@ -19978,13 +20560,10 @@ class ContentLaunchDimension(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="width", Tag=0, Type=str), - ClusterObjectFieldDescriptor( - Label="height", Tag=1, Type=str), - ClusterObjectFieldDescriptor( - Label="metric", Tag=2, Type=ContentLauncher.Enums.ContentLaunchMetricType), + Fields = [ + ClusterObjectFieldDescriptor(Label="width", Tag=0, Type=str), + ClusterObjectFieldDescriptor(Label="height", Tag=1, Type=str), + ClusterObjectFieldDescriptor(Label="metric", Tag=2, Type=ContentLauncher.Enums.ContentLaunchMetricType), ]) width: 'str' = None @@ -19996,19 +20575,18 @@ class ContentLaunchStyleInformation(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="imageUrl", Tag=0, Type=str), - ClusterObjectFieldDescriptor( - Label="color", Tag=1, Type=str), - ClusterObjectFieldDescriptor( - Label="size", Tag=2, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="imageUrl", Tag=0, Type=str), + ClusterObjectFieldDescriptor(Label="color", Tag=1, Type=str), + ClusterObjectFieldDescriptor(Label="size", Tag=2, Type=uint), ]) imageUrl: 'str' = None color: 'str' = None size: 'uint' = None + + class Commands: @dataclass class LaunchContent(ClusterCommand): @@ -20019,11 +20597,9 @@ class LaunchContent(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="autoPlay", Tag=0, Type=bool), - ClusterObjectFieldDescriptor( - Label="data", Tag=1, Type=str), + Fields = [ + ClusterObjectFieldDescriptor(Label="autoPlay", Tag=0, Type=bool), + ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=str), ]) autoPlay: 'bool' = None @@ -20038,11 +20614,9 @@ class LaunchContentResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="data", Tag=0, Type=str), - ClusterObjectFieldDescriptor( - Label="contentLaunchStatus", Tag=1, Type=ContentLauncher.Enums.ContentLaunchStatus), + Fields = [ + ClusterObjectFieldDescriptor(Label="data", Tag=0, Type=str), + ClusterObjectFieldDescriptor(Label="contentLaunchStatus", Tag=1, Type=ContentLauncher.Enums.ContentLaunchStatus), ]) data: 'str' = None @@ -20057,11 +20631,9 @@ 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=str), + Fields = [ + ClusterObjectFieldDescriptor(Label="contentURL", Tag=0, Type=str), + ClusterObjectFieldDescriptor(Label="displayString", Tag=1, Type=str), ]) contentURL: 'str' = None @@ -20076,16 +20648,15 @@ class LaunchURLResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="data", Tag=0, Type=str), - ClusterObjectFieldDescriptor( - Label="contentLaunchStatus", Tag=1, Type=ContentLauncher.Enums.ContentLaunchStatus), + Fields = [ + ClusterObjectFieldDescriptor(Label="data", Tag=0, Type=str), + ClusterObjectFieldDescriptor(Label="contentLaunchStatus", Tag=1, Type=ContentLauncher.Enums.ContentLaunchStatus), ]) data: 'str' = None contentLaunchStatus: 'ContentLauncher.Enums.ContentLaunchStatus' = None + class Attributes: class AcceptsHeaderList(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -20100,6 +20671,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=bytes, IsArray=True) + class SupportedStreamingTypes(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -20113,6 +20685,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=ContentLauncher.Enums.ContentLaunchStreamingType, IsArray=True) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -20126,6 +20699,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -20140,6 +20714,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class AudioOutput: id: typing.ClassVar[int] = 0x050B @@ -20153,25 +20729,25 @@ class AudioOutputType(IntEnum): kInternal = 0x04 kOther = 0x05 + class Structs: @dataclass class AudioOutputInfo(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.AudioOutputType), - ClusterObjectFieldDescriptor( - Label="name", Tag=2, Type=str), + Fields = [ + ClusterObjectFieldDescriptor(Label="index", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="outputType", Tag=1, Type=AudioOutput.Enums.AudioOutputType), + ClusterObjectFieldDescriptor(Label="name", Tag=2, Type=str), ]) index: 'uint' = None outputType: 'AudioOutput.Enums.AudioOutputType' = None name: 'str' = None + + class Commands: @dataclass class SelectOutput(ClusterCommand): @@ -20182,9 +20758,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' = None @@ -20198,16 +20773,15 @@ 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' = None name: 'str' = None + class Attributes: class AudioOutputList(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -20222,6 +20796,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=AudioOutput.Structs.AudioOutputInfo, IsArray=True) + class CurrentAudioOutput(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -20235,6 +20810,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -20248,6 +20824,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -20262,6 +20839,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class ApplicationLauncher: id: typing.ClassVar[int] = 0x050C @@ -20272,22 +20851,23 @@ class ApplicationLauncherStatus(IntEnum): kAppNotAvailable = 0x01 kSystemBusy = 0x02 + class Structs: @dataclass class ApplicationLauncherApp(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' = None applicationId: 'str' = None + + class Commands: @dataclass class LaunchApp(ClusterCommand): @@ -20298,13 +20878,10 @@ class LaunchApp(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="data", Tag=0, Type=str), - ClusterObjectFieldDescriptor( - Label="catalogVendorId", Tag=1, Type=uint), - ClusterObjectFieldDescriptor( - Label="applicationId", Tag=2, Type=str), + Fields = [ + ClusterObjectFieldDescriptor(Label="data", Tag=0, Type=str), + ClusterObjectFieldDescriptor(Label="catalogVendorId", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="applicationId", Tag=2, Type=str), ]) data: 'str' = None @@ -20320,16 +20897,15 @@ class LaunchAppResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="status", Tag=0, Type=ApplicationLauncher.Enums.ApplicationLauncherStatus), - ClusterObjectFieldDescriptor( - Label="data", Tag=1, Type=str), + Fields = [ + ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=ApplicationLauncher.Enums.ApplicationLauncherStatus), + ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=str), ]) status: 'ApplicationLauncher.Enums.ApplicationLauncherStatus' = None data: 'str' = None + class Attributes: class ApplicationLauncherList(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -20344,6 +20920,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint, IsArray=True) + class CatalogVendorId(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -20357,6 +20934,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ApplicationId(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -20370,6 +20948,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -20383,6 +20962,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -20397,6 +20977,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class ApplicationBasic: id: typing.ClassVar[int] = 0x050D @@ -20408,6 +20990,8 @@ class ApplicationBasicStatus(IntEnum): kActiveHidden = 0x02 kActiveVisibleNotFocus = 0x03 + + class Commands: @dataclass class ChangeStatus(ClusterCommand): @@ -20418,13 +21002,13 @@ class ChangeStatus(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="status", Tag=0, Type=ApplicationBasic.Enums.ApplicationBasicStatus), + Fields = [ + ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=ApplicationBasic.Enums.ApplicationBasicStatus), ]) status: 'ApplicationBasic.Enums.ApplicationBasicStatus' = None + class Attributes: class VendorName(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -20439,6 +21023,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=str) + class VendorId(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -20452,6 +21037,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ApplicationName(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -20465,6 +21051,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=str) + class ProductId(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -20478,6 +21065,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ApplicationId(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -20491,6 +21079,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=str) + class CatalogVendorId(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -20504,6 +21093,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ApplicationStatus(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -20517,6 +21107,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -20530,6 +21121,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -20544,10 +21136,14 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class AccountLogin: id: typing.ClassVar[int] = 0x050E + + class Commands: @dataclass class GetSetupPIN(ClusterCommand): @@ -20558,9 +21154,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), ]) tempAccountIdentifier: 'str' = None @@ -20574,9 +21169,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' = None @@ -20590,16 +21184,15 @@ 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), ]) tempAccountIdentifier: 'str' = None setupPIN: 'str' = None + class Attributes: class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -20614,6 +21207,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -20628,6 +21222,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class TestCluster: id: typing.ClassVar[int] = 0x050F @@ -20639,25 +21235,20 @@ class SimpleEnum(IntEnum): kValueB = 0x02 kValueC = 0x03 + 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=TestCluster.Enums.SimpleEnum), - ClusterObjectFieldDescriptor( - Label="d", Tag=3, Type=bytes), - ClusterObjectFieldDescriptor( - Label="e", Tag=4, Type=str), - ClusterObjectFieldDescriptor( - Label="f", Tag=5, Type=int), + Fields = [ + ClusterObjectFieldDescriptor(Label="a", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="b", Tag=1, Type=bool), + ClusterObjectFieldDescriptor(Label="c", Tag=2, Type=TestCluster.Enums.SimpleEnum), + ClusterObjectFieldDescriptor(Label="d", Tag=3, Type=bytes), + ClusterObjectFieldDescriptor(Label="e", Tag=4, Type=str), + ClusterObjectFieldDescriptor(Label="f", Tag=5, Type=int), ]) a: 'uint' = None @@ -20672,31 +21263,19 @@ class NullablesAndOptionalsStruct(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="nullableInt", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="optionalInt", Tag=1, Type=uint), - ClusterObjectFieldDescriptor( - Label="nullableOptionalInt", Tag=2, Type=uint), - ClusterObjectFieldDescriptor( - Label="nullableString", Tag=3, Type=str), - ClusterObjectFieldDescriptor( - Label="optionalString", Tag=4, Type=str), - ClusterObjectFieldDescriptor( - Label="nullableOptionalString", Tag=5, Type=str), - ClusterObjectFieldDescriptor( - Label="nullableStruct", Tag=6, Type=TestCluster.Structs.SimpleStruct), - ClusterObjectFieldDescriptor( - Label="optionalStruct", Tag=7, Type=TestCluster.Structs.SimpleStruct), - ClusterObjectFieldDescriptor( - Label="nullableOptionalStruct", Tag=8, Type=TestCluster.Structs.SimpleStruct), - ClusterObjectFieldDescriptor( - Label="nullableList", Tag=9, Type=TestCluster.Enums.SimpleEnum, IsArray=True), - ClusterObjectFieldDescriptor( - Label="optionalList", Tag=10, Type=TestCluster.Enums.SimpleEnum, IsArray=True), - ClusterObjectFieldDescriptor( - Label="nullableOptionalList", Tag=11, Type=TestCluster.Enums.SimpleEnum, IsArray=True), + Fields = [ + ClusterObjectFieldDescriptor(Label="nullableInt", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="optionalInt", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="nullableOptionalInt", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="nullableString", Tag=3, Type=str), + ClusterObjectFieldDescriptor(Label="optionalString", Tag=4, Type=str), + ClusterObjectFieldDescriptor(Label="nullableOptionalString", Tag=5, Type=str), + ClusterObjectFieldDescriptor(Label="nullableStruct", Tag=6, Type=TestCluster.Structs.SimpleStruct), + ClusterObjectFieldDescriptor(Label="optionalStruct", Tag=7, Type=TestCluster.Structs.SimpleStruct), + ClusterObjectFieldDescriptor(Label="nullableOptionalStruct", Tag=8, Type=TestCluster.Structs.SimpleStruct), + ClusterObjectFieldDescriptor(Label="nullableList", Tag=9, Type=TestCluster.Enums.SimpleEnum, IsArray=True), + ClusterObjectFieldDescriptor(Label="optionalList", Tag=10, Type=TestCluster.Enums.SimpleEnum, IsArray=True), + ClusterObjectFieldDescriptor(Label="nullableOptionalList", Tag=11, Type=TestCluster.Enums.SimpleEnum, IsArray=True), ]) nullableInt: 'uint' = None @@ -20717,13 +21296,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=TestCluster.Structs.SimpleStruct), + Fields = [ + ClusterObjectFieldDescriptor(Label="a", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="b", Tag=1, Type=bool), + ClusterObjectFieldDescriptor(Label="c", Tag=2, Type=TestCluster.Structs.SimpleStruct), ]) a: 'uint' = None @@ -20735,21 +21311,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=TestCluster.Structs.SimpleStruct), - ClusterObjectFieldDescriptor( - Label="d", Tag=3, Type=TestCluster.Structs.SimpleStruct, IsArray=True), - ClusterObjectFieldDescriptor( - Label="e", Tag=4, Type=uint, IsArray=True), - ClusterObjectFieldDescriptor( - Label="f", Tag=5, Type=bytes, IsArray=True), - ClusterObjectFieldDescriptor( - Label="g", Tag=6, Type=uint, IsArray=True), + Fields = [ + ClusterObjectFieldDescriptor(Label="a", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="b", Tag=1, Type=bool), + ClusterObjectFieldDescriptor(Label="c", Tag=2, Type=TestCluster.Structs.SimpleStruct), + ClusterObjectFieldDescriptor(Label="d", Tag=3, Type=TestCluster.Structs.SimpleStruct, IsArray=True), + ClusterObjectFieldDescriptor(Label="e", Tag=4, Type=uint, IsArray=True), + ClusterObjectFieldDescriptor(Label="f", Tag=5, Type=bytes, IsArray=True), + ClusterObjectFieldDescriptor(Label="g", Tag=6, Type=uint, IsArray=True), ]) a: 'uint' = None @@ -20765,9 +21334,8 @@ class DoubleNestedStructList(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="a", Tag=0, Type=TestCluster.Structs.NestedStructList, IsArray=True), + Fields = [ + ClusterObjectFieldDescriptor(Label="a", Tag=0, Type=TestCluster.Structs.NestedStructList, IsArray=True), ]) a: typing.List['TestCluster.Structs.NestedStructList'] = None @@ -20777,16 +21345,16 @@ class TestListStructOctet(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="fabricIndex", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="operationalCert", Tag=1, Type=bytes), + Fields = [ + ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="operationalCert", Tag=1, Type=bytes), ]) fabricIndex: 'uint' = None operationalCert: 'bytes' = None + + class Commands: @dataclass class Test(ClusterCommand): @@ -20797,9 +21365,10 @@ class Test(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class TestSpecificResponse(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x050F @@ -20809,9 +21378,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' = None @@ -20825,9 +21393,10 @@ class TestNotHandled(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class TestAddArgumentsResponse(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x050F @@ -20837,9 +21406,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' = None @@ -20853,9 +21421,10 @@ class TestSpecific(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class TestSimpleArgumentResponse(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x050F @@ -20865,9 +21434,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' = None @@ -20881,9 +21449,10 @@ class TestUnknownCommand(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class TestStructArrayArgumentResponse(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x050F @@ -20893,19 +21462,13 @@ class TestStructArrayArgumentResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="arg1", Tag=0, Type=TestCluster.Structs.NestedStructList, IsArray=True), - ClusterObjectFieldDescriptor( - Label="arg2", Tag=1, Type=TestCluster.Structs.SimpleStruct, IsArray=True), - ClusterObjectFieldDescriptor( - Label="arg3", Tag=2, Type=TestCluster.Enums.SimpleEnum, IsArray=True), - ClusterObjectFieldDescriptor( - Label="arg4", Tag=3, Type=bool, IsArray=True), - ClusterObjectFieldDescriptor( - Label="arg5", Tag=4, Type=TestCluster.Enums.SimpleEnum), - ClusterObjectFieldDescriptor( - Label="arg6", Tag=5, Type=bool), + Fields = [ + ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=TestCluster.Structs.NestedStructList, IsArray=True), + ClusterObjectFieldDescriptor(Label="arg2", Tag=1, Type=TestCluster.Structs.SimpleStruct, IsArray=True), + ClusterObjectFieldDescriptor(Label="arg3", Tag=2, Type=TestCluster.Enums.SimpleEnum, IsArray=True), + ClusterObjectFieldDescriptor(Label="arg4", Tag=3, Type=bool, IsArray=True), + ClusterObjectFieldDescriptor(Label="arg5", Tag=4, Type=TestCluster.Enums.SimpleEnum), + ClusterObjectFieldDescriptor(Label="arg6", Tag=5, Type=bool), ]) arg1: typing.List['TestCluster.Structs.NestedStructList'] = None @@ -20924,11 +21487,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' = None @@ -20943,9 +21504,8 @@ class TestListInt8UReverseResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="arg1", Tag=0, Type=uint, IsArray=True), + Fields = [ + ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=uint, IsArray=True), ]) arg1: typing.List['uint'] = None @@ -20959,9 +21519,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' = None @@ -20975,11 +21534,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=TestCluster.Enums.SimpleEnum), + Fields = [ + ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="arg2", Tag=1, Type=TestCluster.Enums.SimpleEnum), ]) arg1: 'uint' = None @@ -20994,19 +21551,13 @@ class TestStructArrayArgumentRequest(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="arg1", Tag=0, Type=TestCluster.Structs.NestedStructList, IsArray=True), - ClusterObjectFieldDescriptor( - Label="arg2", Tag=1, Type=TestCluster.Structs.SimpleStruct, IsArray=True), - ClusterObjectFieldDescriptor( - Label="arg3", Tag=2, Type=TestCluster.Enums.SimpleEnum, IsArray=True), - ClusterObjectFieldDescriptor( - Label="arg4", Tag=3, Type=bool, IsArray=True), - ClusterObjectFieldDescriptor( - Label="arg5", Tag=4, Type=TestCluster.Enums.SimpleEnum), - ClusterObjectFieldDescriptor( - Label="arg6", Tag=5, Type=bool), + Fields = [ + ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=TestCluster.Structs.NestedStructList, IsArray=True), + ClusterObjectFieldDescriptor(Label="arg2", Tag=1, Type=TestCluster.Structs.SimpleStruct, IsArray=True), + ClusterObjectFieldDescriptor(Label="arg3", Tag=2, Type=TestCluster.Enums.SimpleEnum, IsArray=True), + ClusterObjectFieldDescriptor(Label="arg4", Tag=3, Type=bool, IsArray=True), + ClusterObjectFieldDescriptor(Label="arg5", Tag=4, Type=TestCluster.Enums.SimpleEnum), + ClusterObjectFieldDescriptor(Label="arg6", Tag=5, Type=bool), ]) arg1: typing.List['TestCluster.Structs.NestedStructList'] = None @@ -21025,15 +21576,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=bool), - ClusterObjectFieldDescriptor( - Label="value", Tag=2, Type=uint), - ClusterObjectFieldDescriptor( - Label="originalValue", Tag=3, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="wasPresent", Tag=0, Type=bool), + ClusterObjectFieldDescriptor(Label="wasNull", Tag=1, Type=bool), + ClusterObjectFieldDescriptor(Label="value", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="originalValue", Tag=3, Type=uint), ]) wasPresent: 'bool' = None @@ -21050,9 +21597,8 @@ class TestStructArgumentRequest(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="arg1", Tag=0, Type=TestCluster.Structs.SimpleStruct), + Fields = [ + ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=TestCluster.Structs.SimpleStruct), ]) arg1: 'TestCluster.Structs.SimpleStruct' = None @@ -21066,63 +21612,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=uint), - ClusterObjectFieldDescriptor( - Label="optionalIntWasPresent", Tag=2, Type=bool), - ClusterObjectFieldDescriptor( - Label="optionalIntValue", Tag=3, Type=uint), - ClusterObjectFieldDescriptor( - Label="nullableOptionalIntWasPresent", Tag=4, Type=bool), - ClusterObjectFieldDescriptor( - Label="nullableOptionalIntWasNull", Tag=5, Type=bool), - ClusterObjectFieldDescriptor( - Label="nullableOptionalIntValue", Tag=6, Type=uint), - ClusterObjectFieldDescriptor( - Label="nullableStringWasNull", Tag=7, Type=bool), - ClusterObjectFieldDescriptor( - Label="nullableStringValue", Tag=8, Type=str), - ClusterObjectFieldDescriptor( - Label="optionalStringWasPresent", Tag=9, Type=bool), - ClusterObjectFieldDescriptor( - Label="optionalStringValue", Tag=10, Type=str), - ClusterObjectFieldDescriptor( - Label="nullableOptionalStringWasPresent", Tag=11, Type=bool), - ClusterObjectFieldDescriptor( - Label="nullableOptionalStringWasNull", Tag=12, Type=bool), - ClusterObjectFieldDescriptor( - Label="nullableOptionalStringValue", Tag=13, Type=str), - ClusterObjectFieldDescriptor( - Label="nullableStructWasNull", Tag=14, Type=bool), - ClusterObjectFieldDescriptor( - Label="nullableStructValue", Tag=15, Type=TestCluster.Structs.SimpleStruct), - ClusterObjectFieldDescriptor( - Label="optionalStructWasPresent", Tag=16, Type=bool), - ClusterObjectFieldDescriptor( - Label="optionalStructValue", Tag=17, Type=TestCluster.Structs.SimpleStruct), - ClusterObjectFieldDescriptor( - Label="nullableOptionalStructWasPresent", Tag=18, Type=bool), - ClusterObjectFieldDescriptor( - Label="nullableOptionalStructWasNull", Tag=19, Type=bool), - ClusterObjectFieldDescriptor( - Label="nullableOptionalStructValue", Tag=20, Type=TestCluster.Structs.SimpleStruct), - ClusterObjectFieldDescriptor( - Label="nullableListWasNull", Tag=21, Type=bool), - ClusterObjectFieldDescriptor( - Label="nullableListValue", Tag=22, Type=TestCluster.Enums.SimpleEnum, IsArray=True), - ClusterObjectFieldDescriptor( - Label="optionalListWasPresent", Tag=23, Type=bool), - ClusterObjectFieldDescriptor( - Label="optionalListValue", Tag=24, Type=TestCluster.Enums.SimpleEnum, IsArray=True), - ClusterObjectFieldDescriptor( - Label="nullableOptionalListWasPresent", Tag=25, Type=bool), - ClusterObjectFieldDescriptor( - Label="nullableOptionalListWasNull", Tag=26, Type=bool), - ClusterObjectFieldDescriptor( - Label="nullableOptionalListValue", Tag=27, Type=TestCluster.Enums.SimpleEnum, IsArray=True), + Fields = [ + ClusterObjectFieldDescriptor(Label="nullableIntWasNull", Tag=0, Type=bool), + ClusterObjectFieldDescriptor(Label="nullableIntValue", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="optionalIntWasPresent", Tag=2, Type=bool), + ClusterObjectFieldDescriptor(Label="optionalIntValue", Tag=3, Type=uint), + ClusterObjectFieldDescriptor(Label="nullableOptionalIntWasPresent", Tag=4, Type=bool), + ClusterObjectFieldDescriptor(Label="nullableOptionalIntWasNull", Tag=5, Type=bool), + ClusterObjectFieldDescriptor(Label="nullableOptionalIntValue", Tag=6, Type=uint), + ClusterObjectFieldDescriptor(Label="nullableStringWasNull", Tag=7, Type=bool), + ClusterObjectFieldDescriptor(Label="nullableStringValue", Tag=8, Type=str), + ClusterObjectFieldDescriptor(Label="optionalStringWasPresent", Tag=9, Type=bool), + ClusterObjectFieldDescriptor(Label="optionalStringValue", Tag=10, Type=str), + ClusterObjectFieldDescriptor(Label="nullableOptionalStringWasPresent", Tag=11, Type=bool), + ClusterObjectFieldDescriptor(Label="nullableOptionalStringWasNull", Tag=12, Type=bool), + ClusterObjectFieldDescriptor(Label="nullableOptionalStringValue", Tag=13, Type=str), + ClusterObjectFieldDescriptor(Label="nullableStructWasNull", Tag=14, Type=bool), + ClusterObjectFieldDescriptor(Label="nullableStructValue", Tag=15, Type=TestCluster.Structs.SimpleStruct), + ClusterObjectFieldDescriptor(Label="optionalStructWasPresent", Tag=16, Type=bool), + ClusterObjectFieldDescriptor(Label="optionalStructValue", Tag=17, Type=TestCluster.Structs.SimpleStruct), + ClusterObjectFieldDescriptor(Label="nullableOptionalStructWasPresent", Tag=18, Type=bool), + ClusterObjectFieldDescriptor(Label="nullableOptionalStructWasNull", Tag=19, Type=bool), + ClusterObjectFieldDescriptor(Label="nullableOptionalStructValue", Tag=20, Type=TestCluster.Structs.SimpleStruct), + ClusterObjectFieldDescriptor(Label="nullableListWasNull", Tag=21, Type=bool), + ClusterObjectFieldDescriptor(Label="nullableListValue", Tag=22, Type=TestCluster.Enums.SimpleEnum, IsArray=True), + ClusterObjectFieldDescriptor(Label="optionalListWasPresent", Tag=23, Type=bool), + ClusterObjectFieldDescriptor(Label="optionalListValue", Tag=24, Type=TestCluster.Enums.SimpleEnum, IsArray=True), + ClusterObjectFieldDescriptor(Label="nullableOptionalListWasPresent", Tag=25, Type=bool), + ClusterObjectFieldDescriptor(Label="nullableOptionalListWasNull", Tag=26, Type=bool), + ClusterObjectFieldDescriptor(Label="nullableOptionalListValue", Tag=27, Type=TestCluster.Enums.SimpleEnum, IsArray=True), ]) nullableIntWasNull: 'bool' = None @@ -21163,9 +21681,8 @@ class TestNestedStructArgumentRequest(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="arg1", Tag=0, Type=TestCluster.Structs.NestedStruct), + Fields = [ + ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=TestCluster.Structs.NestedStruct), ]) arg1: 'TestCluster.Structs.NestedStruct' = None @@ -21179,9 +21696,8 @@ class TestListStructArgumentRequest(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="arg1", Tag=0, Type=TestCluster.Structs.SimpleStruct, IsArray=True), + Fields = [ + ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=TestCluster.Structs.SimpleStruct, IsArray=True), ]) arg1: typing.List['TestCluster.Structs.SimpleStruct'] = None @@ -21195,9 +21711,8 @@ class TestListInt8UArgumentRequest(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="arg1", Tag=0, Type=uint, IsArray=True), + Fields = [ + ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=uint, IsArray=True), ]) arg1: typing.List['uint'] = None @@ -21211,9 +21726,8 @@ class TestNestedStructListArgumentRequest(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="arg1", Tag=0, Type=TestCluster.Structs.NestedStructList), + Fields = [ + ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=TestCluster.Structs.NestedStructList), ]) arg1: 'TestCluster.Structs.NestedStructList' = None @@ -21227,9 +21741,8 @@ class TestListNestedStructListArgumentRequest(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="arg1", Tag=0, Type=TestCluster.Structs.NestedStructList, IsArray=True), + Fields = [ + ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=TestCluster.Structs.NestedStructList, IsArray=True), ]) arg1: typing.List['TestCluster.Structs.NestedStructList'] = None @@ -21243,9 +21756,8 @@ class TestListInt8UReverseRequest(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="arg1", Tag=0, Type=uint, IsArray=True), + Fields = [ + ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=uint, IsArray=True), ]) arg1: typing.List['uint'] = None @@ -21259,11 +21771,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=TestCluster.Enums.SimpleEnum), + Fields = [ + ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="arg2", Tag=1, Type=TestCluster.Enums.SimpleEnum), ]) arg1: 'uint' = None @@ -21278,9 +21788,8 @@ class TestNullableOptionalRequest(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' = None @@ -21294,31 +21803,19 @@ class TestComplexNullableOptionalRequest(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="nullableInt", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="optionalInt", Tag=1, Type=uint), - ClusterObjectFieldDescriptor( - Label="nullableOptionalInt", Tag=2, Type=uint), - ClusterObjectFieldDescriptor( - Label="nullableString", Tag=3, Type=str), - ClusterObjectFieldDescriptor( - Label="optionalString", Tag=4, Type=str), - ClusterObjectFieldDescriptor( - Label="nullableOptionalString", Tag=5, Type=str), - ClusterObjectFieldDescriptor( - Label="nullableStruct", Tag=6, Type=TestCluster.Structs.SimpleStruct), - ClusterObjectFieldDescriptor( - Label="optionalStruct", Tag=7, Type=TestCluster.Structs.SimpleStruct), - ClusterObjectFieldDescriptor( - Label="nullableOptionalStruct", Tag=8, Type=TestCluster.Structs.SimpleStruct), - ClusterObjectFieldDescriptor( - Label="nullableList", Tag=9, Type=TestCluster.Enums.SimpleEnum, IsArray=True), - ClusterObjectFieldDescriptor( - Label="optionalList", Tag=10, Type=TestCluster.Enums.SimpleEnum, IsArray=True), - ClusterObjectFieldDescriptor( - Label="nullableOptionalList", Tag=11, Type=TestCluster.Enums.SimpleEnum, IsArray=True), + Fields = [ + ClusterObjectFieldDescriptor(Label="nullableInt", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="optionalInt", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="nullableOptionalInt", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="nullableString", Tag=3, Type=str), + ClusterObjectFieldDescriptor(Label="optionalString", Tag=4, Type=str), + ClusterObjectFieldDescriptor(Label="nullableOptionalString", Tag=5, Type=str), + ClusterObjectFieldDescriptor(Label="nullableStruct", Tag=6, Type=TestCluster.Structs.SimpleStruct), + ClusterObjectFieldDescriptor(Label="optionalStruct", Tag=7, Type=TestCluster.Structs.SimpleStruct), + ClusterObjectFieldDescriptor(Label="nullableOptionalStruct", Tag=8, Type=TestCluster.Structs.SimpleStruct), + ClusterObjectFieldDescriptor(Label="nullableList", Tag=9, Type=TestCluster.Enums.SimpleEnum, IsArray=True), + ClusterObjectFieldDescriptor(Label="optionalList", Tag=10, Type=TestCluster.Enums.SimpleEnum, IsArray=True), + ClusterObjectFieldDescriptor(Label="nullableOptionalList", Tag=11, Type=TestCluster.Enums.SimpleEnum, IsArray=True), ]) nullableInt: 'uint' = None @@ -21334,6 +21831,7 @@ def descriptor(cls) -> ClusterObjectDescriptor: optionalList: typing.List['TestCluster.Enums.SimpleEnum'] = None nullableOptionalList: typing.List['TestCluster.Enums.SimpleEnum'] = None + class Attributes: class Boolean(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -21348,6 +21846,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=bool) + class Bitmap8(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -21361,6 +21860,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Bitmap16(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -21374,6 +21874,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Bitmap32(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -21387,6 +21888,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Bitmap64(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -21400,6 +21902,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Int8u(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -21413,6 +21916,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Int16u(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -21426,6 +21930,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Int32u(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -21439,6 +21944,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Int64u(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -21452,6 +21958,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Int8s(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -21465,6 +21972,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class Int16s(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -21478,6 +21986,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class Int32s(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -21491,6 +22000,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class Int64s(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -21504,6 +22014,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class Enum8(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -21517,6 +22028,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Enum16(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -21530,6 +22042,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class OctetString(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -21543,6 +22056,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=bytes) + class ListInt8u(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -21556,6 +22070,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint, IsArray=True) + class ListOctetString(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -21569,6 +22084,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=bytes, IsArray=True) + class ListStructOctetString(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -21582,6 +22098,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=TestCluster.Structs.TestListStructOctet, IsArray=True) + class LongOctetString(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -21595,6 +22112,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=bytes) + class CharString(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -21608,6 +22126,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=str) + class LongCharString(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -21621,6 +22140,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=str) + class EpochUs(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -21634,6 +22154,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class EpochS(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -21647,6 +22168,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class VendorId(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -21660,6 +22182,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ListNullablesAndOptionalsStruct(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -21673,6 +22196,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=TestCluster.Structs.NullablesAndOptionalsStruct, IsArray=True) + class Unsupported(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -21686,6 +22210,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=bool) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -21699,6 +22224,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -21713,6 +22239,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class Messaging: id: typing.ClassVar[int] = 0x0703 @@ -21821,6 +22349,8 @@ class MessagingControlTransmission(IntEnum): kAnonymous = 0x02 kReserved = 0x03 + + class Commands: @dataclass class DisplayMessage(ClusterCommand): @@ -21831,19 +22361,13 @@ class DisplayMessage(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="messageId", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="messageControl", Tag=1, Type=int), - ClusterObjectFieldDescriptor( - Label="startTime", Tag=2, Type=uint), - ClusterObjectFieldDescriptor( - Label="durationInMinutes", Tag=3, Type=uint), - ClusterObjectFieldDescriptor( - Label="message", Tag=4, Type=str), - ClusterObjectFieldDescriptor( - Label="optionalExtendedMessageControl", Tag=5, Type=int), + Fields = [ + ClusterObjectFieldDescriptor(Label="messageId", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="messageControl", Tag=1, Type=int), + ClusterObjectFieldDescriptor(Label="startTime", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="durationInMinutes", Tag=3, Type=uint), + ClusterObjectFieldDescriptor(Label="message", Tag=4, Type=str), + ClusterObjectFieldDescriptor(Label="optionalExtendedMessageControl", Tag=5, Type=int), ]) messageId: 'uint' = None @@ -21862,9 +22386,10 @@ class GetLastMessage(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class CancelMessage(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0703 @@ -21874,11 +22399,9 @@ class CancelMessage(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="messageId", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="messageControl", Tag=1, Type=int), + Fields = [ + ClusterObjectFieldDescriptor(Label="messageId", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="messageControl", Tag=1, Type=int), ]) messageId: 'uint' = None @@ -21893,15 +22416,11 @@ class MessageConfirmation(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="messageId", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="confirmationTime", Tag=1, Type=uint), - ClusterObjectFieldDescriptor( - Label="messageConfirmationControl", Tag=2, Type=uint), - ClusterObjectFieldDescriptor( - Label="messageResponse", Tag=3, Type=bytes), + Fields = [ + ClusterObjectFieldDescriptor(Label="messageId", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="confirmationTime", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="messageConfirmationControl", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="messageResponse", Tag=3, Type=bytes), ]) messageId: 'uint' = None @@ -21918,19 +22437,13 @@ class DisplayProtectedMessage(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="messageId", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="messageControl", Tag=1, Type=int), - ClusterObjectFieldDescriptor( - Label="startTime", Tag=2, Type=uint), - ClusterObjectFieldDescriptor( - Label="durationInMinutes", Tag=3, Type=uint), - ClusterObjectFieldDescriptor( - Label="message", Tag=4, Type=str), - ClusterObjectFieldDescriptor( - Label="optionalExtendedMessageControl", Tag=5, Type=int), + Fields = [ + ClusterObjectFieldDescriptor(Label="messageId", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="messageControl", Tag=1, Type=int), + ClusterObjectFieldDescriptor(Label="startTime", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="durationInMinutes", Tag=3, Type=uint), + ClusterObjectFieldDescriptor(Label="message", Tag=4, Type=str), + ClusterObjectFieldDescriptor(Label="optionalExtendedMessageControl", Tag=5, Type=int), ]) messageId: 'uint' = None @@ -21949,9 +22462,8 @@ class GetMessageCancellation(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="earliestImplementationTime", Tag=0, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="earliestImplementationTime", Tag=0, Type=uint), ]) earliestImplementationTime: 'uint' = None @@ -21965,13 +22477,13 @@ class CancelAllMessages(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="implementationDateTime", Tag=0, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="implementationDateTime", Tag=0, Type=uint), ]) implementationDateTime: 'uint' = None + class Attributes: class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -21986,6 +22498,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -22000,10 +22513,15 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class ApplianceIdentification: id: typing.ClassVar[int] = 0x0B00 + + + class Attributes: class BasicIdentification(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -22018,6 +22536,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class CompanyName(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -22031,6 +22550,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=str) + class CompanyId(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -22044,6 +22564,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class BrandName(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -22057,6 +22578,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=str) + class BrandId(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -22070,6 +22592,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Model(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -22083,6 +22606,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=bytes) + class PartNumber(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -22096,6 +22620,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=bytes) + class ProductRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -22109,6 +22634,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=bytes) + class SoftwareRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -22122,6 +22648,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=bytes) + class ProductTypeName(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -22135,6 +22662,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=bytes) + class ProductTypeId(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -22148,6 +22676,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class CecedSpecificationVersion(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -22161,6 +22690,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -22174,6 +22704,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -22188,10 +22719,15 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class MeterIdentification: id: typing.ClassVar[int] = 0x0B01 + + + class Attributes: class CompanyName(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -22206,6 +22742,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=str) + class MeterTypeId(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -22219,6 +22756,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class DataQualityId(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -22232,6 +22770,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class CustomerName(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -22245,6 +22784,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=str) + class Model(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -22258,6 +22798,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=bytes) + class PartNumber(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -22271,6 +22812,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=bytes) + class ProductRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -22284,6 +22826,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=bytes) + class SoftwareRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -22297,6 +22840,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=bytes) + class UtilityName(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -22310,6 +22854,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=str) + class Pod(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -22323,6 +22868,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=str) + class AvailablePower(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -22336,6 +22882,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class PowerThreshold(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -22349,6 +22896,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -22362,6 +22910,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -22376,6 +22925,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class ApplianceEventsAndAlert: id: typing.ClassVar[int] = 0x0B02 @@ -22388,6 +22939,8 @@ class EventIdentification(IntEnum): kSwitchingOff = 0x06 kWrongData = 0x07 + + class Commands: @dataclass class GetAlerts(ClusterCommand): @@ -22398,9 +22951,10 @@ class GetAlerts(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class GetAlertsResponse(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0B02 @@ -22410,11 +22964,9 @@ class GetAlertsResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="alertsCount", Tag=0, Type=int), - ClusterObjectFieldDescriptor( - Label="alertStructures", Tag=1, Type=int, IsArray=True), + Fields = [ + ClusterObjectFieldDescriptor(Label="alertsCount", Tag=0, Type=int), + ClusterObjectFieldDescriptor(Label="alertStructures", Tag=1, Type=int, IsArray=True), ]) alertsCount: 'int' = None @@ -22429,11 +22981,9 @@ class AlertsNotification(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="alertsCount", Tag=0, Type=int), - ClusterObjectFieldDescriptor( - Label="alertStructures", Tag=1, Type=int, IsArray=True), + Fields = [ + ClusterObjectFieldDescriptor(Label="alertsCount", Tag=0, Type=int), + ClusterObjectFieldDescriptor(Label="alertStructures", Tag=1, Type=int, IsArray=True), ]) alertsCount: 'int' = None @@ -22448,16 +22998,15 @@ class EventsNotification(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="eventHeader", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="eventId", Tag=1, Type=ApplianceEventsAndAlert.Enums.EventIdentification), + Fields = [ + ClusterObjectFieldDescriptor(Label="eventHeader", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="eventId", Tag=1, Type=ApplianceEventsAndAlert.Enums.EventIdentification), ]) eventHeader: 'uint' = None eventId: 'ApplianceEventsAndAlert.Enums.EventIdentification' = None + class Attributes: class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -22472,6 +23021,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -22486,10 +23036,14 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class ApplianceStatistics: id: typing.ClassVar[int] = 0x0B03 + + class Commands: @dataclass class LogNotification(ClusterCommand): @@ -22500,15 +23054,11 @@ class LogNotification(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="timeStamp", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="logId", Tag=1, Type=uint), - ClusterObjectFieldDescriptor( - Label="logLength", Tag=2, Type=uint), - ClusterObjectFieldDescriptor( - Label="logPayload", Tag=3, Type=uint, IsArray=True), + Fields = [ + ClusterObjectFieldDescriptor(Label="timeStamp", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="logId", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="logLength", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="logPayload", Tag=3, Type=uint, IsArray=True), ]) timeStamp: 'uint' = None @@ -22525,9 +23075,8 @@ class LogRequest(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="logId", Tag=0, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="logId", Tag=0, Type=uint), ]) logId: 'uint' = None @@ -22541,15 +23090,11 @@ class LogResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="timeStamp", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="logId", Tag=1, Type=uint), - ClusterObjectFieldDescriptor( - Label="logLength", Tag=2, Type=uint), - ClusterObjectFieldDescriptor( - Label="logPayload", Tag=3, Type=uint, IsArray=True), + Fields = [ + ClusterObjectFieldDescriptor(Label="timeStamp", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="logId", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="logLength", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="logPayload", Tag=3, Type=uint, IsArray=True), ]) timeStamp: 'uint' = None @@ -22566,9 +23111,10 @@ class LogQueueRequest(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class LogQueueResponse(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0B03 @@ -22578,11 +23124,9 @@ class LogQueueResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="logQueueSize", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="logIds", Tag=1, Type=uint, IsArray=True), + Fields = [ + ClusterObjectFieldDescriptor(Label="logQueueSize", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="logIds", Tag=1, Type=uint, IsArray=True), ]) logQueueSize: 'uint' = None @@ -22597,16 +23141,15 @@ class StatisticsAvailable(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="logQueueSize", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="logIds", Tag=1, Type=uint, IsArray=True), + Fields = [ + ClusterObjectFieldDescriptor(Label="logQueueSize", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="logIds", Tag=1, Type=uint, IsArray=True), ]) logQueueSize: 'uint' = None logIds: typing.List['uint'] = None + class Attributes: class LogMaxSize(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -22621,6 +23164,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class LogQueueMaxSize(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -22634,6 +23178,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -22647,6 +23192,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -22661,10 +23207,14 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class ElectricalMeasurement: id: typing.ClassVar[int] = 0x0B04 + + class Commands: @dataclass class GetProfileInfoResponseCommand(ClusterCommand): @@ -22675,15 +23225,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=uint, IsArray=True), + 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=uint, IsArray=True), ]) profileCount: 'uint' = None @@ -22700,9 +23246,10 @@ class GetProfileInfoCommand(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class GetMeasurementProfileResponseCommand(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0B04 @@ -22712,19 +23259,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=uint, IsArray=True), + 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=uint, IsArray=True), ]) startTime: 'uint' = None @@ -22743,19 +23284,17 @@ 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' = None startTime: 'uint' = None numberOfIntervals: 'uint' = None + class Attributes: class MeasurementType(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -22770,6 +23309,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class DcVoltage(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -22783,6 +23323,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class DcVoltageMin(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -22796,6 +23337,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class DcVoltageMax(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -22809,6 +23351,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class DcCurrent(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -22822,6 +23365,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class DcCurrentMin(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -22835,6 +23379,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class DcCurrentMax(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -22848,6 +23393,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class DcPower(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -22861,6 +23407,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class DcPowerMin(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -22874,6 +23421,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class DcPowerMax(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -22887,6 +23435,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class DcVoltageMultiplier(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -22900,6 +23449,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class DcVoltageDivisor(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -22913,6 +23463,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class DcCurrentMultiplier(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -22926,6 +23477,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class DcCurrentDivisor(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -22939,6 +23491,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class DcPowerMultiplier(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -22952,6 +23505,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class DcPowerDivisor(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -22965,6 +23519,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class AcFrequency(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -22978,6 +23533,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class AcFrequencyMin(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -22991,6 +23547,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class AcFrequencyMax(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23004,6 +23561,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class NeutralCurrent(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23017,6 +23575,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class TotalActivePower(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23030,6 +23589,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class TotalReactivePower(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23043,6 +23603,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class TotalApparentPower(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23056,6 +23617,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Measured1stHarmonicCurrent(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23069,6 +23631,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class Measured3rdHarmonicCurrent(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23082,6 +23645,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class Measured5thHarmonicCurrent(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23095,6 +23659,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class Measured7thHarmonicCurrent(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23108,6 +23673,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class Measured9thHarmonicCurrent(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23121,6 +23687,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class Measured11thHarmonicCurrent(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23134,6 +23701,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class MeasuredPhase1stHarmonicCurrent(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23147,6 +23715,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class MeasuredPhase3rdHarmonicCurrent(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23160,6 +23729,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class MeasuredPhase5thHarmonicCurrent(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23173,6 +23743,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class MeasuredPhase7thHarmonicCurrent(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23186,6 +23757,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class MeasuredPhase9thHarmonicCurrent(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23199,6 +23771,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class MeasuredPhase11thHarmonicCurrent(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23212,6 +23785,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class AcFrequencyMultiplier(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23225,6 +23799,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class AcFrequencyDivisor(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23238,6 +23813,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class PowerMultiplier(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23251,6 +23827,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class PowerDivisor(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23264,6 +23841,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class HarmonicCurrentMultiplier(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23277,6 +23855,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class PhaseHarmonicCurrentMultiplier(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23290,6 +23869,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class InstantaneousVoltage(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23303,6 +23883,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class InstantaneousLineCurrent(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23316,6 +23897,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class InstantaneousActiveCurrent(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23329,6 +23911,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class InstantaneousReactiveCurrent(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23342,6 +23925,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class InstantaneousPower(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23355,6 +23939,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class RmsVoltage(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23368,6 +23953,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class RmsVoltageMin(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23381,6 +23967,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class RmsVoltageMax(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23394,6 +23981,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class RmsCurrent(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23407,6 +23995,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class RmsCurrentMin(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23420,6 +24009,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class RmsCurrentMax(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23433,6 +24023,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ActivePower(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23446,6 +24037,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class ActivePowerMin(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23459,6 +24051,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class ActivePowerMax(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23472,6 +24065,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class ReactivePower(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23485,6 +24079,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class ApparentPower(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23498,6 +24093,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class PowerFactor(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23511,6 +24107,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class AverageRmsVoltageMeasurementPeriod(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23524,6 +24121,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class AverageRmsUnderVoltageCounter(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23537,6 +24135,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class RmsExtremeOverVoltagePeriod(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23550,6 +24149,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class RmsExtremeUnderVoltagePeriod(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23563,6 +24163,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class RmsVoltageSagPeriod(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23576,6 +24177,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class RmsVoltageSwellPeriod(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23589,6 +24191,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class AcVoltageMultiplier(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23602,6 +24205,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class AcVoltageDivisor(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23615,6 +24219,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class AcCurrentMultiplier(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23628,6 +24233,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class AcCurrentDivisor(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23641,6 +24247,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class AcPowerMultiplier(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23654,6 +24261,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class AcPowerDivisor(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23667,6 +24275,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class OverloadAlarmsMask(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23680,6 +24289,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class VoltageOverload(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23693,6 +24303,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class CurrentOverload(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23706,6 +24317,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class AcOverloadAlarmsMask(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23719,6 +24331,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class AcVoltageOverload(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23732,6 +24345,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class AcCurrentOverload(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23745,6 +24359,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class AcActivePowerOverload(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23758,6 +24373,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class AcReactivePowerOverload(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23771,6 +24387,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class AverageRmsOverVoltage(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23784,6 +24401,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class AverageRmsUnderVoltage(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23797,6 +24415,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class RmsExtremeOverVoltage(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23810,6 +24429,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class RmsExtremeUnderVoltage(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23823,6 +24443,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class RmsVoltageSag(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23836,6 +24457,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class RmsVoltageSwell(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23849,6 +24471,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class LineCurrentPhaseB(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23862,6 +24485,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ActiveCurrentPhaseB(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23875,6 +24499,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class ReactiveCurrentPhaseB(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23888,6 +24513,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class RmsVoltagePhaseB(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23901,6 +24527,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class RmsVoltageMinPhaseB(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23914,6 +24541,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class RmsVoltageMaxPhaseB(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23927,6 +24555,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class RmsCurrentPhaseB(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23940,6 +24569,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class RmsCurrentMinPhaseB(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23953,6 +24583,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class RmsCurrentMaxPhaseB(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23966,6 +24597,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ActivePowerPhaseB(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23979,6 +24611,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class ActivePowerMinPhaseB(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -23992,6 +24625,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class ActivePowerMaxPhaseB(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -24005,6 +24639,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class ReactivePowerPhaseB(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -24018,6 +24653,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class ApparentPowerPhaseB(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -24031,6 +24667,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class PowerFactorPhaseB(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -24044,6 +24681,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class AverageRmsVoltageMeasurementPeriodPhaseB(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -24057,6 +24695,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class AverageRmsOverVoltageCounterPhaseB(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -24070,6 +24709,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class AverageRmsUnderVoltageCounterPhaseB(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -24083,6 +24723,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class RmsExtremeOverVoltagePeriodPhaseB(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -24096,6 +24737,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class RmsExtremeUnderVoltagePeriodPhaseB(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -24109,6 +24751,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class RmsVoltageSagPeriodPhaseB(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -24122,6 +24765,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class RmsVoltageSwellPeriodPhaseB(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -24135,6 +24779,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class LineCurrentPhaseC(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -24148,6 +24793,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ActiveCurrentPhaseC(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -24161,6 +24807,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class ReactiveCurrentPhaseC(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -24174,6 +24821,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class RmsVoltagePhaseC(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -24187,6 +24835,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class RmsVoltageMinPhaseC(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -24200,6 +24849,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class RmsVoltageMaxPhaseC(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -24213,6 +24863,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class RmsCurrentPhaseC(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -24226,6 +24877,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class RmsCurrentMinPhaseC(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -24239,6 +24891,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class RmsCurrentMaxPhaseC(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -24252,6 +24905,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ActivePowerPhaseC(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -24265,6 +24919,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class ActivePowerMinPhaseC(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -24278,6 +24933,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class ActivePowerMaxPhaseC(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -24291,6 +24947,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class ReactivePowerPhaseC(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -24304,6 +24961,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class ApparentPowerPhaseC(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -24317,6 +24975,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class PowerFactorPhaseC(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -24330,6 +24989,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=int) + class AverageRmsVoltageMeasurementPeriodPhaseC(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -24343,6 +25003,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class AverageRmsOverVoltageCounterPhaseC(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -24356,6 +25017,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class AverageRmsUnderVoltageCounterPhaseC(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -24369,6 +25031,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class RmsExtremeOverVoltagePeriodPhaseC(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -24382,6 +25045,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class RmsExtremeUnderVoltagePeriodPhaseC(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -24395,6 +25059,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class RmsVoltageSagPeriodPhaseC(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -24408,6 +25073,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class RmsVoltageSwellPeriodPhaseC(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -24421,6 +25087,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -24434,6 +25101,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -24448,10 +25116,14 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class Binding: id: typing.ClassVar[int] = 0xF000 + + class Commands: @dataclass class Bind(ClusterCommand): @@ -24462,15 +25134,11 @@ class Bind(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="nodeId", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="groupId", Tag=1, Type=uint), - ClusterObjectFieldDescriptor( - Label="endpointId", Tag=2, Type=uint), - ClusterObjectFieldDescriptor( - Label="clusterId", Tag=3, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="nodeId", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="groupId", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="endpointId", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="clusterId", Tag=3, Type=uint), ]) nodeId: 'uint' = None @@ -24487,15 +25155,11 @@ class Unbind(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="nodeId", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="groupId", Tag=1, Type=uint), - ClusterObjectFieldDescriptor( - Label="endpointId", Tag=2, Type=uint), - ClusterObjectFieldDescriptor( - Label="clusterId", Tag=3, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="nodeId", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="groupId", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="endpointId", Tag=2, Type=uint), + ClusterObjectFieldDescriptor(Label="clusterId", Tag=3, Type=uint), ]) nodeId: 'uint' = None @@ -24503,6 +25167,7 @@ def descriptor(cls) -> ClusterObjectDescriptor: endpointId: 'uint' = None clusterId: 'uint' = None + class Attributes: class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -24517,6 +25182,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -24531,6 +25197,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class GroupKeyManagement: id: typing.ClassVar[int] = 0xF004 @@ -24540,23 +25208,19 @@ class GroupKeySecurityPolicy(IntEnum): kStandard = 0x00 kLowLatency = 0x01 + class Structs: @dataclass class GroupKey(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="vendorId", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="groupKeyIndex", Tag=1, Type=uint), - ClusterObjectFieldDescriptor( - Label="groupKeyRoot", Tag=2, Type=bytes), - ClusterObjectFieldDescriptor( - Label="groupKeyEpochStartTime", Tag=3, Type=uint), - ClusterObjectFieldDescriptor( - Label="groupKeySecurityPolicy", Tag=4, Type=GroupKeyManagement.Enums.GroupKeySecurityPolicy), + Fields = [ + ClusterObjectFieldDescriptor(Label="vendorId", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="groupKeyIndex", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="groupKeyRoot", Tag=2, Type=bytes), + ClusterObjectFieldDescriptor(Label="groupKeyEpochStartTime", Tag=3, Type=uint), + ClusterObjectFieldDescriptor(Label="groupKeySecurityPolicy", Tag=4, Type=GroupKeyManagement.Enums.GroupKeySecurityPolicy), ]) vendorId: 'uint' = None @@ -24570,19 +25234,19 @@ class GroupState(ClusterObject): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="vendorId", Tag=0, Type=uint), - ClusterObjectFieldDescriptor( - Label="vendorGroupId", Tag=1, Type=uint), - ClusterObjectFieldDescriptor( - Label="groupKeySetIndex", Tag=2, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="vendorId", Tag=0, Type=uint), + ClusterObjectFieldDescriptor(Label="vendorGroupId", Tag=1, Type=uint), + ClusterObjectFieldDescriptor(Label="groupKeySetIndex", Tag=2, Type=uint), ]) vendorId: 'uint' = None vendorGroupId: 'uint' = None groupKeySetIndex: 'uint' = None + + + class Attributes: class Groups(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -24597,6 +25261,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=GroupKeyManagement.Structs.GroupState, IsArray=True) + class GroupKeys(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -24610,6 +25275,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=GroupKeyManagement.Structs.GroupKey, IsArray=True) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -24623,6 +25289,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -24637,10 +25304,14 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class SampleMfgSpecificCluster: id: typing.ClassVar[int] = 0xFC00 + + class Commands: @dataclass class CommandOne(ClusterCommand): @@ -24651,13 +25322,13 @@ class CommandOne(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="argOne", Tag=0, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="argOne", Tag=0, Type=uint), ]) argOne: 'uint' = None + class Attributes: class EmberSampleAttribute(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -24672,6 +25343,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class EmberSampleAttribute2(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -24685,6 +25357,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -24698,6 +25371,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -24712,10 +25386,14 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class SampleMfgSpecificCluster2: id: typing.ClassVar[int] = 0xFC00 + + class Commands: @dataclass class CommandTwo(ClusterCommand): @@ -24726,13 +25404,13 @@ class CommandTwo(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ - ClusterObjectFieldDescriptor( - Label="argOne", Tag=0, Type=uint), + Fields = [ + ClusterObjectFieldDescriptor(Label="argOne", Tag=0, Type=uint), ]) argOne: 'uint' = None + class Attributes: class EmberSampleAttribute3(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -24747,6 +25425,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class EmberSampleAttribute4(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -24760,6 +25439,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -24773,6 +25453,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class ClusterRevision(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -24785,3 +25466,7 @@ def attribute_id(cls) -> int: @ChipUtility.classproperty def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + + +