@@ -93,6 +93,9 @@ def descriptor(cls) -> ClusterObjectDescriptor:
93
93
ClusterObjectFieldDescriptor (
94
94
Label = "valvePosition" , Tag = 0x130A0018 , Type = int
95
95
),
96
+ ClusterObjectFieldDescriptor (
97
+ Label = "motionSensitivity" , Tag = 0x130A000D , Type = int
98
+ ),
96
99
]
97
100
)
98
101
@@ -105,6 +108,7 @@ def descriptor(cls) -> ClusterObjectDescriptor:
105
108
altitude : float32 | None = None
106
109
pressure : float32 | None = None
107
110
valvePosition : int | None = None
111
+ motionSensitivity : int | None = None
108
112
109
113
class Attributes :
110
114
"""Attributes for the Eve Cluster."""
@@ -314,6 +318,31 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
314
318
315
319
value : int = 0
316
320
321
+ @dataclass
322
+ class MotionSensitivity (
323
+ ClusterAttributeDescriptor , CustomClusterAttributeMixin
324
+ ):
325
+ """MotionSensitivity Attribute within the Eve Cluster."""
326
+
327
+ should_poll = False
328
+
329
+ @ChipUtility .classproperty
330
+ def cluster_id (cls ) -> int :
331
+ """Return cluster id."""
332
+ return 0x130AFC01
333
+
334
+ @ChipUtility .classproperty
335
+ def attribute_id (cls ) -> int :
336
+ """Return attribute id."""
337
+ return 0x130A000D
338
+
339
+ @ChipUtility .classproperty
340
+ def attribute_type (cls ) -> ClusterObjectFieldDescriptor :
341
+ """Return attribute type."""
342
+ return ClusterObjectFieldDescriptor (Type = int )
343
+
344
+ value : int = 0
345
+
317
346
318
347
@dataclass
319
348
class NeoCluster (Cluster , CustomClusterMixin ):
0 commit comments