From 144f54118e017f4a9475512bfc36d8873912e8ad Mon Sep 17 00:00:00 2001 From: Li-An Ding Date: Tue, 26 Oct 2021 09:29:58 -0700 Subject: [PATCH] Add Regenerated Files. --- .../java/zap-generated/CHIPClusters-JNI.cpp | 376 + .../chip/devicecontroller/ChipClusters.java | 101 + .../python/chip/clusters/CHIPClusters.cpp | 147 + .../python/chip/clusters/CHIPClusters.py | 10532 +++++++--------- .../python/chip/clusters/Objects.py | 5296 ++++---- .../CHIP/zap-generated/CHIPCallbackBridge.mm | 22 + .../CHIPCallbackBridge_internal.h | 13 + .../CHIP/zap-generated/CHIPClustersObjc.h | 27 + .../CHIP/zap-generated/CHIPClustersObjc.mm | 85 + .../zap-generated/CHIPClustersObjc_internal.h | 4 + .../CHIP/zap-generated/CHIPTestClustersObjc.h | 13 + .../zap-generated/CHIPTestClustersObjc.mm | 41 + .../Framework/CHIPTests/CHIPClustersTests.m | 134 +- .../zap-generated/IMClusterCommandHandler.cpp | 42 + .../PluginApplicationCallbacks.h | 1 + .../zap-generated/attribute-size.cpp | 43 + .../zap-generated/callback-stub.cpp | 8 + .../zap-generated/endpoint_config.h | 505 +- .../zap-generated/gen_config.h | 6 + .../app-common/zap-generated/af-structs.h | 15 + .../app-common/zap-generated/attribute-id.h | 11 + .../zap-generated/attributes/Accessors.cpp | 48 + .../zap-generated/attributes/Accessors.h | 21 + .../app-common/zap-generated/callback.h | 120 + .../zap-generated/callbacks/PluginCallbacks.h | 3 + .../app-common/zap-generated/cluster-id.h | 3 + .../zap-generated/cluster-objects.cpp | 129 + .../zap-generated/cluster-objects.h | 151 + .../app-common/zap-generated/command-id.h | 3 + .../app-common/zap-generated/ids/Attributes.h | 34 + .../app-common/zap-generated/ids/Clusters.h | 3 + .../app-common/zap-generated/ids/Commands.h | 10 + .../app-common/zap-generated/print-cluster.h | 7 + .../zap-generated/cluster/Commands.h | 377 + .../zap-generated/reporting/Commands.h | 5 + .../chip-tool/zap-generated/test/Commands.h | 221 +- .../zap-generated/CHIPClientCallbacks.cpp | 24 + .../zap-generated/CHIPClientCallbacks.h | 7 + .../zap-generated/CHIPClusters.cpp | 153 + .../zap-generated/CHIPClusters.h | 25 + .../PluginApplicationCallbacks.h | 1 + .../zap-generated/callback-stub.cpp | 8 + .../zap-generated/endpoint_config.h | 72 +- .../zap-generated/gen_config.h | 5 + .../zap-generated/tests/CHIPClustersTest.cpp | 41 + .../zap-generated/tests/CHIPClustersTest.h | 16 + 46 files changed, 10503 insertions(+), 8406 deletions(-) diff --git a/src/controller/java/zap-generated/CHIPClusters-JNI.cpp b/src/controller/java/zap-generated/CHIPClusters-JNI.cpp index 6af16bbecc3a84..ccf6b83296f83d 100644 --- a/src/controller/java/zap-generated/CHIPClusters-JNI.cpp +++ b/src/controller/java/zap-generated/CHIPClusters-JNI.cpp @@ -7293,6 +7293,98 @@ class CHIPMediaInputMediaInputListAttributeCallback : public Callback::Callback< jobject javaCallbackRef; }; +class CHIPModeSelectClusterSupportedModesAttributeCallback + : public Callback::Callback +{ +public: + CHIPModeSelectClusterSupportedModesAttributeCallback(jobject javaCallback) : + Callback::Callback(CallbackFn, this) + { + JNIEnv * env = JniReferences::GetInstance().GetEnvForCurrentThread(); + if (env == nullptr) + { + ChipLogError(Zcl, "Could not create global reference for Java callback"); + return; + } + + javaCallbackRef = env->NewGlobalRef(javaCallback); + if (javaCallbackRef == nullptr) + { + ChipLogError(Zcl, "Could not create global reference for Java callback"); + } + } + + static void CallbackFn(void * context, + const chip::app::DataModel::DecodableList< + chip::app::Clusters::ModeSelectCluster::Structs::ModeOptionStruct::DecodableType> & list) + { + chip::DeviceLayer::StackUnlock unlock; + CHIP_ERROR err = CHIP_NO_ERROR; + JNIEnv * env = JniReferences::GetInstance().GetEnvForCurrentThread(); + jobject javaCallbackRef; + + VerifyOrReturn(env != nullptr, ChipLogError(Zcl, "Could not get JNI env")); + + std::unique_ptr cppCallback( + reinterpret_cast(context)); + + // It's valid for javaCallbackRef to be nullptr if the Java code passed in a null callback. + javaCallbackRef = cppCallback.get()->javaCallbackRef; + VerifyOrReturn(javaCallbackRef != nullptr, + ChipLogProgress(Zcl, "Early return from attribute callback since Java callback is null")); + + jclass arrayListClass; + err = JniReferences::GetInstance().GetClassRef(env, "java/util/ArrayList", arrayListClass); + VerifyOrReturn(err == CHIP_NO_ERROR, ChipLogError(Zcl, "Error using Java ArrayList")); + JniClass arrayListJniClass(arrayListClass); + jmethodID arrayListCtor = env->GetMethodID(arrayListClass, "", "()V"); + jmethodID arrayListAddMethod = env->GetMethodID(arrayListClass, "add", "(Ljava/lang/Object;)Z"); + VerifyOrReturn(arrayListCtor != nullptr && arrayListAddMethod != nullptr, + ChipLogError(Zcl, "Error finding Java ArrayList methods")); + jobject arrayListObj = env->NewObject(arrayListClass, arrayListCtor); + VerifyOrReturn(arrayListObj != nullptr, ChipLogError(Zcl, "Error creating Java ArrayList")); + + jmethodID javaMethod; + err = JniReferences::GetInstance().FindMethod(env, javaCallbackRef, "onSuccess", "(Ljava/util/List;)V", &javaMethod); + VerifyOrReturn(err == CHIP_NO_ERROR, ChipLogError(Zcl, "Could not find onSuccess() method")); + + jclass attributeClass; + err = JniReferences::GetInstance().GetClassRef( + env, "chip/devicecontroller/ChipClusters$ModeSelectClusterCluster$SupportedModesAttribute", attributeClass); + VerifyOrReturn( + err == CHIP_NO_ERROR, + ChipLogError( + Zcl, "Could not find class chip/devicecontroller/ChipClusters$ModeSelectClusterCluster$SupportedModesAttribute")); + JniClass attributeJniClass(attributeClass); + jmethodID attributeCtor = env->GetMethodID(attributeClass, "", "(Ljava/lang/String;IJ)V"); + VerifyOrReturn(attributeCtor != nullptr, ChipLogError(Zcl, "Could not find SupportedModesAttribute constructor")); + + auto iter = list.begin(); + while (iter.Next()) + { + auto & entry = iter.GetValue(); + UtfString labelStr(env, entry.label); + jstring label(labelStr.jniValue()); + jint mode = entry.mode; + jlong semanticTag = entry.semanticTag; + + jobject attributeObj = env->NewObject(attributeClass, attributeCtor, label, mode, semanticTag); + VerifyOrReturn(attributeObj != nullptr, ChipLogError(Zcl, "Could not create SupportedModesAttribute object")); + + env->CallBooleanMethod(arrayListObj, arrayListAddMethod, attributeObj); + } + VerifyOrReturn( + iter.GetStatus() == CHIP_NO_ERROR, + ChipLogError(Zcl, "Error decoding SupportedModesAttribute value: %" CHIP_ERROR_FORMAT, iter.GetStatus().Format())); + + env->ExceptionClear(); + env->CallVoidMethod(javaCallbackRef, javaMethod, arrayListObj); + } + +private: + jobject javaCallbackRef; +}; + class CHIPOperationalCredentialsFabricsListAttributeCallback : public Callback::Callback { @@ -19935,6 +20027,290 @@ JNI_METHOD(void, MediaPlaybackCluster, readClusterRevisionAttribute)(JNIEnv * en onSuccess.release(); onFailure.release(); } +JNI_METHOD(jlong, ModeSelectClusterCluster, initWithDevice)(JNIEnv * env, jobject self, jlong devicePtr, jint endpointId) +{ + chip::DeviceLayer::StackLock lock; + ModeSelectClusterCluster * cppCluster = new ModeSelectClusterCluster(); + + cppCluster->Associate(reinterpret_cast(devicePtr), endpointId); + return reinterpret_cast(cppCluster); +} + +JNI_METHOD(void, ModeSelectClusterCluster, changeToMode) +(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jint newMode) +{ + chip::DeviceLayer::StackLock lock; + CHIP_ERROR err = CHIP_NO_ERROR; + ModeSelectClusterCluster * cppCluster; + + std::unique_ptr onSuccess( + Platform::New(callback), Platform::Delete); + std::unique_ptr onFailure( + Platform::New(callback), Platform::Delete); + VerifyOrExit(onSuccess.get() != nullptr, err = CHIP_ERROR_INCORRECT_STATE); + VerifyOrExit(onFailure.get() != nullptr, err = CHIP_ERROR_INCORRECT_STATE); + + cppCluster = reinterpret_cast(clusterPtr); + VerifyOrExit(cppCluster != nullptr, err = CHIP_ERROR_INCORRECT_STATE); + + err = cppCluster->ChangeToMode(onSuccess->Cancel(), onFailure->Cancel(), newMode); + SuccessOrExit(err); + +exit: + if (err != CHIP_NO_ERROR) + { + jthrowable exception; + jmethodID method; + + err = JniReferences::GetInstance().FindMethod(env, callback, "onError", "(Ljava/lang/Exception;)V", &method); + if (err != CHIP_NO_ERROR) + { + ChipLogError(Zcl, "Error throwing IllegalStateException %" CHIP_ERROR_FORMAT, err.Format()); + return; + } + + err = CreateIllegalStateException(env, "Error invoking cluster", err, exception); + if (err != CHIP_NO_ERROR) + { + ChipLogError(Zcl, "Error throwing IllegalStateException %" CHIP_ERROR_FORMAT, err.Format()); + return; + } + env->CallVoidMethod(callback, method, exception); + } + else + { + onSuccess.release(); + onFailure.release(); + } +} + +JNI_METHOD(void, ModeSelectClusterCluster, readCurrentModeAttribute)(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback) +{ + chip::DeviceLayer::StackLock lock; + std::unique_ptr onSuccess( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onSuccess.get() != nullptr, + ReturnIllegalStateException(env, callback, "Error creating native success callback", CHIP_ERROR_NO_MEMORY)); + + std::unique_ptr onFailure( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onFailure.get() != nullptr, + ReturnIllegalStateException(env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); + + CHIP_ERROR err = CHIP_NO_ERROR; + ModeSelectClusterCluster * cppCluster = reinterpret_cast(clusterPtr); + VerifyOrReturn(cppCluster != nullptr, + ReturnIllegalStateException(env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); + + err = cppCluster->ReadAttributeCurrentMode(onSuccess->Cancel(), onFailure->Cancel()); + VerifyOrReturn(err == CHIP_NO_ERROR, ReturnIllegalStateException(env, callback, "Error reading attribute", err)); + + onSuccess.release(); + onFailure.release(); +} + +JNI_METHOD(void, ModeSelectClusterCluster, subscribeCurrentModeAttribute) +(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jint minInterval, jint maxInterval) +{ + chip::DeviceLayer::StackLock lock; + std::unique_ptr onSuccess( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onSuccess.get() != nullptr, + ReturnIllegalStateException(env, callback, "Error creating native success callback", CHIP_ERROR_NO_MEMORY)); + + std::unique_ptr onFailure( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onFailure.get() != nullptr, + ReturnIllegalStateException(env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); + + CHIP_ERROR err = CHIP_NO_ERROR; + ModeSelectClusterCluster * cppCluster = reinterpret_cast(clusterPtr); + VerifyOrReturn(cppCluster != nullptr, + ReturnIllegalStateException(env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); + + err = cppCluster->SubscribeAttributeCurrentMode(onSuccess->Cancel(), onFailure->Cancel(), static_cast(minInterval), + static_cast(maxInterval)); + VerifyOrReturn(err == CHIP_NO_ERROR, ReturnIllegalStateException(env, callback, "Error subscribing to attribute", err)); + + onSuccess.release(); + onFailure.release(); +} + +JNI_METHOD(void, ModeSelectClusterCluster, reportCurrentModeAttribute) +(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback) +{ + chip::DeviceLayer::StackLock lock; + std::unique_ptr onReport( + Platform::New(callback, true), Platform::Delete); + VerifyOrReturn(onReport.get() != nullptr, + ReturnIllegalStateException(env, callback, "Error creating native report callback", CHIP_ERROR_NO_MEMORY)); + + CHIP_ERROR err = CHIP_NO_ERROR; + ModeSelectClusterCluster * cppCluster = reinterpret_cast(clusterPtr); + VerifyOrReturn(cppCluster != nullptr, + ReturnIllegalStateException(env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); + + err = cppCluster->ReportAttributeCurrentMode(onReport->Cancel()); + VerifyOrReturn(err == CHIP_NO_ERROR, + ReturnIllegalStateException(env, callback, "Error registering for attribute reporting", err)); + + onReport.release(); +} + +JNI_METHOD(void, ModeSelectClusterCluster, readSupportedModesAttribute) +(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback) +{ + chip::DeviceLayer::StackLock lock; + std::unique_ptr + onSuccess(Platform::New(callback), + Platform::Delete); + VerifyOrReturn(onSuccess.get() != nullptr, + ReturnIllegalStateException(env, callback, "Error creating native success callback", CHIP_ERROR_NO_MEMORY)); + + std::unique_ptr onFailure( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onFailure.get() != nullptr, + ReturnIllegalStateException(env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); + + CHIP_ERROR err = CHIP_NO_ERROR; + ModeSelectClusterCluster * cppCluster = reinterpret_cast(clusterPtr); + VerifyOrReturn(cppCluster != nullptr, + ReturnIllegalStateException(env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); + + err = cppCluster->ReadAttributeSupportedModes(onSuccess->Cancel(), onFailure->Cancel()); + VerifyOrReturn(err == CHIP_NO_ERROR, ReturnIllegalStateException(env, callback, "Error reading attribute", err)); + + onSuccess.release(); + onFailure.release(); +} + +JNI_METHOD(void, ModeSelectClusterCluster, readOnModeAttribute)(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback) +{ + chip::DeviceLayer::StackLock lock; + std::unique_ptr onSuccess( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onSuccess.get() != nullptr, + ReturnIllegalStateException(env, callback, "Error creating native success callback", CHIP_ERROR_NO_MEMORY)); + + std::unique_ptr onFailure( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onFailure.get() != nullptr, + ReturnIllegalStateException(env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); + + CHIP_ERROR err = CHIP_NO_ERROR; + ModeSelectClusterCluster * cppCluster = reinterpret_cast(clusterPtr); + VerifyOrReturn(cppCluster != nullptr, + ReturnIllegalStateException(env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); + + err = cppCluster->ReadAttributeOnMode(onSuccess->Cancel(), onFailure->Cancel()); + VerifyOrReturn(err == CHIP_NO_ERROR, ReturnIllegalStateException(env, callback, "Error reading attribute", err)); + + onSuccess.release(); + onFailure.release(); +} + +JNI_METHOD(void, ModeSelectClusterCluster, writeOnModeAttribute) +(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jint value) +{ + chip::DeviceLayer::StackLock lock; + std::unique_ptr onSuccess( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onSuccess.get() != nullptr, + ReturnIllegalStateException(env, callback, "Error creating native success callback", CHIP_ERROR_NO_MEMORY)); + + std::unique_ptr onFailure( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onFailure.get() != nullptr, + ReturnIllegalStateException(env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); + + CHIP_ERROR err = CHIP_NO_ERROR; + ModeSelectClusterCluster * cppCluster = reinterpret_cast(clusterPtr); + VerifyOrReturn(cppCluster != nullptr, + ReturnIllegalStateException(env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); + + err = cppCluster->WriteAttributeOnMode(onSuccess->Cancel(), onFailure->Cancel(), static_cast(value)); + VerifyOrReturn(err == CHIP_NO_ERROR, ReturnIllegalStateException(env, callback, "Error writing attribute", err)); + + onSuccess.release(); + onFailure.release(); +} + +JNI_METHOD(void, ModeSelectClusterCluster, readStartUpModeAttribute)(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback) +{ + chip::DeviceLayer::StackLock lock; + std::unique_ptr onSuccess( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onSuccess.get() != nullptr, + ReturnIllegalStateException(env, callback, "Error creating native success callback", CHIP_ERROR_NO_MEMORY)); + + std::unique_ptr onFailure( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onFailure.get() != nullptr, + ReturnIllegalStateException(env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); + + CHIP_ERROR err = CHIP_NO_ERROR; + ModeSelectClusterCluster * cppCluster = reinterpret_cast(clusterPtr); + VerifyOrReturn(cppCluster != nullptr, + ReturnIllegalStateException(env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); + + err = cppCluster->ReadAttributeStartUpMode(onSuccess->Cancel(), onFailure->Cancel()); + VerifyOrReturn(err == CHIP_NO_ERROR, ReturnIllegalStateException(env, callback, "Error reading attribute", err)); + + onSuccess.release(); + onFailure.release(); +} + +JNI_METHOD(void, ModeSelectClusterCluster, readDescriptionAttribute)(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback) +{ + chip::DeviceLayer::StackLock lock; + std::unique_ptr onSuccess( + Platform::New(callback, false), Platform::Delete); + VerifyOrReturn(onSuccess.get() != nullptr, + ReturnIllegalStateException(env, callback, "Error creating native success callback", CHIP_ERROR_NO_MEMORY)); + + std::unique_ptr onFailure( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onFailure.get() != nullptr, + ReturnIllegalStateException(env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); + + CHIP_ERROR err = CHIP_NO_ERROR; + ModeSelectClusterCluster * cppCluster = reinterpret_cast(clusterPtr); + VerifyOrReturn(cppCluster != nullptr, + ReturnIllegalStateException(env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); + + err = cppCluster->ReadAttributeDescription(onSuccess->Cancel(), onFailure->Cancel()); + VerifyOrReturn(err == CHIP_NO_ERROR, ReturnIllegalStateException(env, callback, "Error reading attribute", err)); + + onSuccess.release(); + onFailure.release(); +} + +JNI_METHOD(void, ModeSelectClusterCluster, readClusterRevisionAttribute) +(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback) +{ + chip::DeviceLayer::StackLock lock; + std::unique_ptr onSuccess( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onSuccess.get() != nullptr, + ReturnIllegalStateException(env, callback, "Error creating native success callback", CHIP_ERROR_NO_MEMORY)); + + std::unique_ptr onFailure( + Platform::New(callback), Platform::Delete); + VerifyOrReturn(onFailure.get() != nullptr, + ReturnIllegalStateException(env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY)); + + CHIP_ERROR err = CHIP_NO_ERROR; + ModeSelectClusterCluster * cppCluster = reinterpret_cast(clusterPtr); + VerifyOrReturn(cppCluster != nullptr, + ReturnIllegalStateException(env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE)); + + err = cppCluster->ReadAttributeClusterRevision(onSuccess->Cancel(), onFailure->Cancel()); + VerifyOrReturn(err == CHIP_NO_ERROR, ReturnIllegalStateException(env, callback, "Error reading attribute", err)); + + onSuccess.release(); + onFailure.release(); +} JNI_METHOD(jlong, NetworkCommissioningCluster, initWithDevice)(JNIEnv * env, jobject self, jlong devicePtr, jint endpointId) { chip::DeviceLayer::StackLock lock; diff --git a/src/controller/java/zap-generated/chip/devicecontroller/ChipClusters.java b/src/controller/java/zap-generated/chip/devicecontroller/ChipClusters.java index 00aa981a7f4c13..d3201ffad90f8a 100644 --- a/src/controller/java/zap-generated/chip/devicecontroller/ChipClusters.java +++ b/src/controller/java/zap-generated/chip/devicecontroller/ChipClusters.java @@ -3967,6 +3967,107 @@ private native void readClusterRevisionAttribute( long chipClusterPtr, IntegerAttributeCallback callback); } + public static class ModeSelectClusterCluster extends BaseChipCluster { + public ModeSelectClusterCluster(long devicePtr, int endpointId) { + super(devicePtr, endpointId); + } + + public static long clusterId() { + return Long.parseUnsignedLong("80"); + } + + @Override + public native long initWithDevice(long devicePtr, int endpointId); + + public void changeToMode(DefaultClusterCallback callback, int newMode) { + changeToMode(chipClusterPtr, callback, newMode); + } + + private native void changeToMode( + long chipClusterPtr, DefaultClusterCallback callback, int newMode); + + public static class SupportedModesAttribute { + public String label; + public int mode; + public long semanticTag; + + public SupportedModesAttribute(String label, int mode, long semanticTag) { + this.label = label; + this.mode = mode; + this.semanticTag = semanticTag; + } + } + + public interface SupportedModesAttributeCallback { + void onSuccess(List valueList); + + void onError(Exception ex); + } + + public void readCurrentModeAttribute(IntegerAttributeCallback callback) { + readCurrentModeAttribute(chipClusterPtr, callback); + } + + public void subscribeCurrentModeAttribute( + DefaultClusterCallback callback, int minInterval, int maxInterval) { + subscribeCurrentModeAttribute(chipClusterPtr, callback, minInterval, maxInterval); + } + + public void reportCurrentModeAttribute(IntegerAttributeCallback callback) { + reportCurrentModeAttribute(chipClusterPtr, callback); + } + + public void readSupportedModesAttribute(SupportedModesAttributeCallback callback) { + readSupportedModesAttribute(chipClusterPtr, callback); + } + + public void readOnModeAttribute(IntegerAttributeCallback callback) { + readOnModeAttribute(chipClusterPtr, callback); + } + + public void writeOnModeAttribute(DefaultClusterCallback callback, int value) { + writeOnModeAttribute(chipClusterPtr, callback, value); + } + + public void readStartUpModeAttribute(IntegerAttributeCallback callback) { + readStartUpModeAttribute(chipClusterPtr, callback); + } + + public void readDescriptionAttribute(CharStringAttributeCallback callback) { + readDescriptionAttribute(chipClusterPtr, callback); + } + + public void readClusterRevisionAttribute(IntegerAttributeCallback callback) { + readClusterRevisionAttribute(chipClusterPtr, callback); + } + + private native void readCurrentModeAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); + + private native void subscribeCurrentModeAttribute( + long chipClusterPtr, DefaultClusterCallback callback, int minInterval, int maxInterval); + + private native void reportCurrentModeAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); + + private native void readSupportedModesAttribute( + long chipClusterPtr, SupportedModesAttributeCallback callback); + + private native void readOnModeAttribute(long chipClusterPtr, IntegerAttributeCallback callback); + + private native void writeOnModeAttribute( + long chipClusterPtr, DefaultClusterCallback callback, int value); + + private native void readStartUpModeAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); + + private native void readDescriptionAttribute( + long chipClusterPtr, CharStringAttributeCallback callback); + + private native void readClusterRevisionAttribute( + long chipClusterPtr, IntegerAttributeCallback callback); + } + public static class NetworkCommissioningCluster extends BaseChipCluster { public NetworkCommissioningCluster(long devicePtr, int endpointId) { super(devicePtr, endpointId); diff --git a/src/controller/python/chip/clusters/CHIPClusters.cpp b/src/controller/python/chip/clusters/CHIPClusters.cpp index f40feccbe75035..67c644a0bfcba9 100644 --- a/src/controller/python/chip/clusters/CHIPClusters.cpp +++ b/src/controller/python/chip/clusters/CHIPClusters.cpp @@ -779,6 +779,56 @@ static void OnMediaInputMediaInputListListAttributeResponse( chip::Callback::Callback gMediaInputMediaInputListListAttributeCallback{ OnMediaInputMediaInputListListAttributeResponse, nullptr }; +static void OnModeSelectClusterSupportedModesListAttributeResponse( + void * context, + const chip::app::DataModel::DecodableList & + list) +{ + size_t count = 0; + CHIP_ERROR err = list.ComputeSize(&count); + if (err != CHIP_NO_ERROR) + { + if (gFailureResponseDelegate != nullptr) + { + gFailureResponseDelegate(EMBER_ZCL_STATUS_INVALID_VALUE); + } + return; + } + + ChipLogProgress(Zcl, " attributeValue:%s", count > 0 ? "" : " []"); + + if (count > 0) + ChipLogProgress(Zcl, " ["); + + auto iter = list.begin(); + while (iter.Next()) + { +#if CHIP_PROGRESS_LOGGING + auto & entry = iter.GetValue(); +#endif // CHIP_PROGRESS_LOGGING + ChipLogProgress(Zcl, " {"); + ChipLogProgress(Zcl, " Label: %.*s,", static_cast(entry.label.size()), entry.label.data()); + ChipLogProgress(Zcl, " Mode: %" PRIu8 ",", entry.mode); + ChipLogProgress(Zcl, " SemanticTag: %" PRIu32 ",", entry.semanticTag); + ChipLogProgress(Zcl, " },"); + } + if (iter.GetStatus() != CHIP_NO_ERROR) + { + if (gFailureResponseDelegate != nullptr) + { + gFailureResponseDelegate(EMBER_ZCL_STATUS_INVALID_VALUE); + } + return; + } + + if (count > 0) + ChipLogProgress(Zcl, " ]"); + + if (gSuccessResponseDelegate != nullptr) + gSuccessResponseDelegate(); +} +chip::Callback::Callback + gModeSelectClusterSupportedModesListAttributeCallback{ OnModeSelectClusterSupportedModesListAttributeResponse, nullptr }; static void OnOperationalCredentialsFabricsListListAttributeResponse( void * context, const chip::app::DataModel::DecodableList< @@ -5013,6 +5063,103 @@ chip::ChipError::StorageType chip_ime_ReadAttribute_MediaPlayback_ClusterRevisio } // End of Cluster MediaPlayback +// Cluster ModeSelectCluster + +chip::ChipError::StorageType chip_ime_AppendCommand_ModeSelectCluster_ChangeToMode(chip::Controller::Device * device, + chip::EndpointId ZCLendpointId, chip::GroupId, + uint8_t newMode) +{ + VerifyOrReturnError(device != nullptr, CHIP_ERROR_INVALID_ARGUMENT.AsInteger()); + chip::Controller::ModeSelectClusterCluster cluster; + cluster.Associate(device, ZCLendpointId); + return cluster.ChangeToMode(nullptr, nullptr, newMode).AsInteger(); +} + +chip::ChipError::StorageType chip_ime_ReadAttribute_ModeSelectCluster_CurrentMode(chip::Controller::Device * device, + chip::EndpointId ZCLendpointId, + chip::GroupId /* ZCLgroupId */) +{ + VerifyOrReturnError(device != nullptr, CHIP_ERROR_INVALID_ARGUMENT.AsInteger()); + chip::Controller::ModeSelectClusterCluster cluster; + cluster.Associate(device, ZCLendpointId); + return cluster.ReadAttributeCurrentMode(gInt8uAttributeCallback.Cancel(), gDefaultFailureCallback.Cancel()).AsInteger(); +} + +chip::ChipError::StorageType chip_ime_SubscribeAttribute_ModeSelectCluster_CurrentMode(chip::Controller::Device * device, + chip::EndpointId ZCLendpointId, + uint16_t minInterval, uint16_t maxInterval) +{ + VerifyOrReturnError(device != nullptr, CHIP_ERROR_INVALID_ARGUMENT.AsInteger()); + chip::Controller::ModeSelectClusterCluster cluster; + cluster.Associate(device, ZCLendpointId); + return cluster + .SubscribeAttributeCurrentMode(gInt8uAttributeCallback.Cancel(), gDefaultFailureCallback.Cancel(), minInterval, maxInterval) + .AsInteger(); +} + +chip::ChipError::StorageType chip_ime_ReadAttribute_ModeSelectCluster_SupportedModes(chip::Controller::Device * device, + chip::EndpointId ZCLendpointId, + chip::GroupId /* ZCLgroupId */) +{ + VerifyOrReturnError(device != nullptr, CHIP_ERROR_INVALID_ARGUMENT.AsInteger()); + chip::Controller::ModeSelectClusterCluster cluster; + cluster.Associate(device, ZCLendpointId); + return cluster + .ReadAttributeSupportedModes(gModeSelectClusterSupportedModesListAttributeCallback.Cancel(), + gDefaultFailureCallback.Cancel()) + .AsInteger(); +} + +chip::ChipError::StorageType chip_ime_ReadAttribute_ModeSelectCluster_OnMode(chip::Controller::Device * device, + chip::EndpointId ZCLendpointId, + chip::GroupId /* ZCLgroupId */) +{ + VerifyOrReturnError(device != nullptr, CHIP_ERROR_INVALID_ARGUMENT.AsInteger()); + chip::Controller::ModeSelectClusterCluster cluster; + cluster.Associate(device, ZCLendpointId); + return cluster.ReadAttributeOnMode(gInt8uAttributeCallback.Cancel(), gDefaultFailureCallback.Cancel()).AsInteger(); +} + +chip::ChipError::StorageType chip_ime_WriteAttribute_ModeSelectCluster_OnMode(chip::Controller::Device * device, + chip::EndpointId ZCLendpointId, chip::GroupId, + uint8_t value) +{ + VerifyOrReturnError(device != nullptr, CHIP_ERROR_INVALID_ARGUMENT.AsInteger()); + chip::Controller::ModeSelectClusterCluster cluster; + cluster.Associate(device, ZCLendpointId); + return cluster.WriteAttributeOnMode(gDefaultSuccessCallback.Cancel(), gDefaultFailureCallback.Cancel(), value).AsInteger(); +} +chip::ChipError::StorageType chip_ime_ReadAttribute_ModeSelectCluster_StartUpMode(chip::Controller::Device * device, + chip::EndpointId ZCLendpointId, + chip::GroupId /* ZCLgroupId */) +{ + VerifyOrReturnError(device != nullptr, CHIP_ERROR_INVALID_ARGUMENT.AsInteger()); + chip::Controller::ModeSelectClusterCluster cluster; + cluster.Associate(device, ZCLendpointId); + return cluster.ReadAttributeStartUpMode(gInt8uAttributeCallback.Cancel(), gDefaultFailureCallback.Cancel()).AsInteger(); +} + +chip::ChipError::StorageType chip_ime_ReadAttribute_ModeSelectCluster_Description(chip::Controller::Device * device, + chip::EndpointId ZCLendpointId, + chip::GroupId /* ZCLgroupId */) +{ + VerifyOrReturnError(device != nullptr, CHIP_ERROR_INVALID_ARGUMENT.AsInteger()); + chip::Controller::ModeSelectClusterCluster cluster; + cluster.Associate(device, ZCLendpointId); + return cluster.ReadAttributeDescription(gCharStringAttributeCallback.Cancel(), gDefaultFailureCallback.Cancel()).AsInteger(); +} + +chip::ChipError::StorageType chip_ime_ReadAttribute_ModeSelectCluster_ClusterRevision(chip::Controller::Device * device, + chip::EndpointId ZCLendpointId, + chip::GroupId /* ZCLgroupId */) +{ + VerifyOrReturnError(device != nullptr, CHIP_ERROR_INVALID_ARGUMENT.AsInteger()); + chip::Controller::ModeSelectClusterCluster cluster; + cluster.Associate(device, ZCLendpointId); + return cluster.ReadAttributeClusterRevision(gInt16uAttributeCallback.Cancel(), gDefaultFailureCallback.Cancel()).AsInteger(); +} + +// End of Cluster ModeSelectCluster // Cluster NetworkCommissioning chip::ChipError::StorageType chip_ime_AppendCommand_NetworkCommissioning_AddThreadNetwork( diff --git a/src/controller/python/chip/clusters/CHIPClusters.py b/src/controller/python/chip/clusters/CHIPClusters.py index 992fd070d582e4..9bd27a488f6631 100644 --- a/src/controller/python/chip/clusters/CHIPClusters.py +++ b/src/controller/python/chip/clusters/CHIPClusters.py @@ -25,4136 +25,4183 @@ __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_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": { - 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", - }, - }, } _CONTENT_LAUNCHER_CLUSTER_INFO = { - "clusterName": "ContentLauncher", - "clusterId": 0x0000050A, - "commands": { + "clusterName": "ContentLauncher", + "clusterId": 0x0000050A, + "commands": { 0x00000000: { - "commandId": 0x00000000, - "commandName": "LaunchContent", - "args": { - "autoPlay": "bool", - "data": "str", + "commandId": 0x00000000, + "commandName": "LaunchContent", + "args": { + "autoPlay": "bool", + "data": "str", + }, }, - }, 0x00000001: { - "commandId": 0x00000001, - "commandName": "LaunchURL", - "args": { - "contentURL": "str", - "displayString": "str", + "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", + "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", + "clusterName": "Descriptor", + "clusterId": 0x0000001D, + "commands": { }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "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", + }, }, - }, } _DIAGNOSTIC_LOGS_CLUSTER_INFO = { - "clusterName": "DiagnosticLogs", - "clusterId": 0x00000032, - "commands": { + "clusterName": "DiagnosticLogs", + "clusterId": 0x00000032, + "commands": { 0x00000000: { - "commandId": 0x00000000, - "commandName": "RetrieveLogsRequest", - "args": { - "intent": "int", - "requestedProtocol": "int", - "transferFileDesignator": "bytes", + "commandId": 0x00000000, + "commandName": "RetrieveLogsRequest", + "args": { + "intent": "int", + "requestedProtocol": "int", + "transferFileDesignator": "bytes", + }, }, }, - }, - "attributes": { - }, + "attributes": { + }, } _DOOR_LOCK_CLUSTER_INFO = { - "clusterName": "DoorLock", - "clusterId": 0x00000101, - "commands": { + "clusterName": "DoorLock", + "clusterId": 0x00000101, + "commands": { 0x00000008: { - "commandId": 0x00000008, - "commandName": "ClearAllPins", - "args": { + "commandId": 0x00000008, + "commandName": "ClearAllPins", + "args": { + }, }, - }, 0x00000019: { - "commandId": 0x00000019, - "commandName": "ClearAllRfids", - "args": { + "commandId": 0x00000019, + "commandName": "ClearAllRfids", + "args": { + }, }, - }, 0x00000013: { - "commandId": 0x00000013, - "commandName": "ClearHolidaySchedule", - "args": { - "scheduleId": "int", + "commandId": 0x00000013, + "commandName": "ClearHolidaySchedule", + "args": { + "scheduleId": "int", + }, }, - }, 0x00000007: { - "commandId": 0x00000007, - "commandName": "ClearPin", - "args": { - "userId": "int", + "commandId": 0x00000007, + "commandName": "ClearPin", + "args": { + "userId": "int", + }, }, - }, 0x00000018: { - "commandId": 0x00000018, - "commandName": "ClearRfid", - "args": { - "userId": "int", + "commandId": 0x00000018, + "commandName": "ClearRfid", + "args": { + "userId": "int", + }, }, - }, 0x0000000D: { - "commandId": 0x0000000D, - "commandName": "ClearWeekdaySchedule", - "args": { - "scheduleId": "int", - "userId": "int", + "commandId": 0x0000000D, + "commandName": "ClearWeekdaySchedule", + "args": { + "scheduleId": "int", + "userId": "int", + }, }, - }, 0x00000010: { - "commandId": 0x00000010, - "commandName": "ClearYeardaySchedule", - "args": { - "scheduleId": "int", - "userId": "int", + "commandId": 0x00000010, + "commandName": "ClearYeardaySchedule", + "args": { + "scheduleId": "int", + "userId": "int", + }, }, - }, 0x00000012: { - "commandId": 0x00000012, - "commandName": "GetHolidaySchedule", - "args": { - "scheduleId": "int", + "commandId": 0x00000012, + "commandName": "GetHolidaySchedule", + "args": { + "scheduleId": "int", + }, }, - }, 0x00000004: { - "commandId": 0x00000004, - "commandName": "GetLogRecord", - "args": { - "logIndex": "int", + "commandId": 0x00000004, + "commandName": "GetLogRecord", + "args": { + "logIndex": "int", + }, }, - }, 0x00000006: { - "commandId": 0x00000006, - "commandName": "GetPin", - "args": { - "userId": "int", + "commandId": 0x00000006, + "commandName": "GetPin", + "args": { + "userId": "int", + }, }, - }, 0x00000017: { - "commandId": 0x00000017, - "commandName": "GetRfid", - "args": { - "userId": "int", + "commandId": 0x00000017, + "commandName": "GetRfid", + "args": { + "userId": "int", + }, }, - }, 0x00000015: { - "commandId": 0x00000015, - "commandName": "GetUserType", - "args": { - "userId": "int", + "commandId": 0x00000015, + "commandName": "GetUserType", + "args": { + "userId": "int", + }, }, - }, 0x0000000C: { - "commandId": 0x0000000C, - "commandName": "GetWeekdaySchedule", - "args": { - "scheduleId": "int", - "userId": "int", + "commandId": 0x0000000C, + "commandName": "GetWeekdaySchedule", + "args": { + "scheduleId": "int", + "userId": "int", + }, }, - }, 0x0000000F: { - "commandId": 0x0000000F, - "commandName": "GetYeardaySchedule", - "args": { - "scheduleId": "int", - "userId": "int", + "commandId": 0x0000000F, + "commandName": "GetYeardaySchedule", + "args": { + "scheduleId": "int", + "userId": "int", + }, }, - }, 0x00000000: { - "commandId": 0x00000000, - "commandName": "LockDoor", - "args": { - "pin": "bytes", + "commandId": 0x00000000, + "commandName": "LockDoor", + "args": { + "pin": "bytes", + }, }, - }, 0x00000011: { - "commandId": 0x00000011, - "commandName": "SetHolidaySchedule", - "args": { - "scheduleId": "int", - "localStartTime": "int", - "localEndTime": "int", - "operatingModeDuringHoliday": "int", + "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", + "commandId": 0x00000005, + "commandName": "SetPin", + "args": { + "userId": "int", + "userStatus": "int", + "userType": "int", + "pin": "bytes", + }, }, - }, 0x00000016: { - "commandId": 0x00000016, - "commandName": "SetRfid", - "args": { - "userId": "int", - "userStatus": "int", - "userType": "int", - "id": "bytes", + "commandId": 0x00000016, + "commandName": "SetRfid", + "args": { + "userId": "int", + "userStatus": "int", + "userType": "int", + "id": "bytes", + }, }, - }, 0x00000014: { - "commandId": 0x00000014, - "commandName": "SetUserType", - "args": { - "userId": "int", - "userType": "int", + "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", + "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", + "commandId": 0x0000000E, + "commandName": "SetYeardaySchedule", + "args": { + "scheduleId": "int", + "userId": "int", + "localStartTime": "int", + "localEndTime": "int", + }, }, - }, 0x00000001: { - "commandId": 0x00000001, - "commandName": "UnlockDoor", - "args": { - "pin": "bytes", + "commandId": 0x00000001, + "commandName": "UnlockDoor", + "args": { + "pin": "bytes", + }, }, - }, 0x00000003: { - "commandId": 0x00000003, - "commandName": "UnlockWithTimeout", - "args": { - "timeoutInSeconds": "int", - "pin": "bytes", + "commandId": 0x00000003, + "commandName": "UnlockWithTimeout", + "args": { + "timeoutInSeconds": "int", + "pin": "bytes", + }, }, }, - }, - "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", + "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", + "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": { + "clusterName": "EthernetNetworkDiagnostics", + "clusterId": 0x00000037, + "commands": { 0x00000000: { - "commandId": 0x00000000, - "commandName": "ResetCounts", - "args": { + "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": { - 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": "", + "clusterName": "FixedLabel", + "clusterId": 0x00000040, + "commands": { }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", + "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", + "clusterName": "FlowMeasurement", + "clusterId": 0x00000404, + "commands": { }, - 0x00000002: { - "attributeName": "MaxMeasuredValue", - "attributeId": 0x00000002, - "type": "int", - }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", + "attributes": { + 0x00000000: { + "attributeName": "MeasuredValue", + "attributeId": 0x00000000, + "type": "int", + }, + 0x00000001: { + "attributeName": "MinMeasuredValue", + "attributeId": 0x00000001, + "type": "int", + }, + 0x00000002: { + "attributeName": "MaxMeasuredValue", + "attributeId": 0x00000002, + "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": { - 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", - }, - }, } _LOW_POWER_CLUSTER_INFO = { - "clusterName": "LowPower", - "clusterId": 0x00000508, - "commands": { + "clusterName": "LowPower", + "clusterId": 0x00000508, + "commands": { 0x00000000: { - "commandId": 0x00000000, - "commandName": "Sleep", - "args": { + "commandId": 0x00000000, + "commandName": "Sleep", + "args": { + }, }, }, - }, - "attributes": { - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "type": "int", + "attributes": { + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + }, }, - }, } _MEDIA_INPUT_CLUSTER_INFO = { - "clusterName": "MediaInput", - "clusterId": 0x00000507, - "commands": { + "clusterName": "MediaInput", + "clusterId": 0x00000507, + "commands": { 0x00000002: { - "commandId": 0x00000002, - "commandName": "HideInputStatus", - "args": { + "commandId": 0x00000002, + "commandName": "HideInputStatus", + "args": { + }, }, - }, 0x00000003: { - "commandId": 0x00000003, - "commandName": "RenameInput", - "args": { - "index": "int", - "name": "str", + "commandId": 0x00000003, + "commandName": "RenameInput", + "args": { + "index": "int", + "name": "str", + }, }, - }, 0x00000000: { - "commandId": 0x00000000, - "commandName": "SelectInput", - "args": { - "index": "int", + "commandId": 0x00000000, + "commandName": "SelectInput", + "args": { + "index": "int", + }, }, - }, 0x00000001: { - "commandId": 0x00000001, - "commandName": "ShowInputStatus", - "args": { + "commandId": 0x00000001, + "commandName": "ShowInputStatus", + "args": { + }, }, }, - }, - "attributes": { - 0x00000000: { - "attributeName": "MediaInputList", - "attributeId": 0x00000000, - "type": "", - }, - 0x00000001: { - "attributeName": "CurrentMediaInput", - "attributeId": 0x00000001, - "type": "int", - }, - 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": { + } + _MODE_SELECT_CLUSTER_CLUSTER_INFO = { + "clusterName": "ModeSelectCluster", + "clusterId": 0x00000050, + "commands": { 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", + "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", + }, }, - }, } _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, - }, - 0x00000001: { - "attributeName": "OccupancySensorType", - "attributeId": 0x00000001, - "type": "int", - }, - 0x00000002: { - "attributeName": "OccupancySensorTypeBitmap", - "attributeId": 0x00000002, - "type": "int", + "clusterName": "OccupancySensing", + "clusterId": 0x00000406, + "commands": { }, - 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", - }, - 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", + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + }, }, - }, } _POWER_SOURCE_CLUSTER_INFO = { - "clusterName": "PowerSource", - "clusterId": 0x0000002F, - "commands": { - }, - "attributes": { - 0x00000000: { - "attributeName": "Status", - "attributeId": 0x00000000, - "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", + }, }, - 0x00000001: { - "attributeName": "Order", - "attributeId": 0x00000001, - "type": "int", + } + _PRESSURE_MEASUREMENT_CLUSTER_INFO = { + "clusterName": "PressureMeasurement", + "clusterId": 0x00000403, + "commands": { }, - 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", - }, - 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, + "clusterName": "RelativeHumidityMeasurement", + "clusterId": 0x00000405, + "commands": { }, - 0x00000001: { - "attributeName": "MinMeasuredValue", - "attributeId": 0x00000001, - "type": "int", - }, - 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", + }, }, - }, } _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", + "clusterName": "Switch", + "clusterId": 0x0000003B, + "commands": { }, - 0x00000001: { - "attributeName": "CurrentPosition", - "attributeId": 0x00000001, - "type": "int", - "reportable": True, - }, - 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, + "clusterName": "TemperatureMeasurement", + "clusterId": 0x00000402, + "commands": { }, - 0x00000001: { - "attributeName": "MinMeasuredValue", - "attributeId": 0x00000001, - "type": "int", - }, - 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", + }, }, - }, } _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": { + }, }, - }, 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, + }, + 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, - }, - 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", - }, - }, - 0x00000000: { - "commandId": 0x00000000, - "commandName": "SetpointRaiseLower", - "args": { - "mode": "int", - "amount": "int", + "commandId": 0x00000001, + "commandName": "SetWeeklySchedule", + "args": { + "numberOfTransitionsForSequence": "int", + "dayOfWeekForSequence": "int", + "modeForSequence": "int", + "payload": "int", + }, + }, + 0x00000000: { + "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, + }, + 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, - }, - 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": { - }, - }, - }, - "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", + } + _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", + }, }, - 0x0000000A: { - "attributeName": "PacketUnicastTxCount", - "attributeId": 0x0000000A, - "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", + }, }, - 0x0000000B: { - "attributeName": "CurrentMaxRate", - "attributeId": 0x0000000B, - "type": "int", + } + _WAKE_ON_LAN_CLUSTER_INFO = { + "clusterName": "WakeOnLan", + "clusterId": 0x00000503, + "commands": { }, - 0x0000000C: { - "attributeName": "OverrunCount", - "attributeId": 0x0000000C, - "type": "int", + "attributes": { + 0x00000000: { + "attributeName": "WakeOnLanMacAddress", + "attributeId": 0x00000000, + "type": "str", + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", + }, }, - 0x0000FFFD: { - "attributeName": "ClusterRevision", - "attributeId": 0x0000FFFD, - "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", + }, }, - }, } _WINDOW_COVERING_CLUSTER_INFO = { - "clusterName": "WindowCovering", - "clusterId": 0x00000102, - "commands": { + "clusterName": "WindowCovering", + "clusterId": 0x00000102, + "commands": { 0x00000001: { - "commandId": 0x00000001, - "commandName": "DownOrClose", - "args": { + "commandId": 0x00000001, + "commandName": "DownOrClose", + "args": { + }, }, - }, 0x00000005: { - "commandId": 0x00000005, - "commandName": "GoToLiftPercentage", - "args": { - "liftPercentageValue": "int", - "liftPercent100thsValue": "int", + "commandId": 0x00000005, + "commandName": "GoToLiftPercentage", + "args": { + "liftPercentageValue": "int", + "liftPercent100thsValue": "int", + }, }, - }, 0x00000004: { - "commandId": 0x00000004, - "commandName": "GoToLiftValue", - "args": { - "liftValue": "int", + "commandId": 0x00000004, + "commandName": "GoToLiftValue", + "args": { + "liftValue": "int", + }, }, - }, 0x00000008: { - "commandId": 0x00000008, - "commandName": "GoToTiltPercentage", - "args": { - "tiltPercentageValue": "int", - "tiltPercent100thsValue": "int", + "commandId": 0x00000008, + "commandName": "GoToTiltPercentage", + "args": { + "tiltPercentageValue": "int", + "tiltPercent100thsValue": "int", + }, }, - }, 0x00000007: { - "commandId": 0x00000007, - "commandName": "GoToTiltValue", - "args": { - "tiltValue": "int", + "commandId": 0x00000007, + "commandName": "GoToTiltValue", + "args": { + "tiltValue": "int", + }, }, - }, 0x00000002: { - "commandId": 0x00000002, - "commandName": "StopMotion", - "args": { + "commandId": 0x00000002, + "commandName": "StopMotion", + "args": { + }, }, - }, 0x00000000: { - "commandId": 0x00000000, - "commandName": "UpOrOpen", - "args": { + "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, + }, + 0x0000FFFD: { + "attributeName": "ClusterRevision", + "attributeId": 0x0000FFFD, + "type": "int", }, }, - }, - "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, - }, - 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, - 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, - 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, + 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_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 = { @@ -4189,6 +4236,7 @@ class ChipClusters: "LowPower": _LOW_POWER_CLUSTER_INFO, "MediaInput": _MEDIA_INPUT_CLUSTER_INFO, "MediaPlayback": _MEDIA_PLAYBACK_CLUSTER_INFO, + "ModeSelectCluster": _MODE_SELECT_CLUSTER_CLUSTER_INFO, "NetworkCommissioning": _NETWORK_COMMISSIONING_CLUSTER_INFO, "OtaSoftwareUpdateProvider": _OTA_SOFTWARE_UPDATE_PROVIDER_CLUSTER_INFO, "OtaSoftwareUpdateRequestor": _OTA_SOFTWARE_UPDATE_REQUESTOR_CLUSTER_INFO, @@ -4228,18 +4276,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 @@ -4248,8 +4295,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 @@ -4258,16 +4304,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 @@ -4280,2491 +4324,1781 @@ 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 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 ClusterModeSelectCluster_CommandChangeToMode(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, newMode: int): + return self._chipLib.chip_ime_AppendCommand_ModeSelectCluster_ChangeToMode( + 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_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 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_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 ClusterModeSelectCluster_ReadAttributeCurrentMode(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): + return self._chipLib.chip_ime_ReadAttribute_ModeSelectCluster_CurrentMode(device, ZCLendpoint, ZCLgroupid) + def ClusterModeSelectCluster_SubscribeAttributeCurrentMode(self, device: ctypes.c_void_p, ZCLendpoint: int, minInterval: int, maxInterval: int): + return self._chipLib.chip_ime_SubscribeAttribute_ModeSelectCluster_CurrentMode(device, ZCLendpoint, minInterval, maxInterval) + def ClusterModeSelectCluster_ReadAttributeSupportedModes(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): + return self._chipLib.chip_ime_ReadAttribute_ModeSelectCluster_SupportedModes(device, ZCLendpoint, ZCLgroupid) + def ClusterModeSelectCluster_ReadAttributeOnMode(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): + return self._chipLib.chip_ime_ReadAttribute_ModeSelectCluster_OnMode(device, ZCLendpoint, ZCLgroupid) + def ClusterModeSelectCluster_WriteAttributeOnMode(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int, value: int): + return self._chipLib.chip_ime_WriteAttribute_ModeSelectCluster_OnMode(device, ZCLendpoint, ZCLgroupid, value) + def ClusterModeSelectCluster_ReadAttributeStartUpMode(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): + return self._chipLib.chip_ime_ReadAttribute_ModeSelectCluster_StartUpMode(device, ZCLendpoint, ZCLgroupid) + def ClusterModeSelectCluster_ReadAttributeDescription(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): + return self._chipLib.chip_ime_ReadAttribute_ModeSelectCluster_Description(device, ZCLendpoint, ZCLgroupid) + def ClusterModeSelectCluster_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): + return self._chipLib.chip_ime_ReadAttribute_ModeSelectCluster_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_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_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_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_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_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_ReadAttributeClusterRevision(self, device: ctypes.c_void_p, ZCLendpoint: int, ZCLgroupid: int): return self._chipLib.chip_ime_ReadAttribute_WindowCovering_ClusterRevision(device, ZCLendpoint, ZCLgroupid) @@ -6773,2889 +6107,2209 @@ 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 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 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 ModeSelectCluster + # Cluster ModeSelectCluster Command ChangeToMode + self._chipLib.chip_ime_AppendCommand_ModeSelectCluster_ChangeToMode.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] + self._chipLib.chip_ime_AppendCommand_ModeSelectCluster_ChangeToMode.restype = ctypes.c_uint32 + # Cluster ModeSelectCluster ReadAttribute CurrentMode + self._chipLib.chip_ime_ReadAttribute_ModeSelectCluster_CurrentMode.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ModeSelectCluster_CurrentMode.restype = ctypes.c_uint32 + # Cluster ModeSelectCluster SubscribeAttribute CurrentMode + self._chipLib.chip_ime_SubscribeAttribute_ModeSelectCluster_CurrentMode.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint16] + self._chipLib.chip_ime_SubscribeAttribute_ModeSelectCluster_CurrentMode.restype = ctypes.c_uint32 + # Cluster ModeSelectCluster ReadAttribute SupportedModes + self._chipLib.chip_ime_ReadAttribute_ModeSelectCluster_SupportedModes.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ModeSelectCluster_SupportedModes.restype = ctypes.c_uint32 + # Cluster ModeSelectCluster ReadAttribute OnMode + self._chipLib.chip_ime_ReadAttribute_ModeSelectCluster_OnMode.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ModeSelectCluster_OnMode.restype = ctypes.c_uint32 + # Cluster ModeSelectCluster WriteAttribute OnMode + self._chipLib.chip_ime_WriteAttribute_ModeSelectCluster_OnMode.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16, ctypes.c_uint8] + self._chipLib.chip_ime_WriteAttribute_ModeSelectCluster_OnMode.restype = ctypes.c_uint32 + # Cluster ModeSelectCluster ReadAttribute StartUpMode + self._chipLib.chip_ime_ReadAttribute_ModeSelectCluster_StartUpMode.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ModeSelectCluster_StartUpMode.restype = ctypes.c_uint32 + # Cluster ModeSelectCluster ReadAttribute Description + self._chipLib.chip_ime_ReadAttribute_ModeSelectCluster_Description.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ModeSelectCluster_Description.restype = ctypes.c_uint32 + # Cluster ModeSelectCluster ReadAttribute ClusterRevision + self._chipLib.chip_ime_ReadAttribute_ModeSelectCluster_ClusterRevision.argtypes = [ctypes.c_void_p, ctypes.c_uint8, ctypes.c_uint16] + self._chipLib.chip_ime_ReadAttribute_ModeSelectCluster_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 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 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 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 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 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 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 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 39c4299412bcc7..f7fab6f0c9d465 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): @@ -987,9 +1067,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 @@ -1002,9 +1081,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 @@ -1017,9 +1095,10 @@ class IdentifyQuery(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class TriggerEffect(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0003 @@ -1028,16 +1107,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 @@ -1052,6 +1130,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: @@ -1065,6 +1144,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: @@ -1078,6 +1158,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: @@ -1092,10 +1173,14 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class Groups: id: typing.ClassVar[int] = 0x0004 + + class Commands: @dataclass class AddGroup(ClusterCommand): @@ -1105,11 +1190,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 @@ -1123,11 +1206,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 @@ -1141,9 +1222,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 @@ -1156,13 +1236,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 @@ -1177,11 +1254,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 @@ -1195,13 +1270,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 @@ -1216,9 +1288,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 @@ -1231,11 +1302,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 @@ -1249,9 +1318,10 @@ class RemoveAllGroups(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class AddGroupIfIdentifying(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0004 @@ -1260,16 +1330,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 @@ -1284,6 +1353,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: @@ -1297,6 +1367,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: @@ -1311,29 +1382,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): @@ -1343,17 +1416,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 @@ -1370,13 +1438,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 @@ -1391,11 +1456,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 @@ -1409,19 +1472,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 @@ -1439,11 +1496,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 @@ -1457,13 +1512,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 @@ -1478,9 +1530,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 @@ -1493,11 +1544,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 @@ -1511,11 +1560,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 @@ -1529,13 +1576,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 @@ -1550,13 +1594,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 @@ -1571,9 +1612,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 @@ -1586,17 +1626,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 @@ -1613,17 +1648,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 @@ -1640,13 +1670,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 @@ -1661,11 +1688,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 @@ -1679,19 +1704,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 @@ -1709,17 +1728,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 @@ -1736,19 +1750,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 @@ -1763,6 +1775,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: @@ -1776,6 +1789,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: @@ -1789,6 +1803,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: @@ -1802,6 +1817,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: @@ -1815,6 +1831,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: @@ -1828,6 +1845,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: @@ -1841,6 +1859,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: @@ -1855,6 +1874,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class OnOff: id: typing.ClassVar[int] = 0x0006 @@ -1872,6 +1893,8 @@ class OnOffEffectIdentifier(IntEnum): kDelayedAllOff = 0x00 kDyingLight = 0x01 + + class Commands: @dataclass class Off(ClusterCommand): @@ -1881,9 +1904,10 @@ class Off(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class SampleMfgSpecificOffWithTransition(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0006 @@ -1892,9 +1916,10 @@ class SampleMfgSpecificOffWithTransition(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class On(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0006 @@ -1903,9 +1928,10 @@ class On(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class SampleMfgSpecificOnWithTransition(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0006 @@ -1914,9 +1940,10 @@ class SampleMfgSpecificOnWithTransition(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class SampleMfgSpecificOnWithTransition2(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0006 @@ -1925,9 +1952,10 @@ class SampleMfgSpecificOnWithTransition2(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class Toggle(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0006 @@ -1936,9 +1964,10 @@ class Toggle(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class SampleMfgSpecificToggleWithTransition(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0006 @@ -1947,9 +1976,10 @@ class SampleMfgSpecificToggleWithTransition(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class SampleMfgSpecificToggleWithTransition2(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0006 @@ -1958,9 +1988,10 @@ class SampleMfgSpecificToggleWithTransition2(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class OffWithEffect(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0006 @@ -1969,11 +2000,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 @@ -1987,9 +2016,10 @@ class OnWithRecallGlobalScene(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class OnWithTimedOff(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0006 @@ -1998,19 +2028,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 @@ -2025,6 +2053,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: @@ -2038,6 +2067,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: @@ -2051,6 +2081,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: @@ -2064,6 +2095,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: @@ -2077,6 +2109,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: @@ -2090,6 +2123,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: @@ -2103,6 +2137,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: @@ -2116,6 +2151,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: @@ -2129,6 +2165,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: @@ -2142,6 +2179,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: @@ -2156,10 +2194,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 @@ -2174,6 +2217,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: @@ -2187,6 +2231,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: @@ -2200,6 +2245,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: @@ -2214,6 +2260,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class LevelControl: id: typing.ClassVar[int] = 0x0008 @@ -2227,6 +2275,8 @@ class StepMode(IntEnum): kUp = 0x00 kDown = 0x01 + + class Commands: @dataclass class MoveToLevel(ClusterCommand): @@ -2236,15 +2286,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 @@ -2260,15 +2306,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 @@ -2284,17 +2326,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 @@ -2311,11 +2348,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 @@ -2329,11 +2364,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 @@ -2347,11 +2380,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 @@ -2365,13 +2396,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 @@ -2386,9 +2414,11 @@ class StopWithOnOff(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + + class Attributes: class CurrentLevel(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -2403,6 +2433,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: @@ -2416,6 +2447,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: @@ -2429,6 +2461,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: @@ -2442,6 +2475,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: @@ -2455,6 +2489,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: @@ -2468,6 +2503,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: @@ -2481,6 +2517,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: @@ -2494,6 +2531,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: @@ -2507,6 +2545,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: @@ -2520,6 +2559,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: @@ -2533,6 +2573,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: @@ -2546,6 +2587,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: @@ -2559,6 +2601,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: @@ -2572,6 +2615,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: @@ -2585,6 +2629,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: @@ -2599,10 +2644,14 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class Alarms: id: typing.ClassVar[int] = 0x0009 + + class Commands: @dataclass class ResetAlarm(ClusterCommand): @@ -2612,11 +2661,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 @@ -2630,11 +2677,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 @@ -2648,9 +2693,10 @@ class ResetAllAlarms(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class GetAlarmResponse(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0009 @@ -2659,15 +2705,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 @@ -2683,9 +2725,10 @@ class GetAlarm(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class ResetAlarmLog(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0009 @@ -2694,9 +2737,11 @@ class ResetAlarmLog(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + + class Attributes: class AlarmCount(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -2711,6 +2756,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: @@ -2724,6 +2770,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: @@ -2738,10 +2785,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 @@ -2756,6 +2808,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: @@ -2769,6 +2822,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: @@ -2782,6 +2836,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: @@ -2795,6 +2850,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: @@ -2808,6 +2864,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: @@ -2821,6 +2878,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: @@ -2834,6 +2892,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: @@ -2847,6 +2906,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: @@ -2860,6 +2920,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: @@ -2873,6 +2934,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: @@ -2886,6 +2948,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: @@ -2900,10 +2963,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 @@ -2918,6 +2986,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: @@ -2931,6 +3000,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: @@ -2944,6 +3014,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: @@ -2957,6 +3028,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: @@ -2970,6 +3042,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: @@ -2983,6 +3056,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: @@ -2996,6 +3070,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: @@ -3009,6 +3084,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: @@ -3022,6 +3098,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: @@ -3035,6 +3112,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: @@ -3049,25 +3127,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 @@ -3080,11 +3157,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 @@ -3095,19 +3170,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 @@ -3117,6 +3186,8 @@ def descriptor(cls) -> ClusterObjectDescriptor: Energy: 'uint' = None MaxActivationDelay: 'uint' = None + + class Commands: @dataclass class PowerProfileRequest(ClusterCommand): @@ -3126,9 +3197,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 @@ -3141,15 +3211,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 @@ -3165,9 +3231,10 @@ class PowerProfileStateRequest(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class PowerProfileResponse(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x001A @@ -3176,15 +3243,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 @@ -3200,15 +3263,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 @@ -3224,11 +3283,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 @@ -3242,13 +3299,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 @@ -3263,9 +3317,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 @@ -3278,13 +3331,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 @@ -3299,11 +3349,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 @@ -3317,13 +3365,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 @@ -3338,9 +3383,10 @@ class GetOverallSchedulePrice(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class PowerProfileScheduleConstraintsRequest(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x001A @@ -3349,9 +3395,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 @@ -3364,9 +3409,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 @@ -3379,9 +3423,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 @@ -3394,13 +3437,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 @@ -3415,15 +3455,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 @@ -3439,13 +3475,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 @@ -3460,13 +3493,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 @@ -3481,13 +3511,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 @@ -3502,19 +3529,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 @@ -3529,6 +3554,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: @@ -3542,6 +3568,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: @@ -3555,6 +3582,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: @@ -3568,6 +3596,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: @@ -3581,6 +3610,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: @@ -3594,6 +3624,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: @@ -3608,6 +3639,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class ApplianceControl: id: typing.ClassVar[int] = 0x001B @@ -3650,6 +3683,8 @@ class WarningEvent(IntEnum): kWarning4OverallPowerBackBelowThePowerThresholdLevel = 0x03 kWarning5OverallPowerWillBePotentiallyAboveAvailablePowerLevelIfTheApplianceStarts = 0x04 + + class Commands: @dataclass class ExecutionOfACommand(ClusterCommand): @@ -3659,9 +3694,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 @@ -3674,13 +3708,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 @@ -3695,9 +3726,10 @@ class SignalState(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class SignalStateNotification(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x001B @@ -3706,13 +3738,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 @@ -3727,13 +3756,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 @@ -3748,9 +3774,10 @@ class OverloadPauseResume(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class OverloadPause(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x001B @@ -3759,9 +3786,10 @@ class OverloadPause(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class OverloadWarning(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x001B @@ -3770,13 +3798,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 @@ -3791,6 +3819,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: @@ -3804,6 +3833,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: @@ -3817,6 +3847,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: @@ -3830,6 +3861,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: @@ -3844,26 +3876,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 @@ -3878,6 +3914,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: @@ -3891,6 +3928,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: @@ -3904,6 +3942,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: @@ -3917,6 +3956,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: @@ -3930,6 +3970,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: @@ -3944,10 +3985,14 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class PollControl: id: typing.ClassVar[int] = 0x0020 + + class Commands: @dataclass class CheckIn(ClusterCommand): @@ -3957,9 +4002,10 @@ class CheckIn(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class CheckInResponse(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0020 @@ -3968,11 +4014,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 @@ -3986,9 +4030,10 @@ class FastPollStop(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class SetLongPollInterval(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0020 @@ -3997,9 +4042,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 @@ -4012,13 +4056,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 @@ -4033,6 +4077,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: @@ -4046,6 +4091,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: @@ -4059,6 +4105,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: @@ -4072,6 +4119,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: @@ -4085,6 +4133,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: @@ -4098,6 +4147,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: @@ -4111,6 +4161,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: @@ -4124,6 +4175,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: @@ -4138,10 +4190,14 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class Basic: id: typing.ClassVar[int] = 0x0028 + + class Commands: @dataclass class StartUp(ClusterCommand): @@ -4151,9 +4207,10 @@ class StartUp(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class MfgSpecificPing(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0028 @@ -4162,9 +4219,10 @@ class MfgSpecificPing(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class ShutDown(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0028 @@ -4173,9 +4231,10 @@ class ShutDown(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class Leave(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0028 @@ -4184,9 +4243,11 @@ class Leave(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + + class Attributes: class InteractionModelVersion(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -4201,6 +4262,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: @@ -4214,6 +4276,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: @@ -4227,6 +4290,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: @@ -4240,6 +4304,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: @@ -4253,6 +4318,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: @@ -4266,6 +4332,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: @@ -4279,6 +4346,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: @@ -4292,6 +4360,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: @@ -4305,6 +4374,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: @@ -4318,6 +4388,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: @@ -4331,6 +4402,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: @@ -4344,6 +4416,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: @@ -4357,6 +4430,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: @@ -4370,6 +4444,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: @@ -4383,6 +4458,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: @@ -4396,6 +4472,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: @@ -4409,6 +4486,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: @@ -4422,6 +4500,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: @@ -4435,6 +4514,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: @@ -4449,6 +4529,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class OtaSoftwareUpdateProvider: id: typing.ClassVar[int] = 0x0029 @@ -4470,6 +4552,8 @@ class OTAQueryStatus(IntEnum): kBusy = 0x01 kNotAvailable = 0x02 + + class Commands: @dataclass class QueryImage(ClusterCommand): @@ -4479,23 +4563,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 @@ -4515,11 +4591,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 @@ -4533,11 +4607,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 @@ -4551,23 +4623,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 @@ -4587,16 +4651,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 @@ -4611,6 +4674,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: @@ -4625,6 +4689,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class OtaSoftwareUpdateRequestor: id: typing.ClassVar[int] = 0x002A @@ -4635,6 +4701,8 @@ class OTAAnnouncementReason(IntEnum): kUpdateAvailable = 0x01 kUrgentUpdateAvailable = 0x02 + + class Commands: @dataclass class AnnounceOtaProvider(ClusterCommand): @@ -4644,15 +4712,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 @@ -4660,6 +4724,7 @@ def descriptor(cls) -> ClusterObjectDescriptor: AnnouncementReason: 'OtaSoftwareUpdateRequestor.Enums.OTAAnnouncementReason' = None MetadataForNode: 'bytes' = None + class Attributes: class DefaultOtaProvider(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -4674,6 +4739,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: @@ -4687,6 +4753,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: @@ -4700,6 +4767,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: @@ -4714,10 +4782,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 @@ -4732,6 +4805,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: @@ -4745,6 +4819,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: @@ -4758,6 +4833,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: @@ -4771,6 +4847,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: @@ -4784,6 +4861,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: @@ -4797,6 +4875,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: @@ -4810,6 +4889,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: @@ -4823,6 +4903,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: @@ -4836,6 +4917,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: @@ -4849,6 +4931,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: @@ -4862,6 +4945,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: @@ -4875,6 +4959,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: @@ -4888,6 +4973,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: @@ -4901,6 +4987,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: @@ -4914,6 +5001,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: @@ -4927,6 +5015,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: @@ -4940,6 +5029,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: @@ -4953,6 +5043,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: @@ -4966,6 +5057,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: @@ -4979,6 +5071,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: @@ -4992,6 +5085,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: @@ -5005,6 +5099,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: @@ -5018,6 +5113,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: @@ -5031,6 +5127,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: @@ -5044,6 +5141,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: @@ -5057,6 +5155,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: @@ -5070,6 +5169,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: @@ -5083,6 +5183,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: @@ -5096,6 +5197,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: @@ -5109,6 +5211,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: @@ -5122,6 +5225,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: @@ -5135,6 +5239,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: @@ -5149,6 +5254,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class GeneralCommissioning: id: typing.ClassVar[int] = 0x0030 @@ -5164,19 +5271,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): @@ -5186,13 +5295,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 @@ -5207,11 +5313,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 @@ -5225,15 +5329,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 @@ -5249,11 +5349,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 @@ -5267,9 +5365,10 @@ class CommissioningComplete(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class CommissioningCompleteResponse(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0030 @@ -5278,16 +5377,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 @@ -5302,6 +5400,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: @@ -5315,6 +5414,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: @@ -5328,6 +5428,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: @@ -5341,6 +5442,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: @@ -5354,6 +5456,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: @@ -5368,6 +5471,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class NetworkCommissioning: id: typing.ClassVar[int] = 0x0031 @@ -5395,15 +5500,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 @@ -5413,17 +5518,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 @@ -5432,6 +5532,8 @@ def descriptor(cls) -> ClusterObjectDescriptor: Channel: 'uint' = None FrequencyBand: 'uint' = None + + class Commands: @dataclass class ScanNetworks(ClusterCommand): @@ -5441,13 +5543,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 @@ -5462,15 +5561,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 @@ -5486,15 +5581,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 @@ -5510,11 +5601,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 @@ -5528,15 +5617,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 @@ -5552,11 +5637,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 @@ -5570,13 +5653,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 @@ -5591,11 +5671,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 @@ -5609,13 +5687,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 @@ -5630,11 +5705,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 @@ -5648,13 +5721,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 @@ -5669,11 +5739,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 @@ -5687,13 +5755,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 @@ -5708,11 +5773,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 @@ -5726,13 +5789,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 @@ -5747,11 +5807,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 @@ -5765,13 +5823,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 @@ -5786,6 +5844,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: @@ -5800,6 +5859,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class DiagnosticLogs: id: typing.ClassVar[int] = 0x0032 @@ -5821,6 +5882,8 @@ class LogsTransferProtocol(IntEnum): kResponsePayload = 0x00 kBdx = 0x01 + + class Commands: @dataclass class RetrieveLogsRequest(ClusterCommand): @@ -5830,13 +5893,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 @@ -5851,15 +5911,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 @@ -5867,6 +5923,7 @@ def descriptor(cls) -> ClusterObjectDescriptor: TimeStamp: 'uint' = None TimeSinceBoot: 'uint' = None + class Attributes: class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -5881,6 +5938,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: @@ -5895,6 +5953,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class GeneralDiagnostics: id: typing.ClassVar[int] = 0x0033 @@ -5944,25 +6004,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 @@ -5972,6 +6027,9 @@ def descriptor(cls) -> ClusterObjectDescriptor: HardwareAddress: 'bytes' = None Type: 'GeneralDiagnostics.Enums.InterfaceType' = None + + + class Attributes: class NetworkInterfaces(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -5986,6 +6044,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: @@ -5999,6 +6058,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: @@ -6012,6 +6072,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: @@ -6025,6 +6086,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: @@ -6038,6 +6100,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: @@ -6051,6 +6114,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: @@ -6064,6 +6128,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: @@ -6077,6 +6142,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: @@ -6090,6 +6156,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: @@ -6104,27 +6171,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 @@ -6133,6 +6198,8 @@ def descriptor(cls) -> ClusterObjectDescriptor: StackFreeMinimum: 'uint' = None StackSize: 'uint' = None + + class Commands: @dataclass class ResetWatermarks(ClusterCommand): @@ -6142,9 +6209,11 @@ class ResetWatermarks(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + + class Attributes: class ThreadMetrics(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -6159,6 +6228,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: @@ -6172,6 +6242,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: @@ -6185,6 +6256,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: @@ -6198,6 +6270,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: @@ -6211,6 +6284,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: @@ -6225,6 +6299,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class ThreadNetworkDiagnostics: id: typing.ClassVar[int] = 0x0035 @@ -6245,41 +6321,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 @@ -6302,31 +6365,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 @@ -6347,27 +6398,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 @@ -6386,16 +6427,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): @@ -6405,9 +6446,11 @@ class ResetCounts(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + + class Attributes: class Channel(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -6422,6 +6465,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: @@ -6435,6 +6479,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: @@ -6448,6 +6493,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: @@ -6461,6 +6507,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: @@ -6474,6 +6521,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: @@ -6487,6 +6535,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: @@ -6500,6 +6549,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: @@ -6513,6 +6563,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: @@ -6526,6 +6577,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: @@ -6539,6 +6591,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: @@ -6552,6 +6605,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: @@ -6565,6 +6619,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: @@ -6578,6 +6633,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: @@ -6591,6 +6647,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: @@ -6604,6 +6661,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: @@ -6617,6 +6675,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: @@ -6630,6 +6689,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: @@ -6643,6 +6703,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: @@ -6656,6 +6717,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: @@ -6669,6 +6731,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: @@ -6682,6 +6745,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: @@ -6695,6 +6759,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: @@ -6708,6 +6773,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: @@ -6721,6 +6787,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: @@ -6734,6 +6801,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: @@ -6747,6 +6815,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: @@ -6760,6 +6829,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: @@ -6773,6 +6843,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: @@ -6786,6 +6857,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: @@ -6799,6 +6871,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: @@ -6812,6 +6885,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: @@ -6825,6 +6899,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: @@ -6838,6 +6913,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: @@ -6851,6 +6927,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: @@ -6864,6 +6941,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: @@ -6877,6 +6955,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: @@ -6890,6 +6969,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: @@ -6903,6 +6983,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: @@ -6916,6 +6997,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: @@ -6929,6 +7011,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: @@ -6942,6 +7025,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: @@ -6955,6 +7039,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: @@ -6968,6 +7053,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: @@ -6981,6 +7067,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: @@ -6994,6 +7081,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: @@ -7007,6 +7095,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: @@ -7020,6 +7109,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: @@ -7033,6 +7123,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: @@ -7046,6 +7137,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: @@ -7059,6 +7151,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: @@ -7072,6 +7165,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: @@ -7085,6 +7179,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: @@ -7098,6 +7193,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: @@ -7111,6 +7207,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: @@ -7124,6 +7221,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: @@ -7137,6 +7235,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: @@ -7150,6 +7249,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: @@ -7163,6 +7263,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: @@ -7176,6 +7277,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: @@ -7189,6 +7291,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: @@ -7202,6 +7305,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: @@ -7215,6 +7319,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: @@ -7228,6 +7333,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: @@ -7241,6 +7347,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: @@ -7255,6 +7362,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class WiFiNetworkDiagnostics: id: typing.ClassVar[int] = 0x0036 @@ -7276,6 +7385,8 @@ class WiFiVersionType(IntEnum): k80211ac = 0x04 k80211ax = 0x05 + + class Commands: @dataclass class ResetCounts(ClusterCommand): @@ -7285,9 +7396,11 @@ class ResetCounts(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + + class Attributes: class Bssid(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -7302,6 +7415,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: @@ -7315,6 +7429,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: @@ -7328,6 +7443,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: @@ -7341,6 +7457,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: @@ -7354,6 +7471,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: @@ -7367,6 +7485,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: @@ -7380,6 +7499,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: @@ -7393,6 +7513,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: @@ -7406,6 +7527,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: @@ -7419,6 +7541,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: @@ -7432,6 +7555,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: @@ -7445,6 +7569,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: @@ -7458,6 +7583,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: @@ -7471,6 +7597,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: @@ -7485,6 +7612,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class EthernetNetworkDiagnostics: id: typing.ClassVar[int] = 0x0037 @@ -7502,6 +7631,8 @@ class PHYRateType(IntEnum): k200g = 0x08 k400g = 0x09 + + class Commands: @dataclass class ResetCounts(ClusterCommand): @@ -7511,9 +7642,11 @@ class ResetCounts(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + + class Attributes: class PHYRate(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -7528,6 +7661,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: @@ -7541,6 +7675,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: @@ -7554,6 +7689,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: @@ -7567,6 +7703,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: @@ -7580,6 +7717,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: @@ -7593,6 +7731,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: @@ -7606,6 +7745,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: @@ -7619,6 +7759,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: @@ -7632,6 +7773,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: @@ -7645,6 +7787,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: @@ -7659,10 +7802,14 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class BridgedDeviceBasic: id: typing.ClassVar[int] = 0x0039 + + class Commands: @dataclass class StartUp(ClusterCommand): @@ -7672,9 +7819,10 @@ class StartUp(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class ShutDown(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0039 @@ -7683,9 +7831,10 @@ class ShutDown(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class Leave(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0039 @@ -7694,9 +7843,10 @@ class Leave(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class ReachableChanged(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0039 @@ -7705,9 +7855,11 @@ class ReachableChanged(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + + class Attributes: class VendorName(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -7722,6 +7874,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: @@ -7735,6 +7888,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: @@ -7748,6 +7902,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: @@ -7761,6 +7916,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: @@ -7774,6 +7930,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: @@ -7787,6 +7944,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: @@ -7800,6 +7958,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: @@ -7813,6 +7972,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: @@ -7826,6 +7986,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: @@ -7839,6 +8000,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: @@ -7852,6 +8014,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: @@ -7865,6 +8028,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: @@ -7878,6 +8042,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: @@ -7891,6 +8056,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: @@ -7904,6 +8070,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: @@ -7918,10 +8085,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 @@ -7936,6 +8108,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: @@ -7949,6 +8122,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: @@ -7962,6 +8136,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: @@ -7975,6 +8150,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: @@ -7989,6 +8165,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class AdministratorCommissioning: id: typing.ClassVar[int] = 0x003C @@ -7999,6 +8177,8 @@ class StatusCode(IntEnum): kBusy = 0x01 kGeneralError = 0x02 + + class Commands: @dataclass class OpenCommissioningWindow(ClusterCommand): @@ -8008,19 +8188,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 @@ -8038,9 +8212,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 @@ -8053,9 +8226,11 @@ class RevokeCommissioning(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + + class Attributes: class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -8070,6 +8245,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: @@ -8084,6 +8260,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class OperationalCredentials: id: typing.ClassVar[int] = 0x003E @@ -8101,25 +8279,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 @@ -8134,16 +8307,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): @@ -8153,9 +8326,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 @@ -8168,11 +8340,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 @@ -8186,9 +8356,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 @@ -8201,9 +8370,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 @@ -8216,9 +8384,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 @@ -8231,11 +8398,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 @@ -8249,17 +8414,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 @@ -8276,11 +8436,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 @@ -8294,13 +8452,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 @@ -8315,9 +8470,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 @@ -8330,9 +8484,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 @@ -8345,9 +8498,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 @@ -8360,13 +8512,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 @@ -8381,6 +8533,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: @@ -8394,6 +8547,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: @@ -8407,6 +8561,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: @@ -8420,6 +8575,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=bytes, IsArray=True) + class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -8433,6 +8589,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: @@ -8447,26 +8604,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 @@ -8481,6 +8642,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: @@ -8494,6 +8656,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: @@ -8508,10 +8671,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 @@ -8526,6 +8694,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: @@ -8539,6 +8708,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: @@ -8553,10 +8723,168 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + +@dataclass +class ModeSelectCluster: + 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), + ]) + + Label: 'str' = None + Mode: 'uint' = None + SemanticTag: 'uint' = None + + @dataclass + 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), + ]) + + MfgCode: 'uint' = None + Value: 'uint' = None + + + + class Commands: + @dataclass + class ChangeToMode(ClusterCommand): + cluster_id: typing.ClassVar[int] = 0x0050 + command_id: typing.ClassVar[int] = 0x0000 + + @ChipUtility.classproperty + def descriptor(cls) -> ClusterObjectDescriptor: + return ClusterObjectDescriptor( + Fields = [ + ClusterObjectFieldDescriptor(Label="NewMode", Tag=0, Type=uint), + ]) + + NewMode: 'uint' = None + + + class Attributes: + class CurrentMode(ClusterAttributeDescriptor): + @ChipUtility.classproperty + def cluster_id(cls) -> int: + return 0x0050 + + @ChipUtility.classproperty + def attribute_id(cls) -> int: + return 0x0000 + + @ChipUtility.classproperty + def attribute_type(cls) -> ClusterObjectFieldDescriptor: + return ClusterObjectFieldDescriptor(Type=uint) + + + class SupportedModes(ClusterAttributeDescriptor): + @ChipUtility.classproperty + def cluster_id(cls) -> int: + return 0x0050 + + @ChipUtility.classproperty + def attribute_id(cls) -> int: + return 0x0001 + + @ChipUtility.classproperty + def attribute_type(cls) -> ClusterObjectFieldDescriptor: + return ClusterObjectFieldDescriptor(Type=ModeSelectCluster.Structs.ModeOptionStruct, IsArray=True) + + + class OnMode(ClusterAttributeDescriptor): + @ChipUtility.classproperty + def cluster_id(cls) -> int: + return 0x0050 + + @ChipUtility.classproperty + def attribute_id(cls) -> int: + return 0x0002 + + @ChipUtility.classproperty + def attribute_type(cls) -> ClusterObjectFieldDescriptor: + return ClusterObjectFieldDescriptor(Type=uint) + + + class StartUpMode(ClusterAttributeDescriptor): + @ChipUtility.classproperty + def cluster_id(cls) -> int: + return 0x0050 + + @ChipUtility.classproperty + def attribute_id(cls) -> int: + return 0x0003 + + @ChipUtility.classproperty + def attribute_type(cls) -> ClusterObjectFieldDescriptor: + return ClusterObjectFieldDescriptor(Type=uint) + + + class Description(ClusterAttributeDescriptor): + @ChipUtility.classproperty + def cluster_id(cls) -> int: + return 0x0050 + + @ChipUtility.classproperty + def attribute_id(cls) -> int: + return 0x0004 + + @ChipUtility.classproperty + def attribute_type(cls) -> ClusterObjectFieldDescriptor: + return ClusterObjectFieldDescriptor(Type=str) + + + class FeatureMap(ClusterAttributeDescriptor): + @ChipUtility.classproperty + def cluster_id(cls) -> int: + return 0x0050 + + @ChipUtility.classproperty + def attribute_id(cls) -> int: + return 0xFFFC + + @ChipUtility.classproperty + def attribute_type(cls) -> ClusterObjectFieldDescriptor: + return ClusterObjectFieldDescriptor(Type=uint) + + + class ClusterRevision(ClusterAttributeDescriptor): + @ChipUtility.classproperty + def cluster_id(cls) -> int: + return 0x0050 + + @ChipUtility.classproperty + def attribute_id(cls) -> int: + return 0xFFFD + + @ChipUtility.classproperty + def attribute_type(cls) -> ClusterObjectFieldDescriptor: + return ClusterObjectFieldDescriptor(Type=uint) + + + + @dataclass class ShadeConfiguration: id: typing.ClassVar[int] = 0x0100 + + + class Attributes: class PhysicalClosedLimit(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -8571,6 +8899,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: @@ -8584,6 +8913,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: @@ -8597,6 +8927,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: @@ -8610,6 +8941,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: @@ -8623,6 +8955,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: @@ -8636,6 +8969,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: @@ -8650,6 +8984,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class DoorLock: id: typing.ClassVar[int] = 0x0101 @@ -8701,6 +9037,8 @@ class DoorLockUserType(IntEnum): kNonAccessUser = 0x04 kNotSupported = 0xFF + + class Commands: @dataclass class LockDoor(ClusterCommand): @@ -8710,9 +9048,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 @@ -8725,9 +9062,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 @@ -8740,9 +9076,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 @@ -8755,9 +9090,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 @@ -8770,9 +9104,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 @@ -8785,9 +9118,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 @@ -8800,11 +9132,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 @@ -8818,9 +9148,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 @@ -8833,9 +9162,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 @@ -8848,21 +9176,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 @@ -8881,15 +9202,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 @@ -8905,9 +9222,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 @@ -8920,9 +9236,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 @@ -8935,15 +9250,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 @@ -8959,9 +9270,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 @@ -8974,9 +9284,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 @@ -8989,9 +9298,10 @@ class ClearAllPins(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class ClearAllPinsResponse(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0101 @@ -9000,9 +9310,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 @@ -9015,11 +9324,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 @@ -9033,9 +9340,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 @@ -9048,9 +9354,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 @@ -9063,11 +9368,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 @@ -9081,21 +9384,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 @@ -9114,9 +9410,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 @@ -9129,11 +9424,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 @@ -9147,23 +9440,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 @@ -9183,11 +9468,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 @@ -9201,9 +9484,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 @@ -9216,15 +9498,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 @@ -9240,9 +9518,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 @@ -9255,11 +9532,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 @@ -9273,17 +9548,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 @@ -9300,11 +9570,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 @@ -9318,9 +9586,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 @@ -9333,15 +9600,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 @@ -9357,9 +9620,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 @@ -9372,9 +9634,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 @@ -9387,17 +9648,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 @@ -9414,9 +9670,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 @@ -9429,9 +9684,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 @@ -9444,11 +9698,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 @@ -9462,9 +9714,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 @@ -9477,9 +9728,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 @@ -9492,11 +9742,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 @@ -9510,15 +9758,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 @@ -9534,9 +9778,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 @@ -9549,9 +9792,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 @@ -9564,15 +9806,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 @@ -9588,9 +9826,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 @@ -9603,9 +9840,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 @@ -9618,9 +9854,10 @@ class ClearAllRfids(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class ClearAllRfidsResponse(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0101 @@ -9629,9 +9866,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 @@ -9644,19 +9880,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 @@ -9674,23 +9904,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 @@ -9702,6 +9924,7 @@ def descriptor(cls) -> ClusterObjectDescriptor: TimeStamp: 'uint' = None Data: 'str' = None + class Attributes: class LockState(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -9716,6 +9939,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: @@ -9729,6 +9953,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: @@ -9742,6 +9967,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: @@ -9755,6 +9981,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: @@ -9768,6 +9995,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: @@ -9781,6 +10009,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: @@ -9794,6 +10023,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: @@ -9807,6 +10037,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: @@ -9820,6 +10051,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: @@ -9833,6 +10065,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: @@ -9846,6 +10079,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: @@ -9859,6 +10093,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: @@ -9872,6 +10107,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: @@ -9885,6 +10121,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: @@ -9898,6 +10135,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: @@ -9911,6 +10149,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: @@ -9924,6 +10163,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: @@ -9937,6 +10177,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: @@ -9950,6 +10191,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: @@ -9963,6 +10205,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: @@ -9976,6 +10219,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: @@ -9989,6 +10233,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: @@ -10002,6 +10247,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: @@ -10015,6 +10261,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: @@ -10028,6 +10275,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: @@ -10041,6 +10289,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: @@ -10054,6 +10303,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: @@ -10067,6 +10317,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: @@ -10080,6 +10331,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: @@ -10093,6 +10345,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: @@ -10106,6 +10359,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: @@ -10119,6 +10373,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: @@ -10132,6 +10387,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: @@ -10145,6 +10401,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: @@ -10158,6 +10415,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: @@ -10171,6 +10429,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: @@ -10184,6 +10443,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: @@ -10197,6 +10457,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: @@ -10210,6 +10471,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: @@ -10223,6 +10485,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: @@ -10236,6 +10499,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: @@ -10249,6 +10513,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: @@ -10262,6 +10527,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: @@ -10275,6 +10541,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: @@ -10289,6 +10556,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class WindowCovering: id: typing.ClassVar[int] = 0x0102 @@ -10334,6 +10603,8 @@ class WcType(IntEnum): kProjectorScreen = 0x09 kUnknown = 0xFF + + class Commands: @dataclass class UpOrOpen(ClusterCommand): @@ -10343,9 +10614,10 @@ class UpOrOpen(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class DownOrClose(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0102 @@ -10354,9 +10626,10 @@ class DownOrClose(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class StopMotion(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0102 @@ -10365,9 +10638,10 @@ class StopMotion(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class GoToLiftValue(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0102 @@ -10376,9 +10650,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 @@ -10391,11 +10664,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 @@ -10409,9 +10680,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 @@ -10424,16 +10694,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 @@ -10448,6 +10717,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: @@ -10461,6 +10731,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: @@ -10474,6 +10745,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: @@ -10487,6 +10759,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: @@ -10500,6 +10773,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: @@ -10513,6 +10787,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: @@ -10526,6 +10801,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: @@ -10539,6 +10815,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: @@ -10552,6 +10829,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: @@ -10565,6 +10843,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: @@ -10578,6 +10857,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: @@ -10591,6 +10871,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: @@ -10604,6 +10885,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: @@ -10617,6 +10899,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: @@ -10630,6 +10913,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: @@ -10643,6 +10927,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: @@ -10656,6 +10941,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: @@ -10669,6 +10955,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: @@ -10682,6 +10969,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: @@ -10695,6 +10983,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: @@ -10708,6 +10997,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: @@ -10721,6 +11011,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: @@ -10734,6 +11025,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: @@ -10747,6 +11039,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: @@ -10760,6 +11053,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: @@ -10773,6 +11067,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: @@ -10786,6 +11081,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: @@ -10799,6 +11095,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: @@ -10813,10 +11110,14 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class BarrierControl: id: typing.ClassVar[int] = 0x0103 + + class Commands: @dataclass class BarrierControlGoToPercent(ClusterCommand): @@ -10826,9 +11127,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 @@ -10841,9 +11141,11 @@ class BarrierControlStop(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + + class Attributes: class BarrierMovingState(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -10858,6 +11160,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: @@ -10871,6 +11174,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: @@ -10884,6 +11188,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: @@ -10897,6 +11202,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: @@ -10910,6 +11216,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: @@ -10923,6 +11230,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: @@ -10936,6 +11244,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: @@ -10949,6 +11258,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: @@ -10962,6 +11272,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: @@ -10975,6 +11286,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: @@ -10988,6 +11300,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: @@ -11002,6 +11315,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class PumpConfigurationAndControl: id: typing.ClassVar[int] = 0x0200 @@ -11021,6 +11336,9 @@ class PumpOperationMode(IntEnum): kMaximum = 0x02 kLocal = 0x03 + + + class Attributes: class MaxPressure(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -11035,6 +11353,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: @@ -11048,6 +11367,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: @@ -11061,6 +11381,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: @@ -11074,6 +11395,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: @@ -11087,6 +11409,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: @@ -11100,6 +11423,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: @@ -11113,6 +11437,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: @@ -11126,6 +11451,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: @@ -11139,6 +11465,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: @@ -11152,6 +11479,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: @@ -11165,6 +11493,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: @@ -11178,6 +11507,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: @@ -11191,6 +11521,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: @@ -11204,6 +11535,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: @@ -11217,6 +11549,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: @@ -11230,6 +11563,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: @@ -11243,6 +11577,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: @@ -11256,6 +11591,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: @@ -11269,6 +11605,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: @@ -11282,6 +11619,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: @@ -11295,6 +11633,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: @@ -11308,6 +11647,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: @@ -11321,6 +11661,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: @@ -11334,6 +11675,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: @@ -11347,6 +11689,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: @@ -11361,6 +11704,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class Thermostat: id: typing.ClassVar[int] = 0x0201 @@ -11371,6 +11716,8 @@ class SetpointAdjustMode(IntEnum): kCoolSetpoint = 0x01 kHeatAndCoolSetpoints = 0x02 + + class Commands: @dataclass class SetpointRaiseLower(ClusterCommand): @@ -11380,11 +11727,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 @@ -11398,15 +11743,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 @@ -11422,15 +11763,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 @@ -11446,19 +11783,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 @@ -11476,11 +11807,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 @@ -11494,9 +11823,10 @@ class ClearWeeklySchedule(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class GetRelayStatusLog(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0201 @@ -11505,9 +11835,11 @@ class GetRelayStatusLog(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + + class Attributes: class LocalTemperature(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -11522,6 +11854,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: @@ -11535,6 +11868,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: @@ -11548,6 +11882,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: @@ -11561,6 +11896,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: @@ -11574,6 +11910,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: @@ -11587,6 +11924,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: @@ -11600,6 +11938,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: @@ -11613,6 +11952,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: @@ -11626,6 +11966,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: @@ -11639,6 +11980,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: @@ -11652,6 +11994,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: @@ -11665,6 +12008,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: @@ -11678,6 +12022,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: @@ -11691,6 +12036,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: @@ -11704,6 +12050,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: @@ -11717,6 +12064,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: @@ -11730,6 +12078,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: @@ -11743,6 +12092,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: @@ -11756,6 +12106,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: @@ -11769,6 +12120,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: @@ -11782,6 +12134,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: @@ -11795,6 +12148,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: @@ -11808,6 +12162,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: @@ -11821,6 +12176,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: @@ -11834,6 +12190,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: @@ -11847,6 +12204,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: @@ -11860,6 +12218,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: @@ -11873,6 +12232,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: @@ -11886,6 +12246,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: @@ -11899,6 +12260,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: @@ -11912,6 +12274,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: @@ -11925,6 +12288,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: @@ -11938,6 +12302,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: @@ -11951,6 +12316,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: @@ -11964,6 +12330,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: @@ -11977,6 +12344,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: @@ -11990,6 +12358,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: @@ -12003,6 +12372,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: @@ -12016,6 +12386,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: @@ -12029,6 +12400,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: @@ -12042,6 +12414,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: @@ -12055,6 +12428,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: @@ -12068,6 +12442,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: @@ -12081,6 +12456,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: @@ -12095,10 +12471,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 @@ -12113,6 +12494,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: @@ -12126,6 +12508,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: @@ -12139,6 +12522,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: @@ -12153,10 +12537,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 @@ -12171,6 +12560,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: @@ -12184,6 +12574,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: @@ -12197,6 +12588,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: @@ -12210,6 +12602,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: @@ -12223,6 +12616,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: @@ -12236,6 +12630,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: @@ -12249,6 +12644,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: @@ -12262,6 +12658,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: @@ -12275,6 +12672,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: @@ -12289,10 +12687,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 @@ -12307,6 +12710,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: @@ -12320,6 +12724,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: @@ -12333,6 +12738,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: @@ -12346,6 +12752,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: @@ -12360,6 +12767,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class ColorControl: id: typing.ClassVar[int] = 0x0300 @@ -12403,6 +12812,8 @@ class SaturationStepMode(IntEnum): kUp = 0x01 kDown = 0x03 + + class Commands: @dataclass class MoveToHue(ClusterCommand): @@ -12412,17 +12823,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 @@ -12439,15 +12845,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 @@ -12463,17 +12865,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 @@ -12490,15 +12887,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 @@ -12514,15 +12907,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 @@ -12538,17 +12927,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 @@ -12565,17 +12949,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 @@ -12592,17 +12971,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 @@ -12619,15 +12993,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 @@ -12643,17 +13013,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 @@ -12670,15 +13035,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 @@ -12694,17 +13055,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 @@ -12721,15 +13077,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 @@ -12745,17 +13097,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 @@ -12772,17 +13119,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 @@ -12799,21 +13141,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 @@ -12832,11 +13167,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 @@ -12850,19 +13183,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 @@ -12880,21 +13207,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 @@ -12905,6 +13225,7 @@ def descriptor(cls) -> ClusterObjectDescriptor: OptionsMask: 'uint' = None OptionsOverride: 'uint' = None + class Attributes: class CurrentHue(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -12919,6 +13240,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: @@ -12932,6 +13254,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: @@ -12945,6 +13268,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: @@ -12958,6 +13282,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: @@ -12971,6 +13296,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: @@ -12984,6 +13310,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: @@ -12997,6 +13324,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: @@ -13010,6 +13338,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: @@ -13023,6 +13352,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: @@ -13036,6 +13366,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: @@ -13049,6 +13380,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: @@ -13062,6 +13394,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: @@ -13075,6 +13408,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: @@ -13088,6 +13422,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: @@ -13101,6 +13436,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: @@ -13114,6 +13450,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: @@ -13127,6 +13464,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: @@ -13140,6 +13478,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: @@ -13153,6 +13492,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: @@ -13166,6 +13506,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: @@ -13179,6 +13520,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: @@ -13192,6 +13534,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: @@ -13205,6 +13548,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: @@ -13218,6 +13562,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: @@ -13231,6 +13576,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: @@ -13244,6 +13590,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: @@ -13257,6 +13604,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: @@ -13270,6 +13618,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: @@ -13283,6 +13632,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: @@ -13296,6 +13646,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: @@ -13309,6 +13660,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: @@ -13322,6 +13674,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: @@ -13335,6 +13688,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: @@ -13348,6 +13702,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: @@ -13361,6 +13716,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: @@ -13374,6 +13730,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: @@ -13387,6 +13744,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: @@ -13400,6 +13758,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: @@ -13413,6 +13772,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: @@ -13426,6 +13786,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: @@ -13439,6 +13800,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: @@ -13452,6 +13814,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: @@ -13465,6 +13828,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: @@ -13478,6 +13842,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: @@ -13491,6 +13856,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: @@ -13504,6 +13870,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: @@ -13517,6 +13884,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: @@ -13530,6 +13898,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: @@ -13543,6 +13912,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: @@ -13556,6 +13926,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: @@ -13569,6 +13940,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: @@ -13582,6 +13954,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: @@ -13595,6 +13968,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: @@ -13609,10 +13983,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 @@ -13627,6 +14006,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: @@ -13640,6 +14020,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: @@ -13653,6 +14034,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: @@ -13666,6 +14048,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: @@ -13679,6 +14062,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: @@ -13692,6 +14076,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: @@ -13705,6 +14090,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: @@ -13718,6 +14104,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: @@ -13731,6 +14118,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: @@ -13744,6 +14132,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: @@ -13757,6 +14146,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: @@ -13770,6 +14160,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: @@ -13783,6 +14174,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: @@ -13796,6 +14188,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: @@ -13809,6 +14202,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: @@ -13822,6 +14216,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: @@ -13835,6 +14230,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: @@ -13849,6 +14245,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class IlluminanceMeasurement: id: typing.ClassVar[int] = 0x0400 @@ -13858,6 +14256,9 @@ class LightSensorType(IntEnum): kPhotodiode = 0x00 kCmos = 0x01 + + + class Attributes: class MeasuredValue(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -13872,6 +14273,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: @@ -13885,6 +14287,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: @@ -13898,6 +14301,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: @@ -13911,6 +14315,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: @@ -13924,6 +14329,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: @@ -13937,6 +14343,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: @@ -13951,10 +14358,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 @@ -13969,6 +14381,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: @@ -13982,6 +14395,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: @@ -13995,6 +14409,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: @@ -14008,6 +14423,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: @@ -14021,6 +14437,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: @@ -14035,10 +14452,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 @@ -14053,6 +14475,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: @@ -14066,6 +14489,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: @@ -14079,6 +14503,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: @@ -14092,6 +14517,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: @@ -14105,6 +14531,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: @@ -14118,6 +14545,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: @@ -14131,6 +14559,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: @@ -14144,6 +14573,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: @@ -14157,6 +14587,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: @@ -14170,6 +14601,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: @@ -14184,10 +14616,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 @@ -14202,6 +14639,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: @@ -14215,6 +14653,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: @@ -14228,6 +14667,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: @@ -14241,6 +14681,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: @@ -14254,6 +14695,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: @@ -14268,10 +14710,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 @@ -14286,6 +14733,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: @@ -14299,6 +14747,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: @@ -14312,6 +14761,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: @@ -14325,6 +14775,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: @@ -14338,6 +14789,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: @@ -14352,10 +14804,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 @@ -14370,6 +14827,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: @@ -14383,6 +14841,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: @@ -14396,6 +14855,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: @@ -14409,6 +14869,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: @@ -14422,6 +14883,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: @@ -14435,6 +14897,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: @@ -14448,6 +14911,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: @@ -14461,6 +14925,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: @@ -14474,6 +14939,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: @@ -14487,6 +14953,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: @@ -14500,6 +14967,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: @@ -14513,6 +14981,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: @@ -14526,6 +14995,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: @@ -14540,10 +15010,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 @@ -14558,6 +15033,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: @@ -14571,6 +15047,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: @@ -14584,6 +15061,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: @@ -14597,6 +15075,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: @@ -14610,6 +15089,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: @@ -14624,10 +15104,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 @@ -14642,6 +15127,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: @@ -14655,6 +15141,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: @@ -14668,6 +15155,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: @@ -14681,6 +15169,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: @@ -14694,6 +15183,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: @@ -14708,10 +15198,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 @@ -14726,6 +15221,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: @@ -14739,6 +15235,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: @@ -14752,6 +15249,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: @@ -14765,6 +15263,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: @@ -14778,6 +15277,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: @@ -14792,10 +15292,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 @@ -14810,6 +15315,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: @@ -14823,6 +15329,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: @@ -14836,6 +15343,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: @@ -14849,6 +15357,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: @@ -14862,6 +15371,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: @@ -14876,10 +15386,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 @@ -14894,6 +15409,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: @@ -14907,6 +15423,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: @@ -14920,6 +15437,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: @@ -14933,6 +15451,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: @@ -14946,6 +15465,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: @@ -14960,10 +15480,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 @@ -14978,6 +15503,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: @@ -14991,6 +15517,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: @@ -15004,6 +15531,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: @@ -15017,6 +15545,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: @@ -15030,6 +15559,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: @@ -15044,10 +15574,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 @@ -15062,6 +15597,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: @@ -15075,6 +15611,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: @@ -15088,6 +15625,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: @@ -15101,6 +15639,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: @@ -15114,6 +15653,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: @@ -15128,10 +15668,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 @@ -15146,6 +15691,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: @@ -15159,6 +15705,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: @@ -15172,6 +15719,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: @@ -15185,6 +15733,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: @@ -15198,6 +15747,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: @@ -15212,10 +15762,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 @@ -15230,6 +15785,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: @@ -15243,6 +15799,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: @@ -15256,6 +15813,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: @@ -15269,6 +15827,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: @@ -15282,6 +15841,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: @@ -15296,10 +15856,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 @@ -15314,6 +15879,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: @@ -15327,6 +15893,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: @@ -15340,6 +15907,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: @@ -15353,6 +15921,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: @@ -15366,6 +15935,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: @@ -15380,10 +15950,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 @@ -15398,6 +15973,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: @@ -15411,6 +15987,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: @@ -15424,6 +16001,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: @@ -15437,6 +16015,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: @@ -15450,6 +16029,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: @@ -15464,10 +16044,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 @@ -15482,6 +16067,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: @@ -15495,6 +16081,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: @@ -15508,6 +16095,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: @@ -15521,6 +16109,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: @@ -15534,6 +16123,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: @@ -15548,10 +16138,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 @@ -15566,6 +16161,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: @@ -15579,6 +16175,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: @@ -15592,6 +16189,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: @@ -15605,6 +16203,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: @@ -15618,6 +16217,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: @@ -15632,10 +16232,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 @@ -15650,6 +16255,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: @@ -15663,6 +16269,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: @@ -15676,6 +16283,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: @@ -15689,6 +16297,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: @@ -15702,6 +16311,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: @@ -15716,10 +16326,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 @@ -15734,6 +16349,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: @@ -15747,6 +16363,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: @@ -15760,6 +16377,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: @@ -15773,6 +16391,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: @@ -15786,6 +16405,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: @@ -15800,10 +16420,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 @@ -15818,6 +16443,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: @@ -15831,6 +16457,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: @@ -15844,6 +16471,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: @@ -15857,6 +16485,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: @@ -15870,6 +16499,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: @@ -15884,10 +16514,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 @@ -15902,6 +16537,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: @@ -15915,6 +16551,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: @@ -15928,6 +16565,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: @@ -15941,6 +16579,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: @@ -15954,6 +16593,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: @@ -15968,10 +16608,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 @@ -15986,6 +16631,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: @@ -15999,6 +16645,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: @@ -16012,6 +16659,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: @@ -16025,6 +16673,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: @@ -16038,6 +16687,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: @@ -16052,10 +16702,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 @@ -16070,6 +16725,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: @@ -16083,6 +16739,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: @@ -16096,6 +16753,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: @@ -16109,6 +16767,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: @@ -16122,6 +16781,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: @@ -16136,10 +16796,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 @@ -16154,6 +16819,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: @@ -16167,6 +16833,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: @@ -16180,6 +16847,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: @@ -16193,6 +16861,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: @@ -16206,6 +16875,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: @@ -16220,10 +16890,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 @@ -16238,6 +16913,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: @@ -16251,6 +16927,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: @@ -16264,6 +16941,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: @@ -16277,6 +16955,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: @@ -16290,6 +16969,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: @@ -16304,10 +16984,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 @@ -16322,6 +17007,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: @@ -16335,6 +17021,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: @@ -16348,6 +17035,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: @@ -16361,6 +17049,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: @@ -16374,6 +17063,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: @@ -16388,10 +17078,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 @@ -16406,6 +17101,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: @@ -16419,6 +17115,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: @@ -16432,6 +17129,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: @@ -16445,6 +17143,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: @@ -16458,6 +17157,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: @@ -16472,10 +17172,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 @@ -16490,6 +17195,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: @@ -16503,6 +17209,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: @@ -16516,6 +17223,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: @@ -16529,6 +17237,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: @@ -16542,6 +17251,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: @@ -16556,10 +17266,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 @@ -16574,6 +17289,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: @@ -16587,6 +17303,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: @@ -16600,6 +17317,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: @@ -16613,6 +17331,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: @@ -16626,6 +17345,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: @@ -16640,10 +17360,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 @@ -16658,6 +17383,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: @@ -16671,6 +17397,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: @@ -16684,6 +17411,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: @@ -16697,6 +17425,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: @@ -16710,6 +17439,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: @@ -16724,10 +17454,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 @@ -16742,6 +17477,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: @@ -16755,6 +17491,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: @@ -16768,6 +17505,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: @@ -16781,6 +17519,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: @@ -16794,6 +17533,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: @@ -16808,10 +17548,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 @@ -16826,6 +17571,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: @@ -16839,6 +17585,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: @@ -16852,6 +17599,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: @@ -16865,6 +17613,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: @@ -16878,6 +17627,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: @@ -16892,10 +17642,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 @@ -16910,6 +17665,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: @@ -16923,6 +17679,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: @@ -16936,6 +17693,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: @@ -16949,6 +17707,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: @@ -16962,6 +17721,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: @@ -16976,10 +17736,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 @@ -16994,6 +17759,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: @@ -17007,6 +17773,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: @@ -17020,6 +17787,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: @@ -17033,6 +17801,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: @@ -17046,6 +17815,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: @@ -17060,6 +17830,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class IasZone: id: typing.ClassVar[int] = 0x0500 @@ -17089,6 +17861,8 @@ class IasZoneType(IntEnum): kSecurityRepeater = 0x229 kInvalidZoneType = 0xFFFF + + class Commands: @dataclass class ZoneEnrollResponse(ClusterCommand): @@ -17098,11 +17872,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 @@ -17116,15 +17888,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 @@ -17140,9 +17908,10 @@ class InitiateNormalOperationMode(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class ZoneEnrollRequest(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0500 @@ -17151,11 +17920,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 @@ -17169,11 +17936,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 @@ -17187,9 +17952,10 @@ class InitiateNormalOperationModeResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class InitiateTestModeResponse(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0500 @@ -17198,9 +17964,11 @@ class InitiateTestModeResponse(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + + class Attributes: class ZoneState(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -17215,6 +17983,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: @@ -17228,6 +17997,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: @@ -17241,6 +18011,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: @@ -17254,6 +18025,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: @@ -17267,6 +18039,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: @@ -17280,6 +18053,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: @@ -17293,6 +18067,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: @@ -17306,6 +18081,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: @@ -17320,6 +18096,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class IasAce: id: typing.ClassVar[int] = 0x0501 @@ -17392,22 +18170,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): @@ -17417,13 +18196,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 @@ -17438,9 +18214,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 @@ -17453,13 +18228,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 @@ -17474,39 +18246,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 @@ -17534,9 +18290,10 @@ class Emergency(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class GetZoneInformationResponse(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0501 @@ -17545,15 +18302,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 @@ -17569,9 +18322,10 @@ class Fire(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class ZoneStatusChanged(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0501 @@ -17580,15 +18334,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 @@ -17604,9 +18354,10 @@ class Panic(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class PanelStatusChanged(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0501 @@ -17615,15 +18366,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 @@ -17639,9 +18386,10 @@ class GetZoneIdMap(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class GetPanelStatusResponse(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0501 @@ -17650,15 +18398,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 @@ -17674,9 +18418,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 @@ -17689,11 +18432,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 @@ -17707,9 +18448,10 @@ class GetPanelStatus(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class BypassResponse(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0501 @@ -17718,11 +18460,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 @@ -17736,9 +18476,10 @@ class GetBypassedZoneList(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class GetZoneStatusResponse(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0501 @@ -17747,13 +18488,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 @@ -17768,15 +18506,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 @@ -17784,6 +18518,7 @@ def descriptor(cls) -> ClusterObjectDescriptor: ZoneStatusMaskFlag: 'bool' = None ZoneStatusMask: 'uint' = None + class Attributes: class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -17798,6 +18533,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: @@ -17812,10 +18548,14 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class IasWd: id: typing.ClassVar[int] = 0x0502 + + class Commands: @dataclass class StartWarning(ClusterCommand): @@ -17825,15 +18565,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 @@ -17849,13 +18585,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 @@ -17870,6 +18606,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: @@ -17883,6 +18620,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: @@ -17897,10 +18635,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 @@ -17915,6 +18658,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: @@ -17928,6 +18672,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: @@ -17942,6 +18687,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class TvChannel: id: typing.ClassVar[int] = 0x0504 @@ -17954,23 +18701,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 @@ -17984,15 +18727,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 @@ -18000,6 +18739,8 @@ def descriptor(cls) -> ClusterObjectDescriptor: PostalCode: 'str' = None LineupInfoType: 'TvChannel.Enums.TvChannelLineupInfoType' = None + + class Commands: @dataclass class ChangeChannel(ClusterCommand): @@ -18009,9 +18750,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 @@ -18024,11 +18764,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 @@ -18042,11 +18780,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 @@ -18060,13 +18796,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 @@ -18081,6 +18817,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: @@ -18094,6 +18831,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: @@ -18107,6 +18845,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: @@ -18120,6 +18859,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: @@ -18134,6 +18874,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class TargetNavigator: id: typing.ClassVar[int] = 0x0505 @@ -18144,22 +18886,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): @@ -18169,11 +18912,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 @@ -18187,16 +18928,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 @@ -18211,6 +18951,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: @@ -18224,6 +18965,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: @@ -18237,6 +18979,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: @@ -18251,6 +18994,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class MediaPlayback: id: typing.ClassVar[int] = 0x0506 @@ -18270,22 +19015,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): @@ -18295,9 +19041,10 @@ class MediaPlay(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class MediaPlayResponse(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0506 @@ -18306,9 +19053,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 @@ -18321,9 +19067,10 @@ class MediaPause(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class MediaPauseResponse(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0506 @@ -18332,9 +19079,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 @@ -18347,9 +19093,10 @@ class MediaStop(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class MediaStopResponse(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0506 @@ -18358,9 +19105,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 @@ -18373,9 +19119,10 @@ class MediaStartOver(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class MediaStartOverResponse(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0506 @@ -18384,9 +19131,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 @@ -18399,9 +19145,10 @@ class MediaPrevious(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class MediaPreviousResponse(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0506 @@ -18410,9 +19157,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 @@ -18425,9 +19171,10 @@ class MediaNext(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class MediaNextResponse(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0506 @@ -18436,9 +19183,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 @@ -18451,9 +19197,10 @@ class MediaRewind(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class MediaRewindResponse(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0506 @@ -18462,9 +19209,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 @@ -18477,9 +19223,10 @@ class MediaFastForward(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class MediaFastForwardResponse(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0506 @@ -18488,9 +19235,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 @@ -18503,9 +19249,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 @@ -18518,9 +19263,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 @@ -18533,9 +19277,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 @@ -18548,9 +19291,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 @@ -18563,9 +19305,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 @@ -18578,13 +19319,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 @@ -18599,6 +19340,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: @@ -18612,6 +19354,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: @@ -18625,6 +19368,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: @@ -18638,6 +19382,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: @@ -18651,6 +19396,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: @@ -18664,6 +19410,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: @@ -18677,6 +19424,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: @@ -18690,6 +19438,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: @@ -18703,6 +19452,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: @@ -18717,6 +19467,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class MediaInput: id: typing.ClassVar[int] = 0x0507 @@ -18736,21 +19488,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 @@ -18758,6 +19507,8 @@ def descriptor(cls) -> ClusterObjectDescriptor: Name: 'str' = None Description: 'str' = None + + class Commands: @dataclass class SelectInput(ClusterCommand): @@ -18767,9 +19518,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 @@ -18782,9 +19532,10 @@ class ShowInputStatus(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class HideInputStatus(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0507 @@ -18793,9 +19544,10 @@ class HideInputStatus(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class RenameInput(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0507 @@ -18804,16 +19556,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 @@ -18828,6 +19579,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: @@ -18841,6 +19593,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: @@ -18854,6 +19607,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: @@ -18868,10 +19622,14 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class LowPower: id: typing.ClassVar[int] = 0x0508 + + class Commands: @dataclass class Sleep(ClusterCommand): @@ -18881,9 +19639,11 @@ class Sleep(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + + class Attributes: class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -18898,6 +19658,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: @@ -18912,6 +19673,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class KeypadInput: id: typing.ClassVar[int] = 0x0509 @@ -19010,6 +19773,8 @@ class KeypadInputStatus(IntEnum): kUnsupportedKey = 0x01 kInvalidKeyInCurrentState = 0x02 + + class Commands: @dataclass class SendKey(ClusterCommand): @@ -19019,9 +19784,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 @@ -19034,13 +19798,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 @@ -19055,6 +19819,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: @@ -19069,6 +19834,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class ContentLauncher: id: typing.ClassVar[int] = 0x050A @@ -19100,17 +19867,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 @@ -19121,13 +19887,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 @@ -19139,19 +19902,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 @@ -19166,13 +19923,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 @@ -19184,19 +19938,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): @@ -19206,11 +19959,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 @@ -19224,11 +19975,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 @@ -19242,11 +19991,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 @@ -19260,16 +20007,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 @@ -19284,6 +20030,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: @@ -19297,6 +20044,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: @@ -19310,6 +20058,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: @@ -19324,6 +20073,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class AudioOutput: id: typing.ClassVar[int] = 0x050B @@ -19337,25 +20088,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): @@ -19365,9 +20116,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 @@ -19380,16 +20130,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 @@ -19404,6 +20153,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: @@ -19417,6 +20167,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: @@ -19430,6 +20181,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: @@ -19444,6 +20196,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class ApplicationLauncher: id: typing.ClassVar[int] = 0x050C @@ -19454,22 +20208,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): @@ -19479,13 +20234,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 @@ -19500,16 +20252,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 @@ -19524,6 +20275,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: @@ -19537,6 +20289,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: @@ -19550,6 +20303,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: @@ -19563,6 +20317,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: @@ -19577,6 +20332,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class ApplicationBasic: id: typing.ClassVar[int] = 0x050D @@ -19588,6 +20345,8 @@ class ApplicationBasicStatus(IntEnum): kActiveHidden = 0x02 kActiveVisibleNotFocus = 0x03 + + class Commands: @dataclass class ChangeStatus(ClusterCommand): @@ -19597,13 +20356,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 @@ -19618,6 +20377,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: @@ -19631,6 +20391,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: @@ -19644,6 +20405,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: @@ -19657,6 +20419,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: @@ -19670,6 +20433,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: @@ -19683,6 +20447,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: @@ -19696,6 +20461,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: @@ -19709,6 +20475,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: @@ -19723,10 +20490,14 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class AccountLogin: id: typing.ClassVar[int] = 0x050E + + class Commands: @dataclass class GetSetupPIN(ClusterCommand): @@ -19736,9 +20507,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 @@ -19751,9 +20521,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 @@ -19766,16 +20535,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 @@ -19790,6 +20558,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: @@ -19804,6 +20573,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class TestCluster: id: typing.ClassVar[int] = 0x050F @@ -19815,25 +20586,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 @@ -19848,13 +20614,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 @@ -19866,21 +20629,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 @@ -19896,9 +20652,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 @@ -19908,16 +20663,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): @@ -19927,9 +20682,10 @@ class Test(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class TestSpecificResponse(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x050F @@ -19938,9 +20694,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 @@ -19953,9 +20708,10 @@ class TestNotHandled(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class TestAddArgumentsResponse(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x050F @@ -19964,9 +20720,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 @@ -19979,9 +20734,10 @@ class TestSpecific(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class TestSimpleArgumentResponse(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x050F @@ -19990,9 +20746,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 @@ -20005,9 +20760,10 @@ class TestUnknownCommand(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class TestStructArrayArgumentResponse(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x050F @@ -20016,19 +20772,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 @@ -20046,11 +20796,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 @@ -20064,9 +20812,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 @@ -20079,9 +20826,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 @@ -20094,11 +20840,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 @@ -20112,19 +20856,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 @@ -20142,9 +20880,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 @@ -20157,9 +20894,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 @@ -20172,9 +20908,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 @@ -20187,9 +20922,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 @@ -20202,9 +20936,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 @@ -20217,9 +20950,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 @@ -20232,9 +20964,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 @@ -20247,16 +20978,15 @@ 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 Arg2: 'TestCluster.Enums.SimpleEnum' = None + class Attributes: class Boolean(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -20271,6 +21001,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: @@ -20284,6 +21015,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: @@ -20297,6 +21029,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: @@ -20310,6 +21043,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: @@ -20323,6 +21057,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: @@ -20336,6 +21071,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: @@ -20349,6 +21085,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: @@ -20362,6 +21099,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: @@ -20375,6 +21113,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: @@ -20388,6 +21127,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: @@ -20401,6 +21141,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: @@ -20414,6 +21155,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: @@ -20427,6 +21169,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: @@ -20440,6 +21183,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: @@ -20453,6 +21197,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: @@ -20466,6 +21211,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: @@ -20479,6 +21225,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: @@ -20492,6 +21239,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: @@ -20505,6 +21253,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: @@ -20518,6 +21267,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: @@ -20531,6 +21281,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: @@ -20544,6 +21295,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: @@ -20557,6 +21309,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: @@ -20570,6 +21323,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: @@ -20583,6 +21337,7 @@ def attribute_id(cls) -> int: def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + class Unsupported(ClusterAttributeDescriptor): @ChipUtility.classproperty def cluster_id(cls) -> int: @@ -20596,6 +21351,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: @@ -20609,6 +21365,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: @@ -20623,6 +21380,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class Messaging: id: typing.ClassVar[int] = 0x0703 @@ -20731,6 +21490,8 @@ class MessagingControlTransmission(IntEnum): kAnonymous = 0x02 kReserved = 0x03 + + class Commands: @dataclass class DisplayMessage(ClusterCommand): @@ -20740,19 +21501,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 @@ -20770,9 +21525,10 @@ class GetLastMessage(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class CancelMessage(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0703 @@ -20781,11 +21537,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 @@ -20799,15 +21553,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 @@ -20823,19 +21573,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 @@ -20853,9 +21597,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 @@ -20868,13 +21611,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 @@ -20889,6 +21632,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: @@ -20903,10 +21647,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 @@ -20921,6 +21670,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: @@ -20934,6 +21684,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: @@ -20947,6 +21698,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: @@ -20960,6 +21712,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: @@ -20973,6 +21726,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: @@ -20986,6 +21740,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: @@ -20999,6 +21754,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: @@ -21012,6 +21768,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: @@ -21025,6 +21782,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: @@ -21038,6 +21796,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: @@ -21051,6 +21810,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: @@ -21064,6 +21824,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: @@ -21077,6 +21838,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: @@ -21091,10 +21853,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 @@ -21109,6 +21876,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: @@ -21122,6 +21890,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: @@ -21135,6 +21904,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: @@ -21148,6 +21918,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: @@ -21161,6 +21932,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: @@ -21174,6 +21946,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: @@ -21187,6 +21960,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: @@ -21200,6 +21974,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: @@ -21213,6 +21988,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: @@ -21226,6 +22002,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: @@ -21239,6 +22016,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: @@ -21252,6 +22030,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: @@ -21265,6 +22044,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: @@ -21279,6 +22059,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class ApplianceEventsAndAlert: id: typing.ClassVar[int] = 0x0B02 @@ -21291,6 +22073,8 @@ class EventIdentification(IntEnum): kSwitchingOff = 0x06 kWrongData = 0x07 + + class Commands: @dataclass class GetAlerts(ClusterCommand): @@ -21300,9 +22084,10 @@ class GetAlerts(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class GetAlertsResponse(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0B02 @@ -21311,11 +22096,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 @@ -21329,11 +22112,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 @@ -21347,16 +22128,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 @@ -21371,6 +22151,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: @@ -21385,10 +22166,14 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class ApplianceStatistics: id: typing.ClassVar[int] = 0x0B03 + + class Commands: @dataclass class LogNotification(ClusterCommand): @@ -21398,15 +22183,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 @@ -21422,9 +22203,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 @@ -21437,15 +22217,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 @@ -21461,9 +22237,10 @@ class LogQueueRequest(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class LogQueueResponse(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0B03 @@ -21472,11 +22249,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 @@ -21490,16 +22265,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 @@ -21514,6 +22288,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: @@ -21527,6 +22302,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: @@ -21540,6 +22316,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: @@ -21554,10 +22331,14 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class ElectricalMeasurement: id: typing.ClassVar[int] = 0x0B04 + + class Commands: @dataclass class GetProfileInfoResponseCommand(ClusterCommand): @@ -21567,15 +22348,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 @@ -21591,9 +22368,10 @@ class GetProfileInfoCommand(ClusterCommand): @ChipUtility.classproperty def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( - Fields=[ + Fields = [ ]) + @dataclass class GetMeasurementProfileResponseCommand(ClusterCommand): cluster_id: typing.ClassVar[int] = 0x0B04 @@ -21602,19 +22380,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 @@ -21632,19 +22404,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 @@ -21659,6 +22429,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: @@ -21672,6 +22443,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: @@ -21685,6 +22457,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: @@ -21698,6 +22471,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: @@ -21711,6 +22485,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: @@ -21724,6 +22499,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: @@ -21737,6 +22513,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: @@ -21750,6 +22527,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: @@ -21763,6 +22541,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: @@ -21776,6 +22555,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: @@ -21789,6 +22569,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: @@ -21802,6 +22583,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: @@ -21815,6 +22597,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: @@ -21828,6 +22611,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: @@ -21841,6 +22625,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: @@ -21854,6 +22639,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: @@ -21867,6 +22653,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: @@ -21880,6 +22667,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: @@ -21893,6 +22681,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: @@ -21906,6 +22695,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: @@ -21919,6 +22709,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: @@ -21932,6 +22723,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: @@ -21945,6 +22737,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: @@ -21958,6 +22751,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: @@ -21971,6 +22765,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: @@ -21984,6 +22779,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: @@ -21997,6 +22793,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: @@ -22010,6 +22807,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: @@ -22023,6 +22821,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: @@ -22036,6 +22835,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: @@ -22049,6 +22849,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: @@ -22062,6 +22863,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: @@ -22075,6 +22877,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: @@ -22088,6 +22891,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: @@ -22101,6 +22905,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: @@ -22114,6 +22919,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: @@ -22127,6 +22933,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: @@ -22140,6 +22947,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: @@ -22153,6 +22961,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: @@ -22166,6 +22975,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: @@ -22179,6 +22989,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: @@ -22192,6 +23003,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: @@ -22205,6 +23017,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: @@ -22218,6 +23031,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: @@ -22231,6 +23045,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: @@ -22244,6 +23059,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: @@ -22257,6 +23073,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: @@ -22270,6 +23087,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: @@ -22283,6 +23101,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: @@ -22296,6 +23115,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: @@ -22309,6 +23129,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: @@ -22322,6 +23143,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: @@ -22335,6 +23157,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: @@ -22348,6 +23171,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: @@ -22361,6 +23185,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: @@ -22374,6 +23199,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: @@ -22387,6 +23213,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: @@ -22400,6 +23227,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: @@ -22413,6 +23241,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: @@ -22426,6 +23255,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: @@ -22439,6 +23269,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: @@ -22452,6 +23283,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: @@ -22465,6 +23297,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: @@ -22478,6 +23311,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: @@ -22491,6 +23325,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: @@ -22504,6 +23339,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: @@ -22517,6 +23353,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: @@ -22530,6 +23367,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: @@ -22543,6 +23381,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: @@ -22556,6 +23395,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: @@ -22569,6 +23409,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: @@ -22582,6 +23423,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: @@ -22595,6 +23437,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: @@ -22608,6 +23451,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: @@ -22621,6 +23465,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: @@ -22634,6 +23479,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: @@ -22647,6 +23493,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: @@ -22660,6 +23507,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: @@ -22673,6 +23521,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: @@ -22686,6 +23535,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: @@ -22699,6 +23549,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: @@ -22712,6 +23563,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: @@ -22725,6 +23577,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: @@ -22738,6 +23591,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: @@ -22751,6 +23605,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: @@ -22764,6 +23619,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: @@ -22777,6 +23633,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: @@ -22790,6 +23647,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: @@ -22803,6 +23661,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: @@ -22816,6 +23675,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: @@ -22829,6 +23689,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: @@ -22842,6 +23703,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: @@ -22855,6 +23717,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: @@ -22868,6 +23731,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: @@ -22881,6 +23745,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: @@ -22894,6 +23759,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: @@ -22907,6 +23773,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: @@ -22920,6 +23787,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: @@ -22933,6 +23801,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: @@ -22946,6 +23815,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: @@ -22959,6 +23829,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: @@ -22972,6 +23843,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: @@ -22985,6 +23857,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: @@ -22998,6 +23871,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: @@ -23011,6 +23885,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: @@ -23024,6 +23899,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: @@ -23037,6 +23913,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: @@ -23050,6 +23927,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: @@ -23063,6 +23941,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: @@ -23076,6 +23955,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: @@ -23089,6 +23969,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: @@ -23102,6 +23983,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: @@ -23115,6 +23997,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: @@ -23128,6 +24011,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: @@ -23141,6 +24025,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: @@ -23154,6 +24039,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: @@ -23167,6 +24053,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: @@ -23180,6 +24067,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: @@ -23193,6 +24081,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: @@ -23206,6 +24095,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: @@ -23219,6 +24109,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: @@ -23232,6 +24123,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: @@ -23245,6 +24137,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: @@ -23258,6 +24151,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: @@ -23271,6 +24165,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: @@ -23284,6 +24179,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: @@ -23297,6 +24193,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: @@ -23310,6 +24207,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: @@ -23323,6 +24221,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: @@ -23337,10 +24236,14 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class Binding: id: typing.ClassVar[int] = 0xF000 + + class Commands: @dataclass class Bind(ClusterCommand): @@ -23350,15 +24253,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 @@ -23374,15 +24273,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 @@ -23390,6 +24285,7 @@ def descriptor(cls) -> ClusterObjectDescriptor: EndpointId: 'uint' = None ClusterId: 'uint' = None + class Attributes: class FeatureMap(ClusterAttributeDescriptor): @ChipUtility.classproperty @@ -23404,6 +24300,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: @@ -23418,6 +24315,8 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class GroupKeyManagement: id: typing.ClassVar[int] = 0xF004 @@ -23427,23 +24326,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 @@ -23457,19 +24352,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 @@ -23484,6 +24379,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: @@ -23497,6 +24393,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: @@ -23510,6 +24407,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: @@ -23524,10 +24422,14 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class SampleMfgSpecificCluster: id: typing.ClassVar[int] = 0xFC00 + + class Commands: @dataclass class CommandOne(ClusterCommand): @@ -23537,13 +24439,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 @@ -23558,6 +24460,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: @@ -23571,6 +24474,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: @@ -23584,6 +24488,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: @@ -23598,10 +24503,14 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + @dataclass class SampleMfgSpecificCluster2: id: typing.ClassVar[int] = 0xFC00 + + class Commands: @dataclass class CommandTwo(ClusterCommand): @@ -23611,13 +24520,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 @@ -23632,6 +24541,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: @@ -23645,6 +24555,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: @@ -23658,6 +24569,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: @@ -23670,3 +24582,7 @@ def attribute_id(cls) -> int: @ChipUtility.classproperty def attribute_type(cls) -> ClusterObjectFieldDescriptor: return ClusterObjectFieldDescriptor(Type=uint) + + + + diff --git a/src/darwin/Framework/CHIP/zap-generated/CHIPCallbackBridge.mm b/src/darwin/Framework/CHIP/zap-generated/CHIPCallbackBridge.mm index 58f0694bc222b0..18877d86704341 100644 --- a/src/darwin/Framework/CHIP/zap-generated/CHIPCallbackBridge.mm +++ b/src/darwin/Framework/CHIP/zap-generated/CHIPCallbackBridge.mm @@ -353,6 +353,28 @@ DispatchSuccess(context, @ { @"value" : array }); }; +void CHIPModeSelectClusterSupportedModesListAttributeCallbackBridge::OnSuccessFn(void * context, + const chip::app::DataModel::DecodableList & + list) +{ + id array = [[NSMutableArray alloc] init]; + auto iter = list.begin(); + while (iter.Next()) { + auto & entry = iter.GetValue(); + [array addObject:@ { + @"Label" : [[NSString alloc] initWithBytes:entry.label.data() length:entry.label.size() encoding:NSUTF8StringEncoding], + @"Mode" : [NSNumber numberWithUnsignedChar:entry.mode], + @"SemanticTag" : [NSNumber numberWithUnsignedLong:entry.semanticTag], + }]; + } + if (iter.GetStatus() != CHIP_NO_ERROR) { + OnFailureFn(context, EMBER_ZCL_STATUS_INVALID_VALUE); + return; + } + + DispatchSuccess(context, @ { @"value" : array }); +}; + void CHIPOperationalCredentialsFabricsListListAttributeCallbackBridge::OnSuccessFn(void * context, const chip::app::DataModel::DecodableList< chip::app::Clusters::OperationalCredentials::Structs::FabricDescriptor::DecodableType> & list) diff --git a/src/darwin/Framework/CHIP/zap-generated/CHIPCallbackBridge_internal.h b/src/darwin/Framework/CHIP/zap-generated/CHIPCallbackBridge_internal.h index d630388738e32b..1a19465be24925 100644 --- a/src/darwin/Framework/CHIP/zap-generated/CHIPCallbackBridge_internal.h +++ b/src/darwin/Framework/CHIP/zap-generated/CHIPCallbackBridge_internal.h @@ -318,6 +318,19 @@ class CHIPMediaInputMediaInputListListAttributeCallbackBridge const chip::app::DataModel::DecodableList & list); }; +class CHIPModeSelectClusterSupportedModesListAttributeCallbackBridge + : public CHIPCallbackBridge +{ +public: + CHIPModeSelectClusterSupportedModesListAttributeCallbackBridge(dispatch_queue_t queue, ResponseHandler handler, + CHIPActionBlock action, bool keepAlive = false) : + CHIPCallbackBridge(queue, handler, action, OnSuccessFn, keepAlive){}; + + static void OnSuccessFn(void * context, + const chip::app::DataModel::DecodableList< + chip::app::Clusters::ModeSelectCluster::Structs::ModeOptionStruct::DecodableType> & list); +}; + class CHIPOperationalCredentialsFabricsListListAttributeCallbackBridge : public CHIPCallbackBridge { diff --git a/src/darwin/Framework/CHIP/zap-generated/CHIPClustersObjc.h b/src/darwin/Framework/CHIP/zap-generated/CHIPClustersObjc.h index 1c0593b2cf367f..e5777fc3184add 100644 --- a/src/darwin/Framework/CHIP/zap-generated/CHIPClustersObjc.h +++ b/src/darwin/Framework/CHIP/zap-generated/CHIPClustersObjc.h @@ -1041,6 +1041,33 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Cluster Mode Select Cluster + * + */ +@interface CHIPModeSelectCluster : CHIPCluster + +- (void)changeToMode:(uint8_t)newMode responseHandler:(ResponseHandler)responseHandler; + +- (void)readAttributeCurrentModeWithResponseHandler:(ResponseHandler)responseHandler; +- (void)subscribeAttributeCurrentModeWithMinInterval:(uint16_t)minInterval + maxInterval:(uint16_t)maxInterval + responseHandler:(ResponseHandler)responseHandler; +- (void)reportAttributeCurrentModeWithResponseHandler:(ResponseHandler)responseHandler; + +- (void)readAttributeSupportedModesWithResponseHandler:(ResponseHandler)responseHandler; + +- (void)readAttributeOnModeWithResponseHandler:(ResponseHandler)responseHandler; +- (void)writeAttributeOnModeWithValue:(uint8_t)value responseHandler:(ResponseHandler)responseHandler; + +- (void)readAttributeStartUpModeWithResponseHandler:(ResponseHandler)responseHandler; + +- (void)readAttributeDescriptionWithResponseHandler:(ResponseHandler)responseHandler; + +- (void)readAttributeClusterRevisionWithResponseHandler:(ResponseHandler)responseHandler; + +@end + /** * Cluster Network Commissioning * diff --git a/src/darwin/Framework/CHIP/zap-generated/CHIPClustersObjc.mm b/src/darwin/Framework/CHIP/zap-generated/CHIPClustersObjc.mm index 9b8ac4c0fa0aad..24cac2bcc59f25 100644 --- a/src/darwin/Framework/CHIP/zap-generated/CHIPClustersObjc.mm +++ b/src/darwin/Framework/CHIP/zap-generated/CHIPClustersObjc.mm @@ -3087,6 +3087,91 @@ new CHIPInt16uAttributeCallbackBridge(self.callbackQueue, responseHandler, ^(Can @end +@implementation CHIPModeSelectCluster + +- (chip::Controller::ClusterBase *)getCluster +{ + return &_cppCluster; +} + +- (void)changeToMode:(uint8_t)newMode responseHandler:(ResponseHandler)responseHandler +{ + new CHIPDefaultSuccessCallbackBridge(self.callbackQueue, responseHandler, ^(Cancelable * success, Cancelable * failure) { + return self.cppCluster.ChangeToMode(success, failure, newMode); + }); +} + +- (void)readAttributeCurrentModeWithResponseHandler:(ResponseHandler)responseHandler +{ + new CHIPInt8uAttributeCallbackBridge(self.callbackQueue, responseHandler, ^(Cancelable * success, Cancelable * failure) { + return self.cppCluster.ReadAttributeCurrentMode(success, failure); + }); +} + +- (void)subscribeAttributeCurrentModeWithMinInterval:(uint16_t)minInterval + maxInterval:(uint16_t)maxInterval + responseHandler:(ResponseHandler)responseHandler +{ + new CHIPInt8uAttributeCallbackBridge(self.callbackQueue, responseHandler, ^(Cancelable * success, Cancelable * failure) { + return self.cppCluster.SubscribeAttributeCurrentMode(success, failure, minInterval, maxInterval); + }); +} + +- (void)reportAttributeCurrentModeWithResponseHandler:(ResponseHandler)responseHandler +{ + new CHIPInt8uAttributeCallbackBridge( + self.callbackQueue, responseHandler, + ^(Cancelable * success, Cancelable * failure) { + return self.cppCluster.ReportAttributeCurrentMode(success); + }, + true); +} + +- (void)readAttributeSupportedModesWithResponseHandler:(ResponseHandler)responseHandler +{ + new CHIPModeSelectClusterSupportedModesListAttributeCallbackBridge( + self.callbackQueue, responseHandler, ^(Cancelable * success, Cancelable * failure) { + return self.cppCluster.ReadAttributeSupportedModes(success, failure); + }); +} + +- (void)readAttributeOnModeWithResponseHandler:(ResponseHandler)responseHandler +{ + new CHIPInt8uAttributeCallbackBridge(self.callbackQueue, responseHandler, ^(Cancelable * success, Cancelable * failure) { + return self.cppCluster.ReadAttributeOnMode(success, failure); + }); +} + +- (void)writeAttributeOnModeWithValue:(uint8_t)value responseHandler:(ResponseHandler)responseHandler +{ + new CHIPDefaultSuccessCallbackBridge(self.callbackQueue, responseHandler, ^(Cancelable * success, Cancelable * failure) { + return self.cppCluster.WriteAttributeOnMode(success, failure, value); + }); +} + +- (void)readAttributeStartUpModeWithResponseHandler:(ResponseHandler)responseHandler +{ + new CHIPInt8uAttributeCallbackBridge(self.callbackQueue, responseHandler, ^(Cancelable * success, Cancelable * failure) { + return self.cppCluster.ReadAttributeStartUpMode(success, failure); + }); +} + +- (void)readAttributeDescriptionWithResponseHandler:(ResponseHandler)responseHandler +{ + new CHIPCharStringAttributeCallbackBridge(self.callbackQueue, responseHandler, ^(Cancelable * success, Cancelable * failure) { + return self.cppCluster.ReadAttributeDescription(success, failure); + }); +} + +- (void)readAttributeClusterRevisionWithResponseHandler:(ResponseHandler)responseHandler +{ + new CHIPInt16uAttributeCallbackBridge(self.callbackQueue, responseHandler, ^(Cancelable * success, Cancelable * failure) { + return self.cppCluster.ReadAttributeClusterRevision(success, failure); + }); +} + +@end + @implementation CHIPNetworkCommissioning - (chip::Controller::ClusterBase *)getCluster diff --git a/src/darwin/Framework/CHIP/zap-generated/CHIPClustersObjc_internal.h b/src/darwin/Framework/CHIP/zap-generated/CHIPClustersObjc_internal.h index 5b5305355b3d69..9a3dcba6a2f1f8 100644 --- a/src/darwin/Framework/CHIP/zap-generated/CHIPClustersObjc_internal.h +++ b/src/darwin/Framework/CHIP/zap-generated/CHIPClustersObjc_internal.h @@ -145,6 +145,10 @@ @property (readonly) chip::Controller::MediaPlaybackCluster cppCluster; @end +@interface CHIPModeSelectCluster () +@property (readonly) chip::Controller::ModeSelectClusterCluster cppCluster; +@end + @interface CHIPNetworkCommissioning () @property (readonly) chip::Controller::NetworkCommissioningCluster cppCluster; @end diff --git a/src/darwin/Framework/CHIP/zap-generated/CHIPTestClustersObjc.h b/src/darwin/Framework/CHIP/zap-generated/CHIPTestClustersObjc.h index 9a8c504d6d2932..0e253f153cb48b 100644 --- a/src/darwin/Framework/CHIP/zap-generated/CHIPTestClustersObjc.h +++ b/src/darwin/Framework/CHIP/zap-generated/CHIPTestClustersObjc.h @@ -467,6 +467,19 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Cluster Mode Select Cluster + * + */ +@interface CHIPTestModeSelectCluster : CHIPModeSelectCluster + +- (void)writeAttributeCurrentModeWithValue:(uint8_t)value responseHandler:(ResponseHandler)responseHandler; +- (void)writeAttributeStartUpModeWithValue:(uint8_t)value responseHandler:(ResponseHandler)responseHandler; +- (void)writeAttributeDescriptionWithValue:(NSString *)value responseHandler:(ResponseHandler)responseHandler; +- (void)writeAttributeClusterRevisionWithValue:(uint16_t)value responseHandler:(ResponseHandler)responseHandler; + +@end + /** * Cluster Network Commissioning * diff --git a/src/darwin/Framework/CHIP/zap-generated/CHIPTestClustersObjc.mm b/src/darwin/Framework/CHIP/zap-generated/CHIPTestClustersObjc.mm index cb0060b11121fa..6169e25f9cc5a5 100644 --- a/src/darwin/Framework/CHIP/zap-generated/CHIPTestClustersObjc.mm +++ b/src/darwin/Framework/CHIP/zap-generated/CHIPTestClustersObjc.mm @@ -1593,6 +1593,47 @@ new CHIPDefaultSuccessCallbackBridge(self.callbackQueue, responseHandler, ^(Canc @end +@interface CHIPTestModeSelectCluster () +@property (readonly) chip::Controller::ModeSelectClusterClusterTest cppCluster; +@end + +@implementation CHIPTestModeSelectCluster + +- (chip::Controller::ClusterBase *)getCluster +{ + return &_cppCluster; +} + +- (void)writeAttributeCurrentModeWithValue:(uint8_t)value responseHandler:(ResponseHandler)responseHandler +{ + new CHIPDefaultSuccessCallbackBridge(self.callbackQueue, responseHandler, ^(Cancelable * success, Cancelable * failure) { + return self.cppCluster.WriteAttributeCurrentMode(success, failure, value); + }); +} + +- (void)writeAttributeStartUpModeWithValue:(uint8_t)value responseHandler:(ResponseHandler)responseHandler +{ + new CHIPDefaultSuccessCallbackBridge(self.callbackQueue, responseHandler, ^(Cancelable * success, Cancelable * failure) { + return self.cppCluster.WriteAttributeStartUpMode(success, failure, value); + }); +} + +- (void)writeAttributeDescriptionWithValue:(NSString *)value responseHandler:(ResponseHandler)responseHandler +{ + new CHIPDefaultSuccessCallbackBridge(self.callbackQueue, responseHandler, ^(Cancelable * success, Cancelable * failure) { + return self.cppCluster.WriteAttributeDescription(success, failure, [self asCharSpan:value]); + }); +} + +- (void)writeAttributeClusterRevisionWithValue:(uint16_t)value responseHandler:(ResponseHandler)responseHandler +{ + new CHIPDefaultSuccessCallbackBridge(self.callbackQueue, responseHandler, ^(Cancelable * success, Cancelable * failure) { + return self.cppCluster.WriteAttributeClusterRevision(success, failure, value); + }); +} + +@end + @interface CHIPTestNetworkCommissioning () @property (readonly) chip::Controller::NetworkCommissioningClusterTest cppCluster; @end diff --git a/src/darwin/Framework/CHIPTests/CHIPClustersTests.m b/src/darwin/Framework/CHIPTests/CHIPClustersTests.m index 20e78e75311c67..a945d5020f0bfa 100644 --- a/src/darwin/Framework/CHIPTests/CHIPClustersTests.m +++ b/src/darwin/Framework/CHIPTests/CHIPClustersTests.m @@ -12017,7 +12017,7 @@ - (void)testSendClusterTestDescriptorCluster_000001_ReadAttribute XCTAssertEqual(err.code, 0); - XCTAssertEqual([values[@"value"] count], 18); + XCTAssertEqual([values[@"value"] count], 19); [expectation fulfill]; }]; @@ -16377,6 +16377,138 @@ - (void)testSendClusterMediaPlaybackReadAttributeClusterRevisionWithResponseHand [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } +- (void)testSendClusterModeSelectClusterReadAttributeCurrentModeWithResponseHandler +{ + XCTestExpectation * expectation = + [self expectationWithDescription:@"ModeSelectClusterReadAttributeCurrentModeWithResponseHandler"]; + + CHIPDevice * device = GetConnectedDevice(); + dispatch_queue_t queue = dispatch_get_main_queue(); + CHIPModeSelectCluster * cluster = [[CHIPModeSelectCluster alloc] initWithDevice:device endpoint:1 queue:queue]; + XCTAssertNotNil(cluster); + + [cluster readAttributeCurrentModeWithResponseHandler:^(NSError * err, NSDictionary * values) { + NSLog(@"ModeSelectCluster CurrentMode Error: %@", err); + XCTAssertEqual(err.code, 0); + [expectation fulfill]; + }]; + + [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; +} + +- (void)testSendClusterModeSelectClusterReadAttributeSupportedModesWithResponseHandler +{ + XCTestExpectation * expectation = + [self expectationWithDescription:@"ModeSelectClusterReadAttributeSupportedModesWithResponseHandler"]; + + CHIPDevice * device = GetConnectedDevice(); + dispatch_queue_t queue = dispatch_get_main_queue(); + CHIPModeSelectCluster * cluster = [[CHIPModeSelectCluster alloc] initWithDevice:device endpoint:1 queue:queue]; + XCTAssertNotNil(cluster); + + [cluster readAttributeSupportedModesWithResponseHandler:^(NSError * err, NSDictionary * values) { + NSLog(@"ModeSelectCluster SupportedModes Error: %@", err); + XCTAssertEqual(err.code, 0); + [expectation fulfill]; + }]; + + [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; +} + +- (void)testSendClusterModeSelectClusterReadAttributeOnModeWithResponseHandler +{ + XCTestExpectation * expectation = [self expectationWithDescription:@"ModeSelectClusterReadAttributeOnModeWithResponseHandler"]; + + CHIPDevice * device = GetConnectedDevice(); + dispatch_queue_t queue = dispatch_get_main_queue(); + CHIPModeSelectCluster * cluster = [[CHIPModeSelectCluster alloc] initWithDevice:device endpoint:1 queue:queue]; + XCTAssertNotNil(cluster); + + [cluster readAttributeOnModeWithResponseHandler:^(NSError * err, NSDictionary * values) { + NSLog(@"ModeSelectCluster OnMode Error: %@", err); + XCTAssertEqual(err.code, 0); + [expectation fulfill]; + }]; + + [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; +} + +- (void)testSendClusterModeSelectClusterWriteAttributeOnModeWithValue +{ + XCTestExpectation * expectation = [self expectationWithDescription:@"ModeSelectClusterWriteAttributeOnModeWithValue"]; + + CHIPDevice * device = GetConnectedDevice(); + dispatch_queue_t queue = dispatch_get_main_queue(); + CHIPModeSelectCluster * cluster = [[CHIPModeSelectCluster alloc] initWithDevice:device endpoint:1 queue:queue]; + XCTAssertNotNil(cluster); + + uint8_t value = 0; + [cluster writeAttributeOnModeWithValue:value + responseHandler:^(NSError * err, NSDictionary * values) { + NSLog(@"ModeSelectCluster OnMode Error: %@", err); + XCTAssertEqual(err.code, 0); + [expectation fulfill]; + }]; + + [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; +} +- (void)testSendClusterModeSelectClusterReadAttributeStartUpModeWithResponseHandler +{ + XCTestExpectation * expectation = + [self expectationWithDescription:@"ModeSelectClusterReadAttributeStartUpModeWithResponseHandler"]; + + CHIPDevice * device = GetConnectedDevice(); + dispatch_queue_t queue = dispatch_get_main_queue(); + CHIPModeSelectCluster * cluster = [[CHIPModeSelectCluster alloc] initWithDevice:device endpoint:1 queue:queue]; + XCTAssertNotNil(cluster); + + [cluster readAttributeStartUpModeWithResponseHandler:^(NSError * err, NSDictionary * values) { + NSLog(@"ModeSelectCluster StartUpMode Error: %@", err); + XCTAssertEqual(err.code, 0); + [expectation fulfill]; + }]; + + [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; +} + +- (void)testSendClusterModeSelectClusterReadAttributeDescriptionWithResponseHandler +{ + XCTestExpectation * expectation = + [self expectationWithDescription:@"ModeSelectClusterReadAttributeDescriptionWithResponseHandler"]; + + CHIPDevice * device = GetConnectedDevice(); + dispatch_queue_t queue = dispatch_get_main_queue(); + CHIPModeSelectCluster * cluster = [[CHIPModeSelectCluster alloc] initWithDevice:device endpoint:1 queue:queue]; + XCTAssertNotNil(cluster); + + [cluster readAttributeDescriptionWithResponseHandler:^(NSError * err, NSDictionary * values) { + NSLog(@"ModeSelectCluster Description Error: %@", err); + XCTAssertEqual(err.code, 0); + [expectation fulfill]; + }]; + + [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; +} + +- (void)testSendClusterModeSelectClusterReadAttributeClusterRevisionWithResponseHandler +{ + XCTestExpectation * expectation = + [self expectationWithDescription:@"ModeSelectClusterReadAttributeClusterRevisionWithResponseHandler"]; + + CHIPDevice * device = GetConnectedDevice(); + dispatch_queue_t queue = dispatch_get_main_queue(); + CHIPModeSelectCluster * cluster = [[CHIPModeSelectCluster alloc] initWithDevice:device endpoint:1 queue:queue]; + XCTAssertNotNil(cluster); + + [cluster readAttributeClusterRevisionWithResponseHandler:^(NSError * err, NSDictionary * values) { + NSLog(@"ModeSelectCluster ClusterRevision Error: %@", err); + XCTAssertEqual(err.code, 0); + [expectation fulfill]; + }]; + + [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; +} + - (void)testSendClusterNetworkCommissioningReadAttributeFeatureMapWithResponseHandler { XCTestExpectation * expectation = diff --git a/zzz_generated/all-clusters-app/zap-generated/IMClusterCommandHandler.cpp b/zzz_generated/all-clusters-app/zap-generated/IMClusterCommandHandler.cpp index eb357f056e246e..b2d314df43cfae 100644 --- a/zzz_generated/all-clusters-app/zap-generated/IMClusterCommandHandler.cpp +++ b/zzz_generated/all-clusters-app/zap-generated/IMClusterCommandHandler.cpp @@ -1101,6 +1101,45 @@ void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandP } // namespace LowPower +namespace ModeSelectCluster { + +void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aDataTlv) +{ + // We are using TLVUnpackError and TLVError here since both of them can be CHIP_END_OF_TLV + // When TLVError is CHIP_END_OF_TLV, it means we have iterated all of the items, which is not a real error. + // Any error value TLVUnpackError means we have received an illegal value. + // The following variables are used for all commands to save code size. + CHIP_ERROR TLVError = CHIP_NO_ERROR; + bool wasHandled = false; + { + switch (aCommandPath.mCommandId) + { + case Commands::ChangeToMode::Id: { + Commands::ChangeToMode::DecodableType commandData; + TLVError = DataModel::Decode(aDataTlv, commandData); + if (TLVError == CHIP_NO_ERROR) + { + wasHandled = emberAfModeSelectClusterClusterChangeToModeCallback(apCommandObj, aCommandPath, commandData); + } + break; + } + default: { + // Unrecognized command ID, error status will apply. + ReportCommandUnsupported(apCommandObj, aCommandPath); + return; + } + } + } + + if (CHIP_NO_ERROR != TLVError || !wasHandled) + { + apCommandObj->AddStatus(aCommandPath, Protocols::InteractionModel::Status::InvalidCommand); + ChipLogProgress(Zcl, "Failed to dispatch command, TLVError=%" CHIP_ERROR_FORMAT, TLVError.Format()); + } +} + +} // namespace ModeSelectCluster + namespace NetworkCommissioning { void DispatchServerCommand(CommandHandler * apCommandObj, const ConcreteCommandPath & aCommandPath, TLV::TLVReader & aDataTlv) @@ -1903,6 +1942,9 @@ void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV: case Clusters::LowPower::Id: Clusters::LowPower::DispatchServerCommand(apCommandObj, aCommandPath, aReader); break; + case Clusters::ModeSelectCluster::Id: + Clusters::ModeSelectCluster::DispatchServerCommand(apCommandObj, aCommandPath, aReader); + break; case Clusters::NetworkCommissioning::Id: Clusters::NetworkCommissioning::DispatchServerCommand(apCommandObj, aCommandPath, aReader); break; diff --git a/zzz_generated/all-clusters-app/zap-generated/PluginApplicationCallbacks.h b/zzz_generated/all-clusters-app/zap-generated/PluginApplicationCallbacks.h index 0bd76757258240..19e93c72462cb1 100644 --- a/zzz_generated/all-clusters-app/zap-generated/PluginApplicationCallbacks.h +++ b/zzz_generated/all-clusters-app/zap-generated/PluginApplicationCallbacks.h @@ -54,6 +54,7 @@ MatterLowPowerPluginServerInitCallback(); \ MatterMediaInputPluginServerInitCallback(); \ MatterMediaPlaybackPluginServerInitCallback(); \ + MatterModeSelectClusterPluginServerInitCallback(); \ MatterNetworkCommissioningPluginServerInitCallback(); \ MatterOtaSoftwareUpdateProviderPluginServerInitCallback(); \ MatterOtaSoftwareUpdateRequestorPluginServerInitCallback(); \ diff --git a/zzz_generated/all-clusters-app/zap-generated/attribute-size.cpp b/zzz_generated/all-clusters-app/zap-generated/attribute-size.cpp index c317be238e49ec..44e44c1404776f 100644 --- a/zzz_generated/all-clusters-app/zap-generated/attribute-size.cpp +++ b/zzz_generated/all-clusters-app/zap-generated/attribute-size.cpp @@ -457,6 +457,40 @@ uint16_t emberAfCopyList(ClusterId clusterId, EmberAfAttributeMetadata * am, boo } break; } + case 0x0050: // Mode Select Cluster Cluster + { + uint16_t entryOffset = kSizeLengthInBytes; + switch (am->attributeId) + { + case 0x0001: // SupportedModes + { + entryLength = 7; + if (((index - 1) * entryLength) > (am->size - entryLength)) + { + ChipLogError(Zcl, "Index %" PRId32 " is invalid.", index); + return 0; + } + entryOffset = static_cast(entryOffset + ((index - 1) * entryLength)); + // Struct _ModeOptionStruct + _ModeOptionStruct * entry = reinterpret_cast<_ModeOptionStruct *>(write ? src : dest); + ByteSpan LabelSpanStorage(Uint8::from_const_char(entry->Label.data()), entry->Label.size()); // CHAR_STRING + ByteSpan * LabelSpan = &LabelSpanStorage; + if (CHIP_NO_ERROR != + (write ? WriteByteSpan(dest + entryOffset, 2, LabelSpan) : ReadByteSpan(src + entryOffset, 2, LabelSpan))) + { + ChipLogError(Zcl, "Index %" PRId32 " is invalid. Not enough remaining space", index); + return 0; + } + entryOffset = static_cast(entryOffset + 2); + copyListMember(write ? dest : (uint8_t *) &entry->Mode, write ? (uint8_t *) &entry->Mode : src, write, &entryOffset, + sizeof(entry->Mode)); // INT8U + copyListMember(write ? dest : (uint8_t *) &entry->SemanticTag, write ? (uint8_t *) &entry->SemanticTag : src, write, + &entryOffset, sizeof(entry->SemanticTag)); // INT32U + break; + } + } + break; + } case 0x003E: // Operational Credentials Cluster { uint16_t entryOffset = kSizeLengthInBytes; @@ -983,6 +1017,15 @@ uint16_t emberAfAttributeValueListSize(ClusterId clusterId, AttributeId attribut break; } break; + case 0x0050: // Mode Select Cluster Cluster + switch (attributeId) + { + case 0x0001: // SupportedModes + // Struct _ModeOptionStruct + entryLength = 7; + break; + } + break; case 0x003E: // Operational Credentials Cluster switch (attributeId) { diff --git a/zzz_generated/all-clusters-app/zap-generated/callback-stub.cpp b/zzz_generated/all-clusters-app/zap-generated/callback-stub.cpp index b2a9af107d7029..7ba927cf750226 100644 --- a/zzz_generated/all-clusters-app/zap-generated/callback-stub.cpp +++ b/zzz_generated/all-clusters-app/zap-generated/callback-stub.cpp @@ -125,6 +125,9 @@ void emberAfClusterInitCallback(EndpointId endpoint, ClusterId clusterId) case ZCL_MEDIA_PLAYBACK_CLUSTER_ID: emberAfMediaPlaybackClusterInitCallback(endpoint); break; + case ZCL_MODE_SELECT_CLUSTER_ID: + emberAfModeSelectClusterClusterInitCallback(endpoint); + break; case ZCL_NETWORK_COMMISSIONING_CLUSTER_ID: emberAfNetworkCommissioningClusterInitCallback(endpoint); break; @@ -363,6 +366,11 @@ void __attribute__((weak)) emberAfMediaPlaybackClusterInitCallback(EndpointId en // To prevent warning (void) endpoint; } +void __attribute__((weak)) emberAfModeSelectClusterClusterInitCallback(EndpointId endpoint) +{ + // To prevent warning + (void) endpoint; +} void __attribute__((weak)) emberAfNetworkCommissioningClusterInitCallback(EndpointId endpoint) { // To prevent warning diff --git a/zzz_generated/all-clusters-app/zap-generated/endpoint_config.h b/zzz_generated/all-clusters-app/zap-generated/endpoint_config.h index 3c9b330c1668e0..39c4ffd598bf5c 100644 --- a/zzz_generated/all-clusters-app/zap-generated/endpoint_config.h +++ b/zzz_generated/all-clusters-app/zap-generated/endpoint_config.h @@ -424,9 +424,14 @@ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, \ \ + /* Endpoint: 0, Cluster: Mode Select Cluster (server), big-endian */ \ + \ + /* 2777 - Description, */ \ + 6, 'C', 'o', 'f', 'f', 'e', 'e', 0x00, \ + \ /* Endpoint: 0, Cluster: Group Key Management (server), big-endian */ \ \ - /* 2777 - groups, */ \ + /* 2785 - groups, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ @@ -442,7 +447,7 @@ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 3031 - group keys, */ \ + /* 3039 - group keys, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ @@ -460,62 +465,62 @@ \ /* Endpoint: 1, Cluster: On/Off (server), big-endian */ \ \ - /* 3285 - FeatureMap, */ \ + /* 3293 - FeatureMap, */ \ 0x00, 0x00, 0x00, 0x00, \ \ /* Endpoint: 1, Cluster: Power Source (server), big-endian */ \ \ - /* 3289 - Description, */ \ + /* 3297 - Description, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, \ \ - /* 3350 - BatteryVoltage, */ \ + /* 3358 - BatteryVoltage, */ \ 0x00, 0x00, 0x00, 0x00, \ \ - /* 3354 - BatteryTimeRemaining, */ \ + /* 3362 - BatteryTimeRemaining, */ \ 0x00, 0x00, 0x00, 0x00, \ \ - /* 3358 - ActiveBatteryFaults, */ \ + /* 3366 - ActiveBatteryFaults, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 3366 - FeatureMap, */ \ + /* 3374 - FeatureMap, */ \ 0x00, 0x00, 0x00, 0x00, \ \ /* Endpoint: 1, Cluster: Bridged Device Basic (server), big-endian */ \ \ - /* 3370 - VendorName, */ \ + /* 3378 - VendorName, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 3403 - ProductName, */ \ + /* 3411 - ProductName, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 3436 - UserLabel, */ \ + /* 3444 - UserLabel, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 3469 - HardwareVersionString, */ \ + /* 3477 - HardwareVersionString, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 3534 - SoftwareVersion, */ \ + /* 3542 - SoftwareVersion, */ \ 0x00, 0x00, 0x00, 0x00, \ \ - /* 3538 - SoftwareVersionString, */ \ + /* 3546 - SoftwareVersionString, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 3603 - ManufacturingDate, */ \ + /* 3611 - ManufacturingDate, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 3620 - PartNumber, */ \ + /* 3628 - PartNumber, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ @@ -531,7 +536,7 @@ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 3875 - ProductURL, */ \ + /* 3883 - ProductURL, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ @@ -547,19 +552,19 @@ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 4130 - ProductLabel, */ \ + /* 4138 - ProductLabel, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 4195 - SerialNumber, */ \ + /* 4203 - SerialNumber, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ /* Endpoint: 1, Cluster: Fixed Label (server), big-endian */ \ \ - /* 4228 - label list, */ \ + /* 4236 - label list, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ @@ -577,20 +582,20 @@ \ /* Endpoint: 1, Cluster: Pump Configuration and Control (server), big-endian */ \ \ - /* 4482 - LifetimeEnergyConsumed, */ \ + /* 4490 - LifetimeEnergyConsumed, */ \ 0x00, 0x00, 0x00, 0x00, \ \ - /* 4486 - FeatureMap, */ \ + /* 4494 - FeatureMap, */ \ 0x00, 0x00, 0x00, 0x00, \ \ /* Endpoint: 1, Cluster: Thermostat (server), big-endian */ \ \ - /* 4490 - FeatureMap, */ \ + /* 4498 - FeatureMap, */ \ 0x00, 0x00, 0x00, 0x0B, \ \ /* Endpoint: 1, Cluster: Color Control (server), big-endian */ \ \ - /* 4494 - compensation text, */ \ + /* 4502 - compensation text, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ @@ -608,18 +613,18 @@ \ /* Endpoint: 1, Cluster: IAS Zone (server), big-endian */ \ \ - /* 4749 - IAS CIE address, */ \ + /* 4757 - IAS CIE address, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ /* Endpoint: 1, Cluster: Wake on LAN (server), big-endian */ \ \ - /* 4757 - wake on lan mac address, */ \ + /* 4765 - wake on lan mac address, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ /* Endpoint: 1, Cluster: TV Channel (server), big-endian */ \ \ - /* 4790 - tv channel list, */ \ + /* 4798 - tv channel list, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ @@ -635,17 +640,17 @@ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 5044 - tv channel lineup, */ \ + /* 5052 - tv channel lineup, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 5077 - current tv channel, */ \ + /* 5085 - current tv channel, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ /* Endpoint: 1, Cluster: Target Navigator (server), big-endian */ \ \ - /* 5110 - target navigator list, */ \ + /* 5118 - target navigator list, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ @@ -663,30 +668,30 @@ \ /* Endpoint: 1, Cluster: Media Playback (server), big-endian */ \ \ - /* 5364 - start time, */ \ + /* 5372 - start time, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, \ \ - /* 5372 - duration, */ \ + /* 5380 - duration, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 5380 - position updated at, */ \ + /* 5388 - position updated at, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 5388 - position, */ \ + /* 5396 - position, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 5396 - playback speed, */ \ + /* 5404 - playback speed, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 5404 - seek range end, */ \ + /* 5412 - seek range end, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 5412 - seek range start, */ \ + /* 5420 - seek range start, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ /* Endpoint: 1, Cluster: Media Input (server), big-endian */ \ \ - /* 5420 - media input list, */ \ + /* 5428 - media input list, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ @@ -704,7 +709,7 @@ \ /* Endpoint: 1, Cluster: Content Launcher (server), big-endian */ \ \ - /* 5674 - accepts header list, */ \ + /* 5682 - accepts header list, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ @@ -720,7 +725,7 @@ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 5928 - supported streaming types, */ \ + /* 5936 - supported streaming types, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ @@ -738,7 +743,7 @@ \ /* Endpoint: 1, Cluster: Audio Output (server), big-endian */ \ \ - /* 6182 - audio output list, */ \ + /* 6190 - audio output list, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ @@ -756,7 +761,7 @@ \ /* Endpoint: 1, Cluster: Application Launcher (server), big-endian */ \ \ - /* 6436 - application launcher list, */ \ + /* 6444 - application launcher list, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ @@ -774,45 +779,45 @@ \ /* Endpoint: 1, Cluster: Application Basic (server), big-endian */ \ \ - /* 6690 - vendor name, */ \ + /* 6698 - vendor name, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 6723 - application name, */ \ + /* 6731 - application name, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 6756 - application id, */ \ + /* 6764 - application id, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ /* Endpoint: 1, Cluster: Test Cluster (server), big-endian */ \ \ - /* 6789 - bitmap32, */ \ + /* 6797 - bitmap32, */ \ 0x00, 0x00, 0x00, 0x00, \ \ - /* 6793 - bitmap64, */ \ + /* 6801 - bitmap64, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 6801 - int32u, */ \ + /* 6809 - int32u, */ \ 0x00, 0x00, 0x00, 0x00, \ \ - /* 6805 - int64u, */ \ + /* 6813 - int64u, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 6813 - int32s, */ \ + /* 6821 - int32s, */ \ 0x00, 0x00, 0x00, 0x00, \ \ - /* 6817 - int64s, */ \ + /* 6825 - int64s, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 6825 - octet_string, */ \ + /* 6833 - octet_string, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 6836 - list_int8u, */ \ + /* 6844 - list_int8u, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 6846 - list_octet_string, */ \ + /* 6854 - list_octet_string, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ @@ -828,7 +833,7 @@ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 7100 - list_struct_octet_string, */ \ + /* 7108 - list_struct_octet_string, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ @@ -844,7 +849,7 @@ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 7354 - long_octet_string, */ \ + /* 7362 - long_octet_string, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ @@ -899,10 +904,10 @@ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 8356 - char_string, */ \ + /* 8364 - char_string, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 8367 - long_char_string, */ \ + /* 8375 - long_char_string, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ @@ -957,23 +962,23 @@ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 9369 - epoch_us, */ \ + /* 9377 - epoch_us, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 9377 - epoch_s, */ \ + /* 9385 - epoch_s, */ \ 0x00, 0x00, 0x00, 0x00, \ \ /* Endpoint: 1, Cluster: Electrical Measurement (server), big-endian */ \ \ - /* 9381 - measurement type, */ \ + /* 9389 - measurement type, */ \ 0x00, 0x00, 0x00, 0x00, \ \ - /* 9385 - total active power, */ \ + /* 9393 - total active power, */ \ 0x00, 0x00, 0x00, 0x00, \ \ /* Endpoint: 2, Cluster: On/Off (server), big-endian */ \ \ - /* 9389 - FeatureMap, */ \ + /* 9397 - FeatureMap, */ \ 0x00, 0x00, 0x00, 0x00, \ } @@ -1378,9 +1383,14 @@ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, \ \ + /* Endpoint: 0, Cluster: Mode Select Cluster (server), little-endian */ \ + \ + /* 2777 - Description, */ \ + 6, 'C', 'o', 'f', 'f', 'e', 'e', 0x00, \ + \ /* Endpoint: 0, Cluster: Group Key Management (server), little-endian */ \ \ - /* 2777 - groups, */ \ + /* 2785 - groups, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ @@ -1396,7 +1406,7 @@ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 3031 - group keys, */ \ + /* 3039 - group keys, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ @@ -1414,62 +1424,62 @@ \ /* Endpoint: 1, Cluster: On/Off (server), little-endian */ \ \ - /* 3285 - FeatureMap, */ \ + /* 3293 - FeatureMap, */ \ 0x00, 0x00, 0x00, 0x00, \ \ /* Endpoint: 1, Cluster: Power Source (server), little-endian */ \ \ - /* 3289 - Description, */ \ + /* 3297 - Description, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, \ \ - /* 3350 - BatteryVoltage, */ \ + /* 3358 - BatteryVoltage, */ \ 0x00, 0x00, 0x00, 0x00, \ \ - /* 3354 - BatteryTimeRemaining, */ \ + /* 3362 - BatteryTimeRemaining, */ \ 0x00, 0x00, 0x00, 0x00, \ \ - /* 3358 - ActiveBatteryFaults, */ \ + /* 3366 - ActiveBatteryFaults, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 3366 - FeatureMap, */ \ + /* 3374 - FeatureMap, */ \ 0x00, 0x00, 0x00, 0x00, \ \ /* Endpoint: 1, Cluster: Bridged Device Basic (server), little-endian */ \ \ - /* 3370 - VendorName, */ \ + /* 3378 - VendorName, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 3403 - ProductName, */ \ + /* 3411 - ProductName, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 3436 - UserLabel, */ \ + /* 3444 - UserLabel, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 3469 - HardwareVersionString, */ \ + /* 3477 - HardwareVersionString, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 3534 - SoftwareVersion, */ \ + /* 3542 - SoftwareVersion, */ \ 0x00, 0x00, 0x00, 0x00, \ \ - /* 3538 - SoftwareVersionString, */ \ + /* 3546 - SoftwareVersionString, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 3603 - ManufacturingDate, */ \ + /* 3611 - ManufacturingDate, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 3620 - PartNumber, */ \ + /* 3628 - PartNumber, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ @@ -1485,7 +1495,7 @@ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 3875 - ProductURL, */ \ + /* 3883 - ProductURL, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ @@ -1501,19 +1511,19 @@ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 4130 - ProductLabel, */ \ + /* 4138 - ProductLabel, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 4195 - SerialNumber, */ \ + /* 4203 - SerialNumber, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ /* Endpoint: 1, Cluster: Fixed Label (server), little-endian */ \ \ - /* 4228 - label list, */ \ + /* 4236 - label list, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ @@ -1531,20 +1541,20 @@ \ /* Endpoint: 1, Cluster: Pump Configuration and Control (server), little-endian */ \ \ - /* 4482 - LifetimeEnergyConsumed, */ \ + /* 4490 - LifetimeEnergyConsumed, */ \ 0x00, 0x00, 0x00, 0x00, \ \ - /* 4486 - FeatureMap, */ \ + /* 4494 - FeatureMap, */ \ 0x00, 0x00, 0x00, 0x00, \ \ /* Endpoint: 1, Cluster: Thermostat (server), little-endian */ \ \ - /* 4490 - FeatureMap, */ \ + /* 4498 - FeatureMap, */ \ 0x00, 0x00, 0x00, 0x0B, \ \ /* Endpoint: 1, Cluster: Color Control (server), little-endian */ \ \ - /* 4494 - compensation text, */ \ + /* 4502 - compensation text, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ @@ -1562,18 +1572,18 @@ \ /* Endpoint: 1, Cluster: IAS Zone (server), little-endian */ \ \ - /* 4749 - IAS CIE address, */ \ + /* 4757 - IAS CIE address, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ /* Endpoint: 1, Cluster: Wake on LAN (server), little-endian */ \ \ - /* 4757 - wake on lan mac address, */ \ + /* 4765 - wake on lan mac address, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ /* Endpoint: 1, Cluster: TV Channel (server), little-endian */ \ \ - /* 4790 - tv channel list, */ \ + /* 4798 - tv channel list, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ @@ -1589,17 +1599,17 @@ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 5044 - tv channel lineup, */ \ + /* 5052 - tv channel lineup, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 5077 - current tv channel, */ \ + /* 5085 - current tv channel, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ /* Endpoint: 1, Cluster: Target Navigator (server), little-endian */ \ \ - /* 5110 - target navigator list, */ \ + /* 5118 - target navigator list, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ @@ -1617,30 +1627,30 @@ \ /* Endpoint: 1, Cluster: Media Playback (server), little-endian */ \ \ - /* 5364 - start time, */ \ + /* 5372 - start time, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, \ \ - /* 5372 - duration, */ \ + /* 5380 - duration, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 5380 - position updated at, */ \ + /* 5388 - position updated at, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 5388 - position, */ \ + /* 5396 - position, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 5396 - playback speed, */ \ + /* 5404 - playback speed, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 5404 - seek range end, */ \ + /* 5412 - seek range end, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 5412 - seek range start, */ \ + /* 5420 - seek range start, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ /* Endpoint: 1, Cluster: Media Input (server), little-endian */ \ \ - /* 5420 - media input list, */ \ + /* 5428 - media input list, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ @@ -1658,7 +1668,7 @@ \ /* Endpoint: 1, Cluster: Content Launcher (server), little-endian */ \ \ - /* 5674 - accepts header list, */ \ + /* 5682 - accepts header list, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ @@ -1674,7 +1684,7 @@ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 5928 - supported streaming types, */ \ + /* 5936 - supported streaming types, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ @@ -1692,7 +1702,7 @@ \ /* Endpoint: 1, Cluster: Audio Output (server), little-endian */ \ \ - /* 6182 - audio output list, */ \ + /* 6190 - audio output list, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ @@ -1710,7 +1720,7 @@ \ /* Endpoint: 1, Cluster: Application Launcher (server), little-endian */ \ \ - /* 6436 - application launcher list, */ \ + /* 6444 - application launcher list, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ @@ -1728,45 +1738,45 @@ \ /* Endpoint: 1, Cluster: Application Basic (server), little-endian */ \ \ - /* 6690 - vendor name, */ \ + /* 6698 - vendor name, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 6723 - application name, */ \ + /* 6731 - application name, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 6756 - application id, */ \ + /* 6764 - application id, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ /* Endpoint: 1, Cluster: Test Cluster (server), little-endian */ \ \ - /* 6789 - bitmap32, */ \ + /* 6797 - bitmap32, */ \ 0x00, 0x00, 0x00, 0x00, \ \ - /* 6793 - bitmap64, */ \ + /* 6801 - bitmap64, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 6801 - int32u, */ \ + /* 6809 - int32u, */ \ 0x00, 0x00, 0x00, 0x00, \ \ - /* 6805 - int64u, */ \ + /* 6813 - int64u, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 6813 - int32s, */ \ + /* 6821 - int32s, */ \ 0x00, 0x00, 0x00, 0x00, \ \ - /* 6817 - int64s, */ \ + /* 6825 - int64s, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 6825 - octet_string, */ \ + /* 6833 - octet_string, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 6836 - list_int8u, */ \ + /* 6844 - list_int8u, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 6846 - list_octet_string, */ \ + /* 6854 - list_octet_string, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ @@ -1782,7 +1792,7 @@ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 7100 - list_struct_octet_string, */ \ + /* 7108 - list_struct_octet_string, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ @@ -1798,7 +1808,7 @@ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 7354 - long_octet_string, */ \ + /* 7362 - long_octet_string, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ @@ -1853,10 +1863,10 @@ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 8356 - char_string, */ \ + /* 8364 - char_string, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 8367 - long_char_string, */ \ + /* 8375 - long_char_string, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ @@ -1911,29 +1921,29 @@ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 9369 - epoch_us, */ \ + /* 9377 - epoch_us, */ \ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ \ - /* 9377 - epoch_s, */ \ + /* 9385 - epoch_s, */ \ 0x00, 0x00, 0x00, 0x00, \ \ /* Endpoint: 1, Cluster: Electrical Measurement (server), little-endian */ \ \ - /* 9381 - measurement type, */ \ + /* 9389 - measurement type, */ \ 0x00, 0x00, 0x00, 0x00, \ \ - /* 9385 - total active power, */ \ + /* 9393 - total active power, */ \ 0x00, 0x00, 0x00, 0x00, \ \ /* Endpoint: 2, Cluster: On/Off (server), little-endian */ \ \ - /* 9389 - FeatureMap, */ \ + /* 9397 - FeatureMap, */ \ 0x00, 0x00, 0x00, 0x00, \ } #endif // BIGENDIAN_CPU -#define GENERATED_DEFAULTS_COUNT (150) +#define GENERATED_DEFAULTS_COUNT (151) #define ZAP_TYPE(type) ZCL_##type##_ATTRIBUTE_TYPE #define ZAP_LONG_DEFAULTS_INDEX(index) \ @@ -1961,7 +1971,7 @@ #define ZAP_ATTRIBUTE_MASK(mask) ATTRIBUTE_MASK_##mask // This is an array of EmberAfAttributeMetadata structures. -#define GENERATED_ATTRIBUTE_COUNT 481 +#define GENERATED_ATTRIBUTE_COUNT 487 #define GENERATED_ATTRIBUTES \ { \ \ @@ -2140,6 +2150,14 @@ { 0x0004, ZAP_TYPE(ARRAY), 400, 0, ZAP_LONG_DEFAULTS_INDEX(2377) }, /* TrustedRootCertificates */ \ { 0xFFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \ \ + /* Endpoint: 0, Cluster: Mode Select Cluster (server) */ \ + { 0x0000, ZAP_TYPE(INT8U), 1, 0, ZAP_SIMPLE_DEFAULT(0) }, /* CurrentMode */ \ + { 0x0001, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_SIMPLE_DEFAULT(0) }, /* SupportedModes */ \ + { 0x0002, ZAP_TYPE(INT8U), 1, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_SIMPLE_DEFAULT(0) }, /* OnMode */ \ + { 0x0003, ZAP_TYPE(INT8U), 1, 0, ZAP_SIMPLE_DEFAULT(0) }, /* StartUpMode */ \ + { 0x0004, ZAP_TYPE(CHAR_STRING), 8, 0, ZAP_LONG_DEFAULTS_INDEX(2777) }, /* Description */ \ + { 0xFFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(1) }, /* ClusterRevision */ \ + \ /* Endpoint: 0, Cluster: Relative Humidity Measurement (server) */ \ { 0x0000, ZAP_TYPE(INT16U), 2, 0, ZAP_EMPTY_DEFAULT() }, /* measured value */ \ { 0x0001, ZAP_TYPE(INT16U), 2, 0, ZAP_EMPTY_DEFAULT() }, /* min measured value */ \ @@ -2150,8 +2168,8 @@ { 0xFFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \ \ /* Endpoint: 0, Cluster: Group Key Management (server) */ \ - { 0x0000, ZAP_TYPE(ARRAY), 254, 0, ZAP_LONG_DEFAULTS_INDEX(2777) }, /* groups */ \ - { 0x0001, ZAP_TYPE(ARRAY), 254, 0, ZAP_LONG_DEFAULTS_INDEX(3031) }, /* group keys */ \ + { 0x0000, ZAP_TYPE(ARRAY), 254, 0, ZAP_LONG_DEFAULTS_INDEX(2785) }, /* groups */ \ + { 0x0001, ZAP_TYPE(ARRAY), 254, 0, ZAP_LONG_DEFAULTS_INDEX(3039) }, /* group keys */ \ { 0xFFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \ \ /* Endpoint: 1, Cluster: Identify (server) */ \ @@ -2177,7 +2195,7 @@ { 0x4001, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_SIMPLE_DEFAULT(0x0000) }, /* OnTime */ \ { 0x4002, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_SIMPLE_DEFAULT(0x0000) }, /* OffWaitTime */ \ { 0x4003, ZAP_TYPE(ENUM8), 1, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_EMPTY_DEFAULT() }, /* StartUpOnOff */ \ - { 0xFFFC, ZAP_TYPE(BITMAP32), 4, 0, ZAP_LONG_DEFAULTS_INDEX(3285) }, /* FeatureMap */ \ + { 0xFFFC, ZAP_TYPE(BITMAP32), 4, 0, ZAP_LONG_DEFAULTS_INDEX(3293) }, /* FeatureMap */ \ { 0xFFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(4) }, /* ClusterRevision */ \ \ /* Endpoint: 1, Cluster: On/off Switch Configuration (server) */ \ @@ -2219,36 +2237,36 @@ /* Endpoint: 1, Cluster: Power Source (server) */ \ { 0x0000, ZAP_TYPE(ENUM8), 1, 0, ZAP_EMPTY_DEFAULT() }, /* Status */ \ { 0x0001, ZAP_TYPE(INT8U), 1, 0, ZAP_EMPTY_DEFAULT() }, /* Order */ \ - { 0x0002, ZAP_TYPE(CHAR_STRING), 61, 0, ZAP_LONG_DEFAULTS_INDEX(3289) }, /* Description */ \ - { 0x000B, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(3350) }, /* BatteryVoltage */ \ + { 0x0002, ZAP_TYPE(CHAR_STRING), 61, 0, ZAP_LONG_DEFAULTS_INDEX(3297) }, /* Description */ \ + { 0x000B, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(3358) }, /* BatteryVoltage */ \ { 0x000C, ZAP_TYPE(INT8U), 1, 0, ZAP_EMPTY_DEFAULT() }, /* BatteryPercentRemaining */ \ - { 0x000D, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(3354) }, /* BatteryTimeRemaining */ \ + { 0x000D, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(3362) }, /* BatteryTimeRemaining */ \ { 0x000E, ZAP_TYPE(ENUM8), 1, 0, ZAP_EMPTY_DEFAULT() }, /* BatteryChargeLevel */ \ - { 0x0012, ZAP_TYPE(ARRAY), 8, 0, ZAP_LONG_DEFAULTS_INDEX(3358) }, /* ActiveBatteryFaults */ \ + { 0x0012, ZAP_TYPE(ARRAY), 8, 0, ZAP_LONG_DEFAULTS_INDEX(3366) }, /* ActiveBatteryFaults */ \ { 0x001A, ZAP_TYPE(ENUM8), 1, 0, ZAP_EMPTY_DEFAULT() }, /* BatteryChargeState */ \ - { 0xFFFC, ZAP_TYPE(BITMAP32), 4, 0, ZAP_LONG_DEFAULTS_INDEX(3366) }, /* FeatureMap */ \ + { 0xFFFC, ZAP_TYPE(BITMAP32), 4, 0, ZAP_LONG_DEFAULTS_INDEX(3374) }, /* FeatureMap */ \ { 0xFFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(1) }, /* ClusterRevision */ \ \ /* Endpoint: 1, Cluster: Bridged Device Basic (server) */ \ - { 0x0001, ZAP_TYPE(CHAR_STRING), 33, ZAP_ATTRIBUTE_MASK(SINGLETON), ZAP_LONG_DEFAULTS_INDEX(3370) }, /* VendorName */ \ + { 0x0001, ZAP_TYPE(CHAR_STRING), 33, ZAP_ATTRIBUTE_MASK(SINGLETON), ZAP_LONG_DEFAULTS_INDEX(3378) }, /* VendorName */ \ { 0x0002, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(SINGLETON), ZAP_EMPTY_DEFAULT() }, /* VendorID */ \ - { 0x0003, ZAP_TYPE(CHAR_STRING), 33, ZAP_ATTRIBUTE_MASK(SINGLETON), ZAP_LONG_DEFAULTS_INDEX(3403) }, /* ProductName */ \ + { 0x0003, ZAP_TYPE(CHAR_STRING), 33, ZAP_ATTRIBUTE_MASK(SINGLETON), ZAP_LONG_DEFAULTS_INDEX(3411) }, /* ProductName */ \ { 0x0005, ZAP_TYPE(CHAR_STRING), 33, ZAP_ATTRIBUTE_MASK(SINGLETON) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ - ZAP_LONG_DEFAULTS_INDEX(3436) }, /* UserLabel */ \ + ZAP_LONG_DEFAULTS_INDEX(3444) }, /* UserLabel */ \ { 0x0007, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(SINGLETON), ZAP_SIMPLE_DEFAULT(0x00) }, /* HardwareVersion */ \ { 0x0008, ZAP_TYPE(CHAR_STRING), 65, ZAP_ATTRIBUTE_MASK(SINGLETON), \ - ZAP_LONG_DEFAULTS_INDEX(3469) }, /* HardwareVersionString */ \ - { 0x0009, ZAP_TYPE(INT32U), 4, ZAP_ATTRIBUTE_MASK(SINGLETON), ZAP_LONG_DEFAULTS_INDEX(3534) }, /* SoftwareVersion */ \ + ZAP_LONG_DEFAULTS_INDEX(3477) }, /* HardwareVersionString */ \ + { 0x0009, ZAP_TYPE(INT32U), 4, ZAP_ATTRIBUTE_MASK(SINGLETON), ZAP_LONG_DEFAULTS_INDEX(3542) }, /* SoftwareVersion */ \ { 0x000A, ZAP_TYPE(CHAR_STRING), 65, ZAP_ATTRIBUTE_MASK(SINGLETON), \ - ZAP_LONG_DEFAULTS_INDEX(3538) }, /* SoftwareVersionString */ \ + ZAP_LONG_DEFAULTS_INDEX(3546) }, /* SoftwareVersionString */ \ { 0x000B, ZAP_TYPE(CHAR_STRING), 17, ZAP_ATTRIBUTE_MASK(SINGLETON), \ - ZAP_LONG_DEFAULTS_INDEX(3603) }, /* ManufacturingDate */ \ - { 0x000C, ZAP_TYPE(CHAR_STRING), 255, ZAP_ATTRIBUTE_MASK(SINGLETON), ZAP_LONG_DEFAULTS_INDEX(3620) }, /* PartNumber */ \ - { 0x000D, ZAP_TYPE(CHAR_STRING), 255, ZAP_ATTRIBUTE_MASK(SINGLETON), ZAP_LONG_DEFAULTS_INDEX(3875) }, /* ProductURL */ \ + ZAP_LONG_DEFAULTS_INDEX(3611) }, /* ManufacturingDate */ \ + { 0x000C, ZAP_TYPE(CHAR_STRING), 255, ZAP_ATTRIBUTE_MASK(SINGLETON), ZAP_LONG_DEFAULTS_INDEX(3628) }, /* PartNumber */ \ + { 0x000D, ZAP_TYPE(CHAR_STRING), 255, ZAP_ATTRIBUTE_MASK(SINGLETON), ZAP_LONG_DEFAULTS_INDEX(3883) }, /* ProductURL */ \ { 0x000E, ZAP_TYPE(CHAR_STRING), 65, ZAP_ATTRIBUTE_MASK(SINGLETON), \ - ZAP_LONG_DEFAULTS_INDEX(4130) }, /* ProductLabel */ \ + ZAP_LONG_DEFAULTS_INDEX(4138) }, /* ProductLabel */ \ { 0x000F, ZAP_TYPE(CHAR_STRING), 33, ZAP_ATTRIBUTE_MASK(SINGLETON), \ - ZAP_LONG_DEFAULTS_INDEX(4195) }, /* SerialNumber */ \ + ZAP_LONG_DEFAULTS_INDEX(4203) }, /* SerialNumber */ \ { 0x0011, ZAP_TYPE(BOOLEAN), 1, ZAP_ATTRIBUTE_MASK(SINGLETON), ZAP_SIMPLE_DEFAULT(0x00) }, /* Reachable */ \ { 0xFFFD, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(SINGLETON), ZAP_SIMPLE_DEFAULT(1) }, /* ClusterRevision */ \ \ @@ -2258,7 +2276,7 @@ { 0xFFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \ \ /* Endpoint: 1, Cluster: Fixed Label (server) */ \ - { 0x0000, ZAP_TYPE(ARRAY), 254, 0, ZAP_LONG_DEFAULTS_INDEX(4228) }, /* label list */ \ + { 0x0000, ZAP_TYPE(ARRAY), 254, 0, ZAP_LONG_DEFAULTS_INDEX(4236) }, /* label list */ \ { 0xFFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \ \ /* Endpoint: 1, Cluster: Boolean State (server) */ \ @@ -2318,11 +2336,11 @@ { 0x0012, ZAP_TYPE(ENUM8), 1, 0, ZAP_EMPTY_DEFAULT() }, /* EffectiveControlMode */ \ { 0x0013, ZAP_TYPE(INT16S), 2, 0, ZAP_EMPTY_DEFAULT() }, /* Capacity */ \ { 0x0014, ZAP_TYPE(INT16U), 2, 0, ZAP_EMPTY_DEFAULT() }, /* Speed */ \ - { 0x0017, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(4482) }, /* LifetimeEnergyConsumed */ \ + { 0x0017, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(4490) }, /* LifetimeEnergyConsumed */ \ { 0x0020, ZAP_TYPE(ENUM8), 1, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_SIMPLE_DEFAULT(0x00) }, /* OperationMode */ \ { 0x0021, ZAP_TYPE(ENUM8), 1, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_SIMPLE_DEFAULT(0x00) }, /* ControlMode */ \ { 0x0022, ZAP_TYPE(BITMAP16), 2, 0, ZAP_EMPTY_DEFAULT() }, /* AlarmMask */ \ - { 0xFFFC, ZAP_TYPE(BITMAP32), 4, 0, ZAP_LONG_DEFAULTS_INDEX(4486) }, /* FeatureMap */ \ + { 0xFFFC, ZAP_TYPE(BITMAP32), 4, 0, ZAP_LONG_DEFAULTS_INDEX(4494) }, /* FeatureMap */ \ { 0xFFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \ \ /* Endpoint: 1, Cluster: Thermostat (server) */ \ @@ -2349,7 +2367,7 @@ { 0x0020, ZAP_TYPE(ENUM8), 1, 0, ZAP_SIMPLE_DEFAULT(0) }, /* start of week */ \ { 0x0021, ZAP_TYPE(INT8U), 1, 0, ZAP_SIMPLE_DEFAULT(7) }, /* number of weekly transitions */ \ { 0x0022, ZAP_TYPE(INT8U), 1, 0, ZAP_SIMPLE_DEFAULT(4) }, /* number of daily transitions */ \ - { 0xFFFC, ZAP_TYPE(BITMAP32), 4, 0, ZAP_LONG_DEFAULTS_INDEX(4490) }, /* FeatureMap */ \ + { 0xFFFC, ZAP_TYPE(BITMAP32), 4, 0, ZAP_LONG_DEFAULTS_INDEX(4498) }, /* FeatureMap */ \ { 0xFFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(3) }, /* ClusterRevision */ \ \ /* Endpoint: 1, Cluster: Thermostat User Interface Configuration (server) */ \ @@ -2366,7 +2384,7 @@ { 0x0003, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x616B) }, /* current x */ \ { 0x0004, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x607D) }, /* current y */ \ { 0x0005, ZAP_TYPE(ENUM8), 1, 0, ZAP_EMPTY_DEFAULT() }, /* drift compensation */ \ - { 0x0006, ZAP_TYPE(CHAR_STRING), 255, 0, ZAP_LONG_DEFAULTS_INDEX(4494) }, /* compensation text */ \ + { 0x0006, ZAP_TYPE(CHAR_STRING), 255, 0, ZAP_LONG_DEFAULTS_INDEX(4502) }, /* compensation text */ \ { 0x0007, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x00FA) }, /* color temperature */ \ { 0x0008, ZAP_TYPE(ENUM8), 1, 0, ZAP_SIMPLE_DEFAULT(0x01) }, /* color mode */ \ { 0x000F, ZAP_TYPE(BITMAP8), 1, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_SIMPLE_DEFAULT(0x00) }, /* color control options */ \ @@ -2457,37 +2475,37 @@ { 0x0000, ZAP_TYPE(ENUM8), 1, 0, ZAP_SIMPLE_DEFAULT(0x00) }, /* zone state */ \ { 0x0001, ZAP_TYPE(ENUM16), 2, 0, ZAP_EMPTY_DEFAULT() }, /* zone type */ \ { 0x0002, ZAP_TYPE(BITMAP16), 2, 0, ZAP_SIMPLE_DEFAULT(0x0000) }, /* zone status */ \ - { 0x0010, ZAP_TYPE(NODE_ID), 8, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_LONG_DEFAULTS_INDEX(4749) }, /* IAS CIE address */ \ + { 0x0010, ZAP_TYPE(NODE_ID), 8, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_LONG_DEFAULTS_INDEX(4757) }, /* IAS CIE address */ \ { 0x0011, ZAP_TYPE(INT8U), 1, 0, ZAP_SIMPLE_DEFAULT(0xff) }, /* Zone ID */ \ { 0xFFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(2) }, /* ClusterRevision */ \ \ /* Endpoint: 1, Cluster: Wake on LAN (server) */ \ - { 0x0000, ZAP_TYPE(CHAR_STRING), 33, 0, ZAP_LONG_DEFAULTS_INDEX(4757) }, /* wake on lan mac address */ \ + { 0x0000, ZAP_TYPE(CHAR_STRING), 33, 0, ZAP_LONG_DEFAULTS_INDEX(4765) }, /* wake on lan mac address */ \ { 0xFFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \ \ /* Endpoint: 1, Cluster: TV Channel (server) */ \ - { 0x0000, ZAP_TYPE(ARRAY), 254, 0, ZAP_LONG_DEFAULTS_INDEX(4790) }, /* tv channel list */ \ - { 0x0001, ZAP_TYPE(OCTET_STRING), 33, 0, ZAP_LONG_DEFAULTS_INDEX(5044) }, /* tv channel lineup */ \ - { 0x0002, ZAP_TYPE(OCTET_STRING), 33, 0, ZAP_LONG_DEFAULTS_INDEX(5077) }, /* current tv channel */ \ + { 0x0000, ZAP_TYPE(ARRAY), 254, 0, ZAP_LONG_DEFAULTS_INDEX(4798) }, /* tv channel list */ \ + { 0x0001, ZAP_TYPE(OCTET_STRING), 33, 0, ZAP_LONG_DEFAULTS_INDEX(5052) }, /* tv channel lineup */ \ + { 0x0002, ZAP_TYPE(OCTET_STRING), 33, 0, ZAP_LONG_DEFAULTS_INDEX(5085) }, /* current tv channel */ \ { 0xFFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \ \ /* Endpoint: 1, Cluster: Target Navigator (server) */ \ - { 0x0000, ZAP_TYPE(ARRAY), 254, 0, ZAP_LONG_DEFAULTS_INDEX(5110) }, /* target navigator list */ \ + { 0x0000, ZAP_TYPE(ARRAY), 254, 0, ZAP_LONG_DEFAULTS_INDEX(5118) }, /* target navigator list */ \ { 0xFFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \ \ /* Endpoint: 1, Cluster: Media Playback (server) */ \ { 0x0000, ZAP_TYPE(ENUM8), 1, 0, ZAP_SIMPLE_DEFAULT(0x00) }, /* playback state */ \ - { 0x0001, ZAP_TYPE(INT64U), 8, 0, ZAP_LONG_DEFAULTS_INDEX(5364) }, /* start time */ \ - { 0x0002, ZAP_TYPE(INT64U), 8, 0, ZAP_LONG_DEFAULTS_INDEX(5372) }, /* duration */ \ - { 0x0003, ZAP_TYPE(INT64U), 8, 0, ZAP_LONG_DEFAULTS_INDEX(5380) }, /* position updated at */ \ - { 0x0004, ZAP_TYPE(INT64U), 8, 0, ZAP_LONG_DEFAULTS_INDEX(5388) }, /* position */ \ - { 0x0005, ZAP_TYPE(INT64U), 8, 0, ZAP_LONG_DEFAULTS_INDEX(5396) }, /* playback speed */ \ - { 0x0006, ZAP_TYPE(INT64U), 8, 0, ZAP_LONG_DEFAULTS_INDEX(5404) }, /* seek range end */ \ - { 0x0007, ZAP_TYPE(INT64U), 8, 0, ZAP_LONG_DEFAULTS_INDEX(5412) }, /* seek range start */ \ + { 0x0001, ZAP_TYPE(INT64U), 8, 0, ZAP_LONG_DEFAULTS_INDEX(5372) }, /* start time */ \ + { 0x0002, ZAP_TYPE(INT64U), 8, 0, ZAP_LONG_DEFAULTS_INDEX(5380) }, /* duration */ \ + { 0x0003, ZAP_TYPE(INT64U), 8, 0, ZAP_LONG_DEFAULTS_INDEX(5388) }, /* position updated at */ \ + { 0x0004, ZAP_TYPE(INT64U), 8, 0, ZAP_LONG_DEFAULTS_INDEX(5396) }, /* position */ \ + { 0x0005, ZAP_TYPE(INT64U), 8, 0, ZAP_LONG_DEFAULTS_INDEX(5404) }, /* playback speed */ \ + { 0x0006, ZAP_TYPE(INT64U), 8, 0, ZAP_LONG_DEFAULTS_INDEX(5412) }, /* seek range end */ \ + { 0x0007, ZAP_TYPE(INT64U), 8, 0, ZAP_LONG_DEFAULTS_INDEX(5420) }, /* seek range start */ \ { 0xFFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \ \ /* Endpoint: 1, Cluster: Media Input (server) */ \ - { 0x0000, ZAP_TYPE(ARRAY), 254, 0, ZAP_LONG_DEFAULTS_INDEX(5420) }, /* media input list */ \ + { 0x0000, ZAP_TYPE(ARRAY), 254, 0, ZAP_LONG_DEFAULTS_INDEX(5428) }, /* media input list */ \ { 0x0001, ZAP_TYPE(INT8U), 1, 0, ZAP_SIMPLE_DEFAULT(0x00) }, /* current media input */ \ { 0xFFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \ \ @@ -2498,27 +2516,27 @@ { 0xFFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \ \ /* Endpoint: 1, Cluster: Content Launcher (server) */ \ - { 0x0000, ZAP_TYPE(ARRAY), 254, 0, ZAP_LONG_DEFAULTS_INDEX(5674) }, /* accepts header list */ \ - { 0x0001, ZAP_TYPE(ARRAY), 254, 0, ZAP_LONG_DEFAULTS_INDEX(5928) }, /* supported streaming types */ \ + { 0x0000, ZAP_TYPE(ARRAY), 254, 0, ZAP_LONG_DEFAULTS_INDEX(5682) }, /* accepts header list */ \ + { 0x0001, ZAP_TYPE(ARRAY), 254, 0, ZAP_LONG_DEFAULTS_INDEX(5936) }, /* supported streaming types */ \ { 0xFFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \ \ /* Endpoint: 1, Cluster: Audio Output (server) */ \ - { 0x0000, ZAP_TYPE(ARRAY), 254, 0, ZAP_LONG_DEFAULTS_INDEX(6182) }, /* audio output list */ \ + { 0x0000, ZAP_TYPE(ARRAY), 254, 0, ZAP_LONG_DEFAULTS_INDEX(6190) }, /* audio output list */ \ { 0x0001, ZAP_TYPE(INT8U), 1, 0, ZAP_SIMPLE_DEFAULT(0x00) }, /* current audio output */ \ { 0xFFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \ \ /* Endpoint: 1, Cluster: Application Launcher (server) */ \ - { 0x0000, ZAP_TYPE(ARRAY), 254, 0, ZAP_LONG_DEFAULTS_INDEX(6436) }, /* application launcher list */ \ + { 0x0000, ZAP_TYPE(ARRAY), 254, 0, ZAP_LONG_DEFAULTS_INDEX(6444) }, /* application launcher list */ \ { 0x0001, ZAP_TYPE(INT8U), 1, 0, ZAP_SIMPLE_DEFAULT(0x00) }, /* catalog vendor id */ \ { 0x0002, ZAP_TYPE(INT8U), 1, 0, ZAP_SIMPLE_DEFAULT(0x00) }, /* application id */ \ { 0xFFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \ \ /* Endpoint: 1, Cluster: Application Basic (server) */ \ - { 0x0000, ZAP_TYPE(CHAR_STRING), 33, 0, ZAP_LONG_DEFAULTS_INDEX(6690) }, /* vendor name */ \ + { 0x0000, ZAP_TYPE(CHAR_STRING), 33, 0, ZAP_LONG_DEFAULTS_INDEX(6698) }, /* vendor name */ \ { 0x0001, ZAP_TYPE(INT16U), 2, 0, ZAP_EMPTY_DEFAULT() }, /* vendor id */ \ - { 0x0002, ZAP_TYPE(CHAR_STRING), 33, 0, ZAP_LONG_DEFAULTS_INDEX(6723) }, /* application name */ \ + { 0x0002, ZAP_TYPE(CHAR_STRING), 33, 0, ZAP_LONG_DEFAULTS_INDEX(6731) }, /* application name */ \ { 0x0003, ZAP_TYPE(INT16U), 2, 0, ZAP_EMPTY_DEFAULT() }, /* product id */ \ - { 0x0005, ZAP_TYPE(CHAR_STRING), 33, 0, ZAP_LONG_DEFAULTS_INDEX(6756) }, /* application id */ \ + { 0x0005, ZAP_TYPE(CHAR_STRING), 33, 0, ZAP_LONG_DEFAULTS_INDEX(6764) }, /* application id */ \ { 0x0006, ZAP_TYPE(INT16U), 2, 0, ZAP_EMPTY_DEFAULT() }, /* catalog vendor id */ \ { 0x0007, ZAP_TYPE(ENUM8), 1, 0, ZAP_SIMPLE_DEFAULT(0x01) }, /* application status */ \ { 0xFFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \ @@ -2530,36 +2548,36 @@ { 0x0000, ZAP_TYPE(BOOLEAN), 1, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_SIMPLE_DEFAULT(false) }, /* boolean */ \ { 0x0001, ZAP_TYPE(BITMAP8), 1, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_SIMPLE_DEFAULT(0) }, /* bitmap8 */ \ { 0x0002, ZAP_TYPE(BITMAP16), 2, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_SIMPLE_DEFAULT(0) }, /* bitmap16 */ \ - { 0x0003, ZAP_TYPE(BITMAP32), 4, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_LONG_DEFAULTS_INDEX(6789) }, /* bitmap32 */ \ - { 0x0004, ZAP_TYPE(BITMAP64), 8, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_LONG_DEFAULTS_INDEX(6793) }, /* bitmap64 */ \ + { 0x0003, ZAP_TYPE(BITMAP32), 4, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_LONG_DEFAULTS_INDEX(6797) }, /* bitmap32 */ \ + { 0x0004, ZAP_TYPE(BITMAP64), 8, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_LONG_DEFAULTS_INDEX(6801) }, /* bitmap64 */ \ { 0x0005, ZAP_TYPE(INT8U), 1, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_SIMPLE_DEFAULT(0) }, /* int8u */ \ { 0x0006, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_SIMPLE_DEFAULT(0) }, /* int16u */ \ - { 0x0008, ZAP_TYPE(INT32U), 4, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_LONG_DEFAULTS_INDEX(6801) }, /* int32u */ \ - { 0x000C, ZAP_TYPE(INT64U), 8, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_LONG_DEFAULTS_INDEX(6805) }, /* int64u */ \ + { 0x0008, ZAP_TYPE(INT32U), 4, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_LONG_DEFAULTS_INDEX(6809) }, /* int32u */ \ + { 0x000C, ZAP_TYPE(INT64U), 8, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_LONG_DEFAULTS_INDEX(6813) }, /* int64u */ \ { 0x000D, ZAP_TYPE(INT8S), 1, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_SIMPLE_DEFAULT(0) }, /* int8s */ \ { 0x000E, ZAP_TYPE(INT16S), 2, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_SIMPLE_DEFAULT(0) }, /* int16s */ \ - { 0x0010, ZAP_TYPE(INT32S), 4, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_LONG_DEFAULTS_INDEX(6813) }, /* int32s */ \ - { 0x0014, ZAP_TYPE(INT64S), 8, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_LONG_DEFAULTS_INDEX(6817) }, /* int64s */ \ + { 0x0010, ZAP_TYPE(INT32S), 4, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_LONG_DEFAULTS_INDEX(6821) }, /* int32s */ \ + { 0x0014, ZAP_TYPE(INT64S), 8, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_LONG_DEFAULTS_INDEX(6825) }, /* int64s */ \ { 0x0015, ZAP_TYPE(ENUM8), 1, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_SIMPLE_DEFAULT(0) }, /* enum8 */ \ { 0x0016, ZAP_TYPE(ENUM16), 2, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_SIMPLE_DEFAULT(0) }, /* enum16 */ \ { 0x0019, ZAP_TYPE(OCTET_STRING), 11, ZAP_ATTRIBUTE_MASK(WRITABLE), \ - ZAP_LONG_DEFAULTS_INDEX(6825) }, /* octet_string */ \ - { 0x001A, ZAP_TYPE(ARRAY), 10, 0, ZAP_LONG_DEFAULTS_INDEX(6836) }, /* list_int8u */ \ - { 0x001B, ZAP_TYPE(ARRAY), 254, 0, ZAP_LONG_DEFAULTS_INDEX(6846) }, /* list_octet_string */ \ - { 0x001C, ZAP_TYPE(ARRAY), 254, 0, ZAP_LONG_DEFAULTS_INDEX(7100) }, /* list_struct_octet_string */ \ + ZAP_LONG_DEFAULTS_INDEX(6833) }, /* octet_string */ \ + { 0x001A, ZAP_TYPE(ARRAY), 10, 0, ZAP_LONG_DEFAULTS_INDEX(6844) }, /* list_int8u */ \ + { 0x001B, ZAP_TYPE(ARRAY), 254, 0, ZAP_LONG_DEFAULTS_INDEX(6854) }, /* list_octet_string */ \ + { 0x001C, ZAP_TYPE(ARRAY), 254, 0, ZAP_LONG_DEFAULTS_INDEX(7108) }, /* list_struct_octet_string */ \ { 0x001D, ZAP_TYPE(LONG_OCTET_STRING), 1002, ZAP_ATTRIBUTE_MASK(WRITABLE), \ - ZAP_LONG_DEFAULTS_INDEX(7354) }, /* long_octet_string */ \ - { 0x001E, ZAP_TYPE(CHAR_STRING), 11, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_LONG_DEFAULTS_INDEX(8356) }, /* char_string */ \ + ZAP_LONG_DEFAULTS_INDEX(7362) }, /* long_octet_string */ \ + { 0x001E, ZAP_TYPE(CHAR_STRING), 11, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_LONG_DEFAULTS_INDEX(8364) }, /* char_string */ \ { 0x001F, ZAP_TYPE(LONG_CHAR_STRING), 1002, ZAP_ATTRIBUTE_MASK(WRITABLE), \ - ZAP_LONG_DEFAULTS_INDEX(8367) }, /* long_char_string */ \ - { 0x0020, ZAP_TYPE(EPOCH_US), 8, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_LONG_DEFAULTS_INDEX(9369) }, /* epoch_us */ \ - { 0x0021, ZAP_TYPE(EPOCH_S), 4, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_LONG_DEFAULTS_INDEX(9377) }, /* epoch_s */ \ + ZAP_LONG_DEFAULTS_INDEX(8375) }, /* long_char_string */ \ + { 0x0020, ZAP_TYPE(EPOCH_US), 8, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_LONG_DEFAULTS_INDEX(9377) }, /* epoch_us */ \ + { 0x0021, ZAP_TYPE(EPOCH_S), 4, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_LONG_DEFAULTS_INDEX(9385) }, /* epoch_s */ \ { 0x0022, ZAP_TYPE(VENDOR_ID), 2, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_EMPTY_DEFAULT() }, /* vendor_id */ \ { 0xFFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \ \ /* Endpoint: 1, Cluster: Electrical Measurement (server) */ \ - { 0x0000, ZAP_TYPE(BITMAP32), 4, 0, ZAP_LONG_DEFAULTS_INDEX(9381) }, /* measurement type */ \ - { 0x0304, ZAP_TYPE(INT32S), 4, 0, ZAP_LONG_DEFAULTS_INDEX(9385) }, /* total active power */ \ + { 0x0000, ZAP_TYPE(BITMAP32), 4, 0, ZAP_LONG_DEFAULTS_INDEX(9389) }, /* measurement type */ \ + { 0x0304, ZAP_TYPE(INT32S), 4, 0, ZAP_LONG_DEFAULTS_INDEX(9393) }, /* total active power */ \ { 0x0505, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0xffff) }, /* rms voltage */ \ { 0x0506, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x8000) }, /* rms voltage min */ \ { 0x0507, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x8000) }, /* rms voltage max */ \ @@ -2580,7 +2598,7 @@ { 0x4001, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_SIMPLE_DEFAULT(0) }, /* OnTime */ \ { 0x4002, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_SIMPLE_DEFAULT(0) }, /* OffWaitTime */ \ { 0x4003, ZAP_TYPE(ENUM8), 1, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_EMPTY_DEFAULT() }, /* StartUpOnOff */ \ - { 0xFFFC, ZAP_TYPE(BITMAP32), 4, 0, ZAP_LONG_DEFAULTS_INDEX(9389) }, /* FeatureMap */ \ + { 0xFFFC, ZAP_TYPE(BITMAP32), 4, 0, ZAP_LONG_DEFAULTS_INDEX(9397) }, /* FeatureMap */ \ { 0xFFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(4) }, /* ClusterRevision */ \ \ /* Endpoint: 2, Cluster: Descriptor (server) */ \ @@ -2656,7 +2674,7 @@ }; #define ZAP_CLUSTER_MASK(mask) CLUSTER_MASK_##mask -#define GENERATED_CLUSTER_COUNT 63 +#define GENERATED_CLUSTER_COUNT 64 #define GENERATED_CLUSTERS \ { \ { 0x0003, \ @@ -2726,184 +2744,187 @@ 0x003E, ZAP_ATTRIBUTE_INDEX(135), 5, 724, ZAP_CLUSTER_MASK(SERVER), NULL \ }, /* Endpoint: 0, Cluster: Operational Credentials (server) */ \ { \ - 0x0405, ZAP_ATTRIBUTE_INDEX(140), 4, 8, ZAP_CLUSTER_MASK(SERVER), NULL \ + 0x0050, ZAP_ATTRIBUTE_INDEX(140), 6, 13, ZAP_CLUSTER_MASK(SERVER), NULL \ + }, /* Endpoint: 0, Cluster: Mode Select Cluster (server) */ \ + { \ + 0x0405, ZAP_ATTRIBUTE_INDEX(146), 4, 8, ZAP_CLUSTER_MASK(SERVER), NULL \ }, /* Endpoint: 0, Cluster: Relative Humidity Measurement (server) */ \ { \ - 0xF000, ZAP_ATTRIBUTE_INDEX(144), 1, 2, ZAP_CLUSTER_MASK(SERVER), NULL \ + 0xF000, ZAP_ATTRIBUTE_INDEX(150), 1, 2, ZAP_CLUSTER_MASK(SERVER), NULL \ }, /* Endpoint: 0, Cluster: Binding (server) */ \ { \ - 0xF004, ZAP_ATTRIBUTE_INDEX(145), 3, 510, ZAP_CLUSTER_MASK(SERVER), NULL \ + 0xF004, ZAP_ATTRIBUTE_INDEX(151), 3, 510, ZAP_CLUSTER_MASK(SERVER), NULL \ }, /* Endpoint: 0, Cluster: Group Key Management (server) */ \ { 0x0003, \ - ZAP_ATTRIBUTE_INDEX(148), \ + ZAP_ATTRIBUTE_INDEX(154), \ 3, \ 5, \ ZAP_CLUSTER_MASK(SERVER) | ZAP_CLUSTER_MASK(INIT_FUNCTION) | ZAP_CLUSTER_MASK(ATTRIBUTE_CHANGED_FUNCTION), \ chipFuncArrayIdentifyServer }, /* Endpoint: 1, Cluster: Identify (server) */ \ { 0x0004, \ - ZAP_ATTRIBUTE_INDEX(151), \ + ZAP_ATTRIBUTE_INDEX(157), \ 2, \ 3, \ ZAP_CLUSTER_MASK(SERVER) | ZAP_CLUSTER_MASK(INIT_FUNCTION), \ chipFuncArrayGroupsServer }, /* Endpoint: 1, Cluster: Groups (server) */ \ { 0x0005, \ - ZAP_ATTRIBUTE_INDEX(153), \ + ZAP_ATTRIBUTE_INDEX(159), \ 6, \ 8, \ ZAP_CLUSTER_MASK(SERVER) | ZAP_CLUSTER_MASK(INIT_FUNCTION), \ chipFuncArrayScenesServer }, /* Endpoint: 1, Cluster: Scenes (server) */ \ { 0x0006, \ - ZAP_ATTRIBUTE_INDEX(159), \ + ZAP_ATTRIBUTE_INDEX(165), \ 7, \ 13, \ ZAP_CLUSTER_MASK(SERVER) | ZAP_CLUSTER_MASK(INIT_FUNCTION), \ chipFuncArrayOnOffServer }, /* Endpoint: 1, Cluster: On/Off (server) */ \ { \ - 0x0007, ZAP_ATTRIBUTE_INDEX(166), 3, 4, ZAP_CLUSTER_MASK(SERVER), NULL \ + 0x0007, ZAP_ATTRIBUTE_INDEX(172), 3, 4, ZAP_CLUSTER_MASK(SERVER), NULL \ }, /* Endpoint: 1, Cluster: On/off Switch Configuration (server) */ \ { 0x0008, \ - ZAP_ATTRIBUTE_INDEX(169), \ + ZAP_ATTRIBUTE_INDEX(175), \ 15, \ 23, \ ZAP_CLUSTER_MASK(SERVER) | ZAP_CLUSTER_MASK(INIT_FUNCTION), \ chipFuncArrayLevelControlServer }, /* Endpoint: 1, Cluster: Level Control (server) */ \ { \ - 0x000F, ZAP_ATTRIBUTE_INDEX(184), 4, 5, ZAP_CLUSTER_MASK(SERVER), NULL \ + 0x000F, ZAP_ATTRIBUTE_INDEX(190), 4, 5, ZAP_CLUSTER_MASK(SERVER), NULL \ }, /* Endpoint: 1, Cluster: Binary Input (Basic) (server) */ \ { \ - 0x001D, ZAP_ATTRIBUTE_INDEX(188), 5, 2, ZAP_CLUSTER_MASK(SERVER), NULL \ + 0x001D, ZAP_ATTRIBUTE_INDEX(194), 5, 2, ZAP_CLUSTER_MASK(SERVER), NULL \ }, /* Endpoint: 1, Cluster: Descriptor (server) */ \ { \ - 0x002F, ZAP_ATTRIBUTE_INDEX(193), 11, 88, ZAP_CLUSTER_MASK(SERVER), NULL \ + 0x002F, ZAP_ATTRIBUTE_INDEX(199), 11, 88, ZAP_CLUSTER_MASK(SERVER), NULL \ }, /* Endpoint: 1, Cluster: Power Source (server) */ \ { \ - 0x0039, ZAP_ATTRIBUTE_INDEX(204), 15, 865, ZAP_CLUSTER_MASK(SERVER), NULL \ + 0x0039, ZAP_ATTRIBUTE_INDEX(210), 15, 865, ZAP_CLUSTER_MASK(SERVER), NULL \ }, /* Endpoint: 1, Cluster: Bridged Device Basic (server) */ \ { \ - 0x003B, ZAP_ATTRIBUTE_INDEX(219), 3, 4, ZAP_CLUSTER_MASK(SERVER), NULL \ + 0x003B, ZAP_ATTRIBUTE_INDEX(225), 3, 4, ZAP_CLUSTER_MASK(SERVER), NULL \ }, /* Endpoint: 1, Cluster: Switch (server) */ \ { \ - 0x0040, ZAP_ATTRIBUTE_INDEX(222), 2, 256, ZAP_CLUSTER_MASK(SERVER), NULL \ + 0x0040, ZAP_ATTRIBUTE_INDEX(228), 2, 256, ZAP_CLUSTER_MASK(SERVER), NULL \ }, /* Endpoint: 1, Cluster: Fixed Label (server) */ \ { \ - 0x0045, ZAP_ATTRIBUTE_INDEX(224), 2, 3, ZAP_CLUSTER_MASK(SERVER), NULL \ + 0x0045, ZAP_ATTRIBUTE_INDEX(230), 2, 3, ZAP_CLUSTER_MASK(SERVER), NULL \ }, /* Endpoint: 1, Cluster: Boolean State (server) */ \ { 0x0101, \ - ZAP_ATTRIBUTE_INDEX(226), \ + ZAP_ATTRIBUTE_INDEX(232), \ 4, \ 5, \ ZAP_CLUSTER_MASK(SERVER) | ZAP_CLUSTER_MASK(ATTRIBUTE_CHANGED_FUNCTION), \ chipFuncArrayDoorLockServer }, /* Endpoint: 1, Cluster: Door Lock (server) */ \ { \ - 0x0102, ZAP_ATTRIBUTE_INDEX(230), 19, 31, ZAP_CLUSTER_MASK(SERVER), NULL \ + 0x0102, ZAP_ATTRIBUTE_INDEX(236), 19, 31, ZAP_CLUSTER_MASK(SERVER), NULL \ }, /* Endpoint: 1, Cluster: Window Covering (server) */ \ { \ - 0x0103, ZAP_ATTRIBUTE_INDEX(249), 5, 7, ZAP_CLUSTER_MASK(SERVER), NULL \ + 0x0103, ZAP_ATTRIBUTE_INDEX(255), 5, 7, ZAP_CLUSTER_MASK(SERVER), NULL \ }, /* Endpoint: 1, Cluster: Barrier Control (server) */ \ { \ 0x0200, \ - ZAP_ATTRIBUTE_INDEX(254), \ + ZAP_ATTRIBUTE_INDEX(260), \ 24, \ 48, \ ZAP_CLUSTER_MASK(SERVER) | ZAP_CLUSTER_MASK(INIT_FUNCTION) | ZAP_CLUSTER_MASK(ATTRIBUTE_CHANGED_FUNCTION), \ chipFuncArrayPumpConfigurationAndControlServer \ }, /* Endpoint: 1, Cluster: Pump Configuration and Control (server) */ \ { \ - 0x0201, ZAP_ATTRIBUTE_INDEX(278), 18, 33, ZAP_CLUSTER_MASK(SERVER), NULL \ + 0x0201, ZAP_ATTRIBUTE_INDEX(284), 18, 33, ZAP_CLUSTER_MASK(SERVER), NULL \ }, /* Endpoint: 1, Cluster: Thermostat (server) */ \ { \ - 0x0204, ZAP_ATTRIBUTE_INDEX(296), 4, 5, ZAP_CLUSTER_MASK(SERVER), NULL \ + 0x0204, ZAP_ATTRIBUTE_INDEX(302), 4, 5, ZAP_CLUSTER_MASK(SERVER), NULL \ }, /* Endpoint: 1, Cluster: Thermostat User Interface Configuration (server) */ \ { 0x0300, \ - ZAP_ATTRIBUTE_INDEX(300), \ + ZAP_ATTRIBUTE_INDEX(306), \ 53, \ 341, \ ZAP_CLUSTER_MASK(SERVER) | ZAP_CLUSTER_MASK(INIT_FUNCTION), \ chipFuncArrayColorControlServer }, /* Endpoint: 1, Cluster: Color Control (server) */ \ { \ - 0x0400, ZAP_ATTRIBUTE_INDEX(353), 6, 11, ZAP_CLUSTER_MASK(SERVER), NULL \ + 0x0400, ZAP_ATTRIBUTE_INDEX(359), 6, 11, ZAP_CLUSTER_MASK(SERVER), NULL \ }, /* Endpoint: 1, Cluster: Illuminance Measurement (server) */ \ { \ - 0x0402, ZAP_ATTRIBUTE_INDEX(359), 4, 8, ZAP_CLUSTER_MASK(SERVER), NULL \ + 0x0402, ZAP_ATTRIBUTE_INDEX(365), 4, 8, ZAP_CLUSTER_MASK(SERVER), NULL \ }, /* Endpoint: 1, Cluster: Temperature Measurement (server) */ \ { \ - 0x0403, ZAP_ATTRIBUTE_INDEX(363), 4, 8, ZAP_CLUSTER_MASK(SERVER), NULL \ + 0x0403, ZAP_ATTRIBUTE_INDEX(369), 4, 8, ZAP_CLUSTER_MASK(SERVER), NULL \ }, /* Endpoint: 1, Cluster: Pressure Measurement (server) */ \ { \ - 0x0404, ZAP_ATTRIBUTE_INDEX(367), 4, 8, ZAP_CLUSTER_MASK(SERVER), NULL \ + 0x0404, ZAP_ATTRIBUTE_INDEX(373), 4, 8, ZAP_CLUSTER_MASK(SERVER), NULL \ }, /* Endpoint: 1, Cluster: Flow Measurement (server) */ \ { \ - 0x0405, ZAP_ATTRIBUTE_INDEX(371), 4, 8, ZAP_CLUSTER_MASK(SERVER), NULL \ + 0x0405, ZAP_ATTRIBUTE_INDEX(377), 4, 8, ZAP_CLUSTER_MASK(SERVER), NULL \ }, /* Endpoint: 1, Cluster: Relative Humidity Measurement (server) */ \ { 0x0406, \ - ZAP_ATTRIBUTE_INDEX(375), \ + ZAP_ATTRIBUTE_INDEX(381), \ 4, \ 5, \ ZAP_CLUSTER_MASK(SERVER) | ZAP_CLUSTER_MASK(INIT_FUNCTION), \ chipFuncArrayOccupancySensingServer }, /* Endpoint: 1, Cluster: Occupancy Sensing (server) */ \ { 0x0500, \ - ZAP_ATTRIBUTE_INDEX(379), \ + ZAP_ATTRIBUTE_INDEX(385), \ 6, \ 16, \ ZAP_CLUSTER_MASK(SERVER) | ZAP_CLUSTER_MASK(INIT_FUNCTION) | ZAP_CLUSTER_MASK(PRE_ATTRIBUTE_CHANGED_FUNCTION) | \ ZAP_CLUSTER_MASK(MESSAGE_SENT_FUNCTION), \ chipFuncArrayIasZoneServer }, /* Endpoint: 1, Cluster: IAS Zone (server) */ \ { \ - 0x0503, ZAP_ATTRIBUTE_INDEX(385), 2, 35, ZAP_CLUSTER_MASK(SERVER), NULL \ + 0x0503, ZAP_ATTRIBUTE_INDEX(391), 2, 35, ZAP_CLUSTER_MASK(SERVER), NULL \ }, /* Endpoint: 1, Cluster: Wake on LAN (server) */ \ { \ - 0x0504, ZAP_ATTRIBUTE_INDEX(387), 4, 322, ZAP_CLUSTER_MASK(SERVER), NULL \ + 0x0504, ZAP_ATTRIBUTE_INDEX(393), 4, 322, ZAP_CLUSTER_MASK(SERVER), NULL \ }, /* Endpoint: 1, Cluster: TV Channel (server) */ \ { \ - 0x0505, ZAP_ATTRIBUTE_INDEX(391), 2, 256, ZAP_CLUSTER_MASK(SERVER), NULL \ + 0x0505, ZAP_ATTRIBUTE_INDEX(397), 2, 256, ZAP_CLUSTER_MASK(SERVER), NULL \ }, /* Endpoint: 1, Cluster: Target Navigator (server) */ \ { \ - 0x0506, ZAP_ATTRIBUTE_INDEX(393), 9, 59, ZAP_CLUSTER_MASK(SERVER), NULL \ + 0x0506, ZAP_ATTRIBUTE_INDEX(399), 9, 59, ZAP_CLUSTER_MASK(SERVER), NULL \ }, /* Endpoint: 1, Cluster: Media Playback (server) */ \ { \ - 0x0507, ZAP_ATTRIBUTE_INDEX(402), 3, 257, ZAP_CLUSTER_MASK(SERVER), NULL \ + 0x0507, ZAP_ATTRIBUTE_INDEX(408), 3, 257, ZAP_CLUSTER_MASK(SERVER), NULL \ }, /* Endpoint: 1, Cluster: Media Input (server) */ \ { \ - 0x0508, ZAP_ATTRIBUTE_INDEX(405), 1, 2, ZAP_CLUSTER_MASK(SERVER), NULL \ + 0x0508, ZAP_ATTRIBUTE_INDEX(411), 1, 2, ZAP_CLUSTER_MASK(SERVER), NULL \ }, /* Endpoint: 1, Cluster: Low Power (server) */ \ { \ - 0x0509, ZAP_ATTRIBUTE_INDEX(406), 1, 2, ZAP_CLUSTER_MASK(SERVER), NULL \ + 0x0509, ZAP_ATTRIBUTE_INDEX(412), 1, 2, ZAP_CLUSTER_MASK(SERVER), NULL \ }, /* Endpoint: 1, Cluster: Keypad Input (server) */ \ { \ - 0x050A, ZAP_ATTRIBUTE_INDEX(407), 3, 510, ZAP_CLUSTER_MASK(SERVER), NULL \ + 0x050A, ZAP_ATTRIBUTE_INDEX(413), 3, 510, ZAP_CLUSTER_MASK(SERVER), NULL \ }, /* Endpoint: 1, Cluster: Content Launcher (server) */ \ { \ - 0x050B, ZAP_ATTRIBUTE_INDEX(410), 3, 257, ZAP_CLUSTER_MASK(SERVER), NULL \ + 0x050B, ZAP_ATTRIBUTE_INDEX(416), 3, 257, ZAP_CLUSTER_MASK(SERVER), NULL \ }, /* Endpoint: 1, Cluster: Audio Output (server) */ \ { \ - 0x050C, ZAP_ATTRIBUTE_INDEX(413), 4, 258, ZAP_CLUSTER_MASK(SERVER), NULL \ + 0x050C, ZAP_ATTRIBUTE_INDEX(419), 4, 258, ZAP_CLUSTER_MASK(SERVER), NULL \ }, /* Endpoint: 1, Cluster: Application Launcher (server) */ \ { \ - 0x050D, ZAP_ATTRIBUTE_INDEX(417), 8, 108, ZAP_CLUSTER_MASK(SERVER), NULL \ + 0x050D, ZAP_ATTRIBUTE_INDEX(423), 8, 108, ZAP_CLUSTER_MASK(SERVER), NULL \ }, /* Endpoint: 1, Cluster: Application Basic (server) */ \ { \ - 0x050E, ZAP_ATTRIBUTE_INDEX(425), 1, 2, ZAP_CLUSTER_MASK(SERVER), NULL \ + 0x050E, ZAP_ATTRIBUTE_INDEX(431), 1, 2, ZAP_CLUSTER_MASK(SERVER), NULL \ }, /* Endpoint: 1, Cluster: Account Login (server) */ \ { \ - 0x050F, ZAP_ATTRIBUTE_INDEX(426), 26, 2609, ZAP_CLUSTER_MASK(SERVER), NULL \ + 0x050F, ZAP_ATTRIBUTE_INDEX(432), 26, 2609, ZAP_CLUSTER_MASK(SERVER), NULL \ }, /* Endpoint: 1, Cluster: Test Cluster (server) */ \ { \ - 0x0B04, ZAP_ATTRIBUTE_INDEX(452), 12, 28, ZAP_CLUSTER_MASK(SERVER), NULL \ + 0x0B04, ZAP_ATTRIBUTE_INDEX(458), 12, 28, ZAP_CLUSTER_MASK(SERVER), NULL \ }, /* Endpoint: 1, Cluster: Electrical Measurement (server) */ \ { \ - 0xF000, ZAP_ATTRIBUTE_INDEX(464), 1, 2, ZAP_CLUSTER_MASK(SERVER), NULL \ + 0xF000, ZAP_ATTRIBUTE_INDEX(470), 1, 2, ZAP_CLUSTER_MASK(SERVER), NULL \ }, /* Endpoint: 1, Cluster: Binding (server) */ \ { 0x0006, \ - ZAP_ATTRIBUTE_INDEX(465), \ + ZAP_ATTRIBUTE_INDEX(471), \ 7, \ 13, \ ZAP_CLUSTER_MASK(SERVER) | ZAP_CLUSTER_MASK(INIT_FUNCTION), \ chipFuncArrayOnOffServer }, /* Endpoint: 2, Cluster: On/Off (server) */ \ { \ - 0x001D, ZAP_ATTRIBUTE_INDEX(472), 5, 2, ZAP_CLUSTER_MASK(SERVER), NULL \ + 0x001D, ZAP_ATTRIBUTE_INDEX(478), 5, 2, ZAP_CLUSTER_MASK(SERVER), NULL \ }, /* Endpoint: 2, Cluster: Descriptor (server) */ \ { 0x0406, \ - ZAP_ATTRIBUTE_INDEX(477), \ + ZAP_ATTRIBUTE_INDEX(483), \ 4, \ 5, \ ZAP_CLUSTER_MASK(SERVER) | ZAP_CLUSTER_MASK(INIT_FUNCTION), \ @@ -2915,7 +2936,7 @@ // This is an array of EmberAfEndpointType structures. #define GENERATED_ENDPOINT_TYPES \ { \ - { ZAP_CLUSTER_INDEX(0), 18, 3376 }, { ZAP_CLUSTER_INDEX(18), 42, 6520 }, { ZAP_CLUSTER_INDEX(60), 3, 20 }, \ + { ZAP_CLUSTER_INDEX(0), 19, 3389 }, { ZAP_CLUSTER_INDEX(19), 42, 6520 }, { ZAP_CLUSTER_INDEX(61), 3, 20 }, \ } // Largest attribute size is needed for various buffers @@ -2925,7 +2946,7 @@ #define ATTRIBUTE_SINGLETONS_SIZE (1518) // Total size of attribute storage -#define ATTRIBUTE_MAX_SIZE (9916) +#define ATTRIBUTE_MAX_SIZE (9929) // Number of fixed endpoints #define FIXED_ENDPOINT_COUNT (3) diff --git a/zzz_generated/all-clusters-app/zap-generated/gen_config.h b/zzz_generated/all-clusters-app/zap-generated/gen_config.h index 9f041cfc66ebb5..82f461a274a3fb 100644 --- a/zzz_generated/all-clusters-app/zap-generated/gen_config.h +++ b/zzz_generated/all-clusters-app/zap-generated/gen_config.h @@ -61,6 +61,7 @@ #define EMBER_AF_LOW_POWER_CLUSTER_SERVER_ENDPOINT_COUNT (1) #define EMBER_AF_MEDIA_INPUT_CLUSTER_SERVER_ENDPOINT_COUNT (1) #define EMBER_AF_MEDIA_PLAYBACK_CLUSTER_SERVER_ENDPOINT_COUNT (1) +#define EMBER_AF_MODE_SELECT_CLUSTER_SERVER_ENDPOINT_COUNT (1) #define EMBER_AF_NETWORK_COMMISSIONING_CLUSTER_SERVER_ENDPOINT_COUNT (1) #define EMBER_AF_OTA_PROVIDER_CLUSTER_SERVER_ENDPOINT_COUNT (1) #define EMBER_AF_OTA_REQUESTOR_CLUSTER_SERVER_ENDPOINT_COUNT (1) @@ -258,6 +259,11 @@ #define EMBER_AF_PLUGIN_MEDIA_PLAYBACK_SERVER #define EMBER_AF_PLUGIN_MEDIA_PLAYBACK +// Use this macro to check if the server side of the Mode Select Cluster cluster is included +#define ZCL_USING_MODE_SELECT_CLUSTER_SERVER +#define EMBER_AF_PLUGIN_MODE_SELECT_CLUSTER_SERVER +#define EMBER_AF_PLUGIN_MODE_SELECT_CLUSTER + // Use this macro to check if the server side of the Network Commissioning cluster is included #define ZCL_USING_NETWORK_COMMISSIONING_CLUSTER_SERVER #define EMBER_AF_PLUGIN_NETWORK_COMMISSIONING_SERVER diff --git a/zzz_generated/app-common/app-common/zap-generated/af-structs.h b/zzz_generated/app-common/app-common/zap-generated/af-structs.h index c8fe0aec8c193e..f51daaf216f503 100644 --- a/zzz_generated/app-common/app-common/zap-generated/af-structs.h +++ b/zzz_generated/app-common/app-common/zap-generated/af-structs.h @@ -208,6 +208,14 @@ typedef struct _MediaPlaybackPosition uint64_t position; } MediaPlaybackPosition; +// Struct for ModeOptionStruct +typedef struct _ModeOptionStruct +{ + chip::CharSpan Label; + uint8_t Mode; + uint32_t SemanticTag; +} ModeOptionStruct; + // Struct for NOCStruct typedef struct _NOCStruct { @@ -346,6 +354,13 @@ typedef struct _SecurityPolicy uint16_t Flags; } SecurityPolicy; +// Struct for SemanticTag +typedef struct _SemanticTag +{ + uint16_t MfgCode; + uint16_t Value; +} SemanticTag; + // Struct for TestListStructOctet typedef struct _TestListStructOctet { diff --git a/zzz_generated/app-common/app-common/zap-generated/attribute-id.h b/zzz_generated/app-common/app-common/zap-generated/attribute-id.h index 46cd927b41bbec..85ec8c0b9b4787 100644 --- a/zzz_generated/app-common/app-common/zap-generated/attribute-id.h +++ b/zzz_generated/app-common/app-common/zap-generated/attribute-id.h @@ -538,6 +538,17 @@ // Server attributes #define ZCL_STATE_VALUE_ATTRIBUTE_ID (0x0000) +// Attribute ids for cluster: Mode Select Cluster + +// Client attributes + +// Server attributes +#define ZCL_CURRENT_MODE_ATTRIBUTE_ID (0x0000) +#define ZCL_SUPPORTED_MODES_ATTRIBUTE_ID (0x0001) +#define ZCL_ON_MODE_ATTRIBUTE_ID (0x0002) +#define ZCL_START_UP_MODE_ATTRIBUTE_ID (0x0003) +#define ZCL_MODE_DESCRIPTION_ATTRIBUTE_ID (0x0004) + // Attribute ids for cluster: Shade Configuration // Client attributes diff --git a/zzz_generated/app-common/app-common/zap-generated/attributes/Accessors.cpp b/zzz_generated/app-common/app-common/zap-generated/attributes/Accessors.cpp index bf5d95ffcda327..d73890378ca187 100644 --- a/zzz_generated/app-common/app-common/zap-generated/attributes/Accessors.cpp +++ b/zzz_generated/app-common/app-common/zap-generated/attributes/Accessors.cpp @@ -3907,6 +3907,54 @@ EmberAfStatus Set(chip::EndpointId endpoint, bool stateValue) } // namespace Attributes } // namespace BooleanState +namespace ModeSelectCluster { +namespace Attributes { + +namespace CurrentMode { + +EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * currentMode) +{ + return emberAfReadServerAttribute(endpoint, Clusters::ModeSelectCluster::Id, Id, (uint8_t *) currentMode, sizeof(*currentMode)); +} +EmberAfStatus Set(chip::EndpointId endpoint, uint8_t currentMode) +{ + return emberAfWriteServerAttribute(endpoint, Clusters::ModeSelectCluster::Id, Id, (uint8_t *) ¤tMode, + ZCL_INT8U_ATTRIBUTE_TYPE); +} + +} // namespace CurrentMode + +namespace OnMode { + +EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * onMode) +{ + return emberAfReadServerAttribute(endpoint, Clusters::ModeSelectCluster::Id, Id, (uint8_t *) onMode, sizeof(*onMode)); +} +EmberAfStatus Set(chip::EndpointId endpoint, uint8_t onMode) +{ + return emberAfWriteServerAttribute(endpoint, Clusters::ModeSelectCluster::Id, Id, (uint8_t *) &onMode, + ZCL_INT8U_ATTRIBUTE_TYPE); +} + +} // namespace OnMode + +namespace StartUpMode { + +EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * startUpMode) +{ + return emberAfReadServerAttribute(endpoint, Clusters::ModeSelectCluster::Id, Id, (uint8_t *) startUpMode, sizeof(*startUpMode)); +} +EmberAfStatus Set(chip::EndpointId endpoint, uint8_t startUpMode) +{ + return emberAfWriteServerAttribute(endpoint, Clusters::ModeSelectCluster::Id, Id, (uint8_t *) &startUpMode, + ZCL_INT8U_ATTRIBUTE_TYPE); +} + +} // namespace StartUpMode + +} // namespace Attributes +} // namespace ModeSelectCluster + namespace ShadeConfiguration { namespace Attributes { diff --git a/zzz_generated/app-common/app-common/zap-generated/attributes/Accessors.h b/zzz_generated/app-common/app-common/zap-generated/attributes/Accessors.h index f6228e6328a6ac..9543fe26bda652 100644 --- a/zzz_generated/app-common/app-common/zap-generated/attributes/Accessors.h +++ b/zzz_generated/app-common/app-common/zap-generated/attributes/Accessors.h @@ -1470,6 +1470,27 @@ EmberAfStatus Set(chip::EndpointId endpoint, bool stateValue); } // namespace Attributes } // namespace BooleanState +namespace ModeSelectCluster { +namespace Attributes { + +namespace CurrentMode { +EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * currentMode); // int8u +EmberAfStatus Set(chip::EndpointId endpoint, uint8_t currentMode); +} // namespace CurrentMode + +namespace OnMode { +EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * onMode); // int8u +EmberAfStatus Set(chip::EndpointId endpoint, uint8_t onMode); +} // namespace OnMode + +namespace StartUpMode { +EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * startUpMode); // int8u +EmberAfStatus Set(chip::EndpointId endpoint, uint8_t startUpMode); +} // namespace StartUpMode + +} // namespace Attributes +} // namespace ModeSelectCluster + namespace ShadeConfiguration { namespace Attributes { diff --git a/zzz_generated/app-common/app-common/zap-generated/callback.h b/zzz_generated/app-common/app-common/zap-generated/callback.h index 4548ae7c8d6a8a..f1c9da2fc9fbec 100644 --- a/zzz_generated/app-common/app-common/zap-generated/callback.h +++ b/zzz_generated/app-common/app-common/zap-generated/callback.h @@ -310,6 +310,14 @@ void emberAfFixedLabelClusterInitCallback(chip::EndpointId endpoint); */ void emberAfBooleanStateClusterInitCallback(chip::EndpointId endpoint); +/** @brief Mode Select Cluster Cluster Init + * + * Cluster Init + * + * @param endpoint Endpoint that is being initialized + */ +void emberAfModeSelectClusterClusterInitCallback(chip::EndpointId endpoint); + /** @brief Shade Configuration Cluster Init * * Cluster Init @@ -4336,6 +4344,112 @@ void emberAfBooleanStateClusterServerTickCallback(chip::EndpointId endpoint); */ void emberAfBooleanStateClusterClientTickCallback(chip::EndpointId endpoint); +// +// Mode Select Cluster Cluster +// + +/** @brief Mode Select Cluster Cluster Server Init + * + * Server Init + * + * @param endpoint Endpoint that is being initialized + */ +void emberAfModeSelectClusterClusterServerInitCallback(chip::EndpointId endpoint); + +/** @brief Mode Select Cluster Cluster Client Init + * + * Client Init + * + * @param endpoint Endpoint that is being initialized + */ +void emberAfModeSelectClusterClusterClientInitCallback(chip::EndpointId endpoint); + +/** @brief Mode Select Cluster Cluster Server Attribute Changed + * + * Server Attribute Changed + * + * @param attributePath Concrete attribute path that changed + */ +void MatterModeSelectClusterClusterServerAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); + +/** @brief Mode Select Cluster Cluster Client Attribute Changed + * + * Client Attribute Changed + * + * @param attributePath Concrete attribute path that changed + */ +void MatterModeSelectClusterClusterClientAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath); + +/** @brief Mode Select Cluster Cluster Server Message Sent + * + * Server Message Sent + * + * @param destination The destination to which the message was sent + * @param apsFrame The APS frame for the message + * @param msgLen The length of the message + * @param message The message that was sent + * @param status The status of the sent message + */ +void emberAfModeSelectClusterClusterServerMessageSentCallback(const chip::MessageSendDestination & destination, + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); + +/** @brief Mode Select Cluster Cluster Client Message Sent + * + * Client Message Sent + * + * @param destination The destination to which the message was sent + * @param apsFrame The APS frame for the message + * @param msgLen The length of the message + * @param message The message that was sent + * @param status The status of the sent message + */ +void emberAfModeSelectClusterClusterClientMessageSentCallback(const chip::MessageSendDestination & destination, + EmberApsFrame * apsFrame, uint16_t msgLen, uint8_t * message, + EmberStatus status); + +/** @brief Mode Select Cluster Cluster Server Pre Attribute Changed + * + * Server Pre Attribute Changed + * + * @param attributePath Concrete attribute path to be changed + * @param attributeType Attribute type + * @param size Attribute size + * @param value Attribute value + */ +chip::Protocols::InteractionModel::Status +MatterModeSelectClusterClusterServerPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + +/** @brief Mode Select Cluster Cluster Client Pre Attribute Changed + * + * Client Pre Attribute Changed + * + * @param attributePath Concrete attribute path to be changed + * @param attributeType Attribute type + * @param size Attribute size + * @param value Attribute value + */ +chip::Protocols::InteractionModel::Status +MatterModeSelectClusterClusterClientPreAttributeChangedCallback(const chip::app::ConcreteAttributePath & attributePath, + EmberAfAttributeType attributeType, uint16_t size, uint8_t * value); + +/** @brief Mode Select Cluster Cluster Server Tick + * + * Server Tick + * + * @param endpoint Endpoint that is being served + */ +void emberAfModeSelectClusterClusterServerTickCallback(chip::EndpointId endpoint); + +/** @brief Mode Select Cluster Cluster Client Tick + * + * Client Tick + * + * @param endpoint Endpoint that is being served + */ +void emberAfModeSelectClusterClusterClientTickCallback(chip::EndpointId endpoint); + // // Shade Configuration Cluster // @@ -12892,6 +13006,12 @@ bool emberAfOperationalCredentialsClusterAddTrustedRootCertificateCallback( bool emberAfOperationalCredentialsClusterRemoveTrustedRootCertificateCallback( chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath, const chip::app::Clusters::OperationalCredentials::Commands::RemoveTrustedRootCertificate::DecodableType & commandData); +/** + * @brief Mode Select Cluster Cluster ChangeToMode Command callback (from client) + */ +bool emberAfModeSelectClusterClusterChangeToModeCallback( + chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath, + const chip::app::Clusters::ModeSelectCluster::Commands::ChangeToMode::DecodableType & commandData); /** * @brief Door Lock Cluster LockDoor Command callback (from client) */ diff --git a/zzz_generated/app-common/app-common/zap-generated/callbacks/PluginCallbacks.h b/zzz_generated/app-common/app-common/zap-generated/callbacks/PluginCallbacks.h index 29f7d84332c1b8..375d708d37ddd5 100644 --- a/zzz_generated/app-common/app-common/zap-generated/callbacks/PluginCallbacks.h +++ b/zzz_generated/app-common/app-common/zap-generated/callbacks/PluginCallbacks.h @@ -118,6 +118,9 @@ void __attribute__((weak)) MatterFixedLabelPluginServerInitCallback(){}; void __attribute__((weak)) MatterBooleanStatePluginClientInitCallback(){}; void __attribute__((weak)) MatterBooleanStatePluginServerInitCallback(){}; +void __attribute__((weak)) MatterModeSelectClusterPluginClientInitCallback(){}; +void __attribute__((weak)) MatterModeSelectClusterPluginServerInitCallback(){}; + void __attribute__((weak)) MatterShadeConfigurationPluginClientInitCallback(){}; void __attribute__((weak)) MatterShadeConfigurationPluginServerInitCallback(){}; diff --git a/zzz_generated/app-common/app-common/zap-generated/cluster-id.h b/zzz_generated/app-common/app-common/zap-generated/cluster-id.h index c5bf185911543d..6d0a42df370956 100644 --- a/zzz_generated/app-common/app-common/zap-generated/cluster-id.h +++ b/zzz_generated/app-common/app-common/zap-generated/cluster-id.h @@ -121,6 +121,9 @@ static constexpr chip::ClusterId ZCL_FIXED_LABEL_CLUSTER_ID = 0x0040; // Definitions for cluster: Boolean State static constexpr chip::ClusterId ZCL_BOOLEAN_STATE_CLUSTER_ID = 0x0045; +// Definitions for cluster: Mode Select Cluster +static constexpr chip::ClusterId ZCL_MODE_SELECT_CLUSTER_ID = 0x0050; + // Definitions for cluster: Shade Configuration static constexpr chip::ClusterId ZCL_SHADE_CONFIG_CLUSTER_ID = 0x0100; diff --git a/zzz_generated/app-common/app-common/zap-generated/cluster-objects.cpp b/zzz_generated/app-common/app-common/zap-generated/cluster-objects.cpp index 6782e18166dc0f..797a4ebc1dd761 100644 --- a/zzz_generated/app-common/app-common/zap-generated/cluster-objects.cpp +++ b/zzz_generated/app-common/app-common/zap-generated/cluster-objects.cpp @@ -7038,6 +7038,135 @@ CHIP_ERROR DecodableType::Decode(TLV::TLVReader & reader) } // namespace Events } // namespace BooleanState +namespace ModeSelectCluster { +namespace Structs { +namespace ModeOptionStruct { +CHIP_ERROR Type::Encode(TLV::TLVWriter & writer, TLV::Tag tag) const +{ + TLV::TLVType outer; + ReturnErrorOnFailure(writer.StartContainer(tag, TLV::kTLVType_Structure, outer)); + ReturnErrorOnFailure(DataModel::Encode(writer, TLV::ContextTag(to_underlying(Fields::kLabel)), label)); + ReturnErrorOnFailure(DataModel::Encode(writer, TLV::ContextTag(to_underlying(Fields::kMode)), mode)); + ReturnErrorOnFailure(DataModel::Encode(writer, TLV::ContextTag(to_underlying(Fields::kSemanticTag)), semanticTag)); + ReturnErrorOnFailure(writer.EndContainer(outer)); + return CHIP_NO_ERROR; +} + +CHIP_ERROR DecodableType::Decode(TLV::TLVReader & reader) +{ + CHIP_ERROR err = CHIP_NO_ERROR; + TLV::TLVType outer; + VerifyOrReturnError(TLV::kTLVType_Structure == reader.GetType(), CHIP_ERROR_WRONG_TLV_TYPE); + err = reader.EnterContainer(outer); + ReturnErrorOnFailure(err); + while ((err = reader.Next()) == CHIP_NO_ERROR) + { + VerifyOrReturnError(TLV::IsContextTag(reader.GetTag()), CHIP_ERROR_INVALID_TLV_TAG); + switch (TLV::TagNumFromTag(reader.GetTag())) + { + case to_underlying(Fields::kLabel): + ReturnErrorOnFailure(DataModel::Decode(reader, label)); + break; + case to_underlying(Fields::kMode): + ReturnErrorOnFailure(DataModel::Decode(reader, mode)); + break; + case to_underlying(Fields::kSemanticTag): + ReturnErrorOnFailure(DataModel::Decode(reader, semanticTag)); + break; + default: + break; + } + } + + VerifyOrReturnError(err == CHIP_END_OF_TLV, err); + ReturnErrorOnFailure(reader.ExitContainer(outer)); + return CHIP_NO_ERROR; +} + +} // namespace ModeOptionStruct +namespace SemanticTag { +CHIP_ERROR Type::Encode(TLV::TLVWriter & writer, TLV::Tag tag) const +{ + TLV::TLVType outer; + ReturnErrorOnFailure(writer.StartContainer(tag, TLV::kTLVType_Structure, outer)); + ReturnErrorOnFailure(DataModel::Encode(writer, TLV::ContextTag(to_underlying(Fields::kMfgCode)), mfgCode)); + ReturnErrorOnFailure(DataModel::Encode(writer, TLV::ContextTag(to_underlying(Fields::kValue)), value)); + ReturnErrorOnFailure(writer.EndContainer(outer)); + return CHIP_NO_ERROR; +} + +CHIP_ERROR DecodableType::Decode(TLV::TLVReader & reader) +{ + CHIP_ERROR err = CHIP_NO_ERROR; + TLV::TLVType outer; + VerifyOrReturnError(TLV::kTLVType_Structure == reader.GetType(), CHIP_ERROR_WRONG_TLV_TYPE); + err = reader.EnterContainer(outer); + ReturnErrorOnFailure(err); + while ((err = reader.Next()) == CHIP_NO_ERROR) + { + VerifyOrReturnError(TLV::IsContextTag(reader.GetTag()), CHIP_ERROR_INVALID_TLV_TAG); + switch (TLV::TagNumFromTag(reader.GetTag())) + { + case to_underlying(Fields::kMfgCode): + ReturnErrorOnFailure(DataModel::Decode(reader, mfgCode)); + break; + case to_underlying(Fields::kValue): + ReturnErrorOnFailure(DataModel::Decode(reader, value)); + break; + default: + break; + } + } + + VerifyOrReturnError(err == CHIP_END_OF_TLV, err); + ReturnErrorOnFailure(reader.ExitContainer(outer)); + return CHIP_NO_ERROR; +} + +} // namespace SemanticTag +} // namespace Structs + +namespace Commands { +namespace ChangeToMode { +CHIP_ERROR Type::Encode(TLV::TLVWriter & writer, TLV::Tag tag) const +{ + TLV::TLVType outer; + ReturnErrorOnFailure(writer.StartContainer(tag, TLV::kTLVType_Structure, outer)); + ReturnErrorOnFailure(DataModel::Encode(writer, TLV::ContextTag(to_underlying(Fields::kNewMode)), newMode)); + ReturnErrorOnFailure(writer.EndContainer(outer)); + return CHIP_NO_ERROR; +} + +CHIP_ERROR DecodableType::Decode(TLV::TLVReader & reader) +{ + CHIP_ERROR err = CHIP_NO_ERROR; + TLV::TLVType outer; + VerifyOrReturnError(TLV::kTLVType_Structure == reader.GetType(), CHIP_ERROR_WRONG_TLV_TYPE); + ReturnErrorOnFailure(reader.EnterContainer(outer)); + while ((err = reader.Next()) == CHIP_NO_ERROR) + { + VerifyOrReturnError(TLV::IsContextTag(reader.GetTag()), CHIP_ERROR_INVALID_TLV_TAG); + switch (TLV::TagNumFromTag(reader.GetTag())) + { + case to_underlying(Fields::kNewMode): + ReturnErrorOnFailure(DataModel::Decode(reader, newMode)); + break; + default: + break; + } + } + + VerifyOrReturnError(err == CHIP_END_OF_TLV, err); + ReturnErrorOnFailure(reader.ExitContainer(outer)); + return CHIP_NO_ERROR; +} +} // namespace ChangeToMode. +} // namespace Commands + +namespace Events { +} // namespace Events + +} // namespace ModeSelectCluster namespace ShadeConfiguration { namespace Commands { diff --git a/zzz_generated/app-common/app-common/zap-generated/cluster-objects.h b/zzz_generated/app-common/app-common/zap-generated/cluster-objects.h index 7b27f3a1695343..2539e531e0cdce 100644 --- a/zzz_generated/app-common/app-common/zap-generated/cluster-objects.h +++ b/zzz_generated/app-common/app-common/zap-generated/cluster-objects.h @@ -9750,6 +9750,157 @@ struct DecodableType } // namespace StateChange } // namespace Events } // namespace BooleanState +namespace ModeSelectCluster { + +namespace Structs { +namespace ModeOptionStruct { +enum class Fields +{ + kLabel = 0, + kMode = 1, + kSemanticTag = 2, +}; + +struct Type +{ +public: + chip::CharSpan label; + uint8_t mode; + uint32_t semanticTag; + + CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; + CHIP_ERROR Decode(TLV::TLVReader & reader); +}; + +using DecodableType = Type; + +} // namespace ModeOptionStruct +namespace SemanticTag { +enum class Fields +{ + kMfgCode = 0, + kValue = 1, +}; + +struct Type +{ +public: + uint16_t mfgCode; + uint16_t value; + + CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; + CHIP_ERROR Decode(TLV::TLVReader & reader); +}; + +using DecodableType = Type; + +} // namespace SemanticTag +} // namespace Structs + +namespace Commands { +namespace ChangeToMode { +enum class Fields +{ + kNewMode = 0, +}; + +struct Type +{ +public: + // Use GetCommandId instead of commandId directly to avoid naming conflict with CommandIdentification in ExecutionOfACommand + static constexpr CommandId GetCommandId() { return ChangeToMode::Id; } + static constexpr ClusterId GetClusterId() { return ModeSelectCluster::Id; } + + uint8_t newMode; + + CHIP_ERROR Encode(TLV::TLVWriter & writer, TLV::Tag tag) const; +}; + +struct DecodableType +{ +public: + static constexpr CommandId GetCommandId() { return ChangeToMode::Id; } + static constexpr ClusterId GetClusterId() { return ModeSelectCluster::Id; } + + uint8_t newMode; + CHIP_ERROR Decode(TLV::TLVReader & reader); +}; +}; // namespace ChangeToMode +} // namespace Commands + +namespace Attributes { +namespace CurrentMode { +struct TypeInfo +{ + using Type = uint8_t; + using DecodableType = uint8_t; + + static constexpr ClusterId GetClusterId() { return Clusters::ModeSelectCluster::Id; } + static constexpr AttributeId GetAttributeId() { return Attributes::CurrentMode::Id; } +}; +} // namespace CurrentMode +namespace SupportedModes { +struct TypeInfo +{ + using Type = DataModel::List; + using DecodableType = DataModel::DecodableList; + + static constexpr ClusterId GetClusterId() { return Clusters::ModeSelectCluster::Id; } + static constexpr AttributeId GetAttributeId() { return Attributes::SupportedModes::Id; } +}; +} // namespace SupportedModes +namespace OnMode { +struct TypeInfo +{ + using Type = uint8_t; + using DecodableType = uint8_t; + + static constexpr ClusterId GetClusterId() { return Clusters::ModeSelectCluster::Id; } + static constexpr AttributeId GetAttributeId() { return Attributes::OnMode::Id; } +}; +} // namespace OnMode +namespace StartUpMode { +struct TypeInfo +{ + using Type = uint8_t; + using DecodableType = uint8_t; + + static constexpr ClusterId GetClusterId() { return Clusters::ModeSelectCluster::Id; } + static constexpr AttributeId GetAttributeId() { return Attributes::StartUpMode::Id; } +}; +} // namespace StartUpMode +namespace Description { +struct TypeInfo +{ + using Type = chip::CharSpan; + using DecodableType = chip::CharSpan; + + static constexpr ClusterId GetClusterId() { return Clusters::ModeSelectCluster::Id; } + static constexpr AttributeId GetAttributeId() { return Attributes::Description::Id; } +}; +} // namespace Description +namespace FeatureMap { +struct TypeInfo +{ + using Type = uint32_t; + using DecodableType = uint32_t; + + static constexpr ClusterId GetClusterId() { return Clusters::ModeSelectCluster::Id; } + static constexpr AttributeId GetAttributeId() { return Attributes::FeatureMap::Id; } +}; +} // namespace FeatureMap +namespace ClusterRevision { +struct TypeInfo +{ + using Type = uint16_t; + using DecodableType = uint16_t; + + static constexpr ClusterId GetClusterId() { return Clusters::ModeSelectCluster::Id; } + static constexpr AttributeId GetAttributeId() { return Attributes::ClusterRevision::Id; } +}; +} // namespace ClusterRevision +} // namespace Attributes +} // namespace ModeSelectCluster namespace ShadeConfiguration { namespace Attributes { diff --git a/zzz_generated/app-common/app-common/zap-generated/command-id.h b/zzz_generated/app-common/app-common/zap-generated/command-id.h index 9b06034094b782..9f7ac52b1b6eda 100644 --- a/zzz_generated/app-common/app-common/zap-generated/command-id.h +++ b/zzz_generated/app-common/app-common/zap-generated/command-id.h @@ -227,6 +227,9 @@ #define ZCL_ADD_TRUSTED_ROOT_CERTIFICATE_COMMAND_ID (0x0B) #define ZCL_REMOVE_TRUSTED_ROOT_CERTIFICATE_COMMAND_ID (0x0C) +// Commands for cluster: Mode Select Cluster +#define ZCL_CHANGE_TO_MODE_COMMAND_ID (0x00) + // Commands for cluster: Door Lock #define ZCL_LOCK_DOOR_COMMAND_ID (0x00) #define ZCL_LOCK_DOOR_RESPONSE_COMMAND_ID (0x00) diff --git a/zzz_generated/app-common/app-common/zap-generated/ids/Attributes.h b/zzz_generated/app-common/app-common/zap-generated/ids/Attributes.h index 77baa6b1a2fb6a..8d735e51f2ebdd 100644 --- a/zzz_generated/app-common/app-common/zap-generated/ids/Attributes.h +++ b/zzz_generated/app-common/app-common/zap-generated/ids/Attributes.h @@ -1757,6 +1757,40 @@ static constexpr AttributeId Id = Globals::Attributes::ClusterRevision::Id; } // namespace Attributes } // namespace BooleanState +namespace ModeSelectCluster { +namespace Attributes { + +namespace CurrentMode { +static constexpr AttributeId Id = 0x00000000; +} // namespace CurrentMode + +namespace SupportedModes { +static constexpr AttributeId Id = 0x00000001; +} // namespace SupportedModes + +namespace OnMode { +static constexpr AttributeId Id = 0x00000002; +} // namespace OnMode + +namespace StartUpMode { +static constexpr AttributeId Id = 0x00000003; +} // namespace StartUpMode + +namespace Description { +static constexpr AttributeId Id = 0x00000004; +} // namespace Description + +namespace FeatureMap { +static constexpr AttributeId Id = Globals::Attributes::FeatureMap::Id; +} // namespace FeatureMap + +namespace ClusterRevision { +static constexpr AttributeId Id = Globals::Attributes::ClusterRevision::Id; +} // namespace ClusterRevision + +} // namespace Attributes +} // namespace ModeSelectCluster + namespace ShadeConfiguration { namespace Attributes { diff --git a/zzz_generated/app-common/app-common/zap-generated/ids/Clusters.h b/zzz_generated/app-common/app-common/zap-generated/ids/Clusters.h index 9646729d0ec190..181b67f5cd2a89 100644 --- a/zzz_generated/app-common/app-common/zap-generated/ids/Clusters.h +++ b/zzz_generated/app-common/app-common/zap-generated/ids/Clusters.h @@ -124,6 +124,9 @@ static constexpr ClusterId Id = 0x00000040; namespace BooleanState { static constexpr ClusterId Id = 0x00000045; } // namespace BooleanState +namespace ModeSelectCluster { +static constexpr ClusterId Id = 0x00000050; +} // namespace ModeSelectCluster namespace ShadeConfiguration { static constexpr ClusterId Id = 0x00000100; } // namespace ShadeConfiguration diff --git a/zzz_generated/app-common/app-common/zap-generated/ids/Commands.h b/zzz_generated/app-common/app-common/zap-generated/ids/Commands.h index 70411ed21f5ec6..543464c27ee856 100644 --- a/zzz_generated/app-common/app-common/zap-generated/ids/Commands.h +++ b/zzz_generated/app-common/app-common/zap-generated/ids/Commands.h @@ -763,6 +763,16 @@ static constexpr CommandId Id = 0x0000000C; } // namespace Commands } // namespace OperationalCredentials +namespace ModeSelectCluster { +namespace Commands { + +namespace ChangeToMode { +static constexpr CommandId Id = 0x00000000; +} // namespace ChangeToMode + +} // namespace Commands +} // namespace ModeSelectCluster + namespace DoorLock { namespace Commands { diff --git a/zzz_generated/app-common/app-common/zap-generated/print-cluster.h b/zzz_generated/app-common/app-common/zap-generated/print-cluster.h index 1e20dcacddbe50..a2c70cb2fce949 100644 --- a/zzz_generated/app-common/app-common/zap-generated/print-cluster.h +++ b/zzz_generated/app-common/app-common/zap-generated/print-cluster.h @@ -226,6 +226,12 @@ #define CHIP_PRINTCLUSTER_BOOLEAN_STATE_CLUSTER #endif +#if defined(ZCL_USING_MODE_SELECT_CLUSTER_SERVER) || defined(ZCL_USING_MODE_SELECT_CLUSTER_CLIENT) +#define CHIP_PRINTCLUSTER_MODE_SELECT_CLUSTER { ZCL_MODE_SELECT_CLUSTER_ID, 80, "Mode Select Cluster" }, +#else +#define CHIP_PRINTCLUSTER_MODE_SELECT_CLUSTER +#endif + #if defined(ZCL_USING_SHADE_CONFIG_CLUSTER_SERVER) || defined(ZCL_USING_SHADE_CONFIG_CLUSTER_CLIENT) #define CHIP_PRINTCLUSTER_SHADE_CONFIG_CLUSTER { ZCL_SHADE_CONFIG_CLUSTER_ID, 256, "Shade Configuration" }, #else @@ -766,6 +772,7 @@ CHIP_PRINTCLUSTER_OPERATIONAL_CREDENTIALS_CLUSTER \ CHIP_PRINTCLUSTER_FIXED_LABEL_CLUSTER \ CHIP_PRINTCLUSTER_BOOLEAN_STATE_CLUSTER \ + CHIP_PRINTCLUSTER_MODE_SELECT_CLUSTER \ CHIP_PRINTCLUSTER_SHADE_CONFIG_CLUSTER \ CHIP_PRINTCLUSTER_DOOR_LOCK_CLUSTER \ CHIP_PRINTCLUSTER_WINDOW_COVERING_CLUSTER \ diff --git a/zzz_generated/chip-tool/zap-generated/cluster/Commands.h b/zzz_generated/chip-tool/zap-generated/cluster/Commands.h index c543381ca6ac75..6476d5b8a20b84 100644 --- a/zzz_generated/chip-tool/zap-generated/cluster/Commands.h +++ b/zzz_generated/chip-tool/zap-generated/cluster/Commands.h @@ -583,6 +583,39 @@ static void OnMediaInputMediaInputListListAttributeResponse( command->SetCommandExitStatus(iter.GetStatus()); } +static void OnModeSelectClusterSupportedModesListAttributeResponse( + void * context, + const chip::app::DataModel::DecodableList & + list) +{ + ModelCommand * command = static_cast(context); + + size_t count = 0; + CHIP_ERROR err = list.ComputeSize(&count); + if (err != CHIP_NO_ERROR) + { + command->SetCommandExitStatus(err); + return; + } + + ChipLogProgress(chipTool, "OnModeSelectClusterSupportedModesListAttributeResponse: %zu entries", count); + + auto iter = list.begin(); + uint16_t i = 0; + while (iter.Next()) + { +#if CHIP_PROGRESS_LOGGING + auto & entry = iter.GetValue(); +#endif // CHIP_PROGRESS_LOGGING + ++i; + ChipLogProgress(chipTool, "ModeOptionStruct[%" PRIu16 "]:", i); + ChipLogProgress(Zcl, " Label: %.*s", static_cast(entry.label.size()), entry.label.data()); + ChipLogProgress(chipTool, " mode: %" PRIu8 "", entry.mode); + ChipLogProgress(chipTool, " semanticTag: %" PRIu32 "", entry.semanticTag); + } + command->SetCommandExitStatus(iter.GetStatus()); +} + static void OnOperationalCredentialsFabricsListListAttributeResponse( void * context, const chip::app::DataModel::DecodableList< @@ -1864,6 +1897,7 @@ static void OnTestClusterTestSpecificResponseSuccess( | LowPower | 0x0508 | | MediaInput | 0x0507 | | MediaPlayback | 0x0506 | +| ModeSelectCluster | 0x0050 | | NetworkCommissioning | 0x0031 | | OtaSoftwareUpdateProvider | 0x0029 | | OtaSoftwareUpdateRequestor | 0x002A | @@ -13468,6 +13502,330 @@ class ReadMediaPlaybackClusterRevision : public ModelCommand new chip::Callback::Callback(OnDefaultFailureResponse, this); }; +/*----------------------------------------------------------------------------*\ +| Cluster ModeSelectCluster | 0x0050 | +|------------------------------------------------------------------------------| +| Commands: | | +| * ChangeToMode | 0x00 | +|------------------------------------------------------------------------------| +| Attributes: | | +| * CurrentMode | 0x0000 | +| * SupportedModes | 0x0001 | +| * OnMode | 0x0002 | +| * StartUpMode | 0x0003 | +| * Description | 0x0004 | +| * ClusterRevision | 0xFFFD | +\*----------------------------------------------------------------------------*/ + +/* + * Command ChangeToMode + */ +class ModeSelectClusterChangeToMode : public ModelCommand +{ +public: + ModeSelectClusterChangeToMode() : ModelCommand("change-to-mode") + { + AddArgument("NewMode", 0, UINT8_MAX, &mRequest.newMode); + ModelCommand::AddArguments(); + } + + CHIP_ERROR SendCommand(ChipDevice * device, uint8_t endpointId) override + { + ChipLogProgress(chipTool, "Sending cluster (0x00000050) command (0x00000000) on endpoint %" PRIu8, endpointId); + + chip::Controller::ModeSelectClusterCluster cluster; + cluster.Associate(device, endpointId); + return cluster.InvokeCommand(mRequest, this, OnDefaultSuccess, OnDefaultFailure); + } + +private: + chip::app::Clusters::ModeSelectCluster::Commands::ChangeToMode::Type mRequest; +}; + +/* + * Attribute CurrentMode + */ +class ReadModeSelectClusterCurrentMode : public ModelCommand +{ +public: + ReadModeSelectClusterCurrentMode() : ModelCommand("read") + { + AddArgument("attr-name", "current-mode"); + ModelCommand::AddArguments(); + } + + ~ReadModeSelectClusterCurrentMode() + { + delete onSuccessCallback; + delete onFailureCallback; + } + + CHIP_ERROR SendCommand(ChipDevice * device, uint8_t endpointId) override + { + ChipLogProgress(chipTool, "Sending cluster (0x0050) command (0x00) on endpoint %" PRIu8, endpointId); + + chip::Controller::ModeSelectClusterCluster cluster; + cluster.Associate(device, endpointId); + return cluster.ReadAttributeCurrentMode(onSuccessCallback->Cancel(), onFailureCallback->Cancel()); + } + +private: + chip::Callback::Callback * onSuccessCallback = + new chip::Callback::Callback(OnInt8uAttributeResponse, this); + chip::Callback::Callback * onFailureCallback = + new chip::Callback::Callback(OnDefaultFailureResponse, this); +}; + +class ReportModeSelectClusterCurrentMode : public ModelCommand +{ +public: + ReportModeSelectClusterCurrentMode() : ModelCommand("report") + { + AddArgument("attr-name", "current-mode"); + AddArgument("min-interval", 0, UINT16_MAX, &mMinInterval); + AddArgument("max-interval", 0, UINT16_MAX, &mMaxInterval); + ModelCommand::AddArguments(); + } + + ~ReportModeSelectClusterCurrentMode() + { + delete onSuccessCallback; + delete onFailureCallback; + delete onReportCallback; + } + + CHIP_ERROR SendCommand(ChipDevice * device, uint8_t endpointId) override + { + ChipLogProgress(chipTool, "Sending cluster (0x0050) command (0x06) on endpoint %" PRIu8, endpointId); + + chip::Controller::ModeSelectClusterCluster cluster; + cluster.Associate(device, endpointId); + + CHIP_ERROR err = cluster.ReportAttributeCurrentMode(onReportCallback->Cancel()); + if (err != CHIP_NO_ERROR) + { + return err; + } + + return cluster.SubscribeAttributeCurrentMode(onSuccessCallback->Cancel(), onFailureCallback->Cancel(), mMinInterval, + mMaxInterval); + } + +private: + chip::Callback::Callback * onSuccessCallback = + new chip::Callback::Callback(OnDefaultSuccessResponse, this); + chip::Callback::Callback * onFailureCallback = + new chip::Callback::Callback(OnDefaultFailureResponse, this); + chip::Callback::Callback * onReportCallback = + new chip::Callback::Callback(OnInt8uAttributeResponse, this); + uint16_t mMinInterval; + uint16_t mMaxInterval; +}; + +/* + * Attribute SupportedModes + */ +class ReadModeSelectClusterSupportedModes : public ModelCommand +{ +public: + ReadModeSelectClusterSupportedModes() : ModelCommand("read") + { + AddArgument("attr-name", "supported-modes"); + ModelCommand::AddArguments(); + } + + ~ReadModeSelectClusterSupportedModes() + { + delete onSuccessCallback; + delete onFailureCallback; + } + + CHIP_ERROR SendCommand(ChipDevice * device, uint8_t endpointId) override + { + ChipLogProgress(chipTool, "Sending cluster (0x0050) command (0x00) on endpoint %" PRIu8, endpointId); + + chip::Controller::ModeSelectClusterCluster cluster; + cluster.Associate(device, endpointId); + return cluster.ReadAttributeSupportedModes(onSuccessCallback->Cancel(), onFailureCallback->Cancel()); + } + +private: + chip::Callback::Callback * onSuccessCallback = + new chip::Callback::Callback( + OnModeSelectClusterSupportedModesListAttributeResponse, this); + chip::Callback::Callback * onFailureCallback = + new chip::Callback::Callback(OnDefaultFailureResponse, this); +}; + +/* + * Attribute OnMode + */ +class ReadModeSelectClusterOnMode : public ModelCommand +{ +public: + ReadModeSelectClusterOnMode() : ModelCommand("read") + { + AddArgument("attr-name", "on-mode"); + ModelCommand::AddArguments(); + } + + ~ReadModeSelectClusterOnMode() + { + delete onSuccessCallback; + delete onFailureCallback; + } + + CHIP_ERROR SendCommand(ChipDevice * device, uint8_t endpointId) override + { + ChipLogProgress(chipTool, "Sending cluster (0x0050) command (0x00) on endpoint %" PRIu8, endpointId); + + chip::Controller::ModeSelectClusterCluster cluster; + cluster.Associate(device, endpointId); + return cluster.ReadAttributeOnMode(onSuccessCallback->Cancel(), onFailureCallback->Cancel()); + } + +private: + chip::Callback::Callback * onSuccessCallback = + new chip::Callback::Callback(OnInt8uAttributeResponse, this); + chip::Callback::Callback * onFailureCallback = + new chip::Callback::Callback(OnDefaultFailureResponse, this); +}; + +class WriteModeSelectClusterOnMode : public ModelCommand +{ +public: + WriteModeSelectClusterOnMode() : ModelCommand("write") + { + AddArgument("attr-name", "on-mode"); + AddArgument("attr-value", 0, UINT8_MAX, &mValue); + ModelCommand::AddArguments(); + } + + ~WriteModeSelectClusterOnMode() + { + delete onSuccessCallback; + delete onFailureCallback; + } + + CHIP_ERROR SendCommand(ChipDevice * device, uint8_t endpointId) override + { + ChipLogProgress(chipTool, "Sending cluster (0x0050) command (0x01) on endpoint %" PRIu8, endpointId); + + chip::Controller::ModeSelectClusterCluster cluster; + cluster.Associate(device, endpointId); + return cluster.WriteAttributeOnMode(onSuccessCallback->Cancel(), onFailureCallback->Cancel(), mValue); + } + +private: + chip::Callback::Callback * onSuccessCallback = + new chip::Callback::Callback(OnDefaultSuccessResponse, this); + chip::Callback::Callback * onFailureCallback = + new chip::Callback::Callback(OnDefaultFailureResponse, this); + uint8_t mValue; +}; + +/* + * Attribute StartUpMode + */ +class ReadModeSelectClusterStartUpMode : public ModelCommand +{ +public: + ReadModeSelectClusterStartUpMode() : ModelCommand("read") + { + AddArgument("attr-name", "start-up-mode"); + ModelCommand::AddArguments(); + } + + ~ReadModeSelectClusterStartUpMode() + { + delete onSuccessCallback; + delete onFailureCallback; + } + + CHIP_ERROR SendCommand(ChipDevice * device, uint8_t endpointId) override + { + ChipLogProgress(chipTool, "Sending cluster (0x0050) command (0x00) on endpoint %" PRIu8, endpointId); + + chip::Controller::ModeSelectClusterCluster cluster; + cluster.Associate(device, endpointId); + return cluster.ReadAttributeStartUpMode(onSuccessCallback->Cancel(), onFailureCallback->Cancel()); + } + +private: + chip::Callback::Callback * onSuccessCallback = + new chip::Callback::Callback(OnInt8uAttributeResponse, this); + chip::Callback::Callback * onFailureCallback = + new chip::Callback::Callback(OnDefaultFailureResponse, this); +}; + +/* + * Attribute Description + */ +class ReadModeSelectClusterDescription : public ModelCommand +{ +public: + ReadModeSelectClusterDescription() : ModelCommand("read") + { + AddArgument("attr-name", "description"); + ModelCommand::AddArguments(); + } + + ~ReadModeSelectClusterDescription() + { + delete onSuccessCallback; + delete onFailureCallback; + } + + CHIP_ERROR SendCommand(ChipDevice * device, uint8_t endpointId) override + { + ChipLogProgress(chipTool, "Sending cluster (0x0050) command (0x00) on endpoint %" PRIu8, endpointId); + + chip::Controller::ModeSelectClusterCluster cluster; + cluster.Associate(device, endpointId); + return cluster.ReadAttributeDescription(onSuccessCallback->Cancel(), onFailureCallback->Cancel()); + } + +private: + chip::Callback::Callback * onSuccessCallback = + new chip::Callback::Callback(OnCharStringAttributeResponse, this); + chip::Callback::Callback * onFailureCallback = + new chip::Callback::Callback(OnDefaultFailureResponse, this); +}; + +/* + * Attribute ClusterRevision + */ +class ReadModeSelectClusterClusterRevision : public ModelCommand +{ +public: + ReadModeSelectClusterClusterRevision() : ModelCommand("read") + { + AddArgument("attr-name", "cluster-revision"); + ModelCommand::AddArguments(); + } + + ~ReadModeSelectClusterClusterRevision() + { + delete onSuccessCallback; + delete onFailureCallback; + } + + CHIP_ERROR SendCommand(ChipDevice * device, uint8_t endpointId) override + { + ChipLogProgress(chipTool, "Sending cluster (0x0050) command (0x00) on endpoint %" PRIu8, endpointId); + + chip::Controller::ModeSelectClusterCluster cluster; + cluster.Associate(device, endpointId); + return cluster.ReadAttributeClusterRevision(onSuccessCallback->Cancel(), onFailureCallback->Cancel()); + } + +private: + chip::Callback::Callback * onSuccessCallback = + new chip::Callback::Callback(OnInt16uAttributeResponse, this); + chip::Callback::Callback * onFailureCallback = + new chip::Callback::Callback(OnDefaultFailureResponse, this); +}; + /*----------------------------------------------------------------------------*\ | Cluster NetworkCommissioning | 0x0031 | |------------------------------------------------------------------------------| @@ -26469,6 +26827,24 @@ void registerClusterMediaPlayback(Commands & commands) commands.Register(clusterName, clusterCommands); } +void registerClusterModeSelectCluster(Commands & commands) +{ + const char * clusterName = "ModeSelectCluster"; + + commands_list clusterCommands = { + make_unique(), // + make_unique(), // + make_unique(), // + make_unique(), // + make_unique(), // + make_unique(), // + make_unique(), // + make_unique(), // + make_unique(), // + }; + + commands.Register(clusterName, clusterCommands); +} void registerClusterNetworkCommissioning(Commands & commands) { const char * clusterName = "NetworkCommissioning"; @@ -27080,6 +27456,7 @@ void registerClusters(Commands & commands) registerClusterLowPower(commands); registerClusterMediaInput(commands); registerClusterMediaPlayback(commands); + registerClusterModeSelectCluster(commands); registerClusterNetworkCommissioning(commands); registerClusterOtaSoftwareUpdateProvider(commands); registerClusterOtaSoftwareUpdateRequestor(commands); diff --git a/zzz_generated/chip-tool/zap-generated/reporting/Commands.h b/zzz_generated/chip-tool/zap-generated/reporting/Commands.h index 9453b5dc06ce30..eea4b1b7cd378f 100644 --- a/zzz_generated/chip-tool/zap-generated/reporting/Commands.h +++ b/zzz_generated/chip-tool/zap-generated/reporting/Commands.h @@ -41,6 +41,7 @@ class Listen : public ReportingCommand delete onReportDoorLockLockStateCallback; delete onReportIlluminanceMeasurementMeasuredValueCallback; delete onReportLevelControlCurrentLevelCallback; + delete onReportModeSelectClusterCurrentModeCallback; delete onReportOccupancySensingOccupancyCallback; delete onReportOnOffOnOffCallback; delete onReportPressureMeasurementMeasuredValueCallback; @@ -87,6 +88,8 @@ class Listen : public ReportingCommand BasicAttributeFilter); callbacksMgr.AddReportCallback(remoteId, endpointId, 0x0008, 0x0000, onReportLevelControlCurrentLevelCallback->Cancel(), BasicAttributeFilter); + callbacksMgr.AddReportCallback(remoteId, endpointId, 0x0050, 0x0000, onReportModeSelectClusterCurrentModeCallback->Cancel(), + BasicAttributeFilter); callbacksMgr.AddReportCallback(remoteId, endpointId, 0x0406, 0x0000, onReportOccupancySensingOccupancyCallback->Cancel(), BasicAttributeFilter); callbacksMgr.AddReportCallback(remoteId, endpointId, 0x0006, 0x0000, onReportOnOffOnOffCallback->Cancel(), @@ -190,6 +193,8 @@ class Listen : public ReportingCommand new chip::Callback::Callback(OnInt16uAttributeResponse, this); chip::Callback::Callback * onReportLevelControlCurrentLevelCallback = new chip::Callback::Callback(OnInt8uAttributeResponse, this); + chip::Callback::Callback * onReportModeSelectClusterCurrentModeCallback = + new chip::Callback::Callback(OnInt8uAttributeResponse, this); chip::Callback::Callback * onReportOccupancySensingOccupancyCallback = new chip::Callback::Callback(OnInt8uAttributeResponse, this); chip::Callback::Callback * onReportOnOffOnOffCallback = diff --git a/zzz_generated/chip-tool/zap-generated/test/Commands.h b/zzz_generated/chip-tool/zap-generated/test/Commands.h index da2c2fd8c8b867..ef1186e593a833 100644 --- a/zzz_generated/chip-tool/zap-generated/test/Commands.h +++ b/zzz_generated/chip-tool/zap-generated/test/Commands.h @@ -22097,7 +22097,7 @@ class TestDescriptorCluster : public TestCommand void OnSuccessResponse_1(const chip::app::DataModel::DecodableList & serverList) { - VerifyOrReturn(CheckValueAsListLength("serverList", serverList, 18)); + VerifyOrReturn(CheckValueAsListLength("serverList", serverList, 19)); NextTest(); } @@ -22423,6 +22423,224 @@ class TestOperationalCredentialsCluster : public TestCommand } }; +class TestModeSelectCluster : public TestCommand +{ +public: + TestModeSelectCluster() : TestCommand("TestModeSelectCluster"), mTestIndex(0) {} + + /////////// TestCommand Interface ///////// + void NextTest() override + { + CHIP_ERROR err = CHIP_NO_ERROR; + + if (0 == mTestIndex) + { + ChipLogProgress(chipTool, " **** Test Start: TestModeSelectCluster\n"); + } + + if (mTestCount == mTestIndex) + { + ChipLogProgress(chipTool, " **** Test Complete: TestModeSelectCluster\n"); + SetCommandExitStatus(CHIP_NO_ERROR); + return; + } + + Wait(); + + // Ensure we increment mTestIndex before we start running the relevant + // command. That way if we lose the timeslice after we send the message + // but before our function call returns, we won't end up with an + // incorrect mTestIndex value observed when we get the response. + switch (mTestIndex++) + { + case 0: + ChipLogProgress(chipTool, " ***** Test Step 0 : Read CurrentMode\n"); + err = TestReadCurrentMode_0(); + break; + case 1: + ChipLogProgress(chipTool, " ***** Test Step 1 : Read OnMode\n"); + err = TestReadOnMode_1(); + break; + case 2: + ChipLogProgress(chipTool, " ***** Test Step 2 : Read StartUpMode\n"); + err = TestReadStartUpMode_2(); + break; + case 3: + ChipLogProgress(chipTool, " ***** Test Step 3 : Read Description\n"); + err = TestReadDescription_3(); + break; + case 4: + ChipLogProgress(chipTool, " ***** Test Step 4 : Read SupportedModes\n"); + err = TestReadSupportedModes_4(); + break; + } + + if (CHIP_NO_ERROR != err) + { + ChipLogError(chipTool, " ***** Test Failure: %s\n", chip::ErrorStr(err)); + SetCommandExitStatus(err); + } + } + +private: + std::atomic_uint16_t mTestIndex; + const uint16_t mTestCount = 5; + + chip::Callback::Callback mOnFailureCallback_0{ OnFailureCallback_0, this }; + chip::Callback::Callback mOnSuccessCallback_0{ OnSuccessCallback_0, this }; + chip::Callback::Callback mOnFailureCallback_1{ OnFailureCallback_1, this }; + chip::Callback::Callback mOnSuccessCallback_1{ OnSuccessCallback_1, this }; + chip::Callback::Callback mOnFailureCallback_2{ OnFailureCallback_2, this }; + chip::Callback::Callback mOnSuccessCallback_2{ OnSuccessCallback_2, this }; + chip::Callback::Callback mOnFailureCallback_3{ OnFailureCallback_3, this }; + chip::Callback::Callback mOnSuccessCallback_3{ OnSuccessCallback_3, + this }; + chip::Callback::Callback mOnFailureCallback_4{ OnFailureCallback_4, this }; + chip::Callback::Callback & supportedModes)> + mOnSuccessCallback_4{ OnSuccessCallback_4, this }; + + static void OnFailureCallback_0(void * context, uint8_t status) + { + (static_cast(context))->OnFailureResponse_0(status); + } + + static void OnSuccessCallback_0(void * context, uint8_t currentMode) + { + (static_cast(context))->OnSuccessResponse_0(currentMode); + } + + static void OnFailureCallback_1(void * context, uint8_t status) + { + (static_cast(context))->OnFailureResponse_1(status); + } + + static void OnSuccessCallback_1(void * context, uint8_t onMode) + { + (static_cast(context))->OnSuccessResponse_1(onMode); + } + + static void OnFailureCallback_2(void * context, uint8_t status) + { + (static_cast(context))->OnFailureResponse_2(status); + } + + static void OnSuccessCallback_2(void * context, uint8_t startUpMode) + { + (static_cast(context))->OnSuccessResponse_2(startUpMode); + } + + static void OnFailureCallback_3(void * context, uint8_t status) + { + (static_cast(context))->OnFailureResponse_3(status); + } + + static void OnSuccessCallback_3(void * context, chip::CharSpan description) + { + (static_cast(context))->OnSuccessResponse_3(description); + } + + static void OnFailureCallback_4(void * context, uint8_t status) + { + (static_cast(context))->OnFailureResponse_4(status); + } + + static void + OnSuccessCallback_4(void * context, + const chip::app::DataModel::DecodableList< + chip::app::Clusters::ModeSelectCluster::Structs::ModeOptionStruct::DecodableType> & supportedModes) + { + (static_cast(context))->OnSuccessResponse_4(supportedModes); + } + + // + // Tests methods + // + + CHIP_ERROR TestReadCurrentMode_0() + { + chip::Controller::ModeSelectClusterClusterTest cluster; + cluster.Associate(mDevice, 0); + + return cluster.ReadAttributeCurrentMode(mOnSuccessCallback_0.Cancel(), mOnFailureCallback_0.Cancel()); + } + + void OnFailureResponse_0(uint8_t status) { ThrowFailureResponse(); } + + void OnSuccessResponse_0(uint8_t currentMode) + { + VerifyOrReturn(CheckValue("currentMode", currentMode, 0)); + NextTest(); + } + + CHIP_ERROR TestReadOnMode_1() + { + chip::Controller::ModeSelectClusterClusterTest cluster; + cluster.Associate(mDevice, 0); + + return cluster.ReadAttributeOnMode(mOnSuccessCallback_1.Cancel(), mOnFailureCallback_1.Cancel()); + } + + void OnFailureResponse_1(uint8_t status) { ThrowFailureResponse(); } + + void OnSuccessResponse_1(uint8_t onMode) + { + VerifyOrReturn(CheckValue("onMode", onMode, 0)); + NextTest(); + } + + CHIP_ERROR TestReadStartUpMode_2() + { + chip::Controller::ModeSelectClusterClusterTest cluster; + cluster.Associate(mDevice, 0); + + return cluster.ReadAttributeStartUpMode(mOnSuccessCallback_2.Cancel(), mOnFailureCallback_2.Cancel()); + } + + void OnFailureResponse_2(uint8_t status) { ThrowFailureResponse(); } + + void OnSuccessResponse_2(uint8_t startUpMode) + { + VerifyOrReturn(CheckValue("startUpMode", startUpMode, 0)); + NextTest(); + } + + CHIP_ERROR TestReadDescription_3() + { + chip::Controller::ModeSelectClusterClusterTest cluster; + cluster.Associate(mDevice, 0); + + return cluster.ReadAttributeDescription(mOnSuccessCallback_3.Cancel(), mOnFailureCallback_3.Cancel()); + } + + void OnFailureResponse_3(uint8_t status) { ThrowFailureResponse(); } + + void OnSuccessResponse_3(chip::CharSpan description) + { + VerifyOrReturn(CheckValueAsString("description", description, "Coffee")); + NextTest(); + } + + CHIP_ERROR TestReadSupportedModes_4() + { + chip::Controller::ModeSelectClusterClusterTest cluster; + cluster.Associate(mDevice, 0); + + return cluster.ReadAttributeSupportedModes(mOnSuccessCallback_4.Cancel(), mOnFailureCallback_4.Cancel()); + } + + void OnFailureResponse_4(uint8_t status) { ThrowFailureResponse(); } + + void OnSuccessResponse_4(const chip::app::DataModel::DecodableList< + chip::app::Clusters::ModeSelectCluster::Structs::ModeOptionStruct::DecodableType> & supportedModes) + { + + NextTest(); + } +}; + class TestSubscribe_OnOff : public TestCommand { public: @@ -22776,6 +22994,7 @@ void registerCommandsTests(Commands & commands) make_unique(), make_unique(), make_unique(), + make_unique(), make_unique(), }; diff --git a/zzz_generated/controller-clusters/zap-generated/CHIPClientCallbacks.cpp b/zzz_generated/controller-clusters/zap-generated/CHIPClientCallbacks.cpp index c0da73bd03d295..87a8ffeae3f733 100644 --- a/zzz_generated/controller-clusters/zap-generated/CHIPClientCallbacks.cpp +++ b/zzz_generated/controller-clusters/zap-generated/CHIPClientCallbacks.cpp @@ -478,6 +478,30 @@ void MediaInputClusterMediaInputListListAttributeFilter(TLV::TLVReader * tlvData #pragma GCC diagnostic pop #endif // __clang__ +void ModeSelectClusterClusterSupportedModesListAttributeFilter(TLV::TLVReader * tlvData, Callback::Cancelable * onSuccessCallback, + Callback::Cancelable * onFailureCallback) +{ + chip::app::DataModel::DecodableList list; + CHIP_ERROR err = Decode(*tlvData, list); + if (err != CHIP_NO_ERROR) + { + if (onFailureCallback != nullptr) + { + Callback::Callback * cb = + Callback::Callback::FromCancelable(onFailureCallback); + cb->mCall(cb->mContext, EMBER_ZCL_STATUS_INVALID_VALUE); + } + return; + } + + Callback::Callback * cb = + Callback::Callback::FromCancelable(onSuccessCallback); + cb->mCall(cb->mContext, list); +} +#if !defined(__clang__) +#pragma GCC diagnostic pop +#endif // __clang__ + void OperationalCredentialsClusterFabricsListListAttributeFilter(TLV::TLVReader * tlvData, Callback::Cancelable * onSuccessCallback, Callback::Cancelable * onFailureCallback) { diff --git a/zzz_generated/controller-clusters/zap-generated/CHIPClientCallbacks.h b/zzz_generated/controller-clusters/zap-generated/CHIPClientCallbacks.h index 0a8622772ae39d..0dc75042fae651 100644 --- a/zzz_generated/controller-clusters/zap-generated/CHIPClientCallbacks.h +++ b/zzz_generated/controller-clusters/zap-generated/CHIPClientCallbacks.h @@ -223,6 +223,13 @@ void MediaInputClusterMediaInputListListAttributeFilter(chip::TLV::TLVReader * d typedef void (*MediaInputMediaInputListListAttributeCallback)( void * context, const chip::app::DataModel::DecodableList & data); +void ModeSelectClusterClusterSupportedModesListAttributeFilter(chip::TLV::TLVReader * data, + chip::Callback::Cancelable * onSuccessCallback, + chip::Callback::Cancelable * onFailureCallback); +typedef void (*ModeSelectClusterSupportedModesListAttributeCallback)( + void * context, + const chip::app::DataModel::DecodableList & + data); void OperationalCredentialsClusterFabricsListListAttributeFilter(chip::TLV::TLVReader * data, chip::Callback::Cancelable * onSuccessCallback, chip::Callback::Cancelable * onFailureCallback); diff --git a/zzz_generated/controller-clusters/zap-generated/CHIPClusters.cpp b/zzz_generated/controller-clusters/zap-generated/CHIPClusters.cpp index 9e40e4691df6b1..429515bdc93374 100644 --- a/zzz_generated/controller-clusters/zap-generated/CHIPClusters.cpp +++ b/zzz_generated/controller-clusters/zap-generated/CHIPClusters.cpp @@ -8005,6 +8005,159 @@ template CHIP_ERROR ClusterBase::InvokeCommand, CommandResponseFailureCallback); +// ModeSelectCluster Cluster Commands +CHIP_ERROR ModeSelectClusterCluster::ChangeToMode(Callback::Cancelable * onSuccessCallback, + Callback::Cancelable * onFailureCallback, uint8_t newMode) +{ + CHIP_ERROR err = CHIP_NO_ERROR; + TLV::TLVWriter * writer = nullptr; + uint8_t argSeqNumber = 0; + + // Used when encoding non-empty command. Suppress error message when encoding empty commands. + (void) writer; + (void) argSeqNumber; + + VerifyOrReturnError(mDevice != nullptr, CHIP_ERROR_INCORRECT_STATE); + + app::CommandPathParams cmdParams = { mEndpoint, /* group id */ 0, mClusterId, ModeSelectCluster::Commands::ChangeToMode::Id, + (app::CommandPathFlags::kEndpointIdValid) }; + + CommandSenderHandle sender( + Platform::New(mDevice->GetInteractionModelDelegate(), mDevice->GetExchangeManager())); + + VerifyOrReturnError(sender != nullptr, CHIP_ERROR_NO_MEMORY); + + SuccessOrExit(err = sender->PrepareCommand(cmdParams)); + + VerifyOrExit((writer = sender->GetCommandDataIBTLVWriter()) != nullptr, err = CHIP_ERROR_INCORRECT_STATE); + // newMode: int8u + SuccessOrExit(err = writer->Put(TLV::ContextTag(argSeqNumber++), newMode)); + + SuccessOrExit(err = sender->FinishCommand()); + + // #6308: This is a temporary solution before we fully support IM on application side and should be replaced by IMDelegate. + mDevice->AddIMResponseHandler(sender.get(), onSuccessCallback, onFailureCallback); + + SuccessOrExit(err = mDevice->SendCommands(sender.get())); + + // We have successfully sent the command, and the callback handler will be responsible to free the object, release the object + // now. + sender.release(); +exit: + return err; +} + +// ModeSelectCluster Cluster Attributes +CHIP_ERROR ModeSelectClusterCluster::ReadAttributeCurrentMode(Callback::Cancelable * onSuccessCallback, + Callback::Cancelable * onFailureCallback) +{ + app::AttributePathParams attributePath; + attributePath.mEndpointId = mEndpoint; + attributePath.mClusterId = mClusterId; + attributePath.mFieldId = 0x00000000; + attributePath.mFlags.Set(app::AttributePathParams::Flags::kFieldIdValid); + return mDevice->SendReadAttributeRequest(attributePath, onSuccessCallback, onFailureCallback, + BasicAttributeFilter); +} + +CHIP_ERROR ModeSelectClusterCluster::SubscribeAttributeCurrentMode(Callback::Cancelable * onSuccessCallback, + Callback::Cancelable * onFailureCallback, uint16_t minInterval, + uint16_t maxInterval) +{ + chip::app::AttributePathParams attributePath; + attributePath.mEndpointId = mEndpoint; + attributePath.mClusterId = mClusterId; + attributePath.mFieldId = ModeSelectCluster::Attributes::CurrentMode::Id; + attributePath.mFlags.Set(chip::app::AttributePathParams::Flags::kFieldIdValid); + return mDevice->SendSubscribeAttributeRequest(attributePath, minInterval, maxInterval, onSuccessCallback, onFailureCallback); +} + +CHIP_ERROR ModeSelectClusterCluster::ReportAttributeCurrentMode(Callback::Cancelable * onReportCallback) +{ + return RequestAttributeReporting(ModeSelectCluster::Attributes::CurrentMode::Id, onReportCallback, + BasicAttributeFilter); +} + +CHIP_ERROR ModeSelectClusterCluster::ReadAttributeSupportedModes(Callback::Cancelable * onSuccessCallback, + Callback::Cancelable * onFailureCallback) +{ + app::AttributePathParams attributePath; + attributePath.mEndpointId = mEndpoint; + attributePath.mClusterId = mClusterId; + attributePath.mFieldId = 0x00000001; + attributePath.mFlags.Set(app::AttributePathParams::Flags::kFieldIdValid); + return mDevice->SendReadAttributeRequest(attributePath, onSuccessCallback, onFailureCallback, + ModeSelectClusterClusterSupportedModesListAttributeFilter); +} + +CHIP_ERROR ModeSelectClusterCluster::ReadAttributeOnMode(Callback::Cancelable * onSuccessCallback, + Callback::Cancelable * onFailureCallback) +{ + app::AttributePathParams attributePath; + attributePath.mEndpointId = mEndpoint; + attributePath.mClusterId = mClusterId; + attributePath.mFieldId = 0x00000002; + attributePath.mFlags.Set(app::AttributePathParams::Flags::kFieldIdValid); + return mDevice->SendReadAttributeRequest(attributePath, onSuccessCallback, onFailureCallback, + BasicAttributeFilter); +} + +template CHIP_ERROR ClusterBase::WriteAttribute( + const chip::app::Clusters::ModeSelectCluster::Attributes::OnMode::TypeInfo::Type & requestData, void * context, + WriteResponseSuccessCallback successCb, WriteResponseFailureCallback failureCb); + +CHIP_ERROR ModeSelectClusterCluster::WriteAttributeOnMode(Callback::Cancelable * onSuccessCallback, + Callback::Cancelable * onFailureCallback, uint8_t value) +{ + app::WriteClientHandle handle; + ReturnErrorOnFailure( + app::InteractionModelEngine::GetInstance()->NewWriteClient(handle, mDevice->GetInteractionModelDelegate())); + ReturnErrorOnFailure(handle.EncodeAttributeWritePayload( + chip::app::AttributePathParams(mEndpoint, mClusterId, ModeSelectCluster::Attributes::OnMode::Id), value)); + return mDevice->SendWriteAttributeRequest(std::move(handle), onSuccessCallback, onFailureCallback); +} + +CHIP_ERROR ModeSelectClusterCluster::ReadAttributeStartUpMode(Callback::Cancelable * onSuccessCallback, + Callback::Cancelable * onFailureCallback) +{ + app::AttributePathParams attributePath; + attributePath.mEndpointId = mEndpoint; + attributePath.mClusterId = mClusterId; + attributePath.mFieldId = 0x00000003; + attributePath.mFlags.Set(app::AttributePathParams::Flags::kFieldIdValid); + return mDevice->SendReadAttributeRequest(attributePath, onSuccessCallback, onFailureCallback, + BasicAttributeFilter); +} + +CHIP_ERROR ModeSelectClusterCluster::ReadAttributeDescription(Callback::Cancelable * onSuccessCallback, + Callback::Cancelable * onFailureCallback) +{ + app::AttributePathParams attributePath; + attributePath.mEndpointId = mEndpoint; + attributePath.mClusterId = mClusterId; + attributePath.mFieldId = 0x00000004; + attributePath.mFlags.Set(app::AttributePathParams::Flags::kFieldIdValid); + return mDevice->SendReadAttributeRequest(attributePath, onSuccessCallback, onFailureCallback, + BasicAttributeFilter); +} + +CHIP_ERROR ModeSelectClusterCluster::ReadAttributeClusterRevision(Callback::Cancelable * onSuccessCallback, + Callback::Cancelable * onFailureCallback) +{ + app::AttributePathParams attributePath; + attributePath.mEndpointId = mEndpoint; + attributePath.mClusterId = mClusterId; + attributePath.mFieldId = 0x0000FFFD; + attributePath.mFlags.Set(app::AttributePathParams::Flags::kFieldIdValid); + return mDevice->SendReadAttributeRequest(attributePath, onSuccessCallback, onFailureCallback, + BasicAttributeFilter); +} + +template CHIP_ERROR ClusterBase::InvokeCommand( + const chip::app::Clusters::ModeSelectCluster::Commands::ChangeToMode::Type &, void *, + CommandResponseSuccessCallback, CommandResponseFailureCallback); + // NetworkCommissioning Cluster Commands CHIP_ERROR NetworkCommissioningCluster::AddThreadNetwork(Callback::Cancelable * onSuccessCallback, Callback::Cancelable * onFailureCallback, diff --git a/zzz_generated/controller-clusters/zap-generated/CHIPClusters.h b/zzz_generated/controller-clusters/zap-generated/CHIPClusters.h index 0e7380312fe396..9d0b9876309bbc 100644 --- a/zzz_generated/controller-clusters/zap-generated/CHIPClusters.h +++ b/zzz_generated/controller-clusters/zap-generated/CHIPClusters.h @@ -877,6 +877,31 @@ class DLL_EXPORT MediaPlaybackCluster : public ClusterBase private: }; +class DLL_EXPORT ModeSelectClusterCluster : public ClusterBase +{ +public: + ModeSelectClusterCluster() : ClusterBase(app::Clusters::ModeSelectCluster::Id) {} + ~ModeSelectClusterCluster() {} + + // Cluster Commands + CHIP_ERROR ChangeToMode(Callback::Cancelable * onSuccessCallback, Callback::Cancelable * onFailureCallback, uint8_t newMode); + + // Cluster Attributes + CHIP_ERROR ReadAttributeCurrentMode(Callback::Cancelable * onSuccessCallback, Callback::Cancelable * onFailureCallback); + CHIP_ERROR ReadAttributeSupportedModes(Callback::Cancelable * onSuccessCallback, Callback::Cancelable * onFailureCallback); + CHIP_ERROR ReadAttributeOnMode(Callback::Cancelable * onSuccessCallback, Callback::Cancelable * onFailureCallback); + CHIP_ERROR ReadAttributeStartUpMode(Callback::Cancelable * onSuccessCallback, Callback::Cancelable * onFailureCallback); + CHIP_ERROR ReadAttributeDescription(Callback::Cancelable * onSuccessCallback, Callback::Cancelable * onFailureCallback); + CHIP_ERROR ReadAttributeClusterRevision(Callback::Cancelable * onSuccessCallback, Callback::Cancelable * onFailureCallback); + CHIP_ERROR WriteAttributeOnMode(Callback::Cancelable * onSuccessCallback, Callback::Cancelable * onFailureCallback, + uint8_t value); + CHIP_ERROR SubscribeAttributeCurrentMode(Callback::Cancelable * onSuccessCallback, Callback::Cancelable * onFailureCallback, + uint16_t minInterval, uint16_t maxInterval); + CHIP_ERROR ReportAttributeCurrentMode(Callback::Cancelable * onReportCallback); + +private: +}; + class DLL_EXPORT NetworkCommissioningCluster : public ClusterBase { public: diff --git a/zzz_generated/controller-clusters/zap-generated/PluginApplicationCallbacks.h b/zzz_generated/controller-clusters/zap-generated/PluginApplicationCallbacks.h index e2498aa38e5a45..48294e8c5989c9 100644 --- a/zzz_generated/controller-clusters/zap-generated/PluginApplicationCallbacks.h +++ b/zzz_generated/controller-clusters/zap-generated/PluginApplicationCallbacks.h @@ -53,6 +53,7 @@ MatterLowPowerPluginClientInitCallback(); \ MatterMediaInputPluginClientInitCallback(); \ MatterMediaPlaybackPluginClientInitCallback(); \ + MatterModeSelectClusterPluginClientInitCallback(); \ MatterNetworkCommissioningPluginClientInitCallback(); \ MatterOtaSoftwareUpdateProviderPluginClientInitCallback(); \ MatterOtaSoftwareUpdateRequestorPluginClientInitCallback(); \ diff --git a/zzz_generated/controller-clusters/zap-generated/callback-stub.cpp b/zzz_generated/controller-clusters/zap-generated/callback-stub.cpp index 1f435d5df826b8..46124f76962769 100644 --- a/zzz_generated/controller-clusters/zap-generated/callback-stub.cpp +++ b/zzz_generated/controller-clusters/zap-generated/callback-stub.cpp @@ -122,6 +122,9 @@ void emberAfClusterInitCallback(EndpointId endpoint, ClusterId clusterId) case ZCL_MEDIA_PLAYBACK_CLUSTER_ID: emberAfMediaPlaybackClusterInitCallback(endpoint); break; + case ZCL_MODE_SELECT_CLUSTER_ID: + emberAfModeSelectClusterClusterInitCallback(endpoint); + break; case ZCL_NETWORK_COMMISSIONING_CLUSTER_ID: emberAfNetworkCommissioningClusterInitCallback(endpoint); break; @@ -355,6 +358,11 @@ void __attribute__((weak)) emberAfMediaPlaybackClusterInitCallback(EndpointId en // To prevent warning (void) endpoint; } +void __attribute__((weak)) emberAfModeSelectClusterClusterInitCallback(EndpointId endpoint) +{ + // To prevent warning + (void) endpoint; +} void __attribute__((weak)) emberAfNetworkCommissioningClusterInitCallback(EndpointId endpoint) { // To prevent warning diff --git a/zzz_generated/controller-clusters/zap-generated/endpoint_config.h b/zzz_generated/controller-clusters/zap-generated/endpoint_config.h index 9db7de1ed61f61..138abb01c286de 100644 --- a/zzz_generated/controller-clusters/zap-generated/endpoint_config.h +++ b/zzz_generated/controller-clusters/zap-generated/endpoint_config.h @@ -73,7 +73,7 @@ #define ZAP_ATTRIBUTE_MASK(mask) ATTRIBUTE_MASK_##mask // This is an array of EmberAfAttributeMetadata structures. -#define GENERATED_ATTRIBUTE_COUNT 55 +#define GENERATED_ATTRIBUTE_COUNT 56 #define GENERATED_ATTRIBUTES \ { \ \ @@ -152,6 +152,9 @@ { 0xFFFD, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(CLIENT), ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \ \ /* Endpoint: 1, Cluster: Boolean State (client) */ \ + { 0xFFFD, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(CLIENT), ZAP_SIMPLE_DEFAULT(1) }, /* ClusterRevision */ \ + \ + /* Endpoint: 1, Cluster: Mode Select Cluster (client) */ \ { 0xFFFD, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(CLIENT), ZAP_SIMPLE_DEFAULT(1) }, /* ClusterRevision */ \ \ /* Endpoint: 1, Cluster: Door Lock (client) */ \ @@ -250,7 +253,7 @@ #define GENERATED_FUNCTION_ARRAYS #define ZAP_CLUSTER_MASK(mask) CLUSTER_MASK_##mask -#define GENERATED_CLUSTER_COUNT 55 +#define GENERATED_CLUSTER_COUNT 56 #define GENERATED_CLUSTERS \ { \ { 0x0003, ZAP_ATTRIBUTE_INDEX(0), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL }, /* Endpoint: 1, Cluster: Identify (client) */ \ @@ -320,91 +323,94 @@ 0x0045, ZAP_ATTRIBUTE_INDEX(24), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ }, /* Endpoint: 1, Cluster: Boolean State (client) */ \ { \ - 0x0101, ZAP_ATTRIBUTE_INDEX(25), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ + 0x0050, ZAP_ATTRIBUTE_INDEX(25), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ + }, /* Endpoint: 1, Cluster: Mode Select Cluster (client) */ \ + { \ + 0x0101, ZAP_ATTRIBUTE_INDEX(26), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ }, /* Endpoint: 1, Cluster: Door Lock (client) */ \ { \ - 0x0102, ZAP_ATTRIBUTE_INDEX(26), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ + 0x0102, ZAP_ATTRIBUTE_INDEX(27), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ }, /* Endpoint: 1, Cluster: Window Covering (client) */ \ { \ - 0x0103, ZAP_ATTRIBUTE_INDEX(27), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ + 0x0103, ZAP_ATTRIBUTE_INDEX(28), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ }, /* Endpoint: 1, Cluster: Barrier Control (client) */ \ { \ - 0x0200, ZAP_ATTRIBUTE_INDEX(28), 2, 6, ZAP_CLUSTER_MASK(CLIENT), NULL \ + 0x0200, ZAP_ATTRIBUTE_INDEX(29), 2, 6, ZAP_CLUSTER_MASK(CLIENT), NULL \ }, /* Endpoint: 1, Cluster: Pump Configuration and Control (client) */ \ { \ - 0x0201, ZAP_ATTRIBUTE_INDEX(30), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ + 0x0201, ZAP_ATTRIBUTE_INDEX(31), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ }, /* Endpoint: 1, Cluster: Thermostat (client) */ \ { \ - 0x0204, ZAP_ATTRIBUTE_INDEX(31), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ + 0x0204, ZAP_ATTRIBUTE_INDEX(32), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ }, /* Endpoint: 1, Cluster: Thermostat User Interface Configuration (client) */ \ { \ - 0x0300, ZAP_ATTRIBUTE_INDEX(32), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ + 0x0300, ZAP_ATTRIBUTE_INDEX(33), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ }, /* Endpoint: 1, Cluster: Color Control (client) */ \ { \ - 0x0400, ZAP_ATTRIBUTE_INDEX(33), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ + 0x0400, ZAP_ATTRIBUTE_INDEX(34), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ }, /* Endpoint: 1, Cluster: Illuminance Measurement (client) */ \ { \ - 0x0402, ZAP_ATTRIBUTE_INDEX(34), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ + 0x0402, ZAP_ATTRIBUTE_INDEX(35), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ }, /* Endpoint: 1, Cluster: Temperature Measurement (client) */ \ { \ - 0x0403, ZAP_ATTRIBUTE_INDEX(35), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ + 0x0403, ZAP_ATTRIBUTE_INDEX(36), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ }, /* Endpoint: 1, Cluster: Pressure Measurement (client) */ \ { \ - 0x0404, ZAP_ATTRIBUTE_INDEX(36), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ + 0x0404, ZAP_ATTRIBUTE_INDEX(37), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ }, /* Endpoint: 1, Cluster: Flow Measurement (client) */ \ { \ - 0x0405, ZAP_ATTRIBUTE_INDEX(37), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ + 0x0405, ZAP_ATTRIBUTE_INDEX(38), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ }, /* Endpoint: 1, Cluster: Relative Humidity Measurement (client) */ \ { \ - 0x0406, ZAP_ATTRIBUTE_INDEX(38), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ + 0x0406, ZAP_ATTRIBUTE_INDEX(39), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ }, /* Endpoint: 1, Cluster: Occupancy Sensing (client) */ \ { \ - 0x0503, ZAP_ATTRIBUTE_INDEX(39), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ + 0x0503, ZAP_ATTRIBUTE_INDEX(40), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ }, /* Endpoint: 1, Cluster: Wake on LAN (client) */ \ { \ - 0x0504, ZAP_ATTRIBUTE_INDEX(40), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ + 0x0504, ZAP_ATTRIBUTE_INDEX(41), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ }, /* Endpoint: 1, Cluster: TV Channel (client) */ \ { \ - 0x0505, ZAP_ATTRIBUTE_INDEX(41), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ + 0x0505, ZAP_ATTRIBUTE_INDEX(42), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ }, /* Endpoint: 1, Cluster: Target Navigator (client) */ \ { \ - 0x0506, ZAP_ATTRIBUTE_INDEX(42), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ + 0x0506, ZAP_ATTRIBUTE_INDEX(43), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ }, /* Endpoint: 1, Cluster: Media Playback (client) */ \ { \ - 0x0507, ZAP_ATTRIBUTE_INDEX(43), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ + 0x0507, ZAP_ATTRIBUTE_INDEX(44), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ }, /* Endpoint: 1, Cluster: Media Input (client) */ \ { \ - 0x0508, ZAP_ATTRIBUTE_INDEX(44), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ + 0x0508, ZAP_ATTRIBUTE_INDEX(45), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ }, /* Endpoint: 1, Cluster: Low Power (client) */ \ { \ - 0x0509, ZAP_ATTRIBUTE_INDEX(45), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ + 0x0509, ZAP_ATTRIBUTE_INDEX(46), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ }, /* Endpoint: 1, Cluster: Keypad Input (client) */ \ { \ - 0x050A, ZAP_ATTRIBUTE_INDEX(46), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ + 0x050A, ZAP_ATTRIBUTE_INDEX(47), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ }, /* Endpoint: 1, Cluster: Content Launcher (client) */ \ { \ - 0x050B, ZAP_ATTRIBUTE_INDEX(47), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ + 0x050B, ZAP_ATTRIBUTE_INDEX(48), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ }, /* Endpoint: 1, Cluster: Audio Output (client) */ \ { \ - 0x050C, ZAP_ATTRIBUTE_INDEX(48), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ + 0x050C, ZAP_ATTRIBUTE_INDEX(49), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ }, /* Endpoint: 1, Cluster: Application Launcher (client) */ \ { \ - 0x050D, ZAP_ATTRIBUTE_INDEX(49), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ + 0x050D, ZAP_ATTRIBUTE_INDEX(50), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ }, /* Endpoint: 1, Cluster: Application Basic (client) */ \ { \ - 0x050E, ZAP_ATTRIBUTE_INDEX(50), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ + 0x050E, ZAP_ATTRIBUTE_INDEX(51), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ }, /* Endpoint: 1, Cluster: Account Login (client) */ \ { \ - 0x050F, ZAP_ATTRIBUTE_INDEX(51), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ + 0x050F, ZAP_ATTRIBUTE_INDEX(52), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ }, /* Endpoint: 1, Cluster: Test Cluster (client) */ \ { \ - 0x0B04, ZAP_ATTRIBUTE_INDEX(52), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ + 0x0B04, ZAP_ATTRIBUTE_INDEX(53), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ }, /* Endpoint: 1, Cluster: Electrical Measurement (client) */ \ { \ - 0xF000, ZAP_ATTRIBUTE_INDEX(53), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ + 0xF000, ZAP_ATTRIBUTE_INDEX(54), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ }, /* Endpoint: 1, Cluster: Binding (client) */ \ { \ - 0xF004, ZAP_ATTRIBUTE_INDEX(54), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ + 0xF004, ZAP_ATTRIBUTE_INDEX(55), 1, 2, ZAP_CLUSTER_MASK(CLIENT), NULL \ }, /* Endpoint: 1, Cluster: Group Key Management (client) */ \ } @@ -413,7 +419,7 @@ // This is an array of EmberAfEndpointType structures. #define GENERATED_ENDPOINT_TYPES \ { \ - { ZAP_CLUSTER_INDEX(0), 55, 112 }, \ + { ZAP_CLUSTER_INDEX(0), 56, 114 }, \ } // Largest attribute size is needed for various buffers @@ -423,7 +429,7 @@ #define ATTRIBUTE_SINGLETONS_SIZE (4) // Total size of attribute storage -#define ATTRIBUTE_MAX_SIZE (112) +#define ATTRIBUTE_MAX_SIZE (114) // Number of fixed endpoints #define FIXED_ENDPOINT_COUNT (1) diff --git a/zzz_generated/controller-clusters/zap-generated/gen_config.h b/zzz_generated/controller-clusters/zap-generated/gen_config.h index 67c635c3e15303..370c44079de84c 100644 --- a/zzz_generated/controller-clusters/zap-generated/gen_config.h +++ b/zzz_generated/controller-clusters/zap-generated/gen_config.h @@ -60,6 +60,7 @@ #define EMBER_AF_LOW_POWER_CLUSTER_CLIENT_ENDPOINT_COUNT (1) #define EMBER_AF_MEDIA_INPUT_CLUSTER_CLIENT_ENDPOINT_COUNT (1) #define EMBER_AF_MEDIA_PLAYBACK_CLUSTER_CLIENT_ENDPOINT_COUNT (1) +#define EMBER_AF_MODE_SELECT_CLUSTER_CLIENT_ENDPOINT_COUNT (1) #define EMBER_AF_NETWORK_COMMISSIONING_CLUSTER_CLIENT_ENDPOINT_COUNT (1) #define EMBER_AF_OTA_PROVIDER_CLUSTER_CLIENT_ENDPOINT_COUNT (1) #define EMBER_AF_OTA_REQUESTOR_CLUSTER_CLIENT_ENDPOINT_COUNT (1) @@ -211,6 +212,10 @@ #define ZCL_USING_MEDIA_PLAYBACK_CLUSTER_CLIENT #define EMBER_AF_PLUGIN_MEDIA_PLAYBACK_CLIENT +// Use this macro to check if the client side of the Mode Select Cluster cluster is included +#define ZCL_USING_MODE_SELECT_CLUSTER_CLIENT +#define EMBER_AF_PLUGIN_MODE_SELECT_CLUSTER_CLIENT + // Use this macro to check if the client side of the Network Commissioning cluster is included #define ZCL_USING_NETWORK_COMMISSIONING_CLUSTER_CLIENT #define EMBER_AF_PLUGIN_NETWORK_COMMISSIONING_CLIENT diff --git a/zzz_generated/controller-clusters/zap-generated/tests/CHIPClustersTest.cpp b/zzz_generated/controller-clusters/zap-generated/tests/CHIPClustersTest.cpp index 5be80e2e8875b4..fa36954ec5c08a 100644 --- a/zzz_generated/controller-clusters/zap-generated/tests/CHIPClustersTest.cpp +++ b/zzz_generated/controller-clusters/zap-generated/tests/CHIPClustersTest.cpp @@ -1742,6 +1742,47 @@ CHIP_ERROR MediaPlaybackClusterTest::WriteAttributeClusterRevision(Callback::Can return mDevice->SendWriteAttributeRequest(std::move(handle), onSuccessCallback, onFailureCallback); } +CHIP_ERROR ModeSelectClusterClusterTest::WriteAttributeCurrentMode(Callback::Cancelable * onSuccessCallback, + Callback::Cancelable * onFailureCallback, uint8_t value) +{ + app::WriteClientHandle handle; + ReturnErrorOnFailure( + app::InteractionModelEngine::GetInstance()->NewWriteClient(handle, mDevice->GetInteractionModelDelegate())); + ReturnErrorOnFailure(handle.EncodeAttributeWritePayload( + chip::app::AttributePathParams(mEndpoint, mClusterId, ModeSelectCluster::Attributes::CurrentMode::Id), value)); + return mDevice->SendWriteAttributeRequest(std::move(handle), onSuccessCallback, onFailureCallback); +} +CHIP_ERROR ModeSelectClusterClusterTest::WriteAttributeStartUpMode(Callback::Cancelable * onSuccessCallback, + Callback::Cancelable * onFailureCallback, uint8_t value) +{ + app::WriteClientHandle handle; + ReturnErrorOnFailure( + app::InteractionModelEngine::GetInstance()->NewWriteClient(handle, mDevice->GetInteractionModelDelegate())); + ReturnErrorOnFailure(handle.EncodeAttributeWritePayload( + chip::app::AttributePathParams(mEndpoint, mClusterId, ModeSelectCluster::Attributes::StartUpMode::Id), value)); + return mDevice->SendWriteAttributeRequest(std::move(handle), onSuccessCallback, onFailureCallback); +} +CHIP_ERROR ModeSelectClusterClusterTest::WriteAttributeDescription(Callback::Cancelable * onSuccessCallback, + Callback::Cancelable * onFailureCallback, chip::CharSpan value) +{ + app::WriteClientHandle handle; + ReturnErrorOnFailure( + app::InteractionModelEngine::GetInstance()->NewWriteClient(handle, mDevice->GetInteractionModelDelegate())); + ReturnErrorOnFailure(handle.EncodeAttributeWritePayload( + chip::app::AttributePathParams(mEndpoint, mClusterId, ModeSelectCluster::Attributes::Description::Id), value)); + return mDevice->SendWriteAttributeRequest(std::move(handle), onSuccessCallback, onFailureCallback); +} +CHIP_ERROR ModeSelectClusterClusterTest::WriteAttributeClusterRevision(Callback::Cancelable * onSuccessCallback, + Callback::Cancelable * onFailureCallback, uint16_t value) +{ + app::WriteClientHandle handle; + ReturnErrorOnFailure( + app::InteractionModelEngine::GetInstance()->NewWriteClient(handle, mDevice->GetInteractionModelDelegate())); + ReturnErrorOnFailure(handle.EncodeAttributeWritePayload( + chip::app::AttributePathParams(mEndpoint, mClusterId, ModeSelectCluster::Attributes::ClusterRevision::Id), value)); + return mDevice->SendWriteAttributeRequest(std::move(handle), onSuccessCallback, onFailureCallback); +} + CHIP_ERROR NetworkCommissioningClusterTest::WriteAttributeFeatureMap(Callback::Cancelable * onSuccessCallback, Callback::Cancelable * onFailureCallback, uint32_t value) { diff --git a/zzz_generated/controller-clusters/zap-generated/tests/CHIPClustersTest.h b/zzz_generated/controller-clusters/zap-generated/tests/CHIPClustersTest.h index 5ee90306ad4037..15699cce1fccf2 100644 --- a/zzz_generated/controller-clusters/zap-generated/tests/CHIPClustersTest.h +++ b/zzz_generated/controller-clusters/zap-generated/tests/CHIPClustersTest.h @@ -603,6 +603,22 @@ class DLL_EXPORT MediaPlaybackClusterTest : public MediaPlaybackCluster uint16_t value); }; +class DLL_EXPORT ModeSelectClusterClusterTest : public ModeSelectClusterCluster +{ +public: + ModeSelectClusterClusterTest() : ModeSelectClusterCluster() {} + ~ModeSelectClusterClusterTest() {} + + CHIP_ERROR WriteAttributeCurrentMode(Callback::Cancelable * onSuccessCallback, Callback::Cancelable * onFailureCallback, + uint8_t value); + CHIP_ERROR WriteAttributeStartUpMode(Callback::Cancelable * onSuccessCallback, Callback::Cancelable * onFailureCallback, + uint8_t value); + CHIP_ERROR WriteAttributeDescription(Callback::Cancelable * onSuccessCallback, Callback::Cancelable * onFailureCallback, + chip::CharSpan value); + CHIP_ERROR WriteAttributeClusterRevision(Callback::Cancelable * onSuccessCallback, Callback::Cancelable * onFailureCallback, + uint16_t value); +}; + class DLL_EXPORT NetworkCommissioningClusterTest : public NetworkCommissioningCluster { public: