diff --git a/dashboard/src/client/models/descriptions.ts b/dashboard/src/client/models/descriptions.ts index 5888641f..5f8bdb30 100644 --- a/dashboard/src/client/models/descriptions.ts +++ b/dashboard/src/client/models/descriptions.ts @@ -12235,6 +12235,12 @@ export const clusters: Record = { "cluster_id": 305134641, "label": "LEDIndicatorIntensityOff", "type": "uint" + }, + "305070342": { + "id": 305070342, + "cluster_id": 305134641, + "label": "ClearNotificationWithConfigDoubleTap", + "type": "bool" } } }, diff --git a/matter_server/common/custom_clusters.py b/matter_server/common/custom_clusters.py index ae7849a1..024689fa 100644 --- a/matter_server/common/custom_clusters.py +++ b/matter_server/common/custom_clusters.py @@ -385,11 +385,17 @@ def descriptor(cls) -> ClusterObjectDescriptor: ClusterObjectFieldDescriptor( Label="ledIndicatorIntensityOff", Tag=0x122F0062, Type=uint ), + ClusterObjectFieldDescriptor( + Label="clearNotificationWithConfigDoubleTap", + Tag=0x122F0106, + Type=bool, + ), ] ) ledIndicatorIntenstyOn: uint | None = None ledIndicatorIntensityOff: uint | None = None + clearNotificationWithConfigDoubleTap: bool | None = None class Attributes: """Attributes for the Inovelli Cluster.""" @@ -440,6 +446,29 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor: value: uint = 0 + @dataclass + class ClearNotificationWithConfigDoubleTap( + ClusterAttributeDescriptor, CustomClusterAttributeMixin + ): + """ClearNotificationWithConfigDoubleTap Attribute within the Inovelli Cluster.""" + + @ChipUtility.classproperty + def cluster_id(cls) -> int: + """Return cluster id.""" + return 0x122FFC31 + + @ChipUtility.classproperty + def attribute_id(cls) -> int: + """Return attribute id.""" + return 0x122F0106 + + @ChipUtility.classproperty + def attribute_type(cls) -> ClusterObjectFieldDescriptor: + """Return attribute type.""" + return ClusterObjectFieldDescriptor(Type=bool) + + value: bool = False + @dataclass class NeoCluster(Cluster, CustomClusterMixin):