File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed
Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -327,6 +327,28 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
327327
328328 value : float32 = 0
329329
330+
331+ @dataclass
332+ class WeatherTrend (ClusterAttributeDescriptor , CustomClusterAttributeMixin ):
333+ """WeatherTrend Attribute within the Eve Cluster."""
334+
335+ @ChipUtility .classproperty
336+ def cluster_id (cls ) -> int :
337+ """Return cluster id."""
338+ return 0x130AFC01
339+
340+ @ChipUtility .classproperty
341+ def attribute_id (cls ) -> int :
342+ """Return attribute id."""
343+ return 0x130A0015
344+
345+ @ChipUtility .classproperty
346+ def attribute_type (cls ) -> ClusterObjectFieldDescriptor :
347+ """Return attribute type."""
348+ return ClusterObjectFieldDescriptor (Type = int )
349+
350+ value : int = 0
351+
330352 @dataclass
331353 class ValvePosition (ClusterAttributeDescriptor , CustomClusterAttributeMixin ):
332354 """ValvePosition Attribute within the Eve Cluster."""
You can’t perform that action at this time.
0 commit comments