Skip to content
This repository was archived by the owner on Jun 23, 2026. It is now read-only.

Commit 022be7a

Browse files
authored
Change motionSensitivity and attribute_type to uint (#1298)
1 parent c4037a4 commit 022be7a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎matter_server/common/custom_clusters.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def descriptor(cls) -> ClusterObjectDescriptor:
130130
Label="valvePosition", Tag=0x130A0018, Type=int
131131
),
132132
ClusterObjectFieldDescriptor(
133-
Label="motionSensitivity", Tag=0x130A000D, Type=int
133+
Label="motionSensitivity", Tag=0x130A000D, Type=uint
134134
),
135135
]
136136
)
@@ -415,7 +415,7 @@ def attribute_id(cls) -> int:
415415
@ChipUtility.classproperty
416416
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
417417
"""Return attribute type."""
418-
return ClusterObjectFieldDescriptor(Type=int)
418+
return ClusterObjectFieldDescriptor(Type=uint)
419419

420420
value: int = 0
421421

0 commit comments

Comments
 (0)