@@ -368,6 +368,79 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
368
368
value : int = 0
369
369
370
370
371
+ @dataclass
372
+ class InovelliCluster (Cluster , CustomClusterMixin ):
373
+ """Custom (vendor-specific) cluster for Inovelli - Vendor ID 4961 (0x1361)."""
374
+
375
+ id : ClassVar [int ] = 0x122FFC31
376
+
377
+ @ChipUtility .classproperty
378
+ def descriptor (cls ) -> ClusterObjectDescriptor :
379
+ """Return descriptor for this cluster."""
380
+ return ClusterObjectDescriptor (
381
+ Fields = [
382
+ ClusterObjectFieldDescriptor (
383
+ Label = "ledIndicatorIntensityOn" , Tag = 0x122F0061 , Type = uint
384
+ ),
385
+ ClusterObjectFieldDescriptor (
386
+ Label = "ledIndicatorIntensityOff" , Tag = 0x122F0062 , Type = uint
387
+ ),
388
+ ]
389
+ )
390
+
391
+ ledIndicatorIntenstyOn : uint | None = None
392
+ ledIndicatorIntensityOff : uint | None = None
393
+
394
+ class Attributes :
395
+ """Attributes for the Inovelli Cluster."""
396
+
397
+ @dataclass
398
+ class LEDIndicatorIntensityOn (
399
+ ClusterAttributeDescriptor , CustomClusterAttributeMixin
400
+ ):
401
+ """LEDIndicatorIntensityOn Attribute within the Inovelli Cluster."""
402
+
403
+ @ChipUtility .classproperty
404
+ def cluster_id (cls ) -> int :
405
+ """Return cluster id."""
406
+ return 0x122FFC31
407
+
408
+ @ChipUtility .classproperty
409
+ def attribute_id (cls ) -> int :
410
+ """Return attribute id."""
411
+ return 0x122F0061
412
+
413
+ @ChipUtility .classproperty
414
+ def attribute_type (cls ) -> ClusterObjectFieldDescriptor :
415
+ """Return attribute type."""
416
+ return ClusterObjectFieldDescriptor (Type = uint )
417
+
418
+ value : uint = 0
419
+
420
+ @dataclass
421
+ class LEDIndicatorIntensityOff (
422
+ ClusterAttributeDescriptor , CustomClusterAttributeMixin
423
+ ):
424
+ """LEDIndicatorIntensityOff Attribute within the Inovelli Cluster."""
425
+
426
+ @ChipUtility .classproperty
427
+ def cluster_id (cls ) -> int :
428
+ """Return cluster id."""
429
+ return 0x122FFC31
430
+
431
+ @ChipUtility .classproperty
432
+ def attribute_id (cls ) -> int :
433
+ """Return attribute id."""
434
+ return 0x122F0062
435
+
436
+ @ChipUtility .classproperty
437
+ def attribute_type (cls ) -> ClusterObjectFieldDescriptor :
438
+ """Return attribute type."""
439
+ return ClusterObjectFieldDescriptor (Type = uint )
440
+
441
+ value : uint = 0
442
+
443
+
371
444
@dataclass
372
445
class NeoCluster (Cluster , CustomClusterMixin ):
373
446
"""Custom (vendor-specific) cluster for Neo - Vendor ID 4991 (0x137F)."""
0 commit comments