diff --git a/matter_server/common/custom_clusters.py b/matter_server/common/custom_clusters.py index 1fcdb722..daef80c5 100644 --- a/matter_server/common/custom_clusters.py +++ b/matter_server/common/custom_clusters.py @@ -130,7 +130,7 @@ def descriptor(cls) -> ClusterObjectDescriptor: Label="valvePosition", Tag=0x130A0018, Type=int ), ClusterObjectFieldDescriptor( - Label="motionSensitivity", Tag=0x130A000D, Type=int + Label="motionSensitivity", Tag=0x130A000D, Type=uint ), ] ) @@ -415,7 +415,7 @@ def attribute_id(cls) -> int: @ChipUtility.classproperty def attribute_type(cls) -> ClusterObjectFieldDescriptor: """Return attribute type.""" - return ClusterObjectFieldDescriptor(Type=int) + return ClusterObjectFieldDescriptor(Type=uint) value: int = 0